diff --git a/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json b/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json index 58f66f6c..9547d1f1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json +++ b/src/libs/tryAGI.OpenAI/Generated/autosdk.generated-examples.json @@ -17,7 +17,7 @@ "Slug": "compactconversation", "Description": "Generated from OpenAPI examples.", "Language": "http", - "Code": "### Compact a conversation. Returns a compacted response object.\n\nLearn when and how to compact long-running conversations in the [conversation state guide](/docs/guides/conversation-state#managing-the-context-window). For ZDR-compatible compaction details, see [Compaction (advanced)](/docs/guides/conversation-state#compaction-advanced).\n# @name Compactconversation\nPOST {{host}}/responses/compact\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022model\u0022: \u0022gpt-5.1\u0022,\n \u0022input\u0022: \u0022string\u0022,\n \u0022previous_response_id\u0022: \u0022resp_123\u0022,\n \u0022instructions\u0022: \u0022string\u0022,\n \u0022prompt_cache_key\u0022: \u0022string\u0022,\n \u0022prompt_cache_retention\u0022: \u0022in_memory\u0022\n}\n\n## Responses\n# 200\n# Description: Success\n# Content-Type: application/json", + "Code": "### Compact a conversation. Returns a compacted response object.\n\nLearn when and how to compact long-running conversations in the [conversation state guide](/docs/guides/conversation-state#managing-the-context-window). For ZDR-compatible compaction details, see [Compaction (advanced)](/docs/guides/conversation-state#compaction-advanced).\n# @name Compactconversation\nPOST {{host}}/responses/compact\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022model\u0022: \u0022gpt-5.1\u0022,\n \u0022input\u0022: \u0022string\u0022,\n \u0022previous_response_id\u0022: \u0022resp_123\u0022,\n \u0022instructions\u0022: \u0022string\u0022,\n \u0022prompt_cache_key\u0022: \u0022string\u0022,\n \u0022prompt_cache_retention\u0022: \u0022in_memory\u0022,\n \u0022service_tier\u0022: \u0022auto\u0022\n}\n\n## Responses\n# 200\n# Description: Success\n# Content-Type: application/json", "Format": "http", "OperationId": "Compactconversation", "Setup": null diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.CompactAResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.CompactAResponse.g.cs index 558622d9..993a70cf 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.CompactAResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.CompactAResponse.g.cs @@ -42,6 +42,7 @@ public partial interface IOpenAiClient /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -52,6 +53,7 @@ public partial interface IOpenAiClient string? instructions = default, string? promptCacheKey = default, global::tryAGI.OpenAI.PromptCacheRetentionEnum? promptCacheRetention = default, + global::tryAGI.OpenAI.ServiceTierEnum2? serviceTier = default, global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ServiceTierEnum2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ServiceTierEnum2.g.cs new file mode 100644 index 00000000..6add5a03 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ServiceTierEnum2.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ServiceTierEnum2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ServiceTierEnum2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.ServiceTierEnum2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ServiceTierEnum2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ServiceTierEnum2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ServiceTierEnum2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ServiceTierEnum2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ServiceTierEnum2Nullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ServiceTierEnum2Nullable.g.cs new file mode 100644 index 00000000..a9c07b5e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ServiceTierEnum2Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ServiceTierEnum2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ServiceTierEnum2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::tryAGI.OpenAI.ServiceTierEnum2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ServiceTierEnum2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ServiceTierEnum2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ServiceTierEnum2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::tryAGI.OpenAI.ServiceTierEnum2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs index 44c835ac..675862ea 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs @@ -4061,6 +4061,10 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2JsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2NullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeNullableJsonConverter), @@ -9594,6 +9598,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2JsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2NullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeNullableJsonConverter), @@ -15127,6 +15135,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2JsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2NullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeNullableJsonConverter), @@ -20660,6 +20672,10 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2JsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2NullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeNullableJsonConverter), @@ -26193,6 +26209,10 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2JsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2NullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeNullableJsonConverter), @@ -31726,6 +31746,10 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2JsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2NullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeNullableJsonConverter), @@ -32988,6 +33012,7 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.TokenCountsResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.TokenCountsResourceObject), TypeInfoPropertyName = "TokenCountsResourceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.PromptCacheRetentionEnum), TypeInfoPropertyName = "PromptCacheRetentionEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ServiceTierEnum2), TypeInfoPropertyName = "ServiceTierEnum22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CompactResponseMethodPublicBody))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ItemField), TypeInfoPropertyName = "ItemField2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ItemFieldDiscriminator))] @@ -33199,7 +33224,6 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class SourceGenerationContextChunk5 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -37259,6 +37283,10 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2JsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2NullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeNullableJsonConverter), @@ -38256,6 +38284,7 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -40577,6 +40606,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.TokenCountsResourceObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.PromptCacheRetentionEnumNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2JsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ServiceTierEnum2NullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ItemFieldDiscriminatorTypeNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CompactResourceObjectJsonConverter()); diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs index b34ff166..b38537f9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs @@ -10600,831 +10600,835 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::tryAGI.OpenAI.CompactResponseMethodPublicBody? Type2643 { get; set; } + public global::tryAGI.OpenAI.ServiceTierEnum2? Type2643 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemField? Type2644 { get; set; } + public global::tryAGI.OpenAI.CompactResponseMethodPublicBody? Type2644 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemFieldDiscriminator? Type2645 { get; set; } + public global::tryAGI.OpenAI.ItemField? Type2645 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemFieldDiscriminatorType? Type2646 { get; set; } + public global::tryAGI.OpenAI.ItemFieldDiscriminator? Type2646 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactResource? Type2647 { get; set; } + public global::tryAGI.OpenAI.ItemFieldDiscriminatorType? Type2647 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactResourceObject? Type2648 { get; set; } + public global::tryAGI.OpenAI.CompactResource? Type2648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2649 { get; set; } + public global::tryAGI.OpenAI.CompactResourceObject? Type2649 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillResource? Type2650 { get; set; } + public global::System.Collections.Generic.IList? Type2650 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillResourceObject? Type2651 { get; set; } + public global::tryAGI.OpenAI.SkillResource? Type2651 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillListResource? Type2652 { get; set; } + public global::tryAGI.OpenAI.SkillResourceObject? Type2652 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillListResourceObject? Type2653 { get; set; } + public global::tryAGI.OpenAI.SkillListResource? Type2653 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2654 { get; set; } + public global::tryAGI.OpenAI.SkillListResourceObject? Type2654 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSkillBody? Type2655 { get; set; } + public global::System.Collections.Generic.IList? Type2655 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, byte[]>? Type2656 { get; set; } + public global::tryAGI.OpenAI.CreateSkillBody? Type2656 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SetDefaultSkillVersionBody? Type2657 { get; set; } + public global::tryAGI.OpenAI.OneOf, byte[]>? Type2657 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillResource? Type2658 { get; set; } + public global::tryAGI.OpenAI.SetDefaultSkillVersionBody? Type2658 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillResourceObject? Type2659 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillResource? Type2659 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionResource? Type2660 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillResourceObject? Type2660 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionResourceObject? Type2661 { get; set; } + public global::tryAGI.OpenAI.SkillVersionResource? Type2661 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionListResource? Type2662 { get; set; } + public global::tryAGI.OpenAI.SkillVersionResourceObject? Type2662 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionListResourceObject? Type2663 { get; set; } + public global::tryAGI.OpenAI.SkillVersionListResource? Type2663 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2664 { get; set; } + public global::tryAGI.OpenAI.SkillVersionListResourceObject? Type2664 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSkillVersionBody? Type2665 { get; set; } + public global::System.Collections.Generic.IList? Type2665 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillVersionResource? Type2666 { get; set; } + public global::tryAGI.OpenAI.CreateSkillVersionBody? Type2666 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillVersionResourceObject? Type2667 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillVersionResource? Type2667 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitWorkflowTracing? Type2668 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillVersionResourceObject? Type2668 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitWorkflow? Type2669 { get; set; } + public global::tryAGI.OpenAI.ChatkitWorkflowTracing? Type2669 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2670 { get; set; } + public global::tryAGI.OpenAI.ChatkitWorkflow? Type2670 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionRateLimits? Type2671 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2671 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionStatus? Type2672 { get; set; } + public global::tryAGI.OpenAI.ChatSessionRateLimits? Type2672 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionAutomaticThreadTitling? Type2673 { get; set; } + public global::tryAGI.OpenAI.ChatSessionStatus? Type2673 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionFileUpload? Type2674 { get; set; } + public global::tryAGI.OpenAI.ChatSessionAutomaticThreadTitling? Type2674 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionHistory? Type2675 { get; set; } + public global::tryAGI.OpenAI.ChatSessionFileUpload? Type2675 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionChatkitConfiguration? Type2676 { get; set; } + public global::tryAGI.OpenAI.ChatSessionHistory? Type2676 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionResource? Type2677 { get; set; } + public global::tryAGI.OpenAI.ChatSessionChatkitConfiguration? Type2677 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionResourceObject? Type2678 { get; set; } + public global::tryAGI.OpenAI.ChatSessionResource? Type2678 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WorkflowTracingParam? Type2679 { get; set; } + public global::tryAGI.OpenAI.ChatSessionResourceObject? Type2679 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WorkflowParam? Type2680 { get; set; } + public global::tryAGI.OpenAI.WorkflowTracingParam? Type2680 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExpiresAfterParam? Type2681 { get; set; } + public global::tryAGI.OpenAI.WorkflowParam? Type2681 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExpiresAfterParamAnchor? Type2682 { get; set; } + public global::tryAGI.OpenAI.ExpiresAfterParam? Type2682 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RateLimitsParam? Type2683 { get; set; } + public global::tryAGI.OpenAI.ExpiresAfterParamAnchor? Type2683 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutomaticThreadTitlingParam? Type2684 { get; set; } + public global::tryAGI.OpenAI.RateLimitsParam? Type2684 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileUploadParam? Type2685 { get; set; } + public global::tryAGI.OpenAI.AutomaticThreadTitlingParam? Type2685 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HistoryParam? Type2686 { get; set; } + public global::tryAGI.OpenAI.FileUploadParam? Type2686 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitConfigurationParam? Type2687 { get; set; } + public global::tryAGI.OpenAI.HistoryParam? Type2687 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatSessionBody? Type2688 { get; set; } + public global::tryAGI.OpenAI.ChatkitConfigurationParam? Type2688 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageInputText? Type2689 { get; set; } + public global::tryAGI.OpenAI.CreateChatSessionBody? Type2689 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageInputTextType? Type2690 { get; set; } + public global::tryAGI.OpenAI.UserMessageInputText? Type2690 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageQuotedText? Type2691 { get; set; } + public global::tryAGI.OpenAI.UserMessageInputTextType? Type2691 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageQuotedTextType? Type2692 { get; set; } + public global::tryAGI.OpenAI.UserMessageQuotedText? Type2692 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AttachmentType? Type2693 { get; set; } + public global::tryAGI.OpenAI.UserMessageQuotedTextType? Type2693 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Attachment? Type2694 { get; set; } + public global::tryAGI.OpenAI.AttachmentType? Type2694 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoice8? Type2695 { get; set; } + public global::tryAGI.OpenAI.Attachment? Type2695 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InferenceOptions? Type2696 { get; set; } + public global::tryAGI.OpenAI.ToolChoice8? Type2696 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItem? Type2697 { get; set; } + public global::tryAGI.OpenAI.InferenceOptions? Type2697 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemObject? Type2698 { get; set; } + public global::tryAGI.OpenAI.UserMessageItem? Type2698 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemType? Type2699 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemObject? Type2699 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2700 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemType? Type2700 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem4? Type2701 { get; set; } + public global::System.Collections.Generic.IList? Type2701 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminator? Type2702 { get; set; } + public global::tryAGI.OpenAI.ContentItem4? Type2702 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminatorType? Type2703 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminator? Type2703 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2704 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminatorType? Type2704 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationSource? Type2705 { get; set; } + public global::System.Collections.Generic.IList? Type2705 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationSourceType? Type2706 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationSource? Type2706 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotation? Type2707 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationSourceType? Type2707 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationType? Type2708 { get; set; } + public global::tryAGI.OpenAI.FileAnnotation? Type2708 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationSource? Type2709 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationType? Type2709 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationSourceType? Type2710 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationSource? Type2710 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotation? Type2711 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationSourceType? Type2711 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationType? Type2712 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotation? Type2712 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputText? Type2713 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationType? Type2713 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextType? Type2714 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputText? Type2714 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2715 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextType? Type2715 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationsItem3? Type2716 { get; set; } + public global::System.Collections.Generic.IList? Type2716 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminator? Type2717 { get; set; } + public global::tryAGI.OpenAI.AnnotationsItem3? Type2717 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminatorType? Type2718 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminator? Type2718 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItem? Type2719 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminatorType? Type2719 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemObject? Type2720 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItem? Type2720 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemType? Type2721 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemObject? Type2721 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2722 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemType? Type2722 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItem? Type2723 { get; set; } + public global::System.Collections.Generic.IList? Type2723 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItemObject? Type2724 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItem? Type2724 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItemType? Type2725 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItemObject? Type2725 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallStatus? Type2726 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItemType? Type2726 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItem? Type2727 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallStatus? Type2727 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItemObject? Type2728 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItem? Type2728 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItemType? Type2729 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItemObject? Type2729 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskType? Type2730 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItemType? Type2730 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItem? Type2731 { get; set; } + public global::tryAGI.OpenAI.TaskType? Type2731 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItemObject? Type2732 { get; set; } + public global::tryAGI.OpenAI.TaskItem? Type2732 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItemType? Type2733 { get; set; } + public global::tryAGI.OpenAI.TaskItemObject? Type2733 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupTask? Type2734 { get; set; } + public global::tryAGI.OpenAI.TaskItemType? Type2734 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItem? Type2735 { get; set; } + public global::tryAGI.OpenAI.TaskGroupTask? Type2735 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItemObject? Type2736 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItem? Type2736 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItemType? Type2737 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItemObject? Type2737 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2738 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItemType? Type2738 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItem? Type2739 { get; set; } + public global::System.Collections.Generic.IList? Type2739 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemDiscriminator? Type2740 { get; set; } + public global::tryAGI.OpenAI.ThreadItem? Type2740 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemDiscriminatorType? Type2741 { get; set; } + public global::tryAGI.OpenAI.ThreadItemDiscriminator? Type2741 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemListResource? Type2742 { get; set; } + public global::tryAGI.OpenAI.ThreadItemDiscriminatorType? Type2742 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemListResourceObject? Type2743 { get; set; } + public global::tryAGI.OpenAI.ThreadItemListResource? Type2743 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2744 { get; set; } + public global::tryAGI.OpenAI.ThreadItemListResourceObject? Type2744 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ActiveStatus? Type2745 { get; set; } + public global::System.Collections.Generic.IList? Type2745 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ActiveStatusType? Type2746 { get; set; } + public global::tryAGI.OpenAI.ActiveStatus? Type2746 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LockedStatus? Type2747 { get; set; } + public global::tryAGI.OpenAI.ActiveStatusType? Type2747 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LockedStatusType? Type2748 { get; set; } + public global::tryAGI.OpenAI.LockedStatus? Type2748 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClosedStatus? Type2749 { get; set; } + public global::tryAGI.OpenAI.LockedStatusType? Type2749 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClosedStatusType? Type2750 { get; set; } + public global::tryAGI.OpenAI.ClosedStatus? Type2750 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResource? Type2751 { get; set; } + public global::tryAGI.OpenAI.ClosedStatusType? Type2751 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResourceObject? Type2752 { get; set; } + public global::tryAGI.OpenAI.ThreadResource? Type2752 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Status? Type2753 { get; set; } + public global::tryAGI.OpenAI.ThreadResourceObject? Type2753 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminator? Type2754 { get; set; } + public global::tryAGI.OpenAI.Status? Type2754 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminatorType? Type2755 { get; set; } + public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminator? Type2755 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedThreadResource? Type2756 { get; set; } + public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminatorType? Type2756 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedThreadResourceObject? Type2757 { get; set; } + public global::tryAGI.OpenAI.DeletedThreadResource? Type2757 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadListResource? Type2758 { get; set; } + public global::tryAGI.OpenAI.DeletedThreadResourceObject? Type2758 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadListResourceObject? Type2759 { get; set; } + public global::tryAGI.OpenAI.ThreadListResource? Type2759 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2760 { get; set; } + public global::tryAGI.OpenAI.ThreadListResourceObject? Type2760 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DragPoint? Type2761 { get; set; } + public global::System.Collections.Generic.IList? Type2761 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequest? Type2762 { get; set; } + public global::tryAGI.OpenAI.DragPoint? Type2762 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequestEndpoint? Type2763 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequest? Type2763 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow? Type2764 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequestEndpoint? Type2764 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateChatCompletionRequest? Type2765 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow? Type2765 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateConversationItemsRequest? Type2766 { get; set; } + public global::tryAGI.OpenAI.UpdateChatCompletionRequest? Type2766 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateEvalRequest? Type2767 { get; set; } + public global::tryAGI.OpenAI.CreateConversationItemsRequest? Type2767 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type2768 { get; set; } + public global::tryAGI.OpenAI.UpdateEvalRequest? Type2768 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAssistantsOrder? Type2769 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type2769 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListChatCompletionsOrder? Type2770 { get; set; } + public global::tryAGI.OpenAI.ListAssistantsOrder? Type2770 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetChatCompletionMessagesOrder? Type2771 { get; set; } + public global::tryAGI.OpenAI.ListChatCompletionsOrder? Type2771 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListContainersOrder? Type2772 { get; set; } + public global::tryAGI.OpenAI.GetChatCompletionMessagesOrder? Type2772 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListContainerFilesOrder? Type2773 { get; set; } + public global::tryAGI.OpenAI.ListContainersOrder? Type2773 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListConversationItemsOrder? Type2774 { get; set; } + public global::tryAGI.OpenAI.ListContainerFilesOrder? Type2774 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListEvalsOrder? Type2775 { get; set; } + public global::tryAGI.OpenAI.ListConversationItemsOrder? Type2775 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListEvalsOrderBy? Type2776 { get; set; } + public global::tryAGI.OpenAI.ListEvalsOrder? Type2776 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunsOrder? Type2777 { get; set; } + public global::tryAGI.OpenAI.ListEvalsOrderBy? Type2777 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunsStatus? Type2778 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunsOrder? Type2778 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunOutputItemsStatus? Type2779 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunsStatus? Type2779 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunOutputItemsOrder? Type2780 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunOutputItemsStatus? Type2780 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesOrder? Type2781 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunOutputItemsOrder? Type2781 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionsOrder? Type2782 { get; set; } + public global::tryAGI.OpenAI.ListFilesOrder? Type2782 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type2783 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionsOrder? Type2783 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type2784 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type2784 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2785 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type2785 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListOrganizationCertificatesOrder? Type2786 { get; set; } + public global::System.Collections.Generic.IList? Type2786 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2787 { get; set; } + public global::tryAGI.OpenAI.ListOrganizationCertificatesOrder? Type2787 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetCertificateIncludeItem? Type2788 { get; set; } + public global::System.Collections.Generic.IList? Type2788 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type2789 { get; set; } + public global::tryAGI.OpenAI.GetCertificateIncludeItem? Type2789 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2790 { get; set; } + public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type2790 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type2791 { get; set; } + public global::System.Collections.Generic.IList? Type2791 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupsOrder? Type2792 { get; set; } + public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type2792 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupRoleAssignmentsOrder? Type2793 { get; set; } + public global::tryAGI.OpenAI.ListGroupsOrder? Type2793 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupUsersOrder? Type2794 { get; set; } + public global::tryAGI.OpenAI.ListGroupRoleAssignmentsOrder? Type2794 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectCertificatesOrder? Type2795 { get; set; } + public global::tryAGI.OpenAI.ListGroupUsersOrder? Type2795 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectGroupsOrder? Type2796 { get; set; } + public global::tryAGI.OpenAI.ListProjectCertificatesOrder? Type2796 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRolesOrder? Type2797 { get; set; } + public global::tryAGI.OpenAI.ListProjectGroupsOrder? Type2797 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type2798 { get; set; } + public global::tryAGI.OpenAI.ListRolesOrder? Type2798 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2799 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type2799 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type2800 { get; set; } + public global::System.Collections.Generic.IList? Type2800 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type2801 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type2801 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2802 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type2802 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type2803 { get; set; } + public global::System.Collections.Generic.IList? Type2803 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type2804 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type2804 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2805 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type2805 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type2806 { get; set; } + public global::System.Collections.Generic.IList? Type2806 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type2807 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type2807 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2808 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type2808 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type2809 { get; set; } + public global::System.Collections.Generic.IList? Type2809 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type2810 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type2810 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2811 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type2811 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type2812 { get; set; } + public global::System.Collections.Generic.IList? Type2812 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type2813 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type2813 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2814 { get; set; } + public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type2814 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesSource? Type2815 { get; set; } + public global::System.Collections.Generic.IList? Type2815 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2816 { get; set; } + public global::tryAGI.OpenAI.UsageImagesSource? Type2816 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesSize? Type2817 { get; set; } + public global::System.Collections.Generic.IList? Type2817 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2818 { get; set; } + public global::tryAGI.OpenAI.UsageImagesSize? Type2818 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type2819 { get; set; } + public global::System.Collections.Generic.IList? Type2819 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type2820 { get; set; } + public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type2820 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2821 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type2821 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type2822 { get; set; } + public global::System.Collections.Generic.IList? Type2822 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type2823 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type2823 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2824 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type2824 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type2825 { get; set; } + public global::System.Collections.Generic.IList? Type2825 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListUserRoleAssignmentsOrder? Type2826 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type2826 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectGroupRoleAssignmentsOrder? Type2827 { get; set; } + public global::tryAGI.OpenAI.ListUserRoleAssignmentsOrder? Type2827 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectRolesOrder? Type2828 { get; set; } + public global::tryAGI.OpenAI.ListProjectGroupRoleAssignmentsOrder? Type2828 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectUserRoleAssignmentsOrder? Type2829 { get; set; } + public global::tryAGI.OpenAI.ListProjectRolesOrder? Type2829 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListInputItemsOrder? Type2830 { get; set; } + public global::tryAGI.OpenAI.ListProjectUserRoleAssignmentsOrder? Type2830 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListMessagesOrder? Type2831 { get; set; } + public global::tryAGI.OpenAI.ListInputItemsOrder? Type2831 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunsOrder? Type2832 { get; set; } + public global::tryAGI.OpenAI.ListMessagesOrder? Type2832 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2833 { get; set; } + public global::tryAGI.OpenAI.ListRunsOrder? Type2833 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateRunIncludeItem? Type2834 { get; set; } + public global::System.Collections.Generic.IList? Type2834 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsOrder? Type2835 { get; set; } + public global::tryAGI.OpenAI.CreateRunIncludeItem? Type2835 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2836 { get; set; } + public global::tryAGI.OpenAI.ListRunStepsOrder? Type2836 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type2837 { get; set; } + public global::System.Collections.Generic.IList? Type2837 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2838 { get; set; } + public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type2838 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type2839 { get; set; } + public global::System.Collections.Generic.IList? Type2839 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoresOrder? Type2840 { get; set; } + public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type2840 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type2841 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoresOrder? Type2841 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type2842 { get; set; } + public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type2842 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type2843 { get; set; } + public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type2843 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type2844 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type2844 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2845 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type2845 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteEvalResponse? Type2846 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2846 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteEvalRunResponse? Type2847 { get; set; } + public global::tryAGI.OpenAI.DeleteEvalResponse? Type2847 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type2848 { get; set; } + public global::tryAGI.OpenAI.DeleteEvalRunResponse? Type2848 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject? Type2849 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type2849 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject? Type2850 { get; set; } /// /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBody.g.cs index 7e3e4ba3..b2b4c457 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBody.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBody.g.cs @@ -46,6 +46,12 @@ public sealed partial class CompactResponseMethodPublicBody [global::System.Text.Json.Serialization.JsonPropertyName("prompt_cache_retention")] public global::tryAGI.OpenAI.PromptCacheRetentionEnum? PromptCacheRetention { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("service_tier")] + public global::tryAGI.OpenAI.ServiceTierEnum2? ServiceTier { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -63,6 +69,7 @@ public sealed partial class CompactResponseMethodPublicBody /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -72,7 +79,8 @@ public CompactResponseMethodPublicBody( string? previousResponseId, string? instructions, string? promptCacheKey, - global::tryAGI.OpenAI.PromptCacheRetentionEnum? promptCacheRetention) + global::tryAGI.OpenAI.PromptCacheRetentionEnum? promptCacheRetention, + global::tryAGI.OpenAI.ServiceTierEnum2? serviceTier) { this.Model = model; this.Input = input; @@ -80,6 +88,7 @@ public CompactResponseMethodPublicBody( this.Instructions = instructions; this.PromptCacheKey = promptCacheKey; this.PromptCacheRetention = promptCacheRetention; + this.ServiceTier = serviceTier; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBodyServiceTier.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBodyServiceTier.Json.g.cs new file mode 100644 index 00000000..ad13840a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBodyServiceTier.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CompactResponseMethodPublicBodyServiceTier + { + /// + /// 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::tryAGI.OpenAI.CompactResponseMethodPublicBodyServiceTier? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CompactResponseMethodPublicBodyServiceTier), + jsonSerializerContext) as global::tryAGI.OpenAI.CompactResponseMethodPublicBodyServiceTier; + } + + /// + /// 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::tryAGI.OpenAI.CompactResponseMethodPublicBodyServiceTier? 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::tryAGI.OpenAI.CompactResponseMethodPublicBodyServiceTier), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CompactResponseMethodPublicBodyServiceTier; + } + + /// + /// 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/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBodyServiceTier.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBodyServiceTier.g.cs new file mode 100644 index 00000000..d9d84857 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResponseMethodPublicBodyServiceTier.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class CompactResponseMethodPublicBodyServiceTier + { + + /// + /// 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/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionInputTranscriptDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionInputTranscriptDelta.g.cs index 313405ae..9008e8e4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionInputTranscriptDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionInputTranscriptDelta.g.cs @@ -33,10 +33,7 @@ public sealed partial class RealtimeTranslationServerEventSessionInputTranscript public required string Delta { get; set; } /// - /// Timing metadata for stream alignment, derived from the translation frame
- /// when available. It advances in 200 ms increments, but multiple transcript
- /// deltas may share the same `elapsed_ms`. Treat it as alignment metadata,
- /// not a unique transcript-delta identifier. + /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("elapsed_ms")] public int? ElapsedMs { get; set; } @@ -59,12 +56,7 @@ public sealed partial class RealtimeTranslationServerEventSessionInputTranscript /// /// The event type, must be `session.input_transcript.delta`. /// - /// - /// Timing metadata for stream alignment, derived from the translation frame
- /// when available. It advances in 200 ms increments, but multiple transcript
- /// deltas may share the same `elapsed_ms`. Treat it as alignment metadata,
- /// not a unique transcript-delta identifier. - /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionInputTranscriptDeltaElapsedMs.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionInputTranscriptDeltaElapsedMs.Json.g.cs new file mode 100644 index 00000000..05bdaadc --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionInputTranscriptDeltaElapsedMs.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class RealtimeTranslationServerEventSessionInputTranscriptDeltaElapsedMs + { + /// + /// 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::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDeltaElapsedMs? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDeltaElapsedMs), + jsonSerializerContext) as global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDeltaElapsedMs; + } + + /// + /// 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::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDeltaElapsedMs? 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::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDeltaElapsedMs), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDeltaElapsedMs; + } + + /// + /// 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/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionInputTranscriptDeltaElapsedMs.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionInputTranscriptDeltaElapsedMs.g.cs new file mode 100644 index 00000000..37b9048d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionInputTranscriptDeltaElapsedMs.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class RealtimeTranslationServerEventSessionInputTranscriptDeltaElapsedMs + { + + /// + /// 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/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputAudioDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputAudioDelta.g.cs index efc34345..c5b65cc2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputAudioDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputAudioDelta.g.cs @@ -52,9 +52,7 @@ public sealed partial class RealtimeTranslationServerEventSessionOutputAudioDelt public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaFormat? Format { get; set; } /// - /// Timing metadata for stream alignment, derived from the translation frame
- /// when available. Treat `elapsed_ms` as alignment metadata, not a unique
- /// event identifier. + /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("elapsed_ms")] public int? ElapsedMs { get; set; } @@ -88,11 +86,7 @@ public sealed partial class RealtimeTranslationServerEventSessionOutputAudioDelt /// /// Audio encoding for `delta`. /// - /// - /// Timing metadata for stream alignment, derived from the translation frame
- /// when available. Treat `elapsed_ms` as alignment metadata, not a unique
- /// event identifier. - /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputAudioDeltaElapsedMs.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputAudioDeltaElapsedMs.Json.g.cs new file mode 100644 index 00000000..4cd5a5fe --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputAudioDeltaElapsedMs.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class RealtimeTranslationServerEventSessionOutputAudioDeltaElapsedMs + { + /// + /// 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::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaElapsedMs? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaElapsedMs), + jsonSerializerContext) as global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaElapsedMs; + } + + /// + /// 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::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaElapsedMs? 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::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaElapsedMs), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaElapsedMs; + } + + /// + /// 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/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputAudioDeltaElapsedMs.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputAudioDeltaElapsedMs.g.cs new file mode 100644 index 00000000..82c7d69f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputAudioDeltaElapsedMs.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class RealtimeTranslationServerEventSessionOutputAudioDeltaElapsedMs + { + + /// + /// 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/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputTranscriptDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputTranscriptDelta.g.cs index acbbf492..81fee096 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputTranscriptDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputTranscriptDelta.g.cs @@ -32,10 +32,7 @@ public sealed partial class RealtimeTranslationServerEventSessionOutputTranscrip public required string Delta { get; set; } /// - /// Timing metadata for stream alignment, derived from the translation frame
- /// when available. It advances in 200 ms increments, but multiple transcript
- /// deltas may share the same `elapsed_ms`. Treat it as alignment metadata,
- /// not a unique transcript-delta identifier. + /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("elapsed_ms")] public int? ElapsedMs { get; set; } @@ -58,12 +55,7 @@ public sealed partial class RealtimeTranslationServerEventSessionOutputTranscrip /// /// The event type, must be `session.output_transcript.delta`. /// - /// - /// Timing metadata for stream alignment, derived from the translation frame
- /// when available. It advances in 200 ms increments, but multiple transcript
- /// deltas may share the same `elapsed_ms`. Treat it as alignment metadata,
- /// not a unique transcript-delta identifier. - /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputTranscriptDeltaElapsedMs.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputTranscriptDeltaElapsedMs.Json.g.cs new file mode 100644 index 00000000..0e50738c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputTranscriptDeltaElapsedMs.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class RealtimeTranslationServerEventSessionOutputTranscriptDeltaElapsedMs + { + /// + /// 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::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDeltaElapsedMs? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDeltaElapsedMs), + jsonSerializerContext) as global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDeltaElapsedMs; + } + + /// + /// 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::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDeltaElapsedMs? 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::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDeltaElapsedMs), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDeltaElapsedMs; + } + + /// + /// 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/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputTranscriptDeltaElapsedMs.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputTranscriptDeltaElapsedMs.g.cs new file mode 100644 index 00000000..0c824f25 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranslationServerEventSessionOutputTranscriptDeltaElapsedMs.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class RealtimeTranslationServerEventSessionOutputTranscriptDeltaElapsedMs + { + + /// + /// 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/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ServiceTierEnum2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ServiceTierEnum2.g.cs new file mode 100644 index 00000000..7563b8de --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ServiceTierEnum2.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public enum ServiceTierEnum2 + { + /// + /// + /// + Auto, + /// + /// + /// + Default, + /// + /// + /// + Flex, + /// + /// + /// + Priority, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ServiceTierEnum2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ServiceTierEnum2 value) + { + return value switch + { + ServiceTierEnum2.Auto => "auto", + ServiceTierEnum2.Default => "default", + ServiceTierEnum2.Flex => "flex", + ServiceTierEnum2.Priority => "priority", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ServiceTierEnum2? ToEnum(string value) + { + return value switch + { + "auto" => ServiceTierEnum2.Auto, + "default" => ServiceTierEnum2.Default, + "flex" => ServiceTierEnum2.Flex, + "priority" => ServiceTierEnum2.Priority, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.CompactAResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.CompactAResponse.g.cs index 5c28c43c..6e42713f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.CompactAResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.CompactAResponse.g.cs @@ -449,6 +449,7 @@ partial void ProcessCompactAResponseResponseContent( /// /// /// + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -459,6 +460,7 @@ partial void ProcessCompactAResponseResponseContent( string? instructions = default, string? promptCacheKey = default, global::tryAGI.OpenAI.PromptCacheRetentionEnum? promptCacheRetention = default, + global::tryAGI.OpenAI.ServiceTierEnum2? serviceTier = default, global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -470,6 +472,7 @@ partial void ProcessCompactAResponseResponseContent( Instructions = instructions, PromptCacheKey = promptCacheKey, PromptCacheRetention = promptCacheRetention, + ServiceTier = serviceTier, }; return await CompactAResponseAsync( diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml index eb0d2460..ccc56933 100644 --- a/src/libs/tryAGI.OpenAI/openapi.yaml +++ b/src/libs/tryAGI.OpenAI/openapi.yaml @@ -65548,19 +65548,20 @@ components: type: string description: Append-only source-language transcript text. elapsed_ms: - type: integer - nullable: true - description: > - Timing metadata for stream alignment, derived from the translation - frame + anyOf: + - type: integer + description: > + Timing metadata for stream alignment, derived from the + translation frame - when available. It advances in 200 ms increments, but multiple - transcript + when available. It advances in 200 ms increments, but multiple + transcript - deltas may share the same `elapsed_ms`. Treat it as alignment - metadata, + deltas may share the same `elapsed_ms`. Treat it as alignment + metadata, - not a unique transcript-delta identifier. + not a unique transcript-delta identifier. + - type: 'null' required: - event_id - type @@ -65610,16 +65611,17 @@ components: description: Audio encoding for `delta`. x-stainless-const: true elapsed_ms: - type: integer - nullable: true - description: > - Timing metadata for stream alignment, derived from the translation - frame + anyOf: + - type: integer + description: > + Timing metadata for stream alignment, derived from the + translation frame - when available. Treat `elapsed_ms` as alignment metadata, not a - unique + when available. Treat `elapsed_ms` as alignment metadata, not a + unique - event identifier. + event identifier. + - type: 'null' required: - event_id - type @@ -65661,19 +65663,20 @@ components: type: string description: Append-only transcript text for the translated output audio. elapsed_ms: - type: integer - nullable: true - description: > - Timing metadata for stream alignment, derived from the translation - frame + anyOf: + - type: integer + description: > + Timing metadata for stream alignment, derived from the + translation frame - when available. It advances in 200 ms increments, but multiple - transcript + when available. It advances in 200 ms increments, but multiple + transcript - deltas may share the same `elapsed_ms`. Treat it as alignment - metadata, + deltas may share the same `elapsed_ms`. Treat it as alignment + metadata, - not a unique transcript-delta identifier. + not a unique transcript-delta identifier. + - type: 'null' required: - event_id - type @@ -78779,6 +78782,13 @@ components: enum: - in_memory - 24h + ServiceTierEnum: + type: string + enum: + - auto + - default + - flex + - priority CompactResponseMethodPublicBody: properties: model: @@ -78834,6 +78844,11 @@ components: - $ref: '#/components/schemas/PromptCacheRetentionEnum' description: How long to retain a prompt cache entry created by this request. - type: 'null' + service_tier: + anyOf: + - $ref: '#/components/schemas/ServiceTierEnum' + description: The service tier to use for this request. + - type: 'null' type: object required: - model