diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantMessageItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantMessageItem.g.cs
index 970f6c08..7c9272be 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantMessageItem.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantMessageItem.g.cs
@@ -28,9 +28,8 @@ public sealed partial class AssistantMessageItem
/// Unix timestamp (in seconds) for when the item 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; }
///
/// Identifier of the parent thread.
@@ -89,7 +88,7 @@ public sealed partial class AssistantMessageItem
#endif
public AssistantMessageItem(
string id,
- global::System.DateTimeOffset createdAt,
+ int createdAt,
string threadId,
global::System.Collections.Generic.IList content,
global::tryAGI.OpenAI.AssistantMessageItemObject @object = global::tryAGI.OpenAI.AssistantMessageItemObject.ChatkitThreadItem,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionResource.g.cs
index f1b98b25..862ee94d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionResource.g.cs
@@ -29,9 +29,8 @@ public sealed partial class ChatSessionResource
/// Unix timestamp (in seconds) for when the session expires.
///
[global::System.Text.Json.Serialization.JsonPropertyName("expires_at")]
- [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.UnixTimestampJsonConverter))]
[global::System.Text.Json.Serialization.JsonRequired]
- public required global::System.DateTimeOffset ExpiresAt { get; set; }
+ public required int ExpiresAt { get; set; }
///
/// Ephemeral client secret that authenticates session requests.
@@ -128,7 +127,7 @@ public sealed partial class ChatSessionResource
#endif
public ChatSessionResource(
string id,
- global::System.DateTimeOffset expiresAt,
+ int expiresAt,
string clientSecret,
global::tryAGI.OpenAI.ChatkitWorkflow workflow,
string user,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallItem.g.cs
index becd8f79..031bea41 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallItem.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallItem.g.cs
@@ -28,9 +28,8 @@ public sealed partial class ClientToolCallItem
/// Unix timestamp (in seconds) for when the item 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; }
///
/// Identifier of the parent thread.
@@ -127,7 +126,7 @@ public sealed partial class ClientToolCallItem
#endif
public ClientToolCallItem(
string id,
- global::System.DateTimeOffset createdAt,
+ int createdAt,
string threadId,
global::tryAGI.OpenAI.ClientToolCallStatus status,
string callId,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ExpiresAfterParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ExpiresAfterParam.g.cs
index 1e7cbe84..813adf57 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ExpiresAfterParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ExpiresAfterParam.g.cs
@@ -22,7 +22,7 @@ public sealed partial class ExpiresAfterParam
///
[global::System.Text.Json.Serialization.JsonPropertyName("seconds")]
[global::System.Text.Json.Serialization.JsonRequired]
- public required int Seconds { get; set; }
+ public required long Seconds { get; set; }
///
/// Additional properties that are not explicitly defined in the schema
@@ -44,7 +44,7 @@ public sealed partial class ExpiresAfterParam
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public ExpiresAfterParam(
- int seconds,
+ long seconds,
global::tryAGI.OpenAI.ExpiresAfterParamAnchor anchor = global::tryAGI.OpenAI.ExpiresAfterParamAnchor.CreatedAt)
{
this.Anchor = anchor;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskGroupItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskGroupItem.g.cs
index 4f898bb1..bcfe02a2 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskGroupItem.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskGroupItem.g.cs
@@ -28,9 +28,8 @@ public sealed partial class TaskGroupItem
/// Unix timestamp (in seconds) for when the item 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; }
///
/// Identifier of the parent thread.
@@ -89,7 +88,7 @@ public sealed partial class TaskGroupItem
#endif
public TaskGroupItem(
string id,
- global::System.DateTimeOffset createdAt,
+ int createdAt,
string threadId,
global::System.Collections.Generic.IList tasks,
global::tryAGI.OpenAI.TaskGroupItemObject @object = global::tryAGI.OpenAI.TaskGroupItemObject.ChatkitThreadItem,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskItem.g.cs
index e4d95562..f233eff0 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskItem.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskItem.g.cs
@@ -28,9 +28,8 @@ public sealed partial class TaskItem
/// Unix timestamp (in seconds) for when the item 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; }
///
/// Identifier of the parent thread.
@@ -104,7 +103,7 @@ public sealed partial class TaskItem
#endif
public TaskItem(
string id,
- global::System.DateTimeOffset createdAt,
+ int createdAt,
string threadId,
global::tryAGI.OpenAI.TaskType taskType,
string? heading,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadResource.g.cs
index a9210dcd..7696bf6d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadResource.g.cs
@@ -29,9 +29,8 @@ public sealed partial class ThreadResource
/// Unix timestamp (in seconds) for when the thread 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; }
///
///
@@ -85,7 +84,7 @@ public sealed partial class ThreadResource
#endif
public ThreadResource(
string id,
- global::System.DateTimeOffset createdAt,
+ int createdAt,
global::tryAGI.OpenAI.Status status,
string user,
string? title,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageItem.g.cs
index 6198fb27..e678b2a2 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageItem.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageItem.g.cs
@@ -28,9 +28,8 @@ public sealed partial class UserMessageItem
/// Unix timestamp (in seconds) for when the item 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; }
///
/// Identifier of the parent thread.
@@ -104,7 +103,7 @@ public sealed partial class UserMessageItem
#endif
public UserMessageItem(
string id,
- global::System.DateTimeOffset createdAt,
+ int createdAt,
string threadId,
global::System.Collections.Generic.IList content,
global::System.Collections.Generic.IList attachments,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WidgetMessageItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WidgetMessageItem.g.cs
index 3b69427f..f327e1b4 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WidgetMessageItem.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WidgetMessageItem.g.cs
@@ -28,9 +28,8 @@ public sealed partial class WidgetMessageItem
/// Unix timestamp (in seconds) for when the item 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; }
///
/// Identifier of the parent thread.
@@ -89,7 +88,7 @@ public sealed partial class WidgetMessageItem
#endif
public WidgetMessageItem(
string id,
- global::System.DateTimeOffset createdAt,
+ int createdAt,
string threadId,
string widget,
global::tryAGI.OpenAI.WidgetMessageItemObject @object = global::tryAGI.OpenAI.WidgetMessageItemObject.ChatkitThreadItem,
diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml
index 63e04b30..a5c45b72 100644
--- a/src/libs/tryAGI.OpenAI/openapi.yaml
+++ b/src/libs/tryAGI.OpenAI/openapi.yaml
@@ -78250,6 +78250,7 @@ components:
x-stainless-const: true
expires_at:
type: integer
+ format: unixtime
description: Unix timestamp (in seconds) for when the session expires.
client_secret:
type: string
@@ -78368,6 +78369,7 @@ components:
type: integer
maximum: 600
minimum: 1
+ format: int64
description: Number of seconds after the anchor when the session expires.
type: object
required:
@@ -78545,6 +78547,7 @@ components:
preview_url:
anyOf:
- type: string
+ format: uri
description: Preview URL for rendering the attachment inline.
- type: 'null'
type: object
@@ -78602,6 +78605,7 @@ components:
x-stainless-const: true
created_at:
type: integer
+ format: unixtime
description: Unix timestamp (in seconds) for when the item was created.
thread_id:
type: string
@@ -78695,6 +78699,7 @@ components:
x-stainless-const: true
url:
type: string
+ format: uri
description: URL referenced by the annotation.
type: object
required:
@@ -78763,6 +78768,7 @@ components:
x-stainless-const: true
created_at:
type: integer
+ format: unixtime
description: Unix timestamp (in seconds) for when the item was created.
thread_id:
type: string
@@ -78803,6 +78809,7 @@ components:
x-stainless-const: true
created_at:
type: integer
+ format: unixtime
description: Unix timestamp (in seconds) for when the item was created.
thread_id:
type: string
@@ -78846,6 +78853,7 @@ components:
x-stainless-const: true
created_at:
type: integer
+ format: unixtime
description: Unix timestamp (in seconds) for when the item was created.
thread_id:
type: string
@@ -78909,6 +78917,7 @@ components:
x-stainless-const: true
created_at:
type: integer
+ format: unixtime
description: Unix timestamp (in seconds) for when the item was created.
thread_id:
type: string
@@ -78989,6 +78998,7 @@ components:
x-stainless-const: true
created_at:
type: integer
+ format: unixtime
description: Unix timestamp (in seconds) for when the item was created.
thread_id:
type: string
@@ -79134,6 +79144,7 @@ components:
x-stainless-const: true
created_at:
type: integer
+ format: unixtime
description: Unix timestamp (in seconds) for when the thread was created.
title:
anyOf: