diff --git a/src/libs/Tavily/Generated/Tavily.Models.SearchRequest.g.cs b/src/libs/Tavily/Generated/Tavily.Models.SearchRequest.g.cs
index 8ec3d93..f4dbe1d 100644
--- a/src/libs/Tavily/Generated/Tavily.Models.SearchRequest.g.cs
+++ b/src/libs/Tavily/Generated/Tavily.Models.SearchRequest.g.cs
@@ -135,5 +135,34 @@ public string ToJson(
jsonSerializerOptions);
}
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStream(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Tavily.SearchRequest),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Tavily.SearchRequest;
+ }
+
+ ///
+ /// 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 FromJsonStream(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+
}
}
\ No newline at end of file
diff --git a/src/libs/Tavily/Generated/Tavily.Models.SearchResponse.g.cs b/src/libs/Tavily/Generated/Tavily.Models.SearchResponse.g.cs
index 4a6154e..5310d7e 100644
--- a/src/libs/Tavily/Generated/Tavily.Models.SearchResponse.g.cs
+++ b/src/libs/Tavily/Generated/Tavily.Models.SearchResponse.g.cs
@@ -110,5 +110,34 @@ public string ToJson(
jsonSerializerOptions);
}
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStream(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Tavily.SearchResponse),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Tavily.SearchResponse;
+ }
+
+ ///
+ /// 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 FromJsonStream(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+
}
}
\ No newline at end of file
diff --git a/src/libs/Tavily/Generated/Tavily.Models.SearchResult.g.cs b/src/libs/Tavily/Generated/Tavily.Models.SearchResult.g.cs
index 7cb5734..7887feb 100644
--- a/src/libs/Tavily/Generated/Tavily.Models.SearchResult.g.cs
+++ b/src/libs/Tavily/Generated/Tavily.Models.SearchResult.g.cs
@@ -105,5 +105,34 @@ public string ToJson(
jsonSerializerOptions);
}
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStream(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Tavily.SearchResult),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Tavily.SearchResult;
+ }
+
+ ///
+ /// 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 FromJsonStream(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+
}
}
\ No newline at end of file