From 79e913e2fc0009fb7fa89ce5c79e241c794e1c66 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 30 Apr 2026 19:18:01 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/Weave.Models.CallSchema.g.cs | 11 +++ .../Weave.Models.CallSchemaExpireAt.Json.g.cs | 92 +++++++++++++++++++ .../Weave.Models.CallSchemaExpireAt.g.cs | 18 ++++ src/libs/Weave/openapi.json | 13 +++ 4 files changed, 134 insertions(+) create mode 100644 src/libs/Weave/Generated/Weave.Models.CallSchemaExpireAt.Json.g.cs create mode 100644 src/libs/Weave/Generated/Weave.Models.CallSchemaExpireAt.g.cs diff --git a/src/libs/Weave/Generated/Weave.Models.CallSchema.g.cs b/src/libs/Weave/Generated/Weave.Models.CallSchema.g.cs index b803c58..fbe13cb 100644 --- a/src/libs/Weave/Generated/Weave.Models.CallSchema.g.cs +++ b/src/libs/Weave/Generated/Weave.Models.CallSchema.g.cs @@ -141,6 +141,12 @@ public sealed partial class CallSchema [global::System.Text.Json.Serialization.JsonPropertyName("deleted_at")] public global::System.DateTime? DeletedAt { get; set; } + /// + /// Expiration timestamp for this call. None = no TTL configured for the project (the row will not be expired). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("expire_at")] + public global::System.DateTime? ExpireAt { get; set; } + /// /// /// @@ -183,6 +189,9 @@ public sealed partial class CallSchema /// /// /// + /// + /// Expiration timestamp for this call. None = no TTL configured for the project (the row will not be expired). + /// /// /// #if NET7_0_OR_GREATER @@ -210,6 +219,7 @@ public CallSchema( int? wbRunStep, int? wbRunStepEnd, global::System.DateTime? deletedAt, + global::System.DateTime? expireAt, long? storageSizeBytes, long? totalStorageSizeBytes) { @@ -234,6 +244,7 @@ public CallSchema( this.WbRunStep = wbRunStep; this.WbRunStepEnd = wbRunStepEnd; this.DeletedAt = deletedAt; + this.ExpireAt = expireAt; this.StorageSizeBytes = storageSizeBytes; this.TotalStorageSizeBytes = totalStorageSizeBytes; } diff --git a/src/libs/Weave/Generated/Weave.Models.CallSchemaExpireAt.Json.g.cs b/src/libs/Weave/Generated/Weave.Models.CallSchemaExpireAt.Json.g.cs new file mode 100644 index 0000000..9b06142 --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.CallSchemaExpireAt.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Weave +{ + public sealed partial class CallSchemaExpireAt + { + /// + /// 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 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) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Weave.CallSchemaExpireAt? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Weave.CallSchemaExpireAt), + jsonSerializerContext) as global::Weave.CallSchemaExpireAt; + } + + /// + /// 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::Weave.CallSchemaExpireAt? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + 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::Weave.CallSchemaExpireAt), + jsonSerializerContext).ConfigureAwait(false)) as global::Weave.CallSchemaExpireAt; + } + + /// + /// 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) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Weave/Generated/Weave.Models.CallSchemaExpireAt.g.cs b/src/libs/Weave/Generated/Weave.Models.CallSchemaExpireAt.g.cs new file mode 100644 index 0000000..facee0d --- /dev/null +++ b/src/libs/Weave/Generated/Weave.Models.CallSchemaExpireAt.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Weave +{ + /// + /// Expiration timestamp for this call. None = no TTL configured for the project (the row will not be expired). + /// + public sealed partial class CallSchemaExpireAt + { + + /// + /// 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/Weave/openapi.json b/src/libs/Weave/openapi.json index 44c5fe1..ca97e51 100644 --- a/src/libs/Weave/openapi.json +++ b/src/libs/Weave/openapi.json @@ -6622,6 +6622,19 @@ ], "title": "Deleted At" }, + "expire_at": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } + ], + "title": "Expire At", + "description": "Expiration timestamp for this call. None = no TTL configured for the project (the row will not be expired)." + }, "storage_size_bytes": { "anyOf": [ {