From 98d53a10a86dfbfa5e6cd50731fdc8819c08fea4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 27 Jul 2026 22:11:45 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...epfakeDetectionClient.CreateDetection.g.cs | 48 +- ....DeepfakeDetectionClient.GetDetection.g.cs | 28 +- ...epfakeDetectionClient.CreateDetection.g.cs | 21 +- ...IDeepfakeDetectionClient.GetDetection.g.cs | 12 +- ...rs.DetectC2PaManifestValidationState.g.cs} | 14 +- ...tC2PaManifestValidationStateNullable.g.cs} | 14 +- ....DetectIntelligenceResultDescription.g.cs} | 48 +- ...enceResultDescriptionOneOf1FraudType.g.cs} | 14 +- ...ltDescriptionOneOf1FraudTypeNullable.g.cs} | 14 +- ...ltDescriptionOneOf1LivenessAssessment.g.cs | 53 ++ ...ptionOneOf1LivenessAssessmentNullable.g.cs | 60 ++ ...erters.DetectIntelligenceResultStatus.g.cs | 53 ++ ...etectIntelligenceResultStatusNullable.g.cs | 60 ++ ...ationJsonSchemaItemIntelligenceStatus.g.cs | 53 ++ ...nSchemaItemIntelligenceStatusNullable.g.cs | 60 ++ ...ApplicationJsonSchemaItemIntelligence.g.cs | 145 ++++ .../ResembleAI.JsonSerializerContext.g.cs | 131 +++- ...ResembleAI.JsonSerializerContextTypes.g.cs | 690 +++++++++--------- ...embleAI.Models.CreateDetectionRequest.g.cs | 17 +- ...els.DetectC2PaManifestValidationState.g.cs | 57 ++ ...bleAI.Models.DetectC2paManifest.Json.g.cs} | 26 +- .../ResembleAI.Models.DetectC2paManifest.g.cs | 91 +++ ...els.DetectC2paManifestManifests.Json.g.cs} | 26 +- ...AI.Models.DetectC2paManifestManifests.g.cs | 19 + ...ls.DetectC2paManifestManifests2.Json.g.cs} | 26 +- ...I.Models.DetectC2paManifestManifests2.g.cs | 19 + ...ectC2paManifestValidationResults.Json.g.cs | 141 ++++ ...s.DetectC2paManifestValidationResults.g.cs | 19 + ...ctC2paManifestValidationResults2.Json.g.cs | 141 ++++ ....DetectC2paManifestValidationResults2.g.cs | 19 + ...ontentApplicationJsonSchemaItemsItems.g.cs | 11 + ...Models.DetectIntelligenceResult.Json.g.cs} | 26 +- ...bleAI.Models.DetectIntelligenceResult.g.cs | 93 +++ ...ectIntelligenceResultDescription.Json.g.cs | 141 ++++ ...s.DetectIntelligenceResultDescription.g.cs | 295 ++++++++ ...ctIntelligenceResultDescription1.Json.g.cs | 141 ++++ ...DetectIntelligenceResultDescription1.g.cs} | 22 +- ...escriptionOneOf1DigitallyAltered.Json.g.cs | 141 ++++ ...ultDescriptionOneOf1DigitallyAltered.g.cs} | 10 +- ...enceResultDescriptionOneOf1Fraud.Json.g.cs | 141 ++++ ...lligenceResultDescriptionOneOf1Fraud.g.cs} | 16 +- ...genceResultDescriptionOneOf1FraudType.g.cs | 111 +++ ...eResultDescriptionOneOf1Liveness.Json.g.cs | 141 ++++ ...genceResultDescriptionOneOf1Liveness.g.cs} | 16 +- ...ltDescriptionOneOf1LivenessAssessment.g.cs | 57 ++ ...Models.DetectIntelligenceResultStatus.g.cs | 57 ++ ...onsesContentApplicationJsonSchemaItem.g.cs | 17 +- ...ApplicationJsonSchemaItemIntelligence.g.cs | 41 +- ...ationJsonSchemaItemIntelligenceStatus.g.cs | 57 ++ ...onsesContentApplicationJsonSchemaItem.g.cs | 27 +- ...cationJsonSchemaItemIntelligence.Json.g.cs | 6 +- ...ApplicationJsonSchemaItemIntelligence.g.cs | 263 ++++++- ...JsonSchemaItemIntelligenceDescription.g.cs | 295 -------- ...escriptionOneOf1DigitallyAltered.Json.g.cs | 141 ---- ...ntelligenceDescriptionOneOf1FraudType.g.cs | 111 --- ...ceDescriptionOneOf1LivenessAssessment.g.cs | 57 -- ...ontentApplicationJsonSchemaItemStatus.g.cs | 2 +- src/libs/ResembleAI/openapi.yaml | 212 +++++- 58 files changed, 3571 insertions(+), 1196 deletions(-) rename src/libs/ResembleAI/Generated/{ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.g.cs => ResembleAI.JsonConverters.DetectC2PaManifestValidationState.g.cs} (53%) rename src/libs/ResembleAI/Generated/{ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeNullable.g.cs => ResembleAI.JsonConverters.DetectC2PaManifestValidationStateNullable.g.cs} (57%) rename src/libs/ResembleAI/Generated/{ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs => ResembleAI.JsonConverters.DetectIntelligenceResultDescription.g.cs} (64%) rename src/libs/ResembleAI/Generated/{ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment.g.cs => ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudType.g.cs} (51%) rename src/libs/ResembleAI/Generated/{ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentNullable.g.cs => ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudTypeNullable.g.cs} (56%) create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentNullable.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultStatus.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultStatusNullable.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusNullable.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2PaManifestValidationState.g.cs rename src/libs/ResembleAI/Generated/{ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1.Json.g.cs => ResembleAI.Models.DetectC2paManifest.Json.g.cs} (80%) create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifest.g.cs rename src/libs/ResembleAI/Generated/{ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud.Json.g.cs => ResembleAI.Models.DetectC2paManifestManifests.Json.g.cs} (78%) create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestManifests.g.cs rename src/libs/ResembleAI/Generated/{ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness.Json.g.cs => ResembleAI.Models.DetectC2paManifestManifests2.Json.g.cs} (78%) create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestManifests2.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestValidationResults.Json.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestValidationResults.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestValidationResults2.Json.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestValidationResults2.g.cs rename src/libs/ResembleAI/Generated/{ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription.Json.g.cs => ResembleAI.Models.DetectIntelligenceResult.Json.g.cs} (80%) create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResult.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription.Json.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription1.Json.g.cs rename src/libs/ResembleAI/Generated/{ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1.g.cs => ResembleAI.Models.DetectIntelligenceResultDescription1.g.cs} (76%) create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered.Json.g.cs rename src/libs/ResembleAI/Generated/{ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered.g.cs => ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered.g.cs} (69%) create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Fraud.Json.g.cs rename src/libs/ResembleAI/Generated/{ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud.g.cs => ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Fraud.g.cs} (59%) create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1FraudType.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Liveness.Json.g.cs rename src/libs/ResembleAI/Generated/{ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness.g.cs => ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Liveness.g.cs} (58%) create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultStatus.g.cs create mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered.Json.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.g.cs delete mode 100644 src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment.g.cs diff --git a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs index ee75e2e..9e42c8a 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs @@ -288,6 +288,14 @@ request.Filename is null content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.AudioSourceTracing, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()), name: "\"audio_source_tracing\""); + } + if (request.Signal != default) + { + + __httpRequestContent.Add( + content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.Signal, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()), + name: "\"signal\""); + } if (request.UseReverseSearch != default) { @@ -618,7 +626,7 @@ request.Filename is null /// The media file to analyze (audio, video, or image). Must be 150 MB or smaller. /// /// - /// POST destination when analysis completes + /// POST destination for the detection result. When Intelligence is requested, callback delivery waits for a priority-stable successful result or the bounded fail-open timeout. /// /// /// Generate visualization artifacts @@ -660,6 +668,10 @@ request.Filename is null /// Enable audio source tracing to identify synthetic audio origin
/// Default Value: false /// + /// + /// Run Signal content analysis after detection completes, classifying the media against fraud and abuse categories. Requires Signal access on your plan and cannot be combined with zero_retention_mode. Not supported for batch detections.
+ /// Default Value: false + /// /// /// Enable reverse image search to improve detection accuracy for image files. Only applies to image detections.
/// Default Value: false @@ -689,6 +701,7 @@ request.Filename is null bool? intelligence = default, bool? inferFromIntelligence = default, bool? audioSourceTracing = default, + bool? signal = default, bool? useReverseSearch = default, bool? useOodDetector = default, bool? zeroRetentionMode = default, @@ -710,6 +723,7 @@ request.Filename is null Intelligence = intelligence, InferFromIntelligence = inferFromIntelligence, AudioSourceTracing = audioSourceTracing, + Signal = signal, UseReverseSearch = useReverseSearch, UseOodDetector = useOodDetector, ZeroRetentionMode = zeroRetentionMode, @@ -737,7 +751,7 @@ request.Filename is null /// The media file to analyze (audio, video, or image). Must be 150 MB or smaller. /// /// - /// POST destination when analysis completes + /// POST destination for the detection result. When Intelligence is requested, callback delivery waits for a priority-stable successful result or the bounded fail-open timeout. /// /// /// Generate visualization artifacts @@ -779,6 +793,10 @@ request.Filename is null /// Enable audio source tracing to identify synthetic audio origin
/// Default Value: false /// + /// + /// Run Signal content analysis after detection completes, classifying the media against fraud and abuse categories. Requires Signal access on your plan and cannot be combined with zero_retention_mode. Not supported for batch detections.
+ /// Default Value: false + /// /// /// Enable reverse image search to improve detection accuracy for image files. Only applies to image detections.
/// Default Value: false @@ -808,6 +826,7 @@ request.Filename is null bool? intelligence = default, bool? inferFromIntelligence = default, bool? audioSourceTracing = default, + bool? signal = default, bool? useReverseSearch = default, bool? useOodDetector = default, bool? zeroRetentionMode = default, @@ -831,6 +850,7 @@ request.Filename is null Intelligence = intelligence, InferFromIntelligence = inferFromIntelligence, AudioSourceTracing = audioSourceTracing, + Signal = signal, UseReverseSearch = useReverseSearch, UseOodDetector = useOodDetector, ZeroRetentionMode = zeroRetentionMode, @@ -1025,6 +1045,14 @@ request.Filename is null content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.AudioSourceTracing, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()), name: "\"audio_source_tracing\""); + } + if (request.Signal != default) + { + + __httpRequestContent.Add( + content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.Signal, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()), + name: "\"signal\""); + } if (request.UseReverseSearch != default) { @@ -1347,7 +1375,7 @@ request.Filename is null /// The media file to analyze (audio, video, or image). Must be 150 MB or smaller. /// /// - /// POST destination when analysis completes + /// POST destination for the detection result. When Intelligence is requested, callback delivery waits for a priority-stable successful result or the bounded fail-open timeout. /// /// /// Generate visualization artifacts @@ -1389,6 +1417,10 @@ request.Filename is null /// Enable audio source tracing to identify synthetic audio origin
/// Default Value: false /// + /// + /// Run Signal content analysis after detection completes, classifying the media against fraud and abuse categories. Requires Signal access on your plan and cannot be combined with zero_retention_mode. Not supported for batch detections.
+ /// Default Value: false + /// /// /// Enable reverse image search to improve detection accuracy for image files. Only applies to image detections.
/// Default Value: false @@ -1418,6 +1450,7 @@ request.Filename is null bool? intelligence = default, bool? inferFromIntelligence = default, bool? audioSourceTracing = default, + bool? signal = default, bool? useReverseSearch = default, bool? useOodDetector = default, bool? zeroRetentionMode = default, @@ -1441,6 +1474,7 @@ request.Filename is null Intelligence = intelligence, InferFromIntelligence = inferFromIntelligence, AudioSourceTracing = audioSourceTracing, + Signal = signal, UseReverseSearch = useReverseSearch, UseOodDetector = useOodDetector, ZeroRetentionMode = zeroRetentionMode, @@ -1635,6 +1669,14 @@ request.Filename is null content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.AudioSourceTracing, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()), name: "\"audio_source_tracing\""); + } + if (request.Signal != default) + { + + __httpRequestContent.Add( + content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.Signal, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()), + name: "\"signal\""); + } if (request.UseReverseSearch != default) { diff --git a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetection.g.cs index 70ea010..b171f40 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetection.g.cs @@ -35,11 +35,13 @@ public partial class DeepfakeDetectionClient }; partial void PrepareGetDetectionArguments( global::System.Net.Http.HttpClient httpClient, - ref string uuid); + ref string uuid, + ref bool? experts); partial void PrepareGetDetectionRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string uuid); + string uuid, + bool? experts); partial void ProcessGetDetectionResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,19 +53,24 @@ partial void ProcessGetDetectionResponseContent( /// /// Get deepfake detection result
- /// Get deepfake detection result by UUID + /// 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. ///
/// + /// + /// Default Value: false + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task GetDetectionAsync( string uuid, + bool? experts = default, global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __response = await GetDetectionAsResponseAsync( uuid: uuid, + experts: experts, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -72,14 +79,18 @@ partial void ProcessGetDetectionResponseContent( } /// /// Get deepfake detection result
- /// Get deepfake detection result by UUID + /// 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. ///
/// + /// + /// Default Value: false + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> GetDetectionAsResponseAsync( string uuid, + bool? experts = default, global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -87,7 +98,8 @@ partial void ProcessGetDetectionResponseContent( client: HttpClient); PrepareGetDetectionArguments( httpClient: HttpClient, - uuid: ref uuid); + uuid: ref uuid, + experts: ref experts); var __authorizations = global::ResembleAI.EndPointSecurityResolver.ResolveAuthorizations( @@ -117,6 +129,9 @@ partial void ProcessGetDetectionResponseContent( baseUri: ResolveBaseUri( servers: s_GetDetectionServers, defaultBaseUrl: "https://app.resemble.ai/api/v2")); + __pathBuilder + .AddOptionalParameter("experts", experts?.ToString().ToLowerInvariant()) + ; var __path = __pathBuilder.ToString(); __path = global::ResembleAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, @@ -157,7 +172,8 @@ partial void ProcessGetDetectionResponseContent( PrepareGetDetectionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid!, + experts: experts); return __httpRequest; } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs index 7ddaca8..b147551 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs @@ -56,7 +56,7 @@ public partial interface IDeepfakeDetectionClient /// The media file to analyze (audio, video, or image). Must be 150 MB or smaller. /// /// - /// POST destination when analysis completes + /// POST destination for the detection result. When Intelligence is requested, callback delivery waits for a priority-stable successful result or the bounded fail-open timeout. /// /// /// Generate visualization artifacts @@ -98,6 +98,10 @@ public partial interface IDeepfakeDetectionClient /// Enable audio source tracing to identify synthetic audio origin
/// Default Value: false /// + /// + /// Run Signal content analysis after detection completes, classifying the media against fraud and abuse categories. Requires Signal access on your plan and cannot be combined with zero_retention_mode. Not supported for batch detections.
+ /// Default Value: false + /// /// /// Enable reverse image search to improve detection accuracy for image files. Only applies to image detections.
/// Default Value: false @@ -127,6 +131,7 @@ public partial interface IDeepfakeDetectionClient bool? intelligence = default, bool? inferFromIntelligence = default, bool? audioSourceTracing = default, + bool? signal = default, bool? useReverseSearch = default, bool? useOodDetector = default, bool? zeroRetentionMode = default, @@ -149,7 +154,7 @@ public partial interface IDeepfakeDetectionClient /// The media file to analyze (audio, video, or image). Must be 150 MB or smaller. /// /// - /// POST destination when analysis completes + /// POST destination for the detection result. When Intelligence is requested, callback delivery waits for a priority-stable successful result or the bounded fail-open timeout. /// /// /// Generate visualization artifacts @@ -191,6 +196,10 @@ public partial interface IDeepfakeDetectionClient /// Enable audio source tracing to identify synthetic audio origin
/// Default Value: false /// + /// + /// Run Signal content analysis after detection completes, classifying the media against fraud and abuse categories. Requires Signal access on your plan and cannot be combined with zero_retention_mode. Not supported for batch detections.
+ /// Default Value: false + /// /// /// Enable reverse image search to improve detection accuracy for image files. Only applies to image detections.
/// Default Value: false @@ -220,6 +229,7 @@ public partial interface IDeepfakeDetectionClient bool? intelligence = default, bool? inferFromIntelligence = default, bool? audioSourceTracing = default, + bool? signal = default, bool? useReverseSearch = default, bool? useOodDetector = default, bool? zeroRetentionMode = default, @@ -241,7 +251,7 @@ public partial interface IDeepfakeDetectionClient /// The media file to analyze (audio, video, or image). Must be 150 MB or smaller. /// /// - /// POST destination when analysis completes + /// POST destination for the detection result. When Intelligence is requested, callback delivery waits for a priority-stable successful result or the bounded fail-open timeout. /// /// /// Generate visualization artifacts @@ -283,6 +293,10 @@ public partial interface IDeepfakeDetectionClient /// Enable audio source tracing to identify synthetic audio origin
/// Default Value: false /// + /// + /// Run Signal content analysis after detection completes, classifying the media against fraud and abuse categories. Requires Signal access on your plan and cannot be combined with zero_retention_mode. Not supported for batch detections.
+ /// Default Value: false + /// /// /// Enable reverse image search to improve detection accuracy for image files. Only applies to image detections.
/// Default Value: false @@ -312,6 +326,7 @@ public partial interface IDeepfakeDetectionClient bool? intelligence = default, bool? inferFromIntelligence = default, bool? audioSourceTracing = default, + bool? signal = default, bool? useReverseSearch = default, bool? useOodDetector = default, bool? zeroRetentionMode = default, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.GetDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.GetDetection.g.cs index 4e372e2..9adf189 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.GetDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.GetDetection.g.cs @@ -6,26 +6,34 @@ public partial interface IDeepfakeDetectionClient { /// /// Get deepfake detection result
- /// Get deepfake detection result by UUID + /// 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. ///
/// + /// + /// Default Value: false + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task GetDetectionAsync( string uuid, + bool? experts = default, global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// Get deepfake detection result
- /// Get deepfake detection result by UUID + /// 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. ///
/// + /// + /// Default Value: false + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> GetDetectionAsResponseAsync( string uuid, + bool? experts = default, global::ResembleAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectC2PaManifestValidationState.g.cs similarity index 53% rename from src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.g.cs rename to src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectC2PaManifestValidationState.g.cs index cdb1697..bcbfb1d 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectC2PaManifestValidationState.g.cs @@ -3,10 +3,10 @@ namespace ResembleAI.JsonConverters { /// - public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class DetectC2PaManifestValidationStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType Read( + public override global::ResembleAI.DetectC2PaManifestValidationState Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntell var stringValue = reader.GetString(); if (stringValue != null) { - return global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeExtensions.ToEnum(stringValue) ?? default; + return global::ResembleAI.DetectC2PaManifestValidationStateExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntell case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType)numValue; + return (global::ResembleAI.DetectC2PaManifestValidationState)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType); + return default(global::ResembleAI.DetectC2PaManifestValidationState); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntell /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType value, + global::ResembleAI.DetectC2PaManifestValidationState value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeExtensions.ToValueString(value)); + writer.WriteStringValue(global::ResembleAI.DetectC2PaManifestValidationStateExtensions.ToValueString(value)); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeNullable.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectC2PaManifestValidationStateNullable.g.cs similarity index 57% rename from src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeNullable.g.cs rename to src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectC2PaManifestValidationStateNullable.g.cs index 2a466aa..775ea9d 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeNullable.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectC2PaManifestValidationStateNullable.g.cs @@ -3,10 +3,10 @@ namespace ResembleAI.JsonConverters { /// - public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class DetectC2PaManifestValidationStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType? Read( + public override global::ResembleAI.DetectC2PaManifestValidationState? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntell var stringValue = reader.GetString(); if (stringValue != null) { - return global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeExtensions.ToEnum(stringValue); + return global::ResembleAI.DetectC2PaManifestValidationStateExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntell case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType)numValue; + return (global::ResembleAI.DetectC2PaManifestValidationState)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType?); + return default(global::ResembleAI.DetectC2PaManifestValidationState?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntell /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType? value, + global::ResembleAI.DetectC2PaManifestValidationState? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::ResembleAI.DetectC2PaManifestValidationStateExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescription.g.cs similarity index 64% rename from src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs rename to src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescription.g.cs index e986b8c..1d2b78a 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescription.g.cs @@ -4,10 +4,10 @@ namespace ResembleAI.JsonConverters { /// - public class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public class DetectIntelligenceResultDescriptionJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription Read( + public override global::ResembleAI.DetectIntelligenceResultDescription Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -64,8 +64,8 @@ public class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceD if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } - string? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 = default; - global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 = default; + string? detectIntelligenceResultDescriptionVariant1 = default; + global::ResembleAI.DetectIntelligenceResultDescription1? detectIntelligenceResultDescription1 = default; if (__bestIndex >= 0) { if (__bestIndex == 0) @@ -74,7 +74,7 @@ public class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceD { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); - detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + detectIntelligenceResultDescriptionVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -87,9 +87,9 @@ public class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceD { try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1).Name}"); - detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.DetectIntelligenceResultDescription1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.DetectIntelligenceResultDescription1).Name}"); + detectIntelligenceResultDescription1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -100,14 +100,14 @@ public class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceD } } - if (detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 == null && detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 == null) + if (detectIntelligenceResultDescriptionVariant1 == null && detectIntelligenceResultDescription1 == null) { try { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); - detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + detectIntelligenceResultDescriptionVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -117,14 +117,14 @@ public class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceD } } - if (detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 == null && detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 == null) + if (detectIntelligenceResultDescriptionVariant1 == null && detectIntelligenceResultDescription1 == null) { try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1).Name}"); - detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.DetectIntelligenceResultDescription1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.DetectIntelligenceResultDescription1).Name}"); + detectIntelligenceResultDescription1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); } catch (global::System.Text.Json.JsonException) { @@ -134,10 +134,10 @@ public class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceD } } - var __value = new global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription( - detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1, + var __value = new global::ResembleAI.DetectIntelligenceResultDescription( + detectIntelligenceResultDescriptionVariant1, - detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 + detectIntelligenceResultDescription1 ); return __value; @@ -146,23 +146,23 @@ public class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceD /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription value, + global::ResembleAI.DetectIntelligenceResultDescription 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.IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1) + if (value.IsDetectIntelligenceResultDescriptionVariant1) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.DetectIntelligenceResultDescriptionVariant1!, typeInfo); } - else if (value.IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1) + else if (value.IsDetectIntelligenceResultDescription1) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1!, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.DetectIntelligenceResultDescription1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.DetectIntelligenceResultDescription1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.DetectIntelligenceResultDescription1!, typeInfo); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudType.g.cs similarity index 51% rename from src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment.g.cs rename to src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudType.g.cs index 54f4e00..5b4bb91 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudType.g.cs @@ -3,10 +3,10 @@ namespace ResembleAI.JsonConverters { /// - public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class DetectIntelligenceResultDescriptionOneOf1FraudTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment Read( + public override global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntell var stringValue = reader.GetString(); if (stringValue != null) { - return global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentExtensions.ToEnum(stringValue) ?? default; + return global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudTypeExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntell case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment)numValue; + return (global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment); + return default(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntell /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment value, + global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentExtensions.ToValueString(value)); + writer.WriteStringValue(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudTypeExtensions.ToValueString(value)); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentNullable.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudTypeNullable.g.cs similarity index 56% rename from src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentNullable.g.cs rename to src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudTypeNullable.g.cs index 37b911b..ad444b7 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentNullable.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudTypeNullable.g.cs @@ -3,10 +3,10 @@ namespace ResembleAI.JsonConverters { /// - public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class DetectIntelligenceResultDescriptionOneOf1FraudTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment? Read( + public override global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntell var stringValue = reader.GetString(); if (stringValue != null) { - return global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentExtensions.ToEnum(stringValue); + return global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudTypeExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntell case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment)numValue; + return (global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment?); + return default(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntell /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment? value, + global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudTypeExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment.g.cs new file mode 100644 index 0000000..608a7a7 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment 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.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentNullable.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentNullable.g.cs new file mode 100644 index 0000000..8befda1 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment? 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.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment? 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.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultStatus.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultStatus.g.cs new file mode 100644 index 0000000..380aa0f --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultStatus.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectIntelligenceResultStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectIntelligenceResultStatus 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.DetectIntelligenceResultStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectIntelligenceResultStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectIntelligenceResultStatus); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectIntelligenceResultStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::ResembleAI.DetectIntelligenceResultStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultStatusNullable.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultStatusNullable.g.cs new file mode 100644 index 0000000..88555b6 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultStatusNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectIntelligenceResultStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectIntelligenceResultStatus? 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.DetectIntelligenceResultStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectIntelligenceResultStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectIntelligenceResultStatus?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectIntelligenceResultStatus? 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.DetectIntelligenceResultStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus.g.cs new file mode 100644 index 0000000..701e22d --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus 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.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusNullable.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusNullable.g.cs new file mode 100644 index 0000000..c57aa52 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace ResembleAI.JsonConverters +{ + /// + public sealed class DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus? 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.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus? 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.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs new file mode 100644 index 0000000..fd305bc --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs @@ -0,0 +1,145 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace ResembleAI.JsonConverters +{ + /// + public class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence 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("created_at")) __score0++; + if (__jsonProps.Contains("description")) __score0++; + if (__jsonProps.Contains("detect_uuid")) __score0++; + if (__jsonProps.Contains("error_message")) __score0++; + if (__jsonProps.Contains("status")) __score0++; + if (__jsonProps.Contains("uuid")) __score0++; + var __score1 = 0; + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + + global::ResembleAI.DetectIntelligenceResult? detectIntelligenceResult = default; + global::System.Collections.Generic.IList? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.DetectIntelligenceResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.DetectIntelligenceResult).Name}"); + detectIntelligenceResult = 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::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}"); + detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (detectIntelligenceResult == null && detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.DetectIntelligenceResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.DetectIntelligenceResult).Name}"); + detectIntelligenceResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (detectIntelligenceResult == null && detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}"); + detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence( + detectIntelligenceResult, + + detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence 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.IsDetectIntelligenceResult) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.DetectIntelligenceResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.DetectIntelligenceResult).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.DetectIntelligenceResult!, typeInfo); + } + else if (value.IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1!, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs index edda706..42ebddc 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContext.g.cs @@ -129,6 +129,10 @@ namespace ResembleAI typeof(global::ResembleAI.JsonConverters.DetectGetResponsesContentApplicationJsonSchemaItemsItemsModalityNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectC2PaManifestValidationStateJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectC2PaManifestValidationStateNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectPostRequestBodyContentMultipartFormDataSchemaModalityJsonConverter), typeof(global::ResembleAI.JsonConverters.DetectPostRequestBodyContentMultipartFormDataSchemaModalityNullableJsonConverter), @@ -137,6 +141,10 @@ namespace ResembleAI typeof(global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemModalityNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeJsonConverter), typeof(global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeNullableJsonConverter), @@ -153,13 +161,17 @@ namespace ResembleAI typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatusNullableJsonConverter), - typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultStatusJsonConverter), - typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultStatusNullableJsonConverter), - typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudTypeJsonConverter), - typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudTypeNullableJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentNullableJsonConverter), typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemModalityJsonConverter), @@ -341,7 +353,9 @@ namespace ResembleAI typeof(global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionJsonConverter), - typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceJsonConverter), typeof(global::ResembleAI.JsonConverters.IdentityCreateIdentityRequestJsonConverter), @@ -353,9 +367,11 @@ namespace ResembleAI typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), + typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), + typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), - typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), + typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), @@ -537,17 +553,20 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectVideoMetrics))] [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(global::ResembleAI.OneOf), TypeInfoPropertyName = "OneOfDetectGetResponsesContentApplicationJsonSchemaItemsItemsAudioSourceTracingObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(object))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf), TypeInfoPropertyName = "OneOfDetectGetResponsesContentApplicationJsonSchemaItemsItemsIntelligenceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DeepfakeDetectionListDetectionsResponse200))] [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.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")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment), TypeInfoPropertyName = "DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment2")] @@ -562,18 +581,22 @@ namespace ResembleAI [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))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType), TypeInfoPropertyName = "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment), TypeInfoPropertyName = "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription), TypeInfoPropertyName = "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultStatus), TypeInfoPropertyName = "DetectIntelligenceResultStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType), TypeInfoPropertyName = "DetectIntelligenceResultDescriptionOneOf1FraudType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Fraud))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment), TypeInfoPropertyName = "DetectIntelligenceResultDescriptionOneOf1LivenessAssessment2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Liveness))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescription1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescription), TypeInfoPropertyName = "DetectIntelligenceResultDescription2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResult))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf), TypeInfoPropertyName = "OneOfDetectIntelligenceResultDescriptionObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence), TypeInfoPropertyName = "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence2")] [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.OneOf), TypeInfoPropertyName = "OneOfDetectUuidGetResponsesContentApplicationJsonSchemaItemAudioSourceTracingObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf), TypeInfoPropertyName = "OneOfDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf), TypeInfoPropertyName = "OneOfDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DeepfakeDetectionGetDetectionResponse200))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectBatchStatus), TypeInfoPropertyName = "DetectBatchStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectBatch))] @@ -856,13 +879,6 @@ namespace ResembleAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsEnhancementEngine?), TypeInfoPropertyName = "NullableAudioEnhancementsGetResponsesContentApplicationJsonSchemaItemsItemsEnhancementEngine2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AudioEnhancementsPostRequestBodyContentMultipartFormDataSchemaEnhancementEngine?), TypeInfoPropertyName = "NullableAudioEnhancementsPostRequestBodyContentMultipartFormDataSchemaEnhancementEngine2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AudioEnhancementsPostResponsesContentApplicationJsonSchemaStatus?), TypeInfoPropertyName = "NullableAudioEnhancementsPostResponsesContentApplicationJsonSchemaStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AudioEnhancementsEnhancementUuidGetResponsesContentApplicationJsonSchemaStatus?), TypeInfoPropertyName = "NullableAudioEnhancementsEnhancementUuidGetResponsesContentApplicationJsonSchemaStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaDynamicVariables?), TypeInfoPropertyName = "NullableAgentsPostRequestBodyContentApplicationJsonSchemaDynamicVariables2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaAsrUserInputAudioFormat?), TypeInfoPropertyName = "NullableAgentsPostRequestBodyContentApplicationJsonSchemaAsrUserInputAudioFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaTurnMode?), TypeInfoPropertyName = "NullableAgentsPostRequestBodyContentApplicationJsonSchemaTurnMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaSearchMode?), TypeInfoPropertyName = "NullableAgentsPostRequestBodyContentApplicationJsonSchemaSearchMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AgentsUuidPatchRequestBodyContentApplicationJsonSchemaSearchMode?), TypeInfoPropertyName = "NullableAgentsUuidPatchRequestBodyContentApplicationJsonSchemaSearchMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AgentsAgentUuidToolsPostRequestBodyContentApplicationJsonSchemaToolType?), TypeInfoPropertyName = "NullableAgentsAgentUuidToolsPostRequestBodyContentApplicationJsonSchemaToolType2")] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -990,6 +1006,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::ResembleAI.JsonConverters.DetectGetResponsesContentApplicationJsonSchemaItemsItemsModalityNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectC2PaManifestValidationStateJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectC2PaManifestValidationStateNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectPostRequestBodyContentMultipartFormDataSchemaModalityJsonConverter), typeof(global::ResembleAI.JsonConverters.DetectPostRequestBodyContentMultipartFormDataSchemaModalityNullableJsonConverter), @@ -998,6 +1018,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemModalityNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeJsonConverter), typeof(global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeNullableJsonConverter), @@ -1014,13 +1038,17 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatusNullableJsonConverter), - typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultStatusJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultStatusNullableJsonConverter), - typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudTypeJsonConverter), - typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudTypeNullableJsonConverter), - typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentNullableJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentNullableJsonConverter), typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemModalityJsonConverter), @@ -1202,7 +1230,9 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionJsonConverter), - typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionJsonConverter), + typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionJsonConverter), + + typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceJsonConverter), typeof(global::ResembleAI.JsonConverters.IdentityCreateIdentityRequestJsonConverter), @@ -1214,9 +1244,11 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), + typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), + typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), - typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), + typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter), @@ -1224,6 +1256,13 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::ResembleAI.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AudioEnhancementsEnhancementUuidGetResponsesContentApplicationJsonSchemaStatus?), TypeInfoPropertyName = "NullableAudioEnhancementsEnhancementUuidGetResponsesContentApplicationJsonSchemaStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaDynamicVariables?), TypeInfoPropertyName = "NullableAgentsPostRequestBodyContentApplicationJsonSchemaDynamicVariables2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaAsrUserInputAudioFormat?), TypeInfoPropertyName = "NullableAgentsPostRequestBodyContentApplicationJsonSchemaAsrUserInputAudioFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaTurnMode?), TypeInfoPropertyName = "NullableAgentsPostRequestBodyContentApplicationJsonSchemaTurnMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AgentsPostRequestBodyContentApplicationJsonSchemaSearchMode?), TypeInfoPropertyName = "NullableAgentsPostRequestBodyContentApplicationJsonSchemaSearchMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AgentsUuidPatchRequestBodyContentApplicationJsonSchemaSearchMode?), TypeInfoPropertyName = "NullableAgentsUuidPatchRequestBodyContentApplicationJsonSchemaSearchMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AgentsAgentUuidToolsPostRequestBodyContentApplicationJsonSchemaToolType?), TypeInfoPropertyName = "NullableAgentsAgentUuidToolsPostRequestBodyContentApplicationJsonSchemaToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.AgentsAgentUuidWebhooksPostRequestBodyContentApplicationJsonSchemaWebhookType?), TypeInfoPropertyName = "NullableAgentsAgentUuidWebhooksPostRequestBodyContentApplicationJsonSchemaWebhookType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.PhoneNumbersPostRequestBodyContentApplicationJsonSchemaProvider?), TypeInfoPropertyName = "NullablePhoneNumbersPostRequestBodyContentApplicationJsonSchemaProvider2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.KnowledgeItemsGetParametersStatus?), TypeInfoPropertyName = "NullableKnowledgeItemsGetParametersStatus2")] @@ -1236,22 +1275,27 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [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.DetectC2PaManifestValidationState?), TypeInfoPropertyName = "NullableDetectC2PaManifestValidationState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectGetResponsesContentApplicationJsonSchemaItemsItemsAudioSourceTracingObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectGetResponsesContentApplicationJsonSchemaItemsItemsIntelligenceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality?), TypeInfoPropertyName = "NullableDetectPostRequestBodyContentMultipartFormDataSchemaModality2")] [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")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultStatus?), TypeInfoPropertyName = "NullableDetectIntelligenceResultStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType?), TypeInfoPropertyName = "NullableDetectIntelligenceResultDescriptionOneOf1FraudType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment?), TypeInfoPropertyName = "NullableDetectIntelligenceResultDescriptionOneOf1LivenessAssessment2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectIntelligenceResultDescription?), TypeInfoPropertyName = "NullableDetectIntelligenceResultDescription2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectIntelligenceResultDescriptionObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemModality?), TypeInfoPropertyName = "NullableDetectUuidGetResponsesContentApplicationJsonSchemaItemModality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectUuidGetResponsesContentApplicationJsonSchemaItemAudioSourceTracingObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.OneOf?), TypeInfoPropertyName = "NullableOneOfDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.DetectBatchStatus?), TypeInfoPropertyName = "NullableDetectBatchStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.IntelligencePostRequestBodyContentApplicationJsonSchemaMediaType?), TypeInfoPropertyName = "NullableIntelligencePostRequestBodyContentApplicationJsonSchemaMediaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItemMediaType?), TypeInfoPropertyName = "NullableIntelligencePostResponsesContentApplicationJsonSchemaItemMediaType2")] @@ -1324,6 +1368,7 @@ 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))] @@ -1450,10 +1495,14 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::ResembleAI.JsonConverters.DetectGetResponsesContentApplicationJsonSchemaItemsItemsStatusNullableJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectGetResponsesContentApplicationJsonSchemaItemsItemsModalityJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectGetResponsesContentApplicationJsonSchemaItemsItemsModalityNullableJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectC2PaManifestValidationStateJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectC2PaManifestValidationStateNullableJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectPostRequestBodyContentMultipartFormDataSchemaModalityJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectPostRequestBodyContentMultipartFormDataSchemaModalityNullableJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemModalityJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemModalityNullableJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusNullableJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeNullableJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentJsonConverter()); @@ -1462,10 +1511,12 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaTypeNullableJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatusJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatusNullableJsonConverter()); - options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeJsonConverter()); - options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeNullableJsonConverter()); - options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentJsonConverter()); - options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentNullableJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectIntelligenceResultStatusJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectIntelligenceResultStatusNullableJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudTypeJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudTypeNullableJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentNullableJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemModalityJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemModalityNullableJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectBatchStatusJsonConverter()); @@ -1556,14 +1607,16 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::ResembleAI.JsonConverters.DuetPostRequestBodyContentApplicationJsonSchemaScriptItemsSpeakerNullableJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.AgentsPostRequestBodyContentApplicationJsonSchemaDynamicVariablesJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionJsonConverter()); - options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.IdentityCreateIdentityRequestJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.WatermarkDetectItemMetricsJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); - options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::ResembleAI.JsonConverters.UnixTimestampJsonConverter()); diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs index 71ccf15..1d5ae95 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonSerializerContextTypes.g.cs @@ -712,1215 +712,1243 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsAudioSourceTracing? Type171 { get; set; } + public global::ResembleAI.DetectC2PaManifestValidationState? Type171 { get; set; } /// /// /// - public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsIntelligence? Type172 { get; set; } + public global::ResembleAI.DetectC2paManifest? Type172 { get; set; } /// /// /// - public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsExtraParams? Type173 { get; set; } + public object? Type173 { get; set; } /// /// /// - public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItems? Type174 { get; set; } + public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsAudioSourceTracing? Type174 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type175 { get; set; } + public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsIntelligence? Type175 { get; set; } /// /// /// - public object? Type176 { get; set; } + public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItemsExtraParams? Type176 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type177 { get; set; } + public global::ResembleAI.DetectGetResponsesContentApplicationJsonSchemaItemsItems? Type177 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionListDetectionsResponse200? Type178 { get; set; } + public global::ResembleAI.OneOf? Type178 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type179 { get; set; } + public global::ResembleAI.OneOf? Type179 { get; set; } /// /// /// - public global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? Type180 { get; set; } + public global::ResembleAI.DeepfakeDetectionListDetectionsResponse200? Type180 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemModality? Type181 { get; set; } + public global::System.Collections.Generic.IList? Type181 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType? Type182 { get; set; } + public global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? Type182 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud? Type183 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemModality? Type183 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment? Type184 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus? Type184 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness? Type185 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType? Type185 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered? Type186 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud? Type186 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? Type187 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment? Type187 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription? Type188 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness? Type188 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligence? Type189 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered? Type189 { get; set; } /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItem? Type190 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? Type190 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type191 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription? Type191 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionCreateDetectionResponse200? Type192 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligence? Type192 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType? Type193 { get; set; } + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItem? Type193 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type194 { get; set; } + public global::ResembleAI.OneOf? Type194 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemAudioSourceTracing? Type195 { get; set; } + public global::ResembleAI.DeepfakeDetectionCreateDetectionResponse200? Type195 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType? Type196 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType? Type196 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud? Type197 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type197 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment? Type198 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemAudioSourceTracing? Type198 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness? Type199 { get; set; } + public global::ResembleAI.DetectIntelligenceResultStatus? Type199 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered? Type200 { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType? Type200 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? Type201 { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Fraud? Type201 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription? Type202 { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment? Type202 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence? Type203 { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Liveness? Type203 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemModality? Type204 { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered? Type204 { get; set; } /// /// /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItem? Type205 { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescription1? Type205 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type206 { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescription? Type206 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type207 { get; set; } + public global::ResembleAI.DetectIntelligenceResult? Type207 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionGetDetectionResponse200? Type208 { get; set; } + public global::ResembleAI.OneOf? Type208 { get; set; } /// /// /// - public global::ResembleAI.DetectBatchStatus? Type209 { get; set; } + public global::System.Collections.Generic.IList? Type209 { get; set; } /// /// /// - public global::ResembleAI.DetectBatch? Type210 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence? Type210 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionCreateDetectBatchResponse202? Type211 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemModality? Type211 { get; set; } /// /// /// - public global::ResembleAI.DeepfakeDetectionGetDetectBatchResponse200? Type212 { get; set; } + public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItem? Type212 { get; set; } /// /// /// - public global::ResembleAI.IntelligencePostRequestBodyContentApplicationJsonSchemaMediaType? Type213 { get; set; } + public global::ResembleAI.OneOf? Type213 { get; set; } /// /// /// - public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItemMediaType? Type214 { get; set; } + public global::ResembleAI.OneOf? Type214 { get; set; } /// /// /// - public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItem? Type215 { get; set; } + public global::ResembleAI.DeepfakeDetectionGetDetectionResponse200? Type215 { get; set; } /// /// /// - public global::ResembleAI.IntelligenceRunIntelligenceResponse200? Type216 { get; set; } + public global::ResembleAI.DetectBatchStatus? Type216 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraudType? Type217 { get; set; } + public global::ResembleAI.DetectBatch? Type217 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraud? Type218 { get; set; } + public global::ResembleAI.DeepfakeDetectionCreateDetectBatchResponse202? Type218 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLivenessAssessment? Type219 { get; set; } + public global::ResembleAI.DeepfakeDetectionGetDetectBatchResponse200? Type219 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLiveness? Type220 { get; set; } + public global::ResembleAI.IntelligencePostRequestBodyContentApplicationJsonSchemaMediaType? Type220 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionDigitallyAltered? Type221 { get; set; } + public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItemMediaType? Type221 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescription? Type222 { get; set; } + public global::ResembleAI.IntelligencePostResponsesContentApplicationJsonSchemaItem? Type222 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsMediaType? Type223 { get; set; } + public global::ResembleAI.IntelligenceRunIntelligenceResponse200? Type223 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItems? Type224 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraudType? Type224 { get; set; } /// /// /// - public global::ResembleAI.IntelligenceListIntelligencesResponse200? Type225 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionFraud? Type225 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type226 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLivenessAssessment? Type226 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraudType? Type227 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionLiveness? Type227 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraud? Type228 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescriptionDigitallyAltered? Type228 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLivenessAssessment? Type229 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsDescription? Type229 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLiveness? Type230 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItemsMediaType? Type230 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionDigitallyAltered? Type231 { get; set; } + public global::ResembleAI.IntelligencesGetResponsesContentApplicationJsonSchemaItemsItems? Type231 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescription? Type232 { get; set; } + public global::ResembleAI.IntelligenceListIntelligencesResponse200? Type232 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemMediaType? Type233 { get; set; } + public global::System.Collections.Generic.IList? Type233 { get; set; } /// /// /// - public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItem? Type234 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraudType? Type234 { get; set; } /// /// /// - public global::ResembleAI.IntelligenceGetIntelligenceResponse200? Type235 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionFraud? Type235 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItemStatus? Type236 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLivenessAssessment? Type236 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItem? Type237 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionLiveness? Type237 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceAskDetectIntelligenceQuestionResponse202? Type238 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescriptionDigitallyAltered? Type238 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type239 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemDescription? Type239 { get; set; } /// /// /// - public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItem? Type240 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItemMediaType? Type240 { get; set; } /// /// /// - public global::ResembleAI.DetectIntelligenceGetDetectIntelligenceQuestionResponse200? Type241 { get; set; } + public global::ResembleAI.IntelligencesUuidGetResponsesContentApplicationJsonSchemaItem? Type241 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItemsResults? Type242 { get; set; } + public global::ResembleAI.IntelligenceGetIntelligenceResponse200? Type242 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItems? Type243 { get; set; } + public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItemStatus? Type243 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingListAudioSourceTracingsResponse200? Type244 { get; set; } + public global::ResembleAI.DetectsUuidIntelligencePostResponsesContentApplicationJsonSchemaItem? Type244 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type245 { get; set; } + public global::ResembleAI.DetectIntelligenceAskDetectIntelligenceQuestionResponse202? Type245 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItemResults? Type246 { get; set; } + public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItemStatus? Type246 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItem? Type247 { get; set; } + public global::ResembleAI.DetectsUuidIntelligenceQuestionUuidGetResponsesContentApplicationJsonSchemaItem? Type247 { get; set; } /// /// /// - public global::ResembleAI.AudioSourceTracingGetAudioSourceTracingResponse200? Type248 { get; set; } + public global::ResembleAI.DetectIntelligenceGetDetectIntelligenceQuestionResponse200? Type248 { get; set; } /// /// /// - public global::ResembleAI.IdentitySummaryVisibility? Type249 { get; set; } + public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItemsResults? Type249 { get; set; } /// /// /// - public global::ResembleAI.IdentitySummaryIdentityType? Type250 { get; set; } + public global::ResembleAI.AudioSourceTracingsGetResponsesContentApplicationJsonSchemaItemsItems? Type250 { get; set; } /// /// /// - public global::ResembleAI.IdentitySummary? Type251 { get; set; } + public global::ResembleAI.AudioSourceTracingListAudioSourceTracingsResponse200? Type251 { get; set; } /// /// /// - public global::ResembleAI.IdentityListIdentitiesResponse200? Type252 { get; set; } + public global::System.Collections.Generic.IList? Type252 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type253 { get; set; } + public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItemResults? Type253 { get; set; } /// /// /// - public global::ResembleAI.IdentityCreateIdentityRequest0? Type254 { get; set; } + public global::ResembleAI.AudioSourceTracingsUuidGetResponsesContentApplicationJsonSchemaItem? Type254 { get; set; } /// /// /// - public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1IdentityIdentityType? Type255 { get; set; } + public global::ResembleAI.AudioSourceTracingGetAudioSourceTracingResponse200? Type255 { get; set; } /// /// /// - public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1IdentityVisibility? Type256 { get; set; } + public global::ResembleAI.IdentitySummaryVisibility? Type256 { get; set; } /// /// /// - public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1Identity? Type257 { get; set; } + public global::ResembleAI.IdentitySummaryIdentityType? Type257 { get; set; } /// /// /// - public global::ResembleAI.IdentityCreateIdentityRequest1? Type258 { get; set; } + public global::ResembleAI.IdentitySummary? Type258 { get; set; } /// /// /// - public global::ResembleAI.IdentityCreateIdentityRequest? Type259 { get; set; } + public global::ResembleAI.IdentityListIdentitiesResponse200? Type259 { get; set; } /// /// /// - public global::ResembleAI.IdentityCreateIdentityResponse200? Type260 { get; set; } + public global::System.Collections.Generic.IList? Type260 { get; set; } /// /// /// - public global::ResembleAI.IdentityDeleteIdentityResponse200? Type261 { get; set; } + public global::ResembleAI.IdentityCreateIdentityRequest0? Type261 { get; set; } /// /// /// - public global::ResembleAI.IdentityUuidAttachmentsPostRequestBodyContentMultipartFormDataSchemaModality? Type262 { get; set; } + public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1IdentityIdentityType? Type262 { get; set; } /// /// /// - public global::ResembleAI.IdentityIdentityType? Type263 { get; set; } + public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1IdentityVisibility? Type263 { get; set; } /// /// /// - public global::ResembleAI.IdentityVisibility? Type264 { get; set; } + public global::ResembleAI.IdentityPostRequestBodyContentApplicationJsonSchemaOneOf1Identity? Type264 { get; set; } /// /// /// - public global::ResembleAI.IdentityAttachment? Type265 { get; set; } + public global::ResembleAI.IdentityCreateIdentityRequest1? Type265 { get; set; } /// /// /// - public global::ResembleAI.IdentityEmbeddingsItemsModality? Type266 { get; set; } + public global::ResembleAI.IdentityCreateIdentityRequest? Type266 { get; set; } /// /// /// - public global::ResembleAI.IdentityEmbeddingsItems? Type267 { get; set; } + public global::ResembleAI.IdentityCreateIdentityResponse200? Type267 { get; set; } /// /// /// - public global::ResembleAI.IdentityProjectsItems? Type268 { get; set; } + public global::ResembleAI.IdentityDeleteIdentityResponse200? Type268 { get; set; } /// /// /// - public global::ResembleAI.Identity? Type269 { get; set; } + public global::ResembleAI.IdentityUuidAttachmentsPostRequestBodyContentMultipartFormDataSchemaModality? Type269 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type270 { get; set; } + public global::ResembleAI.IdentityIdentityType? Type270 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type271 { get; set; } + public global::ResembleAI.IdentityVisibility? Type271 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type272 { get; set; } + public global::ResembleAI.IdentityAttachment? Type272 { get; set; } /// /// /// - public global::ResembleAI.IdentityDeleteIdentityAttachmentResponse204? Type273 { get; set; } + public global::ResembleAI.IdentityEmbeddingsItemsModality? Type273 { get; set; } /// /// /// - public global::ResembleAI.IdentitySearchPostRequestBodyContentApplicationJsonSchemaModality? Type274 { get; set; } + public global::ResembleAI.IdentityEmbeddingsItems? Type274 { get; set; } /// /// /// - public global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaModality? Type275 { get; set; } + public global::ResembleAI.IdentityProjectsItems? Type275 { get; set; } /// /// /// - public global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaItem? Type276 { get; set; } + public global::ResembleAI.Identity? Type276 { get; set; } /// /// /// - public global::ResembleAI.IdentitySearchIdentitiesResponse200? Type277 { get; set; } + public global::System.Collections.Generic.IList? Type277 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type278 { get; set; } + public global::System.Collections.Generic.IList? Type278 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyPostParametersPrefer? Type279 { get; set; } + public global::System.Collections.Generic.IList? Type279 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyRequest? Type280 { get; set; } + public global::ResembleAI.IdentityDeleteIdentityAttachmentResponse204? Type280 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemMediaType? Type281 { get; set; } + public global::ResembleAI.IdentitySearchPostRequestBodyContentApplicationJsonSchemaModality? Type281 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemOperationType? Type282 { get; set; } + public global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaModality? Type282 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemStatus? Type283 { get; set; } + public global::ResembleAI.IdentitySearchPostResponsesContentApplicationJsonSchemaItem? Type283 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItemModelVersion? Type284 { get; set; } + public global::ResembleAI.IdentitySearchIdentitiesResponse200? Type284 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyMetrics? Type285 { get; set; } + public global::System.Collections.Generic.Dictionary? Type285 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyItem? Type286 { get; set; } + public global::ResembleAI.WatermarkApplyPostParametersPrefer? Type286 { get; set; } /// /// /// - public global::ResembleAI.WatermarkApplyResponse? Type287 { get; set; } + public global::ResembleAI.WatermarkApplyRequest? Type287 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectPostParametersPrefer? Type288 { get; set; } + public global::ResembleAI.WatermarkApplyItemMediaType? Type288 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectRequest? Type289 { get; set; } + public global::ResembleAI.WatermarkApplyItemOperationType? Type289 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemMediaType? Type290 { get; set; } + public global::ResembleAI.WatermarkApplyItemStatus? Type290 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemOperationType? Type291 { get; set; } + public global::ResembleAI.WatermarkApplyItemModelVersion? Type291 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemStatus? Type292 { get; set; } + public global::ResembleAI.WatermarkApplyMetrics? Type292 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemModelVersion? Type293 { get; set; } + public global::ResembleAI.WatermarkApplyItem? Type293 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus? Type294 { get; set; } + public global::ResembleAI.WatermarkApplyResponse? Type294 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems? Type295 { get; set; } + public global::ResembleAI.WatermarkDetectPostParametersPrefer? Type295 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioModelResultModelVersion? Type296 { get; set; } + public global::ResembleAI.WatermarkDetectRequest? Type296 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioModelResultStatus? Type297 { get; set; } + public global::ResembleAI.WatermarkDetectItemMediaType? Type297 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioModelResult? Type298 { get; set; } + public global::ResembleAI.WatermarkDetectItemOperationType? Type298 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type299 { get; set; } + public global::ResembleAI.WatermarkDetectItemStatus? Type299 { get; set; } /// /// /// - public global::ResembleAI.WatermarkAudioDetectionMetrics? Type300 { get; set; } + public global::ResembleAI.WatermarkDetectItemModelVersion? Type300 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type301 { get; set; } + public global::ResembleAI.WatermarkAudioDetectionMetricsOverallStatus? Type301 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type302 { get; set; } + public global::ResembleAI.WatermarkAudioDetectionMetricsDetectedModelVersionsItems? Type302 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus? Type303 { get; set; } + public global::ResembleAI.WatermarkAudioModelResultModelVersion? Type303 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems? Type304 { get; set; } + public global::ResembleAI.WatermarkAudioModelResultStatus? Type304 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionModelResultModelVersion? Type305 { get; set; } + public global::ResembleAI.WatermarkAudioModelResult? Type305 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionModelResultStatus? Type306 { get; set; } + public global::System.Collections.Generic.Dictionary? Type306 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionModelResult? Type307 { get; set; } + public global::ResembleAI.WatermarkAudioDetectionMetrics? Type307 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionDetectionMetricsVerdict? Type308 { get; set; } + public global::System.Collections.Generic.IList? Type308 { get; set; } /// /// /// - public global::ResembleAI.WatermarkVisionDetectionMetrics? Type309 { get; set; } + public global::System.Collections.Generic.IList? Type309 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type310 { get; set; } + public global::ResembleAI.WatermarkVisionDetectionMetricsOverallStatus? Type310 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type311 { get; set; } + public global::ResembleAI.WatermarkVisionDetectionMetricsDetectedModelVersionsItems? Type311 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type312 { get; set; } + public global::ResembleAI.WatermarkVisionModelResultModelVersion? Type312 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItemMetrics? Type313 { get; set; } + public global::ResembleAI.WatermarkVisionModelResultStatus? Type313 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectItem? Type314 { get; set; } + public global::ResembleAI.WatermarkVisionModelResult? Type314 { get; set; } /// /// /// - public global::ResembleAI.OneOf? Type315 { get; set; } + public global::ResembleAI.WatermarkVisionDetectionMetricsVerdict? Type315 { get; set; } /// /// /// - public global::ResembleAI.WatermarkDetectResponse? Type316 { get; set; } + public global::ResembleAI.WatermarkVisionDetectionMetrics? Type316 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type317 { get; set; } + public global::System.Collections.Generic.IList? Type317 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatus? Type318 { get; set; } + public global::System.Collections.Generic.IList? Type318 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusTextToSpeech? Type319 { get; set; } + public global::ResembleAI.OneOf? Type319 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusFill? Type320 { get; set; } + public global::ResembleAI.WatermarkDetectItemMetrics? Type320 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusVoiceConversion? Type321 { get; set; } + public global::ResembleAI.WatermarkDetectItem? Type321 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsApiSupport? Type322 { get; set; } + public global::ResembleAI.OneOf? Type322 { get; set; } /// /// /// - public global::ResembleAI.VoicesListVoicesResponse200? Type323 { get; set; } + public global::ResembleAI.WatermarkDetectResponse? Type323 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type324 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type324 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItem? Type325 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatus? Type325 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatus? Type326 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusTextToSpeech? Type326 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type327 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusFill? Type327 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type328 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsComponentStatusVoiceConversion? Type328 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type329 { get; set; } + public global::ResembleAI.VoicesGetResponsesContentApplicationJsonSchemaItemsItemsApiSupport? Type329 { get; set; } /// /// /// - public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemApiSupport? Type330 { get; set; } + public global::ResembleAI.VoicesListVoicesResponse200? Type330 { get; set; } /// /// /// - public global::ResembleAI.VoicesCreateVoiceResponse200? Type331 { get; set; } + public global::System.Collections.Generic.IList? Type331 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItem? Type332 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItem? Type332 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatus? Type333 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatus? Type333 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type334 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type334 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type335 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type335 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type336 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type336 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemApiSupport? Type337 { get; set; } + public global::ResembleAI.VoicesPostResponsesContentApplicationJsonSchemaItemApiSupport? Type337 { get; set; } /// /// /// - public global::ResembleAI.VoicesGetVoiceResponse200? Type338 { get; set; } + public global::ResembleAI.VoicesCreateVoiceResponse200? Type338 { get; set; } /// /// /// - public global::ResembleAI.VoicesDeleteVoiceResponse200? Type339 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItem? Type339 { get; set; } /// /// /// - public global::ResembleAI.VoicesBuildVoiceResponse200? Type340 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatus? Type340 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems? Type341 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusTextToSpeech? Type341 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200? Type342 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusFill? Type342 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type343 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemComponentStatusVoiceConversion? Type343 { get; set; } /// /// /// - public global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200? Type344 { get; set; } + public global::ResembleAI.VoicesVoiceUuidGetResponsesContentApplicationJsonSchemaItemApiSupport? Type344 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsGetResponsesContentApplicationJsonSchemaItemsItems? Type345 { get; set; } + public global::ResembleAI.VoicesGetVoiceResponse200? Type345 { get; set; } /// /// /// - public global::ResembleAI.RecordingsListRecordingsResponse200? Type346 { get; set; } + public global::ResembleAI.VoicesDeleteVoiceResponse200? Type346 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type347 { get; set; } + public global::ResembleAI.VoicesBuildVoiceResponse200? Type347 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsPostResponsesContentApplicationJsonSchemaItem? Type348 { get; set; } + public global::ResembleAI.VoiceDesignPostResponsesContentApplicationJsonSchemaVoiceCandidatesItems? Type348 { get; set; } /// /// /// - public global::ResembleAI.RecordingsCreateRecordingResponse200? Type349 { get; set; } + public global::ResembleAI.VoiceDesignGenerateVoiceDesignResponse200? Type349 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdGetResponsesContentApplicationJsonSchemaItem? Type350 { get; set; } + public global::System.Collections.Generic.IList? Type350 { get; set; } /// /// /// - public global::ResembleAI.RecordingsGetRecordingResponse200? Type351 { get; set; } + public global::ResembleAI.VoiceDesignCreateVoiceFromCandidateResponse200? Type351 { get; set; } /// /// /// - public global::ResembleAI.RecordingsDeleteRecordingResponse200? Type352 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsGetResponsesContentApplicationJsonSchemaItemsItems? Type352 { get; set; } /// /// /// - public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdPatchResponsesContentApplicationJsonSchemaItem? Type353 { get; set; } + public global::ResembleAI.RecordingsListRecordingsResponse200? Type353 { get; set; } /// /// /// - public global::ResembleAI.RecordingsUpdateRecordingResponse200? Type354 { get; set; } + public global::System.Collections.Generic.IList? Type354 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsGetResponsesContentApplicationJsonSchemaItemsItems? Type355 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsPostResponsesContentApplicationJsonSchemaItem? Type355 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsListTermSubstitutionsResponse200? Type356 { get; set; } + public global::ResembleAI.RecordingsCreateRecordingResponse200? Type356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type357 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdGetResponsesContentApplicationJsonSchemaItem? Type357 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsPostResponsesContentApplicationJsonSchemaItem? Type358 { get; set; } + public global::ResembleAI.RecordingsGetRecordingResponse200? Type358 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsCreateTermSubstitutionResponse200? Type359 { get; set; } + public global::ResembleAI.RecordingsDeleteRecordingResponse200? Type359 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsIdGetResponsesContentApplicationJsonSchemaItem? Type360 { get; set; } + public global::ResembleAI.VoicesVoiceUuidRecordingsRecordingIdPatchResponsesContentApplicationJsonSchemaItem? Type360 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsGetTermSubstitutionResponse200? Type361 { get; set; } + public global::ResembleAI.RecordingsUpdateRecordingResponse200? Type361 { get; set; } /// /// /// - public global::ResembleAI.TermSubstitutionsDeleteTermSubstitutionResponse200? Type362 { get; set; } + public global::ResembleAI.TermSubstitutionsGetResponsesContentApplicationJsonSchemaItemsItems? Type362 { get; set; } /// /// /// - public global::ResembleAI.PronunciationsGetParametersStatus? Type363 { get; set; } + public global::ResembleAI.TermSubstitutionsListTermSubstitutionsResponse200? Type363 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationStatus? Type364 { get; set; } + public global::System.Collections.Generic.IList? Type364 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciation? Type365 { get; set; } + public global::ResembleAI.TermSubstitutionsPostResponsesContentApplicationJsonSchemaItem? Type365 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsListPronunciationsResponse200? Type366 { get; set; } + public global::ResembleAI.TermSubstitutionsCreateTermSubstitutionResponse200? Type366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type367 { get; set; } + public global::ResembleAI.TermSubstitutionsIdGetResponsesContentApplicationJsonSchemaItem? Type367 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsCreatePronunciationResponse201? Type368 { get; set; } + public global::ResembleAI.TermSubstitutionsGetTermSubstitutionResponse200? Type368 { get; set; } /// /// /// - public global::ResembleAI.PronunciationsBulkPostResponsesContentApplicationJsonSchemaErrorsItems? Type369 { get; set; } + public global::ResembleAI.TermSubstitutionsDeleteTermSubstitutionResponse200? Type369 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsBulkCreatePronunciationsResponse201? Type370 { get; set; } + public global::ResembleAI.PronunciationsGetParametersStatus? Type370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type371 { get; set; } + public global::ResembleAI.CustomPronunciationStatus? Type371 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsGetPronunciationResponse200? Type372 { get; set; } + public global::ResembleAI.CustomPronunciation? Type372 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsDeletePronunciationResponse200? Type373 { get; set; } + public global::ResembleAI.CustomPronunciationsListPronunciationsResponse200? Type373 { get; set; } /// /// /// - public global::ResembleAI.CustomPronunciationsUpdatePronunciationResponse200? Type374 { get; set; } + public global::System.Collections.Generic.IList? Type374 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsGetResponsesContentApplicationJsonSchemaItemsItems? Type375 { get; set; } + public global::ResembleAI.CustomPronunciationsCreatePronunciationResponse201? Type375 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsListVoiceSettingsPresetsResponse200? Type376 { get; set; } + public global::ResembleAI.PronunciationsBulkPostResponsesContentApplicationJsonSchemaErrorsItems? Type376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type377 { get; set; } + public global::ResembleAI.CustomPronunciationsBulkCreatePronunciationsResponse201? Type377 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsPostResponsesContentApplicationJsonSchemaData? Type378 { get; set; } + public global::System.Collections.Generic.IList? Type378 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsCreateVoiceSettingsPresetResponse201? Type379 { get; set; } + public global::ResembleAI.CustomPronunciationsGetPronunciationResponse200? Type379 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUuidGetResponsesContentApplicationJsonSchemaData? Type380 { get; set; } + public global::ResembleAI.CustomPronunciationsDeletePronunciationResponse200? Type380 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsGetVoiceSettingsPresetResponse200? Type381 { get; set; } + public global::ResembleAI.CustomPronunciationsUpdatePronunciationResponse200? Type381 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsDeleteVoiceSettingsPresetResponse200? Type382 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsGetResponsesContentApplicationJsonSchemaItemsItems? Type382 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUuidPatchResponsesContentApplicationJsonSchemaData? Type383 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsListVoiceSettingsPresetsResponse200? Type383 { get; set; } /// /// /// - public global::ResembleAI.VoiceSettingsPresetsUpdateVoiceSettingsPresetResponse200? Type384 { get; set; } + public global::System.Collections.Generic.IList? Type384 { get; set; } /// /// /// - public global::ResembleAI.ProjectsGetResponsesContentApplicationJsonSchemaItemsItems? Type385 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsPostResponsesContentApplicationJsonSchemaData? Type385 { get; set; } /// /// /// - public global::ResembleAI.ProjectsListProjectsResponse200? Type386 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsCreateVoiceSettingsPresetResponse201? Type386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type387 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUuidGetResponsesContentApplicationJsonSchemaData? Type387 { get; set; } /// /// /// - public global::ResembleAI.ProjectsPostResponsesContentApplicationJsonSchemaItem? Type388 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsGetVoiceSettingsPresetResponse200? Type388 { get; set; } /// /// /// - public global::ResembleAI.ProjectsCreateProjectResponse200? Type389 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsDeleteVoiceSettingsPresetResponse200? Type389 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidGetResponsesContentApplicationJsonSchemaItem? Type390 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUuidPatchResponsesContentApplicationJsonSchemaData? Type390 { get; set; } /// /// /// - public global::ResembleAI.ProjectsGetProjectResponse200? Type391 { get; set; } + public global::ResembleAI.VoiceSettingsPresetsUpdateVoiceSettingsPresetResponse200? Type391 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidPutResponsesContentApplicationJsonSchemaItem? Type392 { get; set; } + public global::ResembleAI.ProjectsGetResponsesContentApplicationJsonSchemaItemsItems? Type392 { get; set; } /// /// /// - public global::ResembleAI.ProjectsUpdateProjectResponse200? Type393 { get; set; } + public global::ResembleAI.ProjectsListProjectsResponse200? Type393 { get; set; } /// /// /// - public global::ResembleAI.ProjectsDeleteProjectResponse200? Type394 { get; set; } + public global::System.Collections.Generic.IList? Type394 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsGetResponsesContentApplicationJsonSchemaItemsItems? Type395 { get; set; } + public global::ResembleAI.ProjectsPostResponsesContentApplicationJsonSchemaItem? Type395 { get; set; } /// /// /// - public global::ResembleAI.ClipsListClipsResponse200? Type396 { get; set; } + public global::ResembleAI.ProjectsCreateProjectResponse200? Type396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type397 { get; set; } + public global::ResembleAI.ProjectsProjectUuidGetResponsesContentApplicationJsonSchemaItem? Type397 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsClipUuidGetResponsesContentApplicationJsonSchemaItem? Type398 { get; set; } + public global::ResembleAI.ProjectsGetProjectResponse200? Type398 { get; set; } /// /// /// - public global::ResembleAI.ClipsGetClipResponse200? Type399 { get; set; } + public global::ResembleAI.ProjectsProjectUuidPutResponsesContentApplicationJsonSchemaItem? Type399 { get; set; } /// /// /// - public global::ResembleAI.ClipsDeleteClipResponse200? Type400 { get; set; } + public global::ResembleAI.ProjectsUpdateProjectResponse200? Type400 { get; set; } /// /// /// - public global::ResembleAI.ProjectsProjectUuidClipsClipUuidPatchResponsesContentApplicationJsonSchemaItem? Type401 { get; set; } + public global::ResembleAI.ProjectsDeleteProjectResponse200? Type401 { get; set; } /// /// /// - public global::ResembleAI.ClipsUpdateClipResponse200? Type402 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsGetResponsesContentApplicationJsonSchemaItemsItems? Type402 { get; set; } /// /// /// - public global::ResembleAI.AccountGetResponsesContentApplicationJsonSchemaItem? Type403 { get; set; } + public global::ResembleAI.ClipsListClipsResponse200? Type403 { get; set; } /// /// /// - public global::ResembleAI.AccountGetAccountResponse200? Type404 { get; set; } + public global::System.Collections.Generic.IList? Type404 { get; set; } /// /// /// - public global::ResembleAI.AccountTeamsGetResponsesContentApplicationJsonSchemaItemsItems? Type405 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsClipUuidGetResponsesContentApplicationJsonSchemaItem? Type405 { get; set; } /// /// /// - public global::ResembleAI.AccountGetTeamsResponse200? Type406 { get; set; } + public global::ResembleAI.ClipsGetClipResponse200? Type406 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type407 { get; set; } + public global::ResembleAI.ClipsDeleteClipResponse200? Type407 { get; set; } /// /// /// - public global::ResembleAI.AccountTeamsTeamUuidGetResponsesContentApplicationJsonSchemaItem? Type408 { get; set; } + public global::ResembleAI.ProjectsProjectUuidClipsClipUuidPatchResponsesContentApplicationJsonSchemaItem? Type408 { get; set; } /// /// /// - public global::ResembleAI.AccountGetTeamResponse200? Type409 { get; set; } + public global::ResembleAI.ClipsUpdateClipResponse200? Type409 { get; set; } /// /// /// - public global::ResembleAI.AccountBillingUsageGetResponsesContentApplicationJsonSchemaItem? Type410 { get; set; } + public global::ResembleAI.AccountGetResponsesContentApplicationJsonSchemaItem? Type410 { get; set; } /// /// /// - public global::ResembleAI.AccountGetBillingUsageResponse200? Type411 { get; set; } + public global::ResembleAI.AccountGetAccountResponse200? Type411 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type412 { get; set; } + public global::ResembleAI.AccountTeamsGetResponsesContentApplicationJsonSchemaItemsItems? Type412 { get; set; } /// /// /// - public global::ResembleAI.DuetsListDuetVoicesResponse200? Type413 { get; set; } + public global::ResembleAI.AccountGetTeamsResponse200? Type413 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type414 { get; set; } + public global::System.Collections.Generic.IList? Type414 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesPostResponsesContentApplicationJsonSchemaItem? Type415 { get; set; } + public global::ResembleAI.AccountTeamsTeamUuidGetResponsesContentApplicationJsonSchemaItem? Type415 { get; set; } /// /// /// - public global::ResembleAI.DuetsCreateDuetVoiceResponse200? Type416 { get; set; } + public global::ResembleAI.AccountGetTeamResponse200? Type416 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicesIdPutResponsesContentApplicationJsonSchemaItem? Type417 { get; set; } + public global::ResembleAI.AccountBillingUsageGetResponsesContentApplicationJsonSchemaItem? Type417 { get; set; } /// /// /// - public global::ResembleAI.DuetsUpdateDuetVoiceResponse200? Type418 { get; set; } + public global::ResembleAI.AccountGetBillingUsageResponse200? Type418 { get; set; } /// /// /// - public global::ResembleAI.DuetsDeleteDuetVoiceResponse200? Type419 { get; set; } + public global::ResembleAI.DuetVoicesGetResponsesContentApplicationJsonSchemaItemsItems? Type419 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicePairsGetResponsesContentApplicationJsonSchemaItemsItems? Type420 { get; set; } + public global::ResembleAI.DuetsListDuetVoicesResponse200? Type420 { get; set; } /// /// /// - public global::ResembleAI.DuetsListDuetVoicePairsResponse200? Type421 { get; set; } + public global::System.Collections.Generic.IList? Type421 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type422 { get; set; } + public global::ResembleAI.DuetVoicesPostResponsesContentApplicationJsonSchemaItem? Type422 { get; set; } /// /// /// - public global::ResembleAI.DuetVoicePairsPostResponsesContentApplicationJsonSchemaItem? Type423 { get; set; } + public global::ResembleAI.DuetsCreateDuetVoiceResponse200? Type423 { get; set; } /// /// /// - public global::ResembleAI.DuetsCreateDuetVoicePairResponse200? Type424 { get; set; } + public global::ResembleAI.DuetVoicesIdPutResponsesContentApplicationJsonSchemaItem? Type424 { get; set; } /// /// /// - public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItemsSpeaker? Type425 { get; set; } + public global::ResembleAI.DuetsUpdateDuetVoiceResponse200? Type425 { get; set; } /// /// /// - public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItems? Type426 { get; set; } + public global::ResembleAI.DuetsDeleteDuetVoiceResponse200? Type426 { get; set; } /// /// /// - public global::ResembleAI.DuetPostResponsesContentApplicationJsonSchemaItem? Type427 { get; set; } + public global::ResembleAI.DuetVoicePairsGetResponsesContentApplicationJsonSchemaItemsItems? Type427 { get; set; } /// /// /// - public global::ResembleAI.DuetsGenerateDuetResponse200? Type428 { get; set; } + public global::ResembleAI.DuetsListDuetVoicePairsResponse200? Type428 { get; set; } /// /// /// - public global::ResembleAI.SynthesizeRequest? Type429 { get; set; } + public global::System.Collections.Generic.IList? Type429 { get; set; } /// /// /// - public global::ResembleAI.StreamSynthesizeRequest? Type430 { get; set; } + public global::ResembleAI.DuetVoicePairsPostResponsesContentApplicationJsonSchemaItem? Type430 { get; set; } /// /// /// - public global::ResembleAI.CreateTranscriptRequest? Type431 { get; set; } + public global::ResembleAI.DuetsCreateDuetVoicePairResponse200? Type431 { get; set; } /// /// /// - public global::ResembleAI.AskTranscriptQuestionRequest? Type432 { get; set; } + public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItemsSpeaker? Type432 { get; set; } /// /// /// - public global::ResembleAI.CreateAudioEnhancementRequest? Type433 { get; set; } + public global::ResembleAI.DuetPostRequestBodyContentApplicationJsonSchemaScriptItems? Type433 { get; set; } /// /// /// - public global::ResembleAI.CreateAgentRequest? Type434 { get; set; } + public global::ResembleAI.DuetPostResponsesContentApplicationJsonSchemaItem? Type434 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type435 { get; set; } + public global::ResembleAI.DuetsGenerateDuetResponse200? Type435 { get; set; } /// /// /// - public global::ResembleAI.UpdateAgentRequest? Type436 { get; set; } + public global::ResembleAI.SynthesizeRequest? Type436 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type437 { get; set; } + public global::ResembleAI.StreamSynthesizeRequest? Type437 { get; set; } /// /// /// - public global::ResembleAI.DispatchAgentRequest? Type438 { get; set; } + public global::ResembleAI.CreateTranscriptRequest? Type438 { get; set; } /// /// /// - public global::ResembleAI.CreateAgentToolRequest? Type439 { get; set; } + public global::ResembleAI.AskTranscriptQuestionRequest? Type439 { get; set; } /// /// /// - public global::ResembleAI.UpdateAgentToolRequest? Type440 { get; set; } + public global::ResembleAI.CreateAudioEnhancementRequest? Type440 { get; set; } /// /// /// - public global::ResembleAI.CreateAgentWebhookRequest? Type441 { get; set; } + public global::ResembleAI.CreateAgentRequest? Type441 { get; set; } /// /// /// - public global::ResembleAI.UpdateAgentWebhookRequest? Type442 { get; set; } + public global::System.Collections.Generic.IList? Type442 { get; set; } /// /// /// - public global::ResembleAI.CreatePhoneNumberRequest? Type443 { get; set; } + public global::ResembleAI.UpdateAgentRequest? Type443 { get; set; } /// /// /// - public global::ResembleAI.CreateKnowledgeItemRequest? Type444 { get; set; } + public global::System.Collections.Generic.IList? Type444 { get; set; } /// /// /// - public global::ResembleAI.AttachKnowledgeItemToAgentRequest? Type445 { get; set; } + public global::ResembleAI.DispatchAgentRequest? Type445 { get; set; } /// /// /// - public global::ResembleAI.CreateSecureUploadRequest? Type446 { get; set; } + public global::ResembleAI.CreateAgentToolRequest? Type446 { get; set; } /// /// /// - public global::ResembleAI.CreateDetectionRequest? Type447 { get; set; } + public global::ResembleAI.UpdateAgentToolRequest? Type447 { get; set; } /// /// /// - public global::ResembleAI.CreateDetectBatchRequest? Type448 { get; set; } + public global::ResembleAI.CreateAgentWebhookRequest? Type448 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type449 { get; set; } + public global::ResembleAI.UpdateAgentWebhookRequest? Type449 { get; set; } /// /// /// - public global::ResembleAI.RunIntelligenceRequest? Type450 { get; set; } + public global::ResembleAI.CreatePhoneNumberRequest? Type450 { get; set; } /// /// /// - public global::ResembleAI.AskDetectIntelligenceQuestionRequest? Type451 { get; set; } + public global::ResembleAI.CreateKnowledgeItemRequest? Type451 { get; set; } /// /// /// - public global::ResembleAI.CreateIdentityAttachmentRequest? Type452 { get; set; } + public global::ResembleAI.AttachKnowledgeItemToAgentRequest? Type452 { get; set; } /// /// /// - public global::ResembleAI.SearchIdentitiesRequest? Type453 { get; set; } + public global::ResembleAI.CreateSecureUploadRequest? Type453 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceRequest? Type454 { get; set; } + public global::ResembleAI.CreateDetectionRequest? Type454 { get; set; } /// /// /// - public global::ResembleAI.BuildVoiceRequest? Type455 { get; set; } + public global::ResembleAI.CreateDetectBatchRequest? Type455 { get; set; } /// /// /// - public global::ResembleAI.GenerateVoiceDesignRequest? Type456 { get; set; } + public global::System.Collections.Generic.IList? Type456 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceFromCandidateRequest? Type457 { get; set; } + public global::ResembleAI.RunIntelligenceRequest? Type457 { get; set; } /// /// /// - public global::ResembleAI.CreateRecordingRequest? Type458 { get; set; } + public global::ResembleAI.AskDetectIntelligenceQuestionRequest? Type458 { get; set; } /// /// /// - public global::ResembleAI.UpdateRecordingRequest? Type459 { get; set; } + public global::ResembleAI.CreateIdentityAttachmentRequest? Type459 { get; set; } /// /// /// - public global::ResembleAI.CreateTermSubstitutionRequest? Type460 { get; set; } + public global::ResembleAI.SearchIdentitiesRequest? Type460 { get; set; } /// /// /// - public global::ResembleAI.CreatePronunciationRequest? Type461 { get; set; } + public global::ResembleAI.CreateVoiceRequest? Type461 { get; set; } /// /// /// - public global::ResembleAI.BulkCreatePronunciationsRequest? Type462 { get; set; } + public global::ResembleAI.BuildVoiceRequest? Type462 { get; set; } /// /// /// - public global::ResembleAI.UpdatePronunciationRequest? Type463 { get; set; } + public global::ResembleAI.GenerateVoiceDesignRequest? Type463 { get; set; } /// /// /// - public global::ResembleAI.CreateVoiceSettingsPresetRequest? Type464 { get; set; } + public global::ResembleAI.CreateVoiceFromCandidateRequest? Type464 { get; set; } /// /// /// - public global::ResembleAI.UpdateVoiceSettingsPresetRequest? Type465 { get; set; } + public global::ResembleAI.CreateRecordingRequest? Type465 { get; set; } /// /// /// - public global::ResembleAI.CreateProjectRequest? Type466 { get; set; } + public global::ResembleAI.UpdateRecordingRequest? Type466 { get; set; } /// /// /// - public global::ResembleAI.UpdateProjectRequest? Type467 { get; set; } + public global::ResembleAI.CreateTermSubstitutionRequest? Type467 { get; set; } /// /// /// - public global::ResembleAI.UpdateClipRequest? Type468 { get; set; } + public global::ResembleAI.CreatePronunciationRequest? Type468 { get; set; } /// /// /// - public global::ResembleAI.CreateDuetVoiceRequest? Type469 { get; set; } + public global::ResembleAI.BulkCreatePronunciationsRequest? Type469 { get; set; } /// /// /// - public global::ResembleAI.UpdateDuetVoiceRequest? Type470 { get; set; } + public global::ResembleAI.UpdatePronunciationRequest? Type470 { get; set; } /// /// /// - public global::ResembleAI.CreateDuetVoicePairRequest? Type471 { get; set; } + public global::ResembleAI.CreateVoiceSettingsPresetRequest? Type471 { get; set; } /// /// /// - public global::ResembleAI.GenerateDuetRequest? Type472 { get; set; } + public global::ResembleAI.UpdateVoiceSettingsPresetRequest? Type472 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type473 { get; set; } + public global::ResembleAI.CreateProjectRequest? Type473 { get; set; } + /// + /// + /// + public global::ResembleAI.UpdateProjectRequest? Type474 { get; set; } + /// + /// + /// + public global::ResembleAI.UpdateClipRequest? Type475 { get; set; } + /// + /// + /// + public global::ResembleAI.CreateDuetVoiceRequest? Type476 { get; set; } + /// + /// + /// + public global::ResembleAI.UpdateDuetVoiceRequest? Type477 { get; set; } + /// + /// + /// + public global::ResembleAI.CreateDuetVoicePairRequest? Type478 { get; set; } + /// + /// + /// + public global::ResembleAI.GenerateDuetRequest? Type479 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type480 { get; set; } /// /// @@ -2025,106 +2053,110 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType25 { get; set; } + public global::System.Collections.Generic.List? ListType25 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType26 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType26 { get; set; } + public global::System.Collections.Generic.List? ListType27 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType27 { get; set; } + public global::System.Collections.Generic.List? ListType28 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType28 { get; set; } + public global::System.Collections.Generic.List? ListType29 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType29 { get; set; } + public global::System.Collections.Generic.List? ListType30 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType30 { get; set; } + public global::System.Collections.Generic.List? ListType31 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType31 { get; set; } + public global::System.Collections.Generic.List? ListType32 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType32 { get; set; } + public global::System.Collections.Generic.List? ListType33 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType33 { get; set; } + public global::System.Collections.Generic.List? ListType34 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType34 { get; set; } + public global::System.Collections.Generic.List? ListType35 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType35 { get; set; } + public global::System.Collections.Generic.List? ListType36 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType36 { get; set; } + public global::System.Collections.Generic.List? ListType37 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType37 { get; set; } + public global::System.Collections.Generic.List? ListType38 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType38 { get; set; } + public global::System.Collections.Generic.List? ListType39 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType39 { get; set; } + public global::System.Collections.Generic.List? ListType40 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType40 { get; set; } + public global::System.Collections.Generic.List? ListType41 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType41 { get; set; } + public global::System.Collections.Generic.List? ListType42 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType42 { get; set; } + public global::System.Collections.Generic.List? ListType43 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType43 { get; set; } + public global::System.Collections.Generic.List? ListType44 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType44 { get; set; } + public global::System.Collections.Generic.List? ListType45 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType45 { get; set; } + public global::System.Collections.Generic.List? ListType46 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType46 { get; set; } + public global::System.Collections.Generic.List? ListType47 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType47 { get; set; } + public global::System.Collections.Generic.List? ListType48 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType48 { get; set; } + public global::System.Collections.Generic.List? ListType49 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType49 { get; set; } + public global::System.Collections.Generic.List? ListType50 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType50 { get; set; } + public global::System.Collections.Generic.List? ListType51 { get; set; } } } \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs index 81782df..bd4f195 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs @@ -23,7 +23,7 @@ public sealed partial class CreateDetectionRequest public required string Filename { get; set; } /// - /// POST destination when analysis completes + /// POST destination for the detection result. When Intelligence is requested, callback delivery waits for a priority-stable successful result or the bounded fail-open timeout. /// [global::System.Text.Json.Serialization.JsonPropertyName("callback_url")] public string? CallbackUrl { get; set; } @@ -99,6 +99,13 @@ public sealed partial class CreateDetectionRequest [global::System.Text.Json.Serialization.JsonPropertyName("audio_source_tracing")] public bool? AudioSourceTracing { get; set; } + /// + /// Run Signal content analysis after detection completes, classifying the media against fraud and abuse categories. Requires Signal access on your plan and cannot be combined with zero_retention_mode. Not supported for batch detections.
+ /// Default Value: false + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("signal")] + public bool? Signal { get; set; } + /// /// Enable reverse image search to improve detection accuracy for image files. Only applies to image detections.
/// Default Value: false @@ -136,7 +143,7 @@ public sealed partial class CreateDetectionRequest /// The media file to analyze (audio, video, or image). Must be 150 MB or smaller. /// /// - /// POST destination when analysis completes + /// POST destination for the detection result. When Intelligence is requested, callback delivery waits for a priority-stable successful result or the bounded fail-open timeout. /// /// /// Generate visualization artifacts @@ -178,6 +185,10 @@ public sealed partial class CreateDetectionRequest /// Enable audio source tracing to identify synthetic audio origin
/// Default Value: false /// + /// + /// Run Signal content analysis after detection completes, classifying the media against fraud and abuse categories. Requires Signal access on your plan and cannot be combined with zero_retention_mode. Not supported for batch detections.
+ /// Default Value: false + /// /// /// Enable reverse image search to improve detection accuracy for image files. Only applies to image detections.
/// Default Value: false @@ -207,6 +218,7 @@ public CreateDetectionRequest( bool? intelligence, bool? inferFromIntelligence, bool? audioSourceTracing, + bool? signal, bool? useReverseSearch, bool? useOodDetector, bool? zeroRetentionMode) @@ -224,6 +236,7 @@ public CreateDetectionRequest( this.Intelligence = intelligence; this.InferFromIntelligence = inferFromIntelligence; this.AudioSourceTracing = audioSourceTracing; + this.Signal = signal; this.UseReverseSearch = useReverseSearch; this.UseOodDetector = useOodDetector; this.ZeroRetentionMode = zeroRetentionMode; diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2PaManifestValidationState.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2PaManifestValidationState.g.cs new file mode 100644 index 0000000..675f5c2 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2PaManifestValidationState.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// Verification state. `NotPresent` means no embedded Content Credentials were found; `Unavailable` means verification could not complete. + /// + public enum DetectC2PaManifestValidationState + { + /// + /// + /// + NotPresent, + /// + /// + /// + Unavailable, + /// + /// + /// + Valid, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DetectC2PaManifestValidationStateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DetectC2PaManifestValidationState value) + { + return value switch + { + DetectC2PaManifestValidationState.NotPresent => "NotPresent", + DetectC2PaManifestValidationState.Unavailable => "Unavailable", + DetectC2PaManifestValidationState.Valid => "Valid", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DetectC2PaManifestValidationState? ToEnum(string value) + { + return value switch + { + "NotPresent" => DetectC2PaManifestValidationState.NotPresent, + "Unavailable" => DetectC2PaManifestValidationState.Unavailable, + "Valid" => DetectC2PaManifestValidationState.Valid, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifest.Json.g.cs similarity index 80% rename from src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1.Json.g.cs rename to src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifest.Json.g.cs index 46f7d60..8c44e73 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1.Json.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifest.Json.g.cs @@ -2,7 +2,7 @@ namespace ResembleAI { - public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 + public sealed partial class DetectC2paManifest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? FromJson( + public static global::ResembleAI.DetectC2paManifest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1), - jsonSerializerContext) as global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1; + typeof(global::ResembleAI.DetectC2paManifest), + jsonSerializerContext) as global::ResembleAI.DetectC2paManifest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? FromJson( + public static global::ResembleAI.DetectC2paManifest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? FromJson( + public static global::ResembleAI.DetectC2paManifest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::ResembleAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1; + typeof(global::ResembleAI.DetectC2paManifest), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectC2paManifest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::ResembleAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifest.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifest.g.cs new file mode 100644 index 0000000..5435ea3 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifest.g.cs @@ -0,0 +1,91 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// Content Credentials (C2PA) verification result for audio, image, and video media. Returned when verification has completed. A fallback verification failure returns `validation_state: Unavailable` and does not fail the detection. + /// + public sealed partial class DetectC2paManifest + { + /// + /// Verification state. `NotPresent` means no embedded Content Credentials were found; `Unavailable` means verification could not complete. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("validation_state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectC2PaManifestValidationStateJsonConverter))] + public global::ResembleAI.DetectC2PaManifestValidationState? ValidationState { get; set; } + + /// + /// Active C2PA manifest identifier when credentials are present + /// + [global::System.Text.Json.Serialization.JsonPropertyName("active_manifest")] + public string? ActiveManifest { get; set; } + + /// + /// Raw manifest details returned by C2PA tooling + /// + [global::System.Text.Json.Serialization.JsonPropertyName("manifests")] + public object? Manifests { get; set; } + + /// + /// Detailed validation results returned by C2PA tooling + /// + [global::System.Text.Json.Serialization.JsonPropertyName("validation_results")] + public object? ValidationResults { get; set; } + + /// + /// Generic message when verification is unavailable + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { 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. + /// + /// + /// Verification state. `NotPresent` means no embedded Content Credentials were found; `Unavailable` means verification could not complete. + /// + /// + /// Active C2PA manifest identifier when credentials are present + /// + /// + /// Raw manifest details returned by C2PA tooling + /// + /// + /// Detailed validation results returned by C2PA tooling + /// + /// + /// Generic message when verification is unavailable + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DetectC2paManifest( + global::ResembleAI.DetectC2PaManifestValidationState? validationState, + string? activeManifest, + object? manifests, + object? validationResults, + string? message) + { + this.ValidationState = validationState; + this.ActiveManifest = activeManifest; + this.Manifests = manifests; + this.ValidationResults = validationResults; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public DetectC2paManifest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestManifests.Json.g.cs similarity index 78% rename from src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud.Json.g.cs rename to src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestManifests.Json.g.cs index e2d3c60..4f7354e 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud.Json.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestManifests.Json.g.cs @@ -2,7 +2,7 @@ namespace ResembleAI { - public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud + public sealed partial class DetectC2paManifestManifests { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud? FromJson( + public static global::ResembleAI.DetectC2paManifestManifests? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud), - jsonSerializerContext) as global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud; + typeof(global::ResembleAI.DetectC2paManifestManifests), + jsonSerializerContext) as global::ResembleAI.DetectC2paManifestManifests; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud? FromJson( + public static global::ResembleAI.DetectC2paManifestManifests? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud? FromJson( + public static global::ResembleAI.DetectC2paManifestManifests? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::ResembleAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud; + typeof(global::ResembleAI.DetectC2paManifestManifests), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectC2paManifestManifests; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::ResembleAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestManifests.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestManifests.g.cs new file mode 100644 index 0000000..e4e01a8 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestManifests.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// Raw manifest details returned by C2PA tooling + /// + public sealed partial class DetectC2paManifestManifests + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestManifests2.Json.g.cs similarity index 78% rename from src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness.Json.g.cs rename to src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestManifests2.Json.g.cs index 4f6b741..360b3e3 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness.Json.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestManifests2.Json.g.cs @@ -2,7 +2,7 @@ namespace ResembleAI { - public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness + public sealed partial class DetectC2paManifestManifests2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness? FromJson( + public static global::ResembleAI.DetectC2paManifestManifests2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness), - jsonSerializerContext) as global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness; + typeof(global::ResembleAI.DetectC2paManifestManifests2), + jsonSerializerContext) as global::ResembleAI.DetectC2paManifestManifests2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness? FromJson( + public static global::ResembleAI.DetectC2paManifestManifests2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness? FromJson( + public static global::ResembleAI.DetectC2paManifestManifests2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::ResembleAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness; + typeof(global::ResembleAI.DetectC2paManifestManifests2), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectC2paManifestManifests2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::ResembleAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestManifests2.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestManifests2.g.cs new file mode 100644 index 0000000..28976fa --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestManifests2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// Any type + /// + public sealed partial class DetectC2paManifestManifests2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestValidationResults.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestValidationResults.Json.g.cs new file mode 100644 index 0000000..23b90a0 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestValidationResults.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public sealed partial class DetectC2paManifestValidationResults + { + /// + /// 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.DetectC2paManifestValidationResults? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.DetectC2paManifestValidationResults), + jsonSerializerContext) as global::ResembleAI.DetectC2paManifestValidationResults; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.DetectC2paManifestValidationResults? 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.DetectC2paManifestValidationResults? 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.DetectC2paManifestValidationResults), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectC2paManifestValidationResults; + } + + /// + /// 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.DetectC2paManifestValidationResults.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestValidationResults.g.cs new file mode 100644 index 0000000..0703ec4 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestValidationResults.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// Detailed validation results returned by C2PA tooling + /// + public sealed partial class DetectC2paManifestValidationResults + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestValidationResults2.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestValidationResults2.Json.g.cs new file mode 100644 index 0000000..9fdc4f8 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestValidationResults2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public sealed partial class DetectC2paManifestValidationResults2 + { + /// + /// 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.DetectC2paManifestValidationResults2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.DetectC2paManifestValidationResults2), + jsonSerializerContext) as global::ResembleAI.DetectC2paManifestValidationResults2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.DetectC2paManifestValidationResults2? 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.DetectC2paManifestValidationResults2? 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.DetectC2paManifestValidationResults2), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectC2paManifestValidationResults2; + } + + /// + /// 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.DetectC2paManifestValidationResults2.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestValidationResults2.g.cs new file mode 100644 index 0000000..b9ef0e3 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectC2paManifestValidationResults2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// Any type + /// + public sealed partial class DetectC2paManifestValidationResults2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectGetResponsesContentApplicationJsonSchemaItemsItems.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectGetResponsesContentApplicationJsonSchemaItemsItems.g.cs index e835ddb..2b927cb 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectGetResponsesContentApplicationJsonSchemaItemsItems.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectGetResponsesContentApplicationJsonSchemaItemsItems.g.cs @@ -60,6 +60,12 @@ public sealed partial class DetectGetResponsesContentApplicationJsonSchemaItemsI [global::System.Text.Json.Serialization.JsonPropertyName("video_metrics")] public global::ResembleAI.DetectVideoMetrics? VideoMetrics { get; set; } + /// + /// Content Credentials (C2PA) verification result for audio, image, and video media. Returned when verification has completed. A fallback verification failure returns `validation_state: Unavailable` and does not fail the detection. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("c2pa_manifest")] + public global::ResembleAI.DetectC2paManifest? C2paManifest { get; set; } + /// /// Source tracing results (only returned if audio is labeled fake) /// @@ -186,6 +192,9 @@ public sealed partial class DetectGetResponsesContentApplicationJsonSchemaItemsI /// /// Video detection metrics (for video media type) /// + /// + /// Content Credentials (C2PA) verification result for audio, image, and video media. Returned when verification has completed. A fallback verification failure returns `validation_state: Unavailable` and does not fail the detection. + /// /// /// Source tracing results (only returned if audio is labeled fake) /// @@ -228,6 +237,7 @@ public DetectGetResponsesContentApplicationJsonSchemaItemsItems( global::ResembleAI.DetectAudioMetrics? metrics, global::ResembleAI.DetectImageMetrics? imageMetrics, global::ResembleAI.DetectVideoMetrics? videoMetrics, + global::ResembleAI.DetectC2paManifest? c2paManifest, global::ResembleAI.OneOf? audioSourceTracing, global::ResembleAI.OneOf? intelligence, string? url, @@ -253,6 +263,7 @@ public DetectGetResponsesContentApplicationJsonSchemaItemsItems( this.Metrics = metrics; this.ImageMetrics = imageMetrics; this.VideoMetrics = videoMetrics; + this.C2paManifest = c2paManifest; this.AudioSourceTracing = audioSourceTracing; this.Intelligence = intelligence; this.Url = url; diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResult.Json.g.cs similarity index 80% rename from src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription.Json.g.cs rename to src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResult.Json.g.cs index 26370e8..430e235 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription.Json.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResult.Json.g.cs @@ -2,7 +2,7 @@ namespace ResembleAI { - public readonly partial struct DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription + public sealed partial class DetectIntelligenceResult { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription? FromJson( + public static global::ResembleAI.DetectIntelligenceResult? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription), - jsonSerializerContext) as global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription?; + typeof(global::ResembleAI.DetectIntelligenceResult), + jsonSerializerContext) as global::ResembleAI.DetectIntelligenceResult; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription? FromJson( + public static global::ResembleAI.DetectIntelligenceResult? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription? FromJson( + public static global::ResembleAI.DetectIntelligenceResult? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::ResembleAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription?; + typeof(global::ResembleAI.DetectIntelligenceResult), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectIntelligenceResult; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::ResembleAI.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResult.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResult.g.cs new file mode 100644 index 0000000..9d60b5d --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResult.g.cs @@ -0,0 +1,93 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// One Detect Intelligence expert result + /// + public sealed partial class DetectIntelligenceResult + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("uuid")] + public string? Uuid { get; set; } + + /// + /// Status of this Intelligence result, independent of the associated Detect job status. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultStatusJsonConverter))] + public global::ResembleAI.DetectIntelligenceResultStatus? Status { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] + public string? ErrorMessage { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter))] + public global::ResembleAI.OneOf? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public global::System.DateTime? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("detect_uuid")] + public string? DetectUuid { 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. + /// + /// + /// + /// Status of this Intelligence result, independent of the associated Detect job status. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DetectIntelligenceResult( + string? uuid, + global::ResembleAI.DetectIntelligenceResultStatus? status, + string? errorMessage, + global::ResembleAI.OneOf? description, + global::System.DateTime? createdAt, + string? detectUuid) + { + this.Uuid = uuid; + this.Status = status; + this.ErrorMessage = errorMessage; + this.Description = description; + this.CreatedAt = createdAt; + this.DetectUuid = detectUuid; + } + + /// + /// Initializes a new instance of the class. + /// + public DetectIntelligenceResult() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription.Json.g.cs new file mode 100644 index 0000000..8ce07ba --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public readonly partial struct DetectIntelligenceResultDescription + { + /// + /// 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.DetectIntelligenceResultDescription? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.DetectIntelligenceResultDescription), + jsonSerializerContext) as global::ResembleAI.DetectIntelligenceResultDescription?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.DetectIntelligenceResultDescription? 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.DetectIntelligenceResultDescription? 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.DetectIntelligenceResultDescription), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectIntelligenceResultDescription?; + } + + /// + /// 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.DetectIntelligenceResultDescription.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription.g.cs new file mode 100644 index 0000000..d3baa33 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace ResembleAI +{ + /// + /// + /// + public readonly partial struct DetectIntelligenceResultDescription : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public string? DetectIntelligenceResultDescriptionVariant1 { get; init; } +#else + public string? DetectIntelligenceResultDescriptionVariant1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(DetectIntelligenceResultDescriptionVariant1))] +#endif + public bool IsDetectIntelligenceResultDescriptionVariant1 => DetectIntelligenceResultDescriptionVariant1 != null; + + /// + /// + /// + public bool TryPickDetectIntelligenceResultDescriptionVariant1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out string? value) + { + value = DetectIntelligenceResultDescriptionVariant1; + return IsDetectIntelligenceResultDescriptionVariant1; + } + + /// + /// + /// + public string PickDetectIntelligenceResultDescriptionVariant1() => IsDetectIntelligenceResultDescriptionVariant1 + ? DetectIntelligenceResultDescriptionVariant1! + : throw new global::System.InvalidOperationException($"Expected union variant 'DetectIntelligenceResultDescriptionVariant1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::ResembleAI.DetectIntelligenceResultDescription1? DetectIntelligenceResultDescription1 { get; init; } +#else + public global::ResembleAI.DetectIntelligenceResultDescription1? DetectIntelligenceResultDescription1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(DetectIntelligenceResultDescription1))] +#endif + public bool IsDetectIntelligenceResultDescription1 => DetectIntelligenceResultDescription1 != null; + + /// + /// + /// + public bool TryPickDetectIntelligenceResultDescription1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::ResembleAI.DetectIntelligenceResultDescription1? value) + { + value = DetectIntelligenceResultDescription1; + return IsDetectIntelligenceResultDescription1; + } + + /// + /// + /// + public global::ResembleAI.DetectIntelligenceResultDescription1 PickDetectIntelligenceResultDescription1() => IsDetectIntelligenceResultDescription1 + ? DetectIntelligenceResultDescription1! + : throw new global::System.InvalidOperationException($"Expected union variant 'DetectIntelligenceResultDescription1' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator DetectIntelligenceResultDescription(string value) => new DetectIntelligenceResultDescription((string?)value); + + /// + /// + /// + public static implicit operator string?(DetectIntelligenceResultDescription @this) => @this.DetectIntelligenceResultDescriptionVariant1; + + /// + /// + /// + public DetectIntelligenceResultDescription(string? value) + { + DetectIntelligenceResultDescriptionVariant1 = value; + } + + /// + /// + /// + public static DetectIntelligenceResultDescription FromDetectIntelligenceResultDescriptionVariant1(string? value) => new DetectIntelligenceResultDescription(value); + + /// + /// + /// + public static implicit operator DetectIntelligenceResultDescription(global::ResembleAI.DetectIntelligenceResultDescription1 value) => new DetectIntelligenceResultDescription((global::ResembleAI.DetectIntelligenceResultDescription1?)value); + + /// + /// + /// + public static implicit operator global::ResembleAI.DetectIntelligenceResultDescription1?(DetectIntelligenceResultDescription @this) => @this.DetectIntelligenceResultDescription1; + + /// + /// + /// + public DetectIntelligenceResultDescription(global::ResembleAI.DetectIntelligenceResultDescription1? value) + { + DetectIntelligenceResultDescription1 = value; + } + + /// + /// + /// + public static DetectIntelligenceResultDescription FromDetectIntelligenceResultDescription1(global::ResembleAI.DetectIntelligenceResultDescription1? value) => new DetectIntelligenceResultDescription(value); + + /// + /// + /// + public DetectIntelligenceResultDescription( + string? detectIntelligenceResultDescriptionVariant1, + global::ResembleAI.DetectIntelligenceResultDescription1? detectIntelligenceResultDescription1 + ) + { + DetectIntelligenceResultDescriptionVariant1 = detectIntelligenceResultDescriptionVariant1; + DetectIntelligenceResultDescription1 = detectIntelligenceResultDescription1; + } + + /// + /// + /// + public object? Object => + DetectIntelligenceResultDescription1 as object ?? + DetectIntelligenceResultDescriptionVariant1 as object + ; + + /// + /// + /// + public override string? ToString() => + DetectIntelligenceResultDescriptionVariant1?.ToString() ?? + DetectIntelligenceResultDescription1?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsDetectIntelligenceResultDescriptionVariant1 && !IsDetectIntelligenceResultDescription1 || !IsDetectIntelligenceResultDescriptionVariant1 && IsDetectIntelligenceResultDescription1; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? detectIntelligenceResultDescriptionVariant1 = null, + global::System.Func? detectIntelligenceResultDescription1 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsDetectIntelligenceResultDescriptionVariant1 && detectIntelligenceResultDescriptionVariant1 != null) + { + return detectIntelligenceResultDescriptionVariant1(DetectIntelligenceResultDescriptionVariant1!); + } + else if (IsDetectIntelligenceResultDescription1 && detectIntelligenceResultDescription1 != null) + { + return detectIntelligenceResultDescription1(DetectIntelligenceResultDescription1!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? detectIntelligenceResultDescriptionVariant1 = null, + + global::System.Action? detectIntelligenceResultDescription1 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsDetectIntelligenceResultDescriptionVariant1) + { + detectIntelligenceResultDescriptionVariant1?.Invoke(DetectIntelligenceResultDescriptionVariant1!); + } + else if (IsDetectIntelligenceResultDescription1) + { + detectIntelligenceResultDescription1?.Invoke(DetectIntelligenceResultDescription1!); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? detectIntelligenceResultDescriptionVariant1 = null, + global::System.Action? detectIntelligenceResultDescription1 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsDetectIntelligenceResultDescriptionVariant1) + { + detectIntelligenceResultDescriptionVariant1?.Invoke(DetectIntelligenceResultDescriptionVariant1!); + } + else if (IsDetectIntelligenceResultDescription1) + { + detectIntelligenceResultDescription1?.Invoke(DetectIntelligenceResultDescription1!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + DetectIntelligenceResultDescriptionVariant1, + typeof(string), + DetectIntelligenceResultDescription1, + typeof(global::ResembleAI.DetectIntelligenceResultDescription1), + }; + 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(DetectIntelligenceResultDescription other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(DetectIntelligenceResultDescriptionVariant1, other.DetectIntelligenceResultDescriptionVariant1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(DetectIntelligenceResultDescription1, other.DetectIntelligenceResultDescription1) + ; + } + + /// + /// + /// + public static bool operator ==(DetectIntelligenceResultDescription obj1, DetectIntelligenceResultDescription obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(DetectIntelligenceResultDescription obj1, DetectIntelligenceResultDescription obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is DetectIntelligenceResultDescription o && Equals(o); + } + } +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription1.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription1.Json.g.cs new file mode 100644 index 0000000..679d316 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription1.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public sealed partial class DetectIntelligenceResultDescription1 + { + /// + /// 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.DetectIntelligenceResultDescription1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.DetectIntelligenceResultDescription1), + jsonSerializerContext) as global::ResembleAI.DetectIntelligenceResultDescription1; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.DetectIntelligenceResultDescription1? 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.DetectIntelligenceResultDescription1? 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.DetectIntelligenceResultDescription1), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectIntelligenceResultDescription1; + } + + /// + /// 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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription1.g.cs similarity index 76% rename from src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1.g.cs rename to src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription1.g.cs index 1cb7846..6be44d3 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription1.g.cs @@ -6,7 +6,7 @@ namespace ResembleAI /// /// /// - public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 + public sealed partial class DetectIntelligenceResultDescription1 { /// /// @@ -78,19 +78,19 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt /// /// [global::System.Text.Json.Serialization.JsonPropertyName("fraud")] - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud? Fraud { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Fraud? Fraud { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("liveness")] - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness? Liveness { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Liveness? Liveness { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("digitally_altered")] - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered? DigitallyAltered { get; set; } + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered? DigitallyAltered { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -99,7 +99,7 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// @@ -118,7 +118,7 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1( + public DetectIntelligenceResultDescription1( string? speakerInfo, string? language, string? dialect, @@ -130,9 +130,9 @@ public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescrip string? transcription, string? translation, string? misinformation, - global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud? fraud, - global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness? liveness, - global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered? digitallyAltered) + global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Fraud? fraud, + global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Liveness? liveness, + global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered? digitallyAltered) { this.SpeakerInfo = speakerInfo; this.Language = language; @@ -151,9 +151,9 @@ public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescrip } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1() + public DetectIntelligenceResultDescription1() { } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered.Json.g.cs new file mode 100644 index 0000000..bc01857 --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public sealed partial class DetectIntelligenceResultDescriptionOneOf1DigitallyAltered + { + /// + /// 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.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered), + jsonSerializerContext) as global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered? 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.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered? 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.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered; + } + + /// + /// 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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered.g.cs similarity index 69% rename from src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered.g.cs rename to src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered.g.cs index 44e8834..471d89c 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1DigitallyAltered.g.cs @@ -6,7 +6,7 @@ namespace ResembleAI /// /// /// - public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered + public sealed partial class DetectIntelligenceResultDescriptionOneOf1DigitallyAltered { /// /// @@ -33,7 +33,7 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// @@ -41,7 +41,7 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered( + public DetectIntelligenceResultDescriptionOneOf1DigitallyAltered( bool? detected, double? confidence, string? alterations) @@ -52,9 +52,9 @@ public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescrip } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered() + public DetectIntelligenceResultDescriptionOneOf1DigitallyAltered() { } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Fraud.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Fraud.Json.g.cs new file mode 100644 index 0000000..1e1a68e --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Fraud.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public sealed partial class DetectIntelligenceResultDescriptionOneOf1Fraud + { + /// + /// 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.DetectIntelligenceResultDescriptionOneOf1Fraud? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Fraud), + jsonSerializerContext) as global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Fraud; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Fraud? 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.DetectIntelligenceResultDescriptionOneOf1Fraud? 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.DetectIntelligenceResultDescriptionOneOf1Fraud), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Fraud; + } + + /// + /// 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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Fraud.g.cs similarity index 59% rename from src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud.g.cs rename to src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Fraud.g.cs index 9c6faab..27ba6e3 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Fraud.g.cs @@ -6,14 +6,14 @@ namespace ResembleAI /// /// /// - public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud + public sealed partial class DetectIntelligenceResultDescriptionOneOf1Fraud { /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeJsonConverter))] - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType? Type { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1FraudTypeJsonConverter))] + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType? Type { get; set; } /// /// @@ -34,7 +34,7 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// @@ -42,8 +42,8 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud( - global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType? type, + public DetectIntelligenceResultDescriptionOneOf1Fraud( + global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1FraudType? type, double? confidence, string? reasoning) { @@ -53,9 +53,9 @@ public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescrip } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud() + public DetectIntelligenceResultDescriptionOneOf1Fraud() { } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1FraudType.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1FraudType.g.cs new file mode 100644 index 0000000..59d694b --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1FraudType.g.cs @@ -0,0 +1,111 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// + /// + public enum DetectIntelligenceResultDescriptionOneOf1FraudType + { + /// + /// + /// + EmploymentFraud, + /// + /// + /// + Extortion, + /// + /// + /// + FinancialFraud, + /// + /// + /// + Impersonation, + /// + /// + /// + InsuranceFraud, + /// + /// + /// + None, + /// + /// + /// + Other, + /// + /// + /// + PoliticalManipulation, + /// + /// + /// + RomanceScam, + /// + /// + /// + SyntheticMediaFraud, + /// + /// + /// + TechSupportScam, + /// + /// + /// + Vishing, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DetectIntelligenceResultDescriptionOneOf1FraudTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DetectIntelligenceResultDescriptionOneOf1FraudType value) + { + return value switch + { + DetectIntelligenceResultDescriptionOneOf1FraudType.EmploymentFraud => "employment_fraud", + DetectIntelligenceResultDescriptionOneOf1FraudType.Extortion => "extortion", + DetectIntelligenceResultDescriptionOneOf1FraudType.FinancialFraud => "financial_fraud", + DetectIntelligenceResultDescriptionOneOf1FraudType.Impersonation => "impersonation", + DetectIntelligenceResultDescriptionOneOf1FraudType.InsuranceFraud => "insurance_fraud", + DetectIntelligenceResultDescriptionOneOf1FraudType.None => "none", + DetectIntelligenceResultDescriptionOneOf1FraudType.Other => "other", + DetectIntelligenceResultDescriptionOneOf1FraudType.PoliticalManipulation => "political_manipulation", + DetectIntelligenceResultDescriptionOneOf1FraudType.RomanceScam => "romance_scam", + DetectIntelligenceResultDescriptionOneOf1FraudType.SyntheticMediaFraud => "synthetic_media_fraud", + DetectIntelligenceResultDescriptionOneOf1FraudType.TechSupportScam => "tech_support_scam", + DetectIntelligenceResultDescriptionOneOf1FraudType.Vishing => "vishing", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DetectIntelligenceResultDescriptionOneOf1FraudType? ToEnum(string value) + { + return value switch + { + "employment_fraud" => DetectIntelligenceResultDescriptionOneOf1FraudType.EmploymentFraud, + "extortion" => DetectIntelligenceResultDescriptionOneOf1FraudType.Extortion, + "financial_fraud" => DetectIntelligenceResultDescriptionOneOf1FraudType.FinancialFraud, + "impersonation" => DetectIntelligenceResultDescriptionOneOf1FraudType.Impersonation, + "insurance_fraud" => DetectIntelligenceResultDescriptionOneOf1FraudType.InsuranceFraud, + "none" => DetectIntelligenceResultDescriptionOneOf1FraudType.None, + "other" => DetectIntelligenceResultDescriptionOneOf1FraudType.Other, + "political_manipulation" => DetectIntelligenceResultDescriptionOneOf1FraudType.PoliticalManipulation, + "romance_scam" => DetectIntelligenceResultDescriptionOneOf1FraudType.RomanceScam, + "synthetic_media_fraud" => DetectIntelligenceResultDescriptionOneOf1FraudType.SyntheticMediaFraud, + "tech_support_scam" => DetectIntelligenceResultDescriptionOneOf1FraudType.TechSupportScam, + "vishing" => DetectIntelligenceResultDescriptionOneOf1FraudType.Vishing, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Liveness.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Liveness.Json.g.cs new file mode 100644 index 0000000..1ddd2ce --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Liveness.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ResembleAI +{ + public sealed partial class DetectIntelligenceResultDescriptionOneOf1Liveness + { + /// + /// 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.DetectIntelligenceResultDescriptionOneOf1Liveness? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Liveness), + jsonSerializerContext) as global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Liveness; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Liveness? 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.DetectIntelligenceResultDescriptionOneOf1Liveness? 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.DetectIntelligenceResultDescriptionOneOf1Liveness), + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1Liveness; + } + + /// + /// 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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Liveness.g.cs similarity index 58% rename from src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness.g.cs rename to src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Liveness.g.cs index 3d5df74..19437e3 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1Liveness.g.cs @@ -6,14 +6,14 @@ namespace ResembleAI /// /// /// - public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness + public sealed partial class DetectIntelligenceResultDescriptionOneOf1Liveness { /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("assessment")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentJsonConverter))] - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment? Assessment { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentJsonConverter))] + public global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment? Assessment { get; set; } /// /// @@ -34,7 +34,7 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// @@ -42,8 +42,8 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness( - global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment? assessment, + public DetectIntelligenceResultDescriptionOneOf1Liveness( + global::ResembleAI.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment? assessment, double? confidence, string? indicators) { @@ -53,9 +53,9 @@ public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescrip } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness() + public DetectIntelligenceResultDescriptionOneOf1Liveness() { } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment.g.cs new file mode 100644 index 0000000..c8c4b4b --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescriptionOneOf1LivenessAssessment.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// + /// + public enum DetectIntelligenceResultDescriptionOneOf1LivenessAssessment + { + /// + /// + /// + Inconclusive, + /// + /// + /// + NotRealPerson, + /// + /// + /// + RealPerson, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DetectIntelligenceResultDescriptionOneOf1LivenessAssessmentExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DetectIntelligenceResultDescriptionOneOf1LivenessAssessment value) + { + return value switch + { + DetectIntelligenceResultDescriptionOneOf1LivenessAssessment.Inconclusive => "inconclusive", + DetectIntelligenceResultDescriptionOneOf1LivenessAssessment.NotRealPerson => "not_real_person", + DetectIntelligenceResultDescriptionOneOf1LivenessAssessment.RealPerson => "real_person", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DetectIntelligenceResultDescriptionOneOf1LivenessAssessment? ToEnum(string value) + { + return value switch + { + "inconclusive" => DetectIntelligenceResultDescriptionOneOf1LivenessAssessment.Inconclusive, + "not_real_person" => DetectIntelligenceResultDescriptionOneOf1LivenessAssessment.NotRealPerson, + "real_person" => DetectIntelligenceResultDescriptionOneOf1LivenessAssessment.RealPerson, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultStatus.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultStatus.g.cs new file mode 100644 index 0000000..4ad1cba --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultStatus.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// Status of this Intelligence result, independent of the associated Detect job status. + /// + public enum DetectIntelligenceResultStatus + { + /// + /// + /// + Completed, + /// + /// + /// + Failed, + /// + /// + /// + Processing, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DetectIntelligenceResultStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DetectIntelligenceResultStatus value) + { + return value switch + { + DetectIntelligenceResultStatus.Completed => "completed", + DetectIntelligenceResultStatus.Failed => "failed", + DetectIntelligenceResultStatus.Processing => "processing", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DetectIntelligenceResultStatus? ToEnum(string value) + { + return value switch + { + "completed" => DetectIntelligenceResultStatus.Completed, + "failed" => DetectIntelligenceResultStatus.Failed, + "processing" => DetectIntelligenceResultStatus.Processing, + _ => null, + }; + } + } +} \ 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 2385cdf..32e358d 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItem.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItem.g.cs @@ -68,12 +68,18 @@ public sealed partial class DetectPostResponsesContentApplicationJsonSchemaItem public bool? FaceOnly { get; set; } /// - /// Intelligence results when requested + /// Default Intelligence result when requested /// [global::System.Text.Json.Serialization.JsonPropertyName("intelligence")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter))] public global::ResembleAI.OneOf? Intelligence { get; set; } + /// + /// Content Credentials (C2PA) verification result for audio, image, and video media. Returned when verification has completed. A fallback verification failure returns `validation_state: Unavailable` and does not fail the detection. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("c2pa_manifest")] + public global::ResembleAI.DetectC2paManifest? C2paManifest { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -111,7 +117,10 @@ public sealed partial class DetectPostResponsesContentApplicationJsonSchemaItem /// analysis; `false` for audio, image, and audio-only video detects. /// /// - /// Intelligence results when requested + /// Default Intelligence result when requested + /// + /// + /// Content Credentials (C2PA) verification result for audio, image, and video media. Returned when verification has completed. A fallback verification failure returns `validation_state: Unavailable` and does not fail the detection. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -126,7 +135,8 @@ public DetectPostResponsesContentApplicationJsonSchemaItem( string? filename, global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemModality? modality, bool? faceOnly, - global::ResembleAI.OneOf? intelligence) + global::ResembleAI.OneOf? intelligence, + global::ResembleAI.DetectC2paManifest? c2paManifest) { this.Uuid = uuid; this.Status = status; @@ -138,6 +148,7 @@ public DetectPostResponsesContentApplicationJsonSchemaItem( this.Modality = modality; this.FaceOnly = faceOnly; this.Intelligence = intelligence; + this.C2paManifest = c2paManifest; } /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemIntelligence.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemIntelligence.g.cs index 6034456..6689122 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemIntelligence.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemIntelligence.g.cs @@ -4,10 +4,29 @@ namespace ResembleAI { /// - /// Intelligence results when requested + /// Default Intelligence result when requested /// public sealed partial class DetectPostResponsesContentApplicationJsonSchemaItemIntelligence { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("uuid")] + public string? Uuid { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusJsonConverter))] + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus? Status { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] + public string? ErrorMessage { get; set; } + /// /// /// @@ -21,6 +40,12 @@ public sealed partial class DetectPostResponsesContentApplicationJsonSchemaItemI [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] public global::System.DateTime? CreatedAt { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("detect_uuid")] + public string? DetectUuid { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -30,17 +55,29 @@ public sealed partial class DetectPostResponsesContentApplicationJsonSchemaItemI /// /// Initializes a new instance of the class. /// + /// + /// + /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public DetectPostResponsesContentApplicationJsonSchemaItemIntelligence( + string? uuid, + global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus? status, + string? errorMessage, global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription? description, - global::System.DateTime? createdAt) + global::System.DateTime? createdAt, + string? detectUuid) { + this.Uuid = uuid; + this.Status = status; + this.ErrorMessage = errorMessage; this.Description = description; this.CreatedAt = createdAt; + this.DetectUuid = detectUuid; } /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus.g.cs new file mode 100644 index 0000000..5ef24dd --- /dev/null +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace ResembleAI +{ + /// + /// + /// + public enum DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus + { + /// + /// + /// + Completed, + /// + /// + /// + Failed, + /// + /// + /// + Processing, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus value) + { + return value switch + { + DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus.Completed => "completed", + DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus.Failed => "failed", + DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus.Processing => "processing", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus? ToEnum(string value) + { + return value switch + { + "completed" => DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus.Completed, + "failed" => DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus.Failed, + "processing" => DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus.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 e71d40e..214aec5 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. /// [global::System.Text.Json.Serialization.JsonPropertyName("status")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatusJsonConverter))] @@ -46,6 +46,12 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt [global::System.Text.Json.Serialization.JsonPropertyName("video_metrics")] public global::ResembleAI.DetectVideoMetrics? VideoMetrics { get; set; } + /// + /// Content Credentials (C2PA) verification result for audio, image, and video media. Returned when verification has completed. A fallback verification failure returns `validation_state: Unavailable` and does not fail the detection. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("c2pa_manifest")] + public global::ResembleAI.DetectC2paManifest? C2paManifest { get; set; } + /// /// Source tracing results (only returned if audio is labeled fake) /// @@ -54,11 +60,11 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt public global::ResembleAI.OneOf? AudioSourceTracing { get; set; } /// - /// Intelligence results when requested + /// With experts omitted or false, one completed Intelligence result when available; otherwise, the current processing or failed result. With experts=true, all successfully completed results as an array, or an empty array when none have completed successfully. /// [global::System.Text.Json.Serialization.JsonPropertyName("intelligence")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter))] - public global::ResembleAI.OneOf? Intelligence { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.OneOfJsonConverter))] + public global::ResembleAI.OneOf? Intelligence { get; set; } /// /// Which detection modality was requested for this detect. `all` when not specified
@@ -135,7 +141,9 @@ 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. + /// /// /// Audio detection metrics (for audio and video media types) /// @@ -145,11 +153,14 @@ public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaIt /// /// Video detection metrics (for video media type) /// + /// + /// Content Credentials (C2PA) verification result for audio, image, and video media. Returned when verification has completed. A fallback verification failure returns `validation_state: Unavailable` and does not fail the detection. + /// /// /// Source tracing results (only returned if audio is labeled fake) /// /// - /// Intelligence results when requested + /// With experts omitted or false, one completed Intelligence result when available; otherwise, the current processing or failed result. With experts=true, all successfully completed results as an array, or an empty array when none have completed successfully. /// /// /// Which detection modality was requested for this detect. `all` when not specified
@@ -188,8 +199,9 @@ public DetectUuidGetResponsesContentApplicationJsonSchemaItem( global::ResembleAI.DetectAudioMetrics? metrics, global::ResembleAI.DetectImageMetrics? imageMetrics, global::ResembleAI.DetectVideoMetrics? videoMetrics, + global::ResembleAI.DetectC2paManifest? c2paManifest, global::ResembleAI.OneOf? audioSourceTracing, - global::ResembleAI.OneOf? intelligence, + global::ResembleAI.OneOf? intelligence, global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemModality? modality, bool? faceOnly, string? url, @@ -207,6 +219,7 @@ public DetectUuidGetResponsesContentApplicationJsonSchemaItem( this.Metrics = metrics; this.ImageMetrics = imageMetrics; this.VideoMetrics = videoMetrics; + this.C2paManifest = c2paManifest; this.AudioSourceTracing = audioSourceTracing; this.Intelligence = intelligence; this.Modality = modality; diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.Json.g.cs index 4a8ec7e..741a1f1 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.Json.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.Json.g.cs @@ -2,7 +2,7 @@ namespace ResembleAI { - public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence + public readonly partial struct DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -54,7 +54,7 @@ public string ToJson( return global::System.Text.Json.JsonSerializer.Deserialize( json, typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence), - jsonSerializerContext) as global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence; + jsonSerializerContext) as global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence?; } /// @@ -101,7 +101,7 @@ public string ToJson( return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence; + jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence?; } /// diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs index ac6f883..cf02547 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs @@ -1,63 +1,272 @@ +#pragma warning disable CS0618 // Type or member is obsolete #nullable enable namespace ResembleAI { /// - /// Intelligence results when requested + /// With experts omitted or false, one completed Intelligence result when available; otherwise, the current processing or failed result. With experts=true, all successfully completed results as an array, or an empty array when none have completed successfully. /// - public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence + public readonly partial struct DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence : global::System.IEquatable { + /// + /// One Detect Intelligence expert result + /// +#if NET6_0_OR_GREATER + public global::ResembleAI.DetectIntelligenceResult? DetectIntelligenceResult { get; init; } +#else + public global::ResembleAI.DetectIntelligenceResult? DetectIntelligenceResult { get; } +#endif + /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("uuid")] - public string? Uuid { get; set; } +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(DetectIntelligenceResult))] +#endif + public bool IsDetectIntelligenceResult => DetectIntelligenceResult != null; /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionJsonConverter))] - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription? Description { get; set; } + public bool TryPickDetectIntelligenceResult( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::ResembleAI.DetectIntelligenceResult? value) + { + value = DetectIntelligenceResult; + return IsDetectIntelligenceResult; + } /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public global::System.DateTime? CreatedAt { get; set; } + public global::ResembleAI.DetectIntelligenceResult PickDetectIntelligenceResult() => IsDetectIntelligenceResult + ? DetectIntelligenceResult! + : throw new global::System.InvalidOperationException($"Expected union variant 'DetectIntelligenceResult' but the value was {ToString()}."); /// - /// 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(); +#if NET6_0_OR_GREATER + public global::System.Collections.Generic.IList? DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 { get; init; } +#else + public global::System.Collections.Generic.IList? DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 { get; } +#endif /// - /// Initializes a new instance of the class. + /// /// - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1))] #endif + public bool IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 != null; + + /// + /// + /// + public bool TryPickDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::System.Collections.Generic.IList? value) + { + value = DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1; + return IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1; + } + + /// + /// + /// + public global::System.Collections.Generic.IList PickDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1() => IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 + ? DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1! + : throw new global::System.InvalidOperationException($"Expected union variant 'DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence(global::ResembleAI.DetectIntelligenceResult value) => new DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence((global::ResembleAI.DetectIntelligenceResult?)value); + + /// + /// + /// + public static implicit operator global::ResembleAI.DetectIntelligenceResult?(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence @this) => @this.DetectIntelligenceResult; + + /// + /// + /// + public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence(global::ResembleAI.DetectIntelligenceResult? value) + { + DetectIntelligenceResult = value; + } + + /// + /// + /// + public static DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence FromDetectIntelligenceResult(global::ResembleAI.DetectIntelligenceResult? value) => new DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence(value); + + /// + /// + /// public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence( - string? uuid, - global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription? description, - global::System.DateTime? createdAt) + global::ResembleAI.DetectIntelligenceResult? detectIntelligenceResult, + global::System.Collections.Generic.IList? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 + ) { - this.Uuid = uuid; - this.Description = description; - this.CreatedAt = createdAt; + DetectIntelligenceResult = detectIntelligenceResult; + DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 = detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1; } /// - /// Initializes a new instance of the class. + /// /// - public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence() + public object? Object => + DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 as object ?? + DetectIntelligenceResult as object + ; + + /// + /// + /// + public override string? ToString() => + DetectIntelligenceResult?.ToString() ?? + DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1?.ToString() + ; + + /// + /// + /// + public bool Validate() { + return IsDetectIntelligenceResult && !IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 || !IsDetectIntelligenceResult && IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1; } + /// + /// + /// + public TResult? Match( + global::System.Func? detectIntelligenceResult = null, + global::System.Func, TResult>? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsDetectIntelligenceResult && detectIntelligenceResult != null) + { + return detectIntelligenceResult(DetectIntelligenceResult!); + } + else if (IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 && detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 != null) + { + return detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? detectIntelligenceResult = null, + + global::System.Action>? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsDetectIntelligenceResult) + { + detectIntelligenceResult?.Invoke(DetectIntelligenceResult!); + } + else if (IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1) + { + detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1?.Invoke(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1!); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? detectIntelligenceResult = null, + global::System.Action>? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsDetectIntelligenceResult) + { + detectIntelligenceResult?.Invoke(DetectIntelligenceResult!); + } + else if (IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1) + { + detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1?.Invoke(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + DetectIntelligenceResult, + typeof(global::ResembleAI.DetectIntelligenceResult), + DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1, + typeof(global::System.Collections.Generic.IList), + }; + 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(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(DetectIntelligenceResult, other.DetectIntelligenceResult) && + global::System.Collections.Generic.EqualityComparer?>.Default.Equals(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1, other.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1) + ; + } + + /// + /// + /// + public static bool operator ==(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence obj1, DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence obj1, DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence o && Equals(o); + } } -} \ No newline at end of file +} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs deleted file mode 100644 index f1323ad..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs +++ /dev/null @@ -1,295 +0,0 @@ -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public readonly partial struct DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription : global::System.IEquatable - { - /// - /// - /// -#if NET6_0_OR_GREATER - public string? DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 { get; init; } -#else - public string? DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1))] -#endif - public bool IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 != null; - - /// - /// - /// - public bool TryPickDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out string? value) - { - value = DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1; - return IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1; - } - - /// - /// - /// - public string PickDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1() => IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 - ? DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1! - : throw new global::System.InvalidOperationException($"Expected union variant 'DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 { get; init; } -#else - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1))] -#endif - public bool IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 != null; - - /// - /// - /// - public bool TryPickDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? value) - { - value = DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1; - return IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1; - } - - /// - /// - /// - public global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 PickDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1() => IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 - ? DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1! - : throw new global::System.InvalidOperationException($"Expected union variant 'DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription(string value) => new DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription((string?)value); - - /// - /// - /// - public static implicit operator string?(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription @this) => @this.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1; - - /// - /// - /// - public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription(string? value) - { - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 = value; - } - - /// - /// - /// - public static DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription FromDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1(string? value) => new DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription(value); - - /// - /// - /// - public static implicit operator DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 value) => new DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription((global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1?)value); - - /// - /// - /// - public static implicit operator global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1?(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription @this) => @this.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1; - - /// - /// - /// - public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? value) - { - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 = value; - } - - /// - /// - /// - public static DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription FromDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? value) => new DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription(value); - - /// - /// - /// - public DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription( - string? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1, - global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 - ) - { - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 = detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1; - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 = detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1; - } - - /// - /// - /// - public object? Object => - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 as object ?? - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 as object - ; - - /// - /// - /// - public override string? ToString() => - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1?.ToString() ?? - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1?.ToString() - ; - - /// - /// - /// - public bool Validate() - { - return IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 && !IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 || !IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 && IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1; - } - - /// - /// - /// - public TResult? Match( - global::System.Func? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 = null, - global::System.Func? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 && detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 != null) - { - return detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1!); - } - else if (IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 && detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 != null) - { - return detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1!); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 = null, - - global::System.Action? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1) - { - detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1?.Invoke(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1!); - } - else if (IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1) - { - detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1?.Invoke(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1!); - } - } - - /// - /// - /// - public void Switch( - global::System.Action? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 = null, - global::System.Action? detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1) - { - detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1?.Invoke(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1!); - } - else if (IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1) - { - detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1?.Invoke(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1!); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1, - typeof(string), - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1, - typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1), - }; - 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(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1, other.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1, other.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1) - ; - } - - /// - /// - /// - public static bool operator ==(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription obj1, DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription obj2) - { - return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription obj1, DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription o && Equals(o); - } - } -} diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered.Json.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered.Json.g.cs deleted file mode 100644 index d6bc2bd..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace ResembleAI -{ - public sealed partial class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered - { - /// - /// 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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered), - jsonSerializerContext) as global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered? 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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered? 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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered), - jsonSerializerContext).ConfigureAwait(false)) as global::ResembleAI.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered; - } - - /// - /// 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.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.g.cs deleted file mode 100644 index 64a6ffd..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.g.cs +++ /dev/null @@ -1,111 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public enum DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType - { - /// - /// - /// - EmploymentFraud, - /// - /// - /// - Extortion, - /// - /// - /// - FinancialFraud, - /// - /// - /// - Impersonation, - /// - /// - /// - InsuranceFraud, - /// - /// - /// - None, - /// - /// - /// - Other, - /// - /// - /// - PoliticalManipulation, - /// - /// - /// - RomanceScam, - /// - /// - /// - SyntheticMediaFraud, - /// - /// - /// - TechSupportScam, - /// - /// - /// - Vishing, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType value) - { - return value switch - { - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.EmploymentFraud => "employment_fraud", - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.Extortion => "extortion", - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.FinancialFraud => "financial_fraud", - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.Impersonation => "impersonation", - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.InsuranceFraud => "insurance_fraud", - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.None => "none", - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.Other => "other", - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.PoliticalManipulation => "political_manipulation", - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.RomanceScam => "romance_scam", - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.SyntheticMediaFraud => "synthetic_media_fraud", - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.TechSupportScam => "tech_support_scam", - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.Vishing => "vishing", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType? ToEnum(string value) - { - return value switch - { - "employment_fraud" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.EmploymentFraud, - "extortion" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.Extortion, - "financial_fraud" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.FinancialFraud, - "impersonation" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.Impersonation, - "insurance_fraud" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.InsuranceFraud, - "none" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.None, - "other" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.Other, - "political_manipulation" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.PoliticalManipulation, - "romance_scam" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.RomanceScam, - "synthetic_media_fraud" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.SyntheticMediaFraud, - "tech_support_scam" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.TechSupportScam, - "vishing" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType.Vishing, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment.g.cs deleted file mode 100644 index 4eafaef..0000000 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace ResembleAI -{ - /// - /// - /// - public enum DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment - { - /// - /// - /// - Inconclusive, - /// - /// - /// - NotRealPerson, - /// - /// - /// - RealPerson, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessmentExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment value) - { - return value switch - { - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment.Inconclusive => "inconclusive", - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment.NotRealPerson => "not_real_person", - DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment.RealPerson => "real_person", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment? ToEnum(string value) - { - return value switch - { - "inconclusive" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment.Inconclusive, - "not_real_person" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment.NotRealPerson, - "real_person" => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment.RealPerson, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus.g.cs index 1d45a88..b8a379d 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. /// public enum DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus { diff --git a/src/libs/ResembleAI/openapi.yaml b/src/libs/ResembleAI/openapi.yaml index fdad12e..d0b68cd 100644 --- a/src/libs/ResembleAI/openapi.yaml +++ b/src/libs/ResembleAI/openapi.yaml @@ -2824,7 +2824,7 @@ "callback_url": { "type": "string", "format": "uri", - "description": "POST destination when analysis completes" + "description": "POST destination for the detection result. When Intelligence is requested, callback delivery waits for a priority-stable successful result or the bounded fail-open timeout." }, "visualize": { "type": "boolean", @@ -2874,6 +2874,11 @@ "default": false, "description": "Enable audio source tracing to identify synthetic audio origin" }, + "signal": { + "type": "boolean", + "default": false, + "description": "Run Signal content analysis after detection completes, classifying the media against fraud and abuse categories. Requires Signal access on your plan and cannot be combined with zero_retention_mode. Not supported for batch detections." + }, "use_reverse_search": { "type": "boolean", "default": false, @@ -2908,7 +2913,7 @@ "get": { "operationId": "get-detection", "summary": "Get deepfake detection result", - "description": "Get deepfake detection result by UUID", + "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.", "tags": [ "deepfakeDetection" ], @@ -2922,6 +2927,16 @@ "type": "string" } }, + { + "name": "experts", + "in": "query", + "description": "When true, return all successfully completed Intelligence results as an array, or an empty array when none have completed successfully. When omitted or false, return one completed result when available; otherwise, return the current processing or failed result.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, { "name": "Authorization", "in": "header", @@ -8867,6 +8882,61 @@ "description": "Video detection metrics (for video media type)", "title": "DetectVideoMetrics" }, + "DetectC2PaManifestValidationState": { + "type": "string", + "enum": [ + "Valid", + "NotPresent", + "Unavailable" + ], + "description": "Verification state. `NotPresent` means no embedded Content Credentials were found; `Unavailable` means verification could not complete.", + "title": "DetectC2PaManifestValidationState" + }, + "DetectC2paManifest": { + "type": "object", + "properties": { + "validation_state": { + "$ref": "#/components/schemas/DetectC2PaManifestValidationState", + "description": "Verification state. `NotPresent` means no embedded Content Credentials were found; `Unavailable` means verification could not complete." + }, + "active_manifest": { + "type": [ + "string", + "null" + ], + "description": "Active C2PA manifest identifier when credentials are present" + }, + "manifests": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "description": "Any type" + }, + "description": "Raw manifest details returned by C2PA tooling" + }, + "validation_results": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "description": "Any type" + }, + "description": "Detailed validation results returned by C2PA tooling" + }, + "message": { + "type": [ + "string", + "null" + ], + "description": "Generic message when verification is unavailable" + } + }, + "description": "Content Credentials (C2PA) verification result for audio, image, and video media. Returned when verification has completed. A fallback verification failure returns `validation_state: Unavailable` and does not fail the detection.", + "title": "DetectC2paManifest" + }, "DetectGetResponsesContentApplicationJsonSchemaItemsItemsAudioSourceTracing": { "type": "object", "properties": { @@ -8923,6 +8993,9 @@ "video_metrics": { "$ref": "#/components/schemas/DetectVideoMetrics" }, + "c2pa_manifest": { + "$ref": "#/components/schemas/DetectC2paManifest" + }, "audio_source_tracing": { "oneOf": [ { @@ -9062,6 +9135,15 @@ "description": "Which detection modality was requested. `all` when not specified.\nFor a single-modality video detect, the skipped component's metrics are absent\n(`metrics` for audio-only-skipped, `video_metrics` for video-only-skipped), and the\ndetect still reaches `completed` once the requested modality(ies) finish.\n", "title": "DetectPostResponsesContentApplicationJsonSchemaItemModality" }, + "DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus": { + "type": "string", + "enum": [ + "processing", + "completed", + "failed" + ], + "title": "DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus" + }, "DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType": { "type": "string", "enum": [ @@ -9202,15 +9284,30 @@ "DetectPostResponsesContentApplicationJsonSchemaItemIntelligence": { "type": "object", "properties": { + "uuid": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceStatus" + }, + "error_message": { + "type": [ + "string", + "null" + ] + }, "description": { "$ref": "#/components/schemas/DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription" }, "created_at": { "type": "string", "format": "date-time" + }, + "detect_uuid": { + "type": "string" } }, - "description": "Intelligence results when requested", + "description": "Default Intelligence result when requested", "title": "DetectPostResponsesContentApplicationJsonSchemaItemIntelligence" }, "DetectPostResponsesContentApplicationJsonSchemaItem": { @@ -9269,7 +9366,10 @@ "type": "null" } ], - "description": "Intelligence results when requested" + "description": "Default Intelligence result when requested" + }, + "c2pa_manifest": { + "$ref": "#/components/schemas/DetectC2paManifest" } }, "title": "DetectPostResponsesContentApplicationJsonSchemaItem" @@ -9302,6 +9402,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.", "title": "DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus" }, "DetectUuidGetResponsesContentApplicationJsonSchemaItemAudioSourceTracing": { @@ -9321,7 +9422,17 @@ "description": "Source tracing results (only returned if audio is labeled fake)", "title": "DetectUuidGetResponsesContentApplicationJsonSchemaItemAudioSourceTracing" }, - "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType": { + "DetectIntelligenceResultStatus": { + "type": "string", + "enum": [ + "processing", + "completed", + "failed" + ], + "description": "Status of this Intelligence result, independent of the associated Detect job status.", + "title": "DetectIntelligenceResultStatus" + }, + "DetectIntelligenceResultDescriptionOneOf1FraudType": { "type": "string", "enum": [ "none", @@ -9337,13 +9448,13 @@ "employment_fraud", "other" ], - "title": "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType" + "title": "DetectIntelligenceResultDescriptionOneOf1FraudType" }, - "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud": { + "DetectIntelligenceResultDescriptionOneOf1Fraud": { "type": "object", "properties": { "type": { - "$ref": "#/components/schemas/DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1FraudType" + "$ref": "#/components/schemas/DetectIntelligenceResultDescriptionOneOf1FraudType" }, "confidence": { "type": "number", @@ -9353,22 +9464,22 @@ "type": "string" } }, - "title": "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud" + "title": "DetectIntelligenceResultDescriptionOneOf1Fraud" }, - "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment": { + "DetectIntelligenceResultDescriptionOneOf1LivenessAssessment": { "type": "string", "enum": [ "real_person", "not_real_person", "inconclusive" ], - "title": "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment" + "title": "DetectIntelligenceResultDescriptionOneOf1LivenessAssessment" }, - "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness": { + "DetectIntelligenceResultDescriptionOneOf1Liveness": { "type": "object", "properties": { "assessment": { - "$ref": "#/components/schemas/DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1LivenessAssessment" + "$ref": "#/components/schemas/DetectIntelligenceResultDescriptionOneOf1LivenessAssessment" }, "confidence": { "type": "number", @@ -9378,9 +9489,9 @@ "type": "string" } }, - "title": "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness" + "title": "DetectIntelligenceResultDescriptionOneOf1Liveness" }, - "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered": { + "DetectIntelligenceResultDescriptionOneOf1DigitallyAltered": { "type": "object", "properties": { "detected": { @@ -9394,9 +9505,9 @@ "type": "string" } }, - "title": "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered" + "title": "DetectIntelligenceResultDescriptionOneOf1DigitallyAltered" }, - "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1": { + "DetectIntelligenceResultDescription1": { "type": "object", "properties": { "speaker_info": { @@ -9436,43 +9547,82 @@ "type": "string" }, "fraud": { - "$ref": "#/components/schemas/DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Fraud" + "$ref": "#/components/schemas/DetectIntelligenceResultDescriptionOneOf1Fraud" }, "liveness": { - "$ref": "#/components/schemas/DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1Liveness" + "$ref": "#/components/schemas/DetectIntelligenceResultDescriptionOneOf1Liveness" }, "digitally_altered": { - "$ref": "#/components/schemas/DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionOneOf1DigitallyAltered" + "$ref": "#/components/schemas/DetectIntelligenceResultDescriptionOneOf1DigitallyAltered" } }, - "title": "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1" + "title": "DetectIntelligenceResultDescription1" }, - "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription": { + "DetectIntelligenceResultDescription": { "oneOf": [ { "type": "string" }, { - "$ref": "#/components/schemas/DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription1" + "$ref": "#/components/schemas/DetectIntelligenceResultDescription1" } ], - "title": "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription" + "title": "DetectIntelligenceResultDescription" }, - "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence": { + "DetectIntelligenceResult": { "type": "object", "properties": { "uuid": { "type": "string" }, + "status": { + "$ref": "#/components/schemas/DetectIntelligenceResultStatus", + "description": "Status of this Intelligence result, independent of the associated Detect job status." + }, + "error_message": { + "type": [ + "string", + "null" + ] + }, "description": { - "$ref": "#/components/schemas/DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligenceDescription" + "oneOf": [ + { + "$ref": "#/components/schemas/DetectIntelligenceResultDescription" + }, + { + "type": "null" + } + ] }, "created_at": { "type": "string", "format": "date-time" + }, + "detect_uuid": { + "type": "string" } }, - "description": "Intelligence results when requested", + "description": "One Detect Intelligence expert result", + "title": "DetectIntelligenceResult" + }, + "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DetectIntelligenceResult" + }, + "title": "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1" + }, + "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence": { + "oneOf": [ + { + "$ref": "#/components/schemas/DetectIntelligenceResult" + }, + { + "$ref": "#/components/schemas/DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1" + } + ], + "description": "With experts omitted or false, one completed Intelligence result when available; otherwise, the current processing or failed result. With experts=true, all successfully completed results as an array, or an empty array when none have completed successfully.", "title": "DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence" }, "DetectUuidGetResponsesContentApplicationJsonSchemaItemModality": { @@ -9495,7 +9645,8 @@ "$ref": "#/components/schemas/DetectUuidGetResponsesContentApplicationJsonSchemaItemMediaType" }, "status": { - "$ref": "#/components/schemas/DetectUuidGetResponsesContentApplicationJsonSchemaItemStatus" + "$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." }, "metrics": { "$ref": "#/components/schemas/DetectAudioMetrics" @@ -9506,6 +9657,9 @@ "video_metrics": { "$ref": "#/components/schemas/DetectVideoMetrics" }, + "c2pa_manifest": { + "$ref": "#/components/schemas/DetectC2paManifest" + }, "audio_source_tracing": { "oneOf": [ { @@ -9526,7 +9680,7 @@ "type": "null" } ], - "description": "Intelligence results when requested" + "description": "With experts omitted or false, one completed Intelligence result when available; otherwise, the current processing or failed result. With experts=true, all successfully completed results as an array, or an empty array when none have completed successfully." }, "modality": { "$ref": "#/components/schemas/DetectUuidGetResponsesContentApplicationJsonSchemaItemModality",