diff --git a/src/libs/Leonardo/Generated/JsonConverters.UnixTimestamp.g.cs b/src/libs/Leonardo/Generated/JsonConverters.UnixTimestamp.g.cs
new file mode 100644
index 0000000..3dd8e55
--- /dev/null
+++ b/src/libs/Leonardo/Generated/JsonConverters.UnixTimestamp.g.cs
@@ -0,0 +1,39 @@
+#nullable enable
+
+namespace OpenApiGenerator.JsonConverters
+{
+ ///
+ public class UnixTimestampJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::System.DateTimeOffset Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ if (reader.TokenType == global::System.Text.Json.JsonTokenType.Number)
+ {
+ if (reader.TryGetInt64(out long unixTimestamp))
+ {
+ return global::System.DateTimeOffset.FromUnixTimeSeconds(unixTimestamp);
+ }
+ if (reader.TryGetInt32(out int unixTimestampInt))
+ {
+ return global::System.DateTimeOffset.FromUnixTimeSeconds(unixTimestampInt);
+ }
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::System.DateTimeOffset value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ long unixTimestamp = value.ToUnixTimeSeconds();
+ writer.WriteNumberValue(unixTimestamp);
+ }
+ }
+}
diff --git a/src/libs/Leonardo/Generated/Leonardo.ImageClient.GetGenerationsByUserId.g.cs b/src/libs/Leonardo/Generated/Leonardo.ImageClient.GetGenerationsByUserId.g.cs
index c419da9..8156e37 100644
--- a/src/libs/Leonardo/Generated/Leonardo.ImageClient.GetGenerationsByUserId.g.cs
+++ b/src/libs/Leonardo/Generated/Leonardo.ImageClient.GetGenerationsByUserId.g.cs
@@ -39,9 +39,9 @@ partial void ProcessGetGenerationsByUserIdResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task GetGenerationsByUserIdAsync(
- int offset,
- int limit,
string userId,
+ int offset = 0,
+ int limit = 10,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Leonardo/Generated/Leonardo.TextureClient.GetTextureGenerationById.g.cs b/src/libs/Leonardo/Generated/Leonardo.TextureClient.GetTextureGenerationById.g.cs
index 4a6a087..8e725b7 100644
--- a/src/libs/Leonardo/Generated/Leonardo.TextureClient.GetTextureGenerationById.g.cs
+++ b/src/libs/Leonardo/Generated/Leonardo.TextureClient.GetTextureGenerationById.g.cs
@@ -42,10 +42,10 @@ partial void ProcessGetTextureGenerationByIdResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task GetTextureGenerationByIdAsync(
- int offset,
- int limit,
string id,
global::Leonardo.GetTextureGenerationByIdRequest request,
+ int offset = 0,
+ int limit = 10,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Leonardo/Generated/Leonardo.TextureClient.GetTextureGenerationsByModelId.g.cs b/src/libs/Leonardo/Generated/Leonardo.TextureClient.GetTextureGenerationsByModelId.g.cs
index 0f5cae4..2c17f34 100644
--- a/src/libs/Leonardo/Generated/Leonardo.TextureClient.GetTextureGenerationsByModelId.g.cs
+++ b/src/libs/Leonardo/Generated/Leonardo.TextureClient.GetTextureGenerationsByModelId.g.cs
@@ -42,10 +42,10 @@ partial void ProcessGetTextureGenerationsByModelIdResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task GetTextureGenerationsByModelIdAsync(
- int offset,
- int limit,
string modelId,
global::Leonardo.GetTextureGenerationsByModelIdRequest request,
+ int offset = 0,
+ int limit = 10,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Leonardo/Generated/Leonardo.x3DModelAssetsClient.Get3DModelById.g.cs b/src/libs/Leonardo/Generated/Leonardo.x3DModelAssetsClient.Get3DModelById.g.cs
index 7c37fa1..8ef0c07 100644
--- a/src/libs/Leonardo/Generated/Leonardo.x3DModelAssetsClient.Get3DModelById.g.cs
+++ b/src/libs/Leonardo/Generated/Leonardo.x3DModelAssetsClient.Get3DModelById.g.cs
@@ -42,10 +42,10 @@ partial void ProcessGet3DModelByIdResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task Get3DModelByIdAsync(
- int offset,
- int limit,
string id,
global::Leonardo.Get3DModelByIdRequest request,
+ int offset = 0,
+ int limit = 10,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Leonardo/Generated/Leonardo.x3DModelAssetsClient.Get3DModelsByUserId.g.cs b/src/libs/Leonardo/Generated/Leonardo.x3DModelAssetsClient.Get3DModelsByUserId.g.cs
index aa3c3a6..b2a26f2 100644
--- a/src/libs/Leonardo/Generated/Leonardo.x3DModelAssetsClient.Get3DModelsByUserId.g.cs
+++ b/src/libs/Leonardo/Generated/Leonardo.x3DModelAssetsClient.Get3DModelsByUserId.g.cs
@@ -42,10 +42,10 @@ partial void ProcessGet3DModelsByUserIdResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task Get3DModelsByUserIdAsync(
- int offset,
- int limit,
string userId,
global::Leonardo.Get3DModelsByUserIdRequest request,
+ int offset = 0,
+ int limit = 10,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));