diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResource.g.cs index 68fb6a90..980b189d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResource.g.cs @@ -35,9 +35,8 @@ public sealed partial class CompactResource /// Unix timestamp (in seconds) when the compacted conversation was created. /// [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.UnixTimestampJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTimeOffset CreatedAt { get; set; } + public required int CreatedAt { get; set; } /// /// Token accounting for the compaction pass, including cached, reasoning, and total tokens. @@ -77,7 +76,7 @@ public sealed partial class CompactResource public CompactResource( string id, global::System.Collections.Generic.IList output, - global::System.DateTimeOffset createdAt, + int createdAt, global::tryAGI.OpenAI.ResponseUsage usage, global::tryAGI.OpenAI.CompactResourceObject @object = global::tryAGI.OpenAI.CompactResourceObject.ResponseCompaction) { diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillResource.g.cs index d156ad7a..c9671f03 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillResource.g.cs @@ -42,9 +42,8 @@ public sealed partial class SkillResource /// Unix timestamp (seconds) for when the skill was created. /// [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.UnixTimestampJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTimeOffset CreatedAt { get; set; } + public required int CreatedAt { get; set; } /// /// Default version for the skill. @@ -98,7 +97,7 @@ public SkillResource( string id, string name, string description, - global::System.DateTimeOffset createdAt, + int createdAt, string defaultVersion, string latestVersion, global::tryAGI.OpenAI.SkillResourceObject @object = global::tryAGI.OpenAI.SkillResourceObject.Skill) diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillVersionResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillVersionResource.g.cs index f7f15238..776b703e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillVersionResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillVersionResource.g.cs @@ -42,9 +42,8 @@ public sealed partial class SkillVersionResource /// Unix timestamp (seconds) for when the version was created. /// [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.UnixTimestampJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTimeOffset CreatedAt { get; set; } + public required int CreatedAt { get; set; } /// /// Name of the skill version. @@ -98,7 +97,7 @@ public SkillVersionResource( string id, string skillId, string version, - global::System.DateTimeOffset createdAt, + int createdAt, string name, string description, global::tryAGI.OpenAI.SkillVersionResourceObject @object = global::tryAGI.OpenAI.SkillVersionResourceObject.SkillVersion) diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoCharacterResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoCharacterResource.g.cs index c2edd762..79ada32b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoCharacterResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoCharacterResource.g.cs @@ -24,9 +24,8 @@ public sealed partial class VideoCharacterResource /// Unix timestamp (in seconds) when the character was created. /// [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.UnixTimestampJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTimeOffset CreatedAt { get; set; } + public required int CreatedAt { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -46,7 +45,7 @@ public sealed partial class VideoCharacterResource [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public VideoCharacterResource( - global::System.DateTimeOffset createdAt, + int createdAt, string? id, string? name) { diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoResource.g.cs index 70ce7001..466ab9d1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoResource.g.cs @@ -51,21 +51,20 @@ public sealed partial class VideoResource /// Unix timestamp (seconds) for when the job was created. /// [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.UnixTimestampJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTimeOffset CreatedAt { get; set; } + public required int CreatedAt { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] - public global::System.DateTimeOffset? CompletedAt { get; set; } + public int? CompletedAt { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("expires_at")] - public global::System.DateTimeOffset? ExpiresAt { get; set; } + public int? ExpiresAt { get; set; } /// /// @@ -147,11 +146,11 @@ public VideoResource( global::tryAGI.OpenAI.VideoModel model, global::tryAGI.OpenAI.VideoStatus status, int progress, - global::System.DateTimeOffset createdAt, + int createdAt, global::tryAGI.OpenAI.VideoSize size, string seconds, - global::System.DateTimeOffset? completedAt, - global::System.DateTimeOffset? expiresAt, + int? completedAt, + int? expiresAt, string? prompt, string? remixedFromVideoId, global::tryAGI.OpenAI.Error2? error, diff --git a/src/libs/tryAGI.OpenAI/asyncapi.json b/src/libs/tryAGI.OpenAI/asyncapi.json index 65b23523..1dd4bf01 100644 --- a/src/libs/tryAGI.OpenAI/asyncapi.json +++ b/src/libs/tryAGI.OpenAI/asyncapi.json @@ -880,6 +880,7 @@ }, "file_url": { "type": "string", + "format": "uri", "description": "The URL of the file to be sent to the model." }, "detail": { @@ -909,6 +910,7 @@ "anyOf": [ { "type": "string", + "format": "uri", "description": "The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL." }, { diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml index a5c45b72..ff91a678 100644 --- a/src/libs/tryAGI.OpenAI/openapi.yaml +++ b/src/libs/tryAGI.OpenAI/openapi.yaml @@ -74352,6 +74352,7 @@ components: x-stainless-const: true url: type: string + format: uri description: The URL of the web resource. start_index: type: integer @@ -74577,6 +74578,7 @@ components: image_url: anyOf: - type: string + format: uri description: >- The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL. @@ -74613,6 +74615,7 @@ components: image_url: anyOf: - type: string + format: uri description: The URL of the screenshot image. - type: 'null' file_id: @@ -74661,6 +74664,7 @@ components: The content of the file to be sent to the model. file_url: type: string + format: uri description: The URL of the file to be sent to the model. detail: $ref: '#/components/schemas/FileInputDetail' @@ -75827,6 +75831,7 @@ components: x-stainless-const: true url: type: string + format: uri description: The URL of the image output from the code interpreter. type: object required: @@ -76361,6 +76366,7 @@ components: anyOf: - type: string maxLength: 20971520 + format: uri description: >- The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL. @@ -76419,6 +76425,7 @@ components: file_url: anyOf: - type: string + format: uri description: The URL of the file to be sent to the model. - type: 'null' detail: @@ -76999,6 +77006,7 @@ components: Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters. created_at: type: integer + format: unixtime description: >- The time at which the conversation was created, measured in seconds since the Unix epoch. @@ -77256,10 +77264,12 @@ components: description: Approximate completion percentage for the generation task. created_at: type: integer + format: unixtime description: Unix timestamp (seconds) for when the job was created. completed_at: anyOf: - type: integer + format: unixtime description: >- Unix timestamp (seconds) for when the job completed, if finished. @@ -77267,6 +77277,7 @@ components: expires_at: anyOf: - type: integer + format: unixtime description: >- Unix timestamp (seconds) for when the downloadable assets expire, if set. @@ -77352,6 +77363,7 @@ components: image_url: type: string maxLength: 20971520 + format: uri description: A fully qualified URL or base64-encoded data URL. file_id: type: string @@ -77462,6 +77474,7 @@ components: - type: 'null' created_at: type: integer + format: unixtime description: Unix timestamp (in seconds) when the character was created. type: object required: @@ -77838,6 +77851,7 @@ components: description: The compacted list of output items. created_at: type: integer + format: unixtime description: >- Unix timestamp (in seconds) when the compacted conversation was created. @@ -77896,6 +77910,7 @@ components: description: Description of the skill. created_at: type: integer + format: unixtime description: Unix timestamp (seconds) for when the skill was created. default_version: type: string @@ -78013,6 +78028,7 @@ components: description: Version number for this skill. created_at: type: integer + format: unixtime description: Unix timestamp (seconds) for when the version was created. name: type: string