diff --git a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs
index 9e42c8a..e0c9ddf 100644
--- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs
+++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs
@@ -208,6 +208,14 @@ request.Filename is null
content: new global::System.Net.Http.StringContent(request.CallbackUrl ?? string.Empty),
name: "\"callback_url\"");
+ }
+ if (request.WaitForIntelligence != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.WaitForIntelligence, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
+ name: "\"wait_for_intelligence\"");
+
}
if (request.Visualize != default)
{
@@ -626,7 +634,10 @@ request.Filename is null
/// The media file to analyze (audio, video, or image). Must be 150 MB or smaller.
///
///
- /// 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.
+ /// POST destination for the detection result.
+ ///
+ ///
+ /// Controls callback timing when callback_url and intelligence=true are provided. True waits without a forced timeout until Detect and Intelligence are both finished. False sends after Detect finishes without waiting for Intelligence. When omitted, the callback waits up to 10 minutes for Intelligence before sending the result state available at that time.
///
///
/// Generate visualization artifacts
@@ -691,6 +702,7 @@ request.Filename is null
byte[] file,
string filename,
string? callbackUrl = default,
+ bool? waitForIntelligence = default,
bool? visualize = default,
int? frameLength = default,
double? startRegion = default,
@@ -713,6 +725,7 @@ request.Filename is null
File = file,
Filename = filename,
CallbackUrl = callbackUrl,
+ WaitForIntelligence = waitForIntelligence,
Visualize = visualize,
FrameLength = frameLength,
StartRegion = startRegion,
@@ -751,7 +764,10 @@ request.Filename is null
/// The media file to analyze (audio, video, or image). Must be 150 MB or smaller.
///
///
- /// 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.
+ /// POST destination for the detection result.
+ ///
+ ///
+ /// Controls callback timing when callback_url and intelligence=true are provided. True waits without a forced timeout until Detect and Intelligence are both finished. False sends after Detect finishes without waiting for Intelligence. When omitted, the callback waits up to 10 minutes for Intelligence before sending the result state available at that time.
///
///
/// Generate visualization artifacts
@@ -816,6 +832,7 @@ request.Filename is null
global::System.IO.Stream file,
string filename,
string? callbackUrl = default,
+ bool? waitForIntelligence = default,
bool? visualize = default,
int? frameLength = default,
double? startRegion = default,
@@ -840,6 +857,7 @@ request.Filename is null
File = global::System.Array.Empty(),
Filename = filename,
CallbackUrl = callbackUrl,
+ WaitForIntelligence = waitForIntelligence,
Visualize = visualize,
FrameLength = frameLength,
StartRegion = startRegion,
@@ -965,6 +983,14 @@ request.Filename is null
content: new global::System.Net.Http.StringContent(request.CallbackUrl ?? string.Empty),
name: "\"callback_url\"");
+ }
+ if (request.WaitForIntelligence != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.WaitForIntelligence, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
+ name: "\"wait_for_intelligence\"");
+
}
if (request.Visualize != default)
{
@@ -1375,7 +1401,10 @@ request.Filename is null
/// The media file to analyze (audio, video, or image). Must be 150 MB or smaller.
///
///
- /// 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.
+ /// POST destination for the detection result.
+ ///
+ ///
+ /// Controls callback timing when callback_url and intelligence=true are provided. True waits without a forced timeout until Detect and Intelligence are both finished. False sends after Detect finishes without waiting for Intelligence. When omitted, the callback waits up to 10 minutes for Intelligence before sending the result state available at that time.
///
///
/// Generate visualization artifacts
@@ -1440,6 +1469,7 @@ request.Filename is null
global::System.IO.Stream file,
string filename,
string? callbackUrl = default,
+ bool? waitForIntelligence = default,
bool? visualize = default,
int? frameLength = default,
double? startRegion = default,
@@ -1464,6 +1494,7 @@ request.Filename is null
File = global::System.Array.Empty(),
Filename = filename,
CallbackUrl = callbackUrl,
+ WaitForIntelligence = waitForIntelligence,
Visualize = visualize,
FrameLength = frameLength,
StartRegion = startRegion,
@@ -1589,6 +1620,14 @@ request.Filename is null
content: new global::System.Net.Http.StringContent(request.CallbackUrl ?? string.Empty),
name: "\"callback_url\"");
+ }
+ if (request.WaitForIntelligence != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.WaitForIntelligence, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
+ name: "\"wait_for_intelligence\"");
+
}
if (request.Visualize != default)
{
diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs
index b147551..ac99c38 100644
--- a/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs
+++ b/src/libs/ResembleAI/Generated/ResembleAI.IDeepfakeDetectionClient.CreateDetection.g.cs
@@ -56,7 +56,10 @@ public partial interface IDeepfakeDetectionClient
/// The media file to analyze (audio, video, or image). Must be 150 MB or smaller.
///
///
- /// 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.
+ /// POST destination for the detection result.
+ ///
+ ///
+ /// Controls callback timing when callback_url and intelligence=true are provided. True waits without a forced timeout until Detect and Intelligence are both finished. False sends after Detect finishes without waiting for Intelligence. When omitted, the callback waits up to 10 minutes for Intelligence before sending the result state available at that time.
///
///
/// Generate visualization artifacts
@@ -121,6 +124,7 @@ public partial interface IDeepfakeDetectionClient
byte[] file,
string filename,
string? callbackUrl = default,
+ bool? waitForIntelligence = default,
bool? visualize = default,
int? frameLength = default,
double? startRegion = default,
@@ -154,7 +158,10 @@ public partial interface IDeepfakeDetectionClient
/// The media file to analyze (audio, video, or image). Must be 150 MB or smaller.
///
///
- /// 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.
+ /// POST destination for the detection result.
+ ///
+ ///
+ /// Controls callback timing when callback_url and intelligence=true are provided. True waits without a forced timeout until Detect and Intelligence are both finished. False sends after Detect finishes without waiting for Intelligence. When omitted, the callback waits up to 10 minutes for Intelligence before sending the result state available at that time.
///
///
/// Generate visualization artifacts
@@ -219,6 +226,7 @@ public partial interface IDeepfakeDetectionClient
global::System.IO.Stream file,
string filename,
string? callbackUrl = default,
+ bool? waitForIntelligence = default,
bool? visualize = default,
int? frameLength = default,
double? startRegion = default,
@@ -251,7 +259,10 @@ public partial interface IDeepfakeDetectionClient
/// The media file to analyze (audio, video, or image). Must be 150 MB or smaller.
///
///
- /// 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.
+ /// POST destination for the detection result.
+ ///
+ ///
+ /// Controls callback timing when callback_url and intelligence=true are provided. True waits without a forced timeout until Detect and Intelligence are both finished. False sends after Detect finishes without waiting for Intelligence. When omitted, the callback waits up to 10 minutes for Intelligence before sending the result state available at that time.
///
///
/// Generate visualization artifacts
@@ -316,6 +327,7 @@ public partial interface IDeepfakeDetectionClient
global::System.IO.Stream file,
string filename,
string? callbackUrl = default,
+ bool? waitForIntelligence = default,
bool? visualize = default,
int? frameLength = default,
double? startRegion = default,
diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs
index bd4f195..c29589c 100644
--- a/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs
+++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.CreateDetectionRequest.g.cs
@@ -23,11 +23,17 @@ public sealed partial class CreateDetectionRequest
public required string Filename { get; set; }
///
- /// 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.
+ /// POST destination for the detection result.
///
[global::System.Text.Json.Serialization.JsonPropertyName("callback_url")]
public string? CallbackUrl { get; set; }
+ ///
+ /// Controls callback timing when callback_url and intelligence=true are provided. True waits without a forced timeout until Detect and Intelligence are both finished. False sends after Detect finishes without waiting for Intelligence. When omitted, the callback waits up to 10 minutes for Intelligence before sending the result state available at that time.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("wait_for_intelligence")]
+ public bool? WaitForIntelligence { get; set; }
+
///
/// Generate visualization artifacts
///
@@ -143,7 +149,10 @@ public sealed partial class CreateDetectionRequest
/// The media file to analyze (audio, video, or image). Must be 150 MB or smaller.
///
///
- /// 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.
+ /// POST destination for the detection result.
+ ///
+ ///
+ /// Controls callback timing when callback_url and intelligence=true are provided. True waits without a forced timeout until Detect and Intelligence are both finished. False sends after Detect finishes without waiting for Intelligence. When omitted, the callback waits up to 10 minutes for Intelligence before sending the result state available at that time.
///
///
/// Generate visualization artifacts
@@ -208,6 +217,7 @@ public CreateDetectionRequest(
byte[] file,
string filename,
string? callbackUrl,
+ bool? waitForIntelligence,
bool? visualize,
int? frameLength,
double? startRegion,
@@ -226,6 +236,7 @@ public CreateDetectionRequest(
this.File = file ?? throw new global::System.ArgumentNullException(nameof(file));
this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename));
this.CallbackUrl = callbackUrl;
+ this.WaitForIntelligence = waitForIntelligence;
this.Visualize = visualize;
this.FrameLength = frameLength;
this.StartRegion = startRegion;
diff --git a/src/libs/ResembleAI/openapi.yaml b/src/libs/ResembleAI/openapi.yaml
index d0b68cd..bf8a21b 100644
--- a/src/libs/ResembleAI/openapi.yaml
+++ b/src/libs/ResembleAI/openapi.yaml
@@ -2824,7 +2824,11 @@
"callback_url": {
"type": "string",
"format": "uri",
- "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."
+ "description": "POST destination for the detection result."
+ },
+ "wait_for_intelligence": {
+ "type": "boolean",
+ "description": "Controls callback timing when callback_url and intelligence=true are provided. True waits without a forced timeout until Detect and Intelligence are both finished. False sends after Detect finishes without waiting for Intelligence. When omitted, the callback waits up to 10 minutes for Intelligence before sending the result state available at that time."
},
"visualize": {
"type": "boolean",