diff --git a/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageIntelligenceClient.RunIntelligence.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageIntelligenceClient.RunIntelligence.g.cs
index b595c1b..f5b98f2 100644
--- a/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageIntelligenceClient.RunIntelligence.g.cs
+++ b/src/libs/ResembleAI/Generated/ResembleAI.ISubpackageIntelligenceClient.RunIntelligence.g.cs
@@ -33,9 +33,6 @@ public partial interface ISubpackageIntelligenceClient
///
/// Explicit media type (auto-detected if not provided)
///
- ///
- /// Return structured fields instead of prose. Default false for audio/video, true for images.
- ///
///
/// URL that receives the final intelligence payload via HTTP POST. When present, the request runs asynchronously and returns 202 Accepted.
///
@@ -47,7 +44,6 @@ public partial interface ISubpackageIntelligenceClient
string? url = default,
global::System.Guid? detectId = default,
global::ResembleAI.IntelligencePostRequestBodyContentApplicationJsonSchemaMediaType? mediaType = default,
- bool? json = default,
string? callbackUrl = default,
global::ResembleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs
index 5d8ffc2..7b3dca2 100644
--- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs
+++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs
@@ -15,7 +15,6 @@ public class DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDesc
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();
@@ -24,45 +23,55 @@ public class DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDesc
foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
{
__jsonProps.Add(__jsonProp.Name);
- }
- }
-
- var __score0 = 0;
- {
- var __ti = typeInfoResolver.GetTypeInfo(typeof(string), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
- {
- foreach (var __prop in __ti.Properties)
+ if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object)
{
- if (__jsonProps.Contains(__prop.Name)) __score0++;
+ foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject())
+ {
+ __jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name);
+ }
}
+
}
}
+
+ var __score0 = 0;
var __score1 = 0;
- {
- var __ti = typeInfoResolver.GetTypeInfo(typeof(object), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
- {
- foreach (var __prop in __ti.Properties)
- {
- if (__jsonProps.Contains(__prop.Name)) __score1++;
- }
- }
- }
+ if (__jsonProps.Contains("abnormalities")) __score1++;
+ if (__jsonProps.Contains("context")) __score1++;
+ if (__jsonProps.Contains("dialect")) __score1++;
+ if (__jsonProps.Contains("digitally_altered")) __score1++;
+ if (__jsonProps.Contains("digitally_altered.alterations")) __score1++;
+ if (__jsonProps.Contains("digitally_altered.confidence")) __score1++;
+ if (__jsonProps.Contains("digitally_altered.detected")) __score1++;
+ if (__jsonProps.Contains("emotion")) __score1++;
+ if (__jsonProps.Contains("fraud")) __score1++;
+ if (__jsonProps.Contains("fraud.confidence")) __score1++;
+ if (__jsonProps.Contains("fraud.reasoning")) __score1++;
+ if (__jsonProps.Contains("fraud.type")) __score1++;
+ if (__jsonProps.Contains("language")) __score1++;
+ if (__jsonProps.Contains("liveness")) __score1++;
+ if (__jsonProps.Contains("liveness.assessment")) __score1++;
+ if (__jsonProps.Contains("liveness.confidence")) __score1++;
+ if (__jsonProps.Contains("liveness.indicators")) __score1++;
+ if (__jsonProps.Contains("message")) __score1++;
+ if (__jsonProps.Contains("misinformation")) __score1++;
+ if (__jsonProps.Contains("speaker_info")) __score1++;
+ if (__jsonProps.Contains("speaking_style")) __score1++;
+ if (__jsonProps.Contains("transcription")) __score1++;
+ if (__jsonProps.Contains("translation")) __score1++;
var __bestScore = 0;
var __bestIndex = -1;
if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
string? detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 = default;
- object? detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant2 = default;
+ global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1? detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 = default;
if (__bestIndex >= 0)
{
if (__bestIndex == 0)
{
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}");
detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
@@ -74,15 +83,13 @@ public class DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDesc
{
}
}
-
else if (__bestIndex == 1)
{
try
{
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo