From 0b874d64400fdb08f90a527a070dbd136e017a86 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 16 May 2026 01:57:18 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .claude/skills/tryagi-openai/SKILL.md | 5 +- .claude/skills/tryagi-openai/commands.md | 12 + ...nt.ModifyProjectHostedToolPermissions.g.cs | 497 +++ ....RetrieveProjectHostedToolPermissions.g.cs | 430 ++ .../tryAGI.OpenAI.HostedToolsClient.g.cs | 136 + ...nt.ModifyProjectHostedToolPermissions.g.cs | 67 + ....RetrieveProjectHostedToolPermissions.g.cs | 30 + .../tryAGI.OpenAI.IHostedToolsClient.g.cs | 48 + ...GI.OpenAI.IInvitesClient.CreateInvite.g.cs | 2 +- .../tryAGI.OpenAI.IOpenAiClient.g.cs | 5 + ...sClient.DeleteProjectModelPermissions.g.cs | 30 + ...sClient.ModifyProjectModelPermissions.g.cs | 55 + ...lient.RetrieveProjectModelPermissions.g.cs | 30 + ...I.OpenAI.IUsageClient.FileSearchCalls.g.cs | 70 + ...GI.OpenAI.IUsageClient.WebSearchCalls.g.cs | 74 + ...AGI.OpenAI.InvitesClient.CreateInvite.g.cs | 2 +- ...erters.CompactionTriggerItemParamType.g.cs | 53 + ...ompactionTriggerItemParamTypeNullable.g.cs | 60 + ...ryAGI.OpenAI.JsonConverters.InputItem.g.cs | 52 +- ...tModelPermissionsDeleteResponseObject.g.cs | 53 + ...rmissionsDeleteResponseObjectNullable.g.cs | 60 + ...onverters.ProjectModelPermissionsMode.g.cs | 53 + ...s.ProjectModelPermissionsModeNullable.g.cs | 60 + ...verters.ProjectModelPermissionsObject.g.cs | 53 + ...ProjectModelPermissionsObjectNullable.g.cs | 60 + ...jectModelPermissionsUpdateRequestMode.g.cs | 53 + ...lPermissionsUpdateRequestModeNullable.g.cs | 60 + ...AGI.OpenAI.JsonConverters.ResultsItem.g.cs | 30 + ...rters.UsageFileSearchCallsBucketWidth.g.cs | 53 + ...ageFileSearchCallsBucketWidthNullable.g.cs | 60 + ...rters.UsageFileSearchCallsGroupByItem.g.cs | 53 + ...ageFileSearchCallsGroupByItemNullable.g.cs | 60 + ...ters.UsageFileSearchCallsResultObject.g.cs | 53 + ...geFileSearchCallsResultObjectNullable.g.cs | 60 + ...erters.UsageWebSearchCallsBucketWidth.g.cs | 53 + ...sageWebSearchCallsBucketWidthNullable.g.cs | 60 + ...rters.UsageWebSearchCallsContextLevel.g.cs | 53 + ...ageWebSearchCallsContextLevelNullable.g.cs | 60 + ...erters.UsageWebSearchCallsGroupByItem.g.cs | 53 + ...sageWebSearchCallsGroupByItemNullable.g.cs | 60 + ...rters.UsageWebSearchCallsResultObject.g.cs | 53 + ...ageWebSearchCallsResultObjectNullable.g.cs | 60 + .../tryAGI.OpenAI.JsonSerializerContext.g.cs | 518 ++- ...AGI.OpenAI.JsonSerializerContextTypes.g.cs | 3898 +++++++++-------- ...odels.CompactionTriggerItemParam.Json.g.cs | 92 + ...nAI.Models.CompactionTriggerItemParam.g.cs | 50 + ...Models.CompactionTriggerItemParamType.g.cs | 46 + ...enAI.Models.HostedToolPermission.Json.g.cs | 92 + ...GI.OpenAI.Models.HostedToolPermission.g.cs | 47 + ...odels.HostedToolPermissionUpdate.Json.g.cs | 92 + ...nAI.Models.HostedToolPermissionUpdate.g.cs | 47 + .../tryAGI.OpenAI.Models.InputItem.g.cs | 85 +- ...nAI.Models.InputItemDiscriminatorType.g.cs | 6 + .../tryAGI.OpenAI.Models.InviteRequest.g.cs | 4 +- ...els.ProjectHostedToolPermissions.Json.g.cs | 92 + ...I.Models.ProjectHostedToolPermissions.g.cs | 95 + ...stedToolPermissionsUpdateRequest.Json.g.cs | 92 + ...ectHostedToolPermissionsUpdateRequest.g.cs | 90 + ...ionsUpdateRequestCodeInterpreter.Json.g.cs | 92 + ...rmissionsUpdateRequestCodeInterpreter.g.cs | 19 + ...rmissionsUpdateRequestFileSearch.Json.g.cs | 92 + ...oolPermissionsUpdateRequestFileSearch.g.cs | 19 + ...ionsUpdateRequestImageGeneration.Json.g.cs | 92 + ...rmissionsUpdateRequestImageGeneration.g.cs | 19 + ...dToolPermissionsUpdateRequestMcp.Json.g.cs | 92 + ...HostedToolPermissionsUpdateRequestMcp.g.cs | 19 + ...ermissionsUpdateRequestWebSearch.Json.g.cs | 92 + ...ToolPermissionsUpdateRequestWebSearch.g.cs | 19 + ...I.Models.ProjectModelPermissions.Json.g.cs | 92 + ...OpenAI.Models.ProjectModelPermissions.g.cs | 72 + ...ctModelPermissionsDeleteResponse.Json.g.cs | 92 + ...ProjectModelPermissionsDeleteResponse.g.cs | 59 + ...tModelPermissionsDeleteResponseObject.g.cs | 45 + ...AI.Models.ProjectModelPermissionsMode.g.cs | 51 + ....Models.ProjectModelPermissionsObject.g.cs | 45 + ...ectModelPermissionsUpdateRequest.Json.g.cs | 92 + ....ProjectModelPermissionsUpdateRequest.g.cs | 60 + ...jectModelPermissionsUpdateRequestMode.g.cs | 51 + .../tryAGI.OpenAI.Models.ResultsItem.g.cs | 168 +- ...odels.UsageFileSearchCallsBucketWidth.g.cs | 57 + ...odels.UsageFileSearchCallsGroupByItem.g.cs | 63 + ...odels.UsageFileSearchCallsResult.Json.g.cs | 92 + ...nAI.Models.UsageFileSearchCallsResult.g.cs | 93 + ...ageFileSearchCallsResultApiKeyId.Json.g.cs | 92 + ...ls.UsageFileSearchCallsResultApiKeyId.g.cs | 19 + ...dels.UsageFileSearchCallsResultObject.g.cs | 45 + ...geFileSearchCallsResultProjectId.Json.g.cs | 92 + ...s.UsageFileSearchCallsResultProjectId.g.cs | 19 + ...UsageFileSearchCallsResultUserId.Json.g.cs | 92 + ...dels.UsageFileSearchCallsResultUserId.g.cs | 19 + ...leSearchCallsResultVectorStoreId.Json.g.cs | 92 + ...ageFileSearchCallsResultVectorStoreId.g.cs | 19 + ...geTimeBucketResultDiscriminatorObject.g.cs | 12 + ...Models.UsageWebSearchCallsBucketWidth.g.cs | 57 + ...odels.UsageWebSearchCallsContextLevel.g.cs | 57 + ...Models.UsageWebSearchCallsGroupByItem.g.cs | 69 + ...Models.UsageWebSearchCallsResult.Json.g.cs | 92 + ...enAI.Models.UsageWebSearchCallsResult.g.cs | 114 + ...sageWebSearchCallsResultApiKeyId.Json.g.cs | 92 + ...els.UsageWebSearchCallsResultApiKeyId.g.cs | 19 + ...WebSearchCallsResultContextLevel.Json.g.cs | 92 + ...UsageWebSearchCallsResultContextLevel.g.cs | 19 + ...s.UsageWebSearchCallsResultModel.Json.g.cs | 92 + ...Models.UsageWebSearchCallsResultModel.g.cs | 19 + ...odels.UsageWebSearchCallsResultObject.g.cs | 45 + ...ageWebSearchCallsResultProjectId.Json.g.cs | 92 + ...ls.UsageWebSearchCallsResultProjectId.g.cs | 19 + ....UsageWebSearchCallsResultUserId.Json.g.cs | 92 + ...odels.UsageWebSearchCallsResultUserId.g.cs | 19 + .../Generated/tryAGI.OpenAI.OpenAiClient.g.cs | 9 + ...sClient.DeleteProjectModelPermissions.g.cs | 430 ++ ...sClient.ModifyProjectModelPermissions.g.cs | 482 ++ ...lient.RetrieveProjectModelPermissions.g.cs | 430 ++ ...GI.OpenAI.UsageClient.FileSearchCalls.g.cs | 527 +++ ...AGI.OpenAI.UsageClient.WebSearchCalls.g.cs | 537 +++ src/libs/tryAGI.OpenAI/openapi.yaml | 1182 ++++- 116 files changed, 12917 insertions(+), 2134 deletions(-) create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.HostedToolsClient.ModifyProjectHostedToolPermissions.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.HostedToolsClient.RetrieveProjectHostedToolPermissions.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.HostedToolsClient.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IHostedToolsClient.ModifyProjectHostedToolPermissions.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IHostedToolsClient.RetrieveProjectHostedToolPermissions.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IHostedToolsClient.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.DeleteProjectModelPermissions.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.ModifyProjectModelPermissions.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.RetrieveProjectModelPermissions.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsageClient.FileSearchCalls.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsageClient.WebSearchCalls.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsMode.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestMode.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidth.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItem.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidth.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevel.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItem.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionTriggerItemParam.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionTriggerItemParam.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionTriggerItemParamType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.HostedToolPermission.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.HostedToolPermission.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.HostedToolPermissionUpdate.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.HostedToolPermissionUpdate.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissions.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissions.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequest.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequest.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestCodeInterpreter.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestCodeInterpreter.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestFileSearch.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestFileSearch.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestImageGeneration.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestImageGeneration.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestMcp.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestMcp.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestWebSearch.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestWebSearch.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissions.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissions.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsDeleteResponse.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsDeleteResponse.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsDeleteResponseObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsMode.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsUpdateRequest.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsUpdateRequest.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsUpdateRequestMode.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsBucketWidth.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsGroupByItem.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResult.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResult.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultApiKeyId.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultApiKeyId.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultProjectId.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultProjectId.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultUserId.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultUserId.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultVectorStoreId.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultVectorStoreId.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsBucketWidth.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsContextLevel.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsGroupByItem.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResult.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResult.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultApiKeyId.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultApiKeyId.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultContextLevel.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultContextLevel.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultModel.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultModel.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultProjectId.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultProjectId.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultUserId.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultUserId.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.DeleteProjectModelPermissions.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.ModifyProjectModelPermissions.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.RetrieveProjectModelPermissions.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UsageClient.FileSearchCalls.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UsageClient.WebSearchCalls.g.cs diff --git a/.claude/skills/tryagi-openai/SKILL.md b/.claude/skills/tryagi-openai/SKILL.md index 874e00e60..9023f9a40 100644 --- a/.claude/skills/tryagi-openai/SKILL.md +++ b/.claude/skills/tryagi-openai/SKILL.md @@ -40,11 +40,12 @@ dnx tryAGI.OpenAI.CLI --help | `group` | 4 | | | `group-organization-role-assignment` | 3 | | | `group-user` | 3 | | +| `hosted-tool` | 2 | | | `image` | 3 | Given a prompt and/or an input image, the model will generate a new image. | | `invite` | 4 | | | `model` | 3 | List and describe the various models available in the API. | | `moderation` | 1 | Given text and/or image inputs, classifies if those inputs are potentially harmful. | -| `project` | 19 | | +| `project` | 22 | | | `project-group` | 3 | | | `project-group-role-assignment` | 3 | | | `project-user-role-assignment` | 3 | | @@ -53,7 +54,7 @@ dnx tryAGI.OpenAI.CLI --help | `role` | 8 | | | `skill` | 11 | | | `upload` | 4 | Use Uploads to upload large files in multiple parts. | -| `usage` | 9 | | +| `usage` | 11 | | | `user` | 4 | | | `user-organization-role-assignment` | 3 | | | `vector-store` | 16 | | diff --git a/.claude/skills/tryagi-openai/commands.md b/.claude/skills/tryagi-openai/commands.md index e25a75bce..f325e0f24 100644 --- a/.claude/skills/tryagi-openai/commands.md +++ b/.claude/skills/tryagi-openai/commands.md @@ -197,6 +197,13 @@ Manage fine-tuning jobs to tailor a model to your specific training data. | `list-group-users` | `GET /organization/groups/{group_id}/users` | Lists the users assigned to a group. | | `remove-group-user` | `DELETE /organization/groups/{group_id}/users/{user_id}` | Removes a user from a group. | +## `hosted-tool` + +| Command | Route | Description | +|---------|-------|-------------| +| `modify-project-hosted-tool-permissions` | `POST /organization/projects/{project_id}/hosted_tool_permissions` | Updates hosted tool permissions for a project. | +| `retrieve-project-hosted-tool-permissions` | `GET /organization/projects/{project_id}/hosted_tool_permissions` | Returns hosted tool permissions for a project. | + ## `image` Given a prompt and/or an input image, the model will generate a new image. @@ -243,6 +250,7 @@ Given text and/or image inputs, classifies if those inputs are potentially harmf | `create-project-service-account` | `POST /organization/projects/{project_id}/service_accounts` | Creates a new service account in the project. This also returns an unredacted API key for the service account. | | `create-project-user` | `POST /organization/projects/{project_id}/users` | Adds a user to the project. Users must already be members of the organization to be added to a project. | | `delete-project-api-key` | `DELETE /organization/projects/{project_id}/api_keys/{api_key_id}` | Deletes an API key from the project. Returns confirmation of the key deletion, or an error if the key belonged to a service account. | +| `delete-project-model-permissions` | `DELETE /organization/projects/{project_id}/model_permissions` | Deletes model permissions for a project. | | `delete-project-service-account` | `DELETE /organization/projects/{project_id}/service_accounts/{service_account_id}` | Deletes a service account from the project. Returns confirmation of service account deletion, or an error if the project is archived (archived projects have no service accounts). | | `delete-project-user` | `DELETE /organization/projects/{project_id}/users/{user_id}` | Deletes a user from the project. Returns confirmation of project user deletion, or an error if the project is archived (archived projects have no users). | | `list-project-api-keys` | `GET /organization/projects/{project_id}/api_keys` | Returns a list of API keys in the project. | @@ -251,10 +259,12 @@ Given text and/or image inputs, classifies if those inputs are potentially harmf | `list-project-users` | `GET /organization/projects/{project_id}/users` | Returns a list of users in the project. | | `list-projects` | `GET /organization/projects` | Returns a list of projects. | | `modify-project` | `POST /organization/projects/{project_id}` | Modifies a project in the organization. | +| `modify-project-model-permissions` | `POST /organization/projects/{project_id}/model_permissions` | Updates model permissions for a project. | | `modify-project-rate-limit` | `POST /organization/projects/{project_id}/rate_limits/{rate_limit_id}` | Updates a project rate limit. | | `modify-project-user` | `POST /organization/projects/{project_id}/users/{user_id}` | Modifies a user's role in the project. | | `retrieve-project` | `GET /organization/projects/{project_id}` | Retrieves a project. | | `retrieve-project-api-key` | `GET /organization/projects/{project_id}/api_keys/{api_key_id}` | Retrieves an API key in the project. | +| `retrieve-project-model-permissions` | `GET /organization/projects/{project_id}/model_permissions` | Returns model permissions for a project. | | `retrieve-project-service-account` | `GET /organization/projects/{project_id}/service_accounts/{service_account_id}` | Retrieves a service account in the project. | | `retrieve-project-user` | `GET /organization/projects/{project_id}/users/{user_id}` | Retrieves a user in the project. | @@ -356,9 +366,11 @@ Use Uploads to upload large files in multiple parts. | `completions` | `GET /organization/usage/completions` | Get completions usage details for the organization. | | `costs` | `GET /organization/costs` | Get costs details for the organization. | | `embeddings` | `GET /organization/usage/embeddings` | Get embeddings usage details for the organization. | +| `file-search-calls` | `GET /organization/usage/file_search_calls` | Get file search calls usage details for the organization. | | `images` | `GET /organization/usage/images` | Get images usage details for the organization. | | `moderations` | `GET /organization/usage/moderations` | Get moderations usage details for the organization. | | `vector-stores` | `GET /organization/usage/vector_stores` | Get vector stores usage details for the organization. | +| `web-search-calls` | `GET /organization/usage/web_search_calls` | Get web search calls usage details for the organization. | ## `user` diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.HostedToolsClient.ModifyProjectHostedToolPermissions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.HostedToolsClient.ModifyProjectHostedToolPermissions.g.cs new file mode 100644 index 000000000..8747e6e96 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.HostedToolsClient.ModifyProjectHostedToolPermissions.g.cs @@ -0,0 +1,497 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class HostedToolsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_ModifyProjectHostedToolPermissionsSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_ModifyProjectHostedToolPermissionsSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_ModifyProjectHostedToolPermissionsSecurityRequirement0, + }; + partial void PrepareModifyProjectHostedToolPermissionsArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequest request); + partial void PrepareModifyProjectHostedToolPermissionsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequest request); + partial void ProcessModifyProjectHostedToolPermissionsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessModifyProjectHostedToolPermissionsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Updates hosted tool permissions for a project. + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ModifyProjectHostedToolPermissionsAsync( + string projectId, + + global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequest request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ModifyProjectHostedToolPermissionsAsResponseAsync( + projectId: projectId, + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Updates hosted tool permissions for a project. + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> ModifyProjectHostedToolPermissionsAsResponseAsync( + string projectId, + + global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequest request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareModifyProjectHostedToolPermissionsArguments( + httpClient: HttpClient, + projectId: ref projectId, + request: request); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ModifyProjectHostedToolPermissionsSecurityRequirements, + operationName: "ModifyProjectHostedToolPermissionsAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/projects/{projectId}/hosted_tool_permissions", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareModifyProjectHostedToolPermissionsRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!, + request: request); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ModifyProjectHostedToolPermissions", + methodName: "ModifyProjectHostedToolPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/hosted_tool_permissions\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ModifyProjectHostedToolPermissions", + methodName: "ModifyProjectHostedToolPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/hosted_tool_permissions\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ModifyProjectHostedToolPermissions", + methodName: "ModifyProjectHostedToolPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/hosted_tool_permissions\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessModifyProjectHostedToolPermissionsResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ModifyProjectHostedToolPermissions", + methodName: "ModifyProjectHostedToolPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/hosted_tool_permissions\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ModifyProjectHostedToolPermissions", + methodName: "ModifyProjectHostedToolPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/hosted_tool_permissions\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessModifyProjectHostedToolPermissionsResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.ProjectHostedToolPermissions.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.ProjectHostedToolPermissions.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Updates hosted tool permissions for a project. + /// + /// + /// + /// The file search permission update. + /// + /// + /// The web search permission update. + /// + /// + /// The image generation permission update. + /// + /// + /// The MCP permission update. + /// + /// + /// The code interpreter permission update. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ModifyProjectHostedToolPermissionsAsync( + string projectId, + global::tryAGI.OpenAI.HostedToolPermissionUpdate? fileSearch = default, + global::tryAGI.OpenAI.HostedToolPermissionUpdate? webSearch = default, + global::tryAGI.OpenAI.HostedToolPermissionUpdate? imageGeneration = default, + global::tryAGI.OpenAI.HostedToolPermissionUpdate? mcp = default, + global::tryAGI.OpenAI.HostedToolPermissionUpdate? codeInterpreter = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequest + { + FileSearch = fileSearch, + WebSearch = webSearch, + ImageGeneration = imageGeneration, + Mcp = mcp, + CodeInterpreter = codeInterpreter, + }; + + return await ModifyProjectHostedToolPermissionsAsync( + projectId: projectId, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.HostedToolsClient.RetrieveProjectHostedToolPermissions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.HostedToolsClient.RetrieveProjectHostedToolPermissions.g.cs new file mode 100644 index 000000000..307c3188b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.HostedToolsClient.RetrieveProjectHostedToolPermissions.g.cs @@ -0,0 +1,430 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class HostedToolsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_RetrieveProjectHostedToolPermissionsSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_RetrieveProjectHostedToolPermissionsSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_RetrieveProjectHostedToolPermissionsSecurityRequirement0, + }; + partial void PrepareRetrieveProjectHostedToolPermissionsArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId); + partial void PrepareRetrieveProjectHostedToolPermissionsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId); + partial void ProcessRetrieveProjectHostedToolPermissionsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessRetrieveProjectHostedToolPermissionsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Returns hosted tool permissions for a project. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task RetrieveProjectHostedToolPermissionsAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await RetrieveProjectHostedToolPermissionsAsResponseAsync( + projectId: projectId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Returns hosted tool permissions for a project. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> RetrieveProjectHostedToolPermissionsAsResponseAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareRetrieveProjectHostedToolPermissionsArguments( + httpClient: HttpClient, + projectId: ref projectId); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_RetrieveProjectHostedToolPermissionsSecurityRequirements, + operationName: "RetrieveProjectHostedToolPermissionsAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/projects/{projectId}/hosted_tool_permissions", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareRetrieveProjectHostedToolPermissionsRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectHostedToolPermissions", + methodName: "RetrieveProjectHostedToolPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/hosted_tool_permissions\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectHostedToolPermissions", + methodName: "RetrieveProjectHostedToolPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/hosted_tool_permissions\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectHostedToolPermissions", + methodName: "RetrieveProjectHostedToolPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/hosted_tool_permissions\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessRetrieveProjectHostedToolPermissionsResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectHostedToolPermissions", + methodName: "RetrieveProjectHostedToolPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/hosted_tool_permissions\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectHostedToolPermissions", + methodName: "RetrieveProjectHostedToolPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/hosted_tool_permissions\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessRetrieveProjectHostedToolPermissionsResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.ProjectHostedToolPermissions.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.ProjectHostedToolPermissions.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.HostedToolsClient.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.HostedToolsClient.g.cs new file mode 100644 index 000000000..f01ffa185 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.HostedToolsClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class HostedToolsClient : global::tryAGI.OpenAI.IHostedToolsClient, global::System.IDisposable + { + /// + /// + /// + public const string DefaultBaseUrl = "https://api.openai.com/v1"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => HttpClient.BaseAddress; + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + + /// + public global::tryAGI.OpenAI.AutoSDKClientOptions Options { get; } + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::tryAGI.OpenAI.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the HostedToolsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public HostedToolsClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this( + httpClient, + baseUri, + authorizations, + options: null, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the HostedToolsClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public HostedToolsClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::tryAGI.OpenAI.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the HostedToolsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public HostedToolsClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::tryAGI.OpenAI.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::tryAGI.OpenAI.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IHostedToolsClient.ModifyProjectHostedToolPermissions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IHostedToolsClient.ModifyProjectHostedToolPermissions.g.cs new file mode 100644 index 000000000..ffc8ddeb5 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IHostedToolsClient.ModifyProjectHostedToolPermissions.g.cs @@ -0,0 +1,67 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IHostedToolsClient + { + /// + /// Updates hosted tool permissions for a project. + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyProjectHostedToolPermissionsAsync( + string projectId, + + global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequest request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Updates hosted tool permissions for a project. + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ModifyProjectHostedToolPermissionsAsResponseAsync( + string projectId, + + global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequest request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Updates hosted tool permissions for a project. + /// + /// + /// + /// The file search permission update. + /// + /// + /// The web search permission update. + /// + /// + /// The image generation permission update. + /// + /// + /// The MCP permission update. + /// + /// + /// The code interpreter permission update. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyProjectHostedToolPermissionsAsync( + string projectId, + global::tryAGI.OpenAI.HostedToolPermissionUpdate? fileSearch = default, + global::tryAGI.OpenAI.HostedToolPermissionUpdate? webSearch = default, + global::tryAGI.OpenAI.HostedToolPermissionUpdate? imageGeneration = default, + global::tryAGI.OpenAI.HostedToolPermissionUpdate? mcp = default, + global::tryAGI.OpenAI.HostedToolPermissionUpdate? codeInterpreter = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IHostedToolsClient.RetrieveProjectHostedToolPermissions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IHostedToolsClient.RetrieveProjectHostedToolPermissions.g.cs new file mode 100644 index 000000000..0010ec97f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IHostedToolsClient.RetrieveProjectHostedToolPermissions.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IHostedToolsClient + { + /// + /// Returns hosted tool permissions for a project. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveProjectHostedToolPermissionsAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Returns hosted tool permissions for a project. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> RetrieveProjectHostedToolPermissionsAsResponseAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IHostedToolsClient.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IHostedToolsClient.g.cs new file mode 100644 index 000000000..7983a4ff5 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IHostedToolsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IHostedToolsClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + /// + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// + public global::tryAGI.OpenAI.AutoSDKClientOptions Options { get; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IInvitesClient.CreateInvite.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IInvitesClient.CreateInvite.g.cs index 9a20f1cde..d766db27b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IInvitesClient.CreateInvite.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IInvitesClient.CreateInvite.g.cs @@ -38,7 +38,7 @@ public partial interface IInvitesClient /// `owner` or `reader` /// /// - /// An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior. + /// An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior. If empty list is passed, the user will not be invited to any projects, including the default one. /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.g.cs index 94b29f3f4..e7d2f342e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.g.cs @@ -120,6 +120,11 @@ public partial interface IOpenAiClient : global::System.IDisposable /// public GroupsClient Groups { get; } + /// + /// + /// + public HostedToolsClient HostedTools { get; } + /// /// Given a prompt and/or an input image, the model will generate a new image. /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.DeleteProjectModelPermissions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.DeleteProjectModelPermissions.g.cs new file mode 100644 index 000000000..e25a4aff6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.DeleteProjectModelPermissions.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IProjectsClient + { + /// + /// Deletes model permissions for a project. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteProjectModelPermissionsAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Deletes model permissions for a project. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DeleteProjectModelPermissionsAsResponseAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.ModifyProjectModelPermissions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.ModifyProjectModelPermissions.g.cs new file mode 100644 index 000000000..9678409a2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.ModifyProjectModelPermissions.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IProjectsClient + { + /// + /// Updates model permissions for a project. + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyProjectModelPermissionsAsync( + string projectId, + + global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequest request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Updates model permissions for a project. + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ModifyProjectModelPermissionsAsResponseAsync( + string projectId, + + global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequest request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Updates model permissions for a project. + /// + /// + /// + /// The model permissions mode to apply. + /// + /// + /// The model IDs included in this permissions policy. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyProjectModelPermissionsAsync( + string projectId, + global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode mode, + global::System.Collections.Generic.IList modelIds, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.RetrieveProjectModelPermissions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.RetrieveProjectModelPermissions.g.cs new file mode 100644 index 000000000..1e710e252 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.RetrieveProjectModelPermissions.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IProjectsClient + { + /// + /// Returns model permissions for a project. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveProjectModelPermissionsAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Returns model permissions for a project. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> RetrieveProjectModelPermissionsAsResponseAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsageClient.FileSearchCalls.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsageClient.FileSearchCalls.g.cs new file mode 100644 index 000000000..e6e26540d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsageClient.FileSearchCalls.g.cs @@ -0,0 +1,70 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IUsageClient + { + /// + /// Get file search calls usage details for the organization. + /// + /// + /// + /// + /// Default Value: 1d + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileSearchCallsAsync( + int startTime, + int? endTime = default, + global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth? bucketWidth = default, + global::System.Collections.Generic.IList? projectIds = default, + global::System.Collections.Generic.IList? userIds = default, + global::System.Collections.Generic.IList? apiKeyIds = default, + global::System.Collections.Generic.IList? vectorStoreIds = default, + global::System.Collections.Generic.IList? groupBy = default, + int? limit = default, + string? page = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Get file search calls usage details for the organization. + /// + /// + /// + /// + /// Default Value: 1d + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> FileSearchCallsAsResponseAsync( + int startTime, + int? endTime = default, + global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth? bucketWidth = default, + global::System.Collections.Generic.IList? projectIds = default, + global::System.Collections.Generic.IList? userIds = default, + global::System.Collections.Generic.IList? apiKeyIds = default, + global::System.Collections.Generic.IList? vectorStoreIds = default, + global::System.Collections.Generic.IList? groupBy = default, + int? limit = default, + string? page = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsageClient.WebSearchCalls.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsageClient.WebSearchCalls.g.cs new file mode 100644 index 000000000..653dba545 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsageClient.WebSearchCalls.g.cs @@ -0,0 +1,74 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IUsageClient + { + /// + /// Get web search calls usage details for the organization. + /// + /// + /// + /// + /// Default Value: 1d + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task WebSearchCallsAsync( + int startTime, + int? endTime = default, + global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth? bucketWidth = default, + global::System.Collections.Generic.IList? projectIds = default, + global::System.Collections.Generic.IList? userIds = default, + global::System.Collections.Generic.IList? apiKeyIds = default, + global::System.Collections.Generic.IList? models = default, + global::System.Collections.Generic.IList? contextLevels = default, + global::System.Collections.Generic.IList? groupBy = default, + int? limit = default, + string? page = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Get web search calls usage details for the organization. + /// + /// + /// + /// + /// Default Value: 1d + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> WebSearchCallsAsResponseAsync( + int startTime, + int? endTime = default, + global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth? bucketWidth = default, + global::System.Collections.Generic.IList? projectIds = default, + global::System.Collections.Generic.IList? userIds = default, + global::System.Collections.Generic.IList? apiKeyIds = default, + global::System.Collections.Generic.IList? models = default, + global::System.Collections.Generic.IList? contextLevels = default, + global::System.Collections.Generic.IList? groupBy = default, + int? limit = default, + string? page = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.InvitesClient.CreateInvite.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.InvitesClient.CreateInvite.g.cs index 84eeb76c4..8d8546a44 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.InvitesClient.CreateInvite.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.InvitesClient.CreateInvite.g.cs @@ -447,7 +447,7 @@ partial void ProcessCreateInviteResponseContent( /// `owner` or `reader` /// /// - /// An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior. + /// An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior. If empty list is passed, the user will not be invited to any projects, including the default one. /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamType.g.cs new file mode 100644 index 000000000..b98e45593 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CompactionTriggerItemParamTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CompactionTriggerItemParamType 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.CompactionTriggerItemParamTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CompactionTriggerItemParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CompactionTriggerItemParamType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CompactionTriggerItemParamType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.CompactionTriggerItemParamTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeNullable.g.cs new file mode 100644 index 000000000..9cb5554d8 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CompactionTriggerItemParamTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CompactionTriggerItemParamType? 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.CompactionTriggerItemParamTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CompactionTriggerItemParamType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CompactionTriggerItemParamType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CompactionTriggerItemParamType? 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.CompactionTriggerItemParamTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputItem.g.cs index f7c1c2727..dabc158ca 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.InputItem.g.cs @@ -34,16 +34,20 @@ public class InputItemJsonConverter : global::System.Text.Json.Serialization.Jso if (__jsonProps.Contains("type")) __score0++; var __score1 = 0; var __score2 = 0; - if (__jsonProps.Contains("id")) __score2++; if (__jsonProps.Contains("type")) __score2++; + var __score3 = 0; + if (__jsonProps.Contains("id")) __score3++; + if (__jsonProps.Contains("type")) __score3++; var __bestScore = 0; var __bestIndex = -1; if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } + if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } global::tryAGI.OpenAI.EasyInputMessage? message = default; global::tryAGI.OpenAI.Item? item = default; + global::tryAGI.OpenAI.CompactionTriggerItemParam? compactionTrigger = default; global::tryAGI.OpenAI.ItemReferenceParam? itemReference = default; if (__bestIndex >= 0) { @@ -78,6 +82,21 @@ public class InputItemJsonConverter : global::System.Text.Json.Serialization.Jso } } else if (__bestIndex == 2) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CompactionTriggerItemParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CompactionTriggerItemParam).Name}"); + compactionTrigger = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 3) { try { @@ -94,7 +113,7 @@ public class InputItemJsonConverter : global::System.Text.Json.Serialization.Jso } } - if (message == null && item == null && itemReference == null) + if (message == null && item == null && compactionTrigger == null && itemReference == null) { try { @@ -111,7 +130,7 @@ public class InputItemJsonConverter : global::System.Text.Json.Serialization.Jso } } - if (message == null && item == null && itemReference == null) + if (message == null && item == null && compactionTrigger == null && itemReference == null) { try { @@ -128,7 +147,24 @@ public class InputItemJsonConverter : global::System.Text.Json.Serialization.Jso } } - if (message == null && item == null && itemReference == null) + if (message == null && item == null && compactionTrigger == null && itemReference == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CompactionTriggerItemParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CompactionTriggerItemParam).Name}"); + compactionTrigger = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (message == null && item == null && compactionTrigger == null && itemReference == null) { try { @@ -150,6 +186,8 @@ public class InputItemJsonConverter : global::System.Text.Json.Serialization.Jso item, + compactionTrigger, + itemReference ); @@ -177,6 +215,12 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.Item).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.Item!.Value, typeInfo); } + else if (value.IsCompactionTrigger) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CompactionTriggerItemParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CompactionTriggerItemParam).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.CompactionTrigger!, typeInfo); + } else if (value.IsItemReference) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.ItemReferenceParam), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObject.g.cs new file mode 100644 index 000000000..1b659af67 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObject.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectModelPermissionsDeleteResponseObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObject 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.ProjectModelPermissionsDeleteResponseObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObject); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectNullable.g.cs new file mode 100644 index 000000000..8344f7dd1 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectModelPermissionsDeleteResponseObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObject? 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.ProjectModelPermissionsDeleteResponseObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObject?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObject? 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.ProjectModelPermissionsDeleteResponseObjectExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsMode.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsMode.g.cs new file mode 100644 index 000000000..8555917c4 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsMode.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectModelPermissionsModeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectModelPermissionsMode 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.ProjectModelPermissionsModeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectModelPermissionsMode)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectModelPermissionsMode); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectModelPermissionsMode value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ProjectModelPermissionsModeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeNullable.g.cs new file mode 100644 index 000000000..4b0615a1f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectModelPermissionsModeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectModelPermissionsMode? 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.ProjectModelPermissionsModeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectModelPermissionsMode)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectModelPermissionsMode?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectModelPermissionsMode? 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.ProjectModelPermissionsModeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObject.g.cs new file mode 100644 index 000000000..357ee5fe6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObject.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectModelPermissionsObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectModelPermissionsObject 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.ProjectModelPermissionsObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectModelPermissionsObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectModelPermissionsObject); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectModelPermissionsObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ProjectModelPermissionsObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectNullable.g.cs new file mode 100644 index 000000000..c4fa45faf --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectModelPermissionsObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectModelPermissionsObject? 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.ProjectModelPermissionsObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectModelPermissionsObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectModelPermissionsObject?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectModelPermissionsObject? 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.ProjectModelPermissionsObjectExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestMode.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestMode.g.cs new file mode 100644 index 000000000..24d7844e4 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestMode.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectModelPermissionsUpdateRequestModeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode 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.ProjectModelPermissionsUpdateRequestModeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestModeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeNullable.g.cs new file mode 100644 index 000000000..0e641e6c2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectModelPermissionsUpdateRequestModeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode? 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.ProjectModelPermissionsUpdateRequestModeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode? 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.ProjectModelPermissionsUpdateRequestModeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ResultsItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ResultsItem.g.cs index 866577e33..652b1e6f8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ResultsItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ResultsItem.g.cs @@ -77,6 +77,20 @@ public class ResultsItemJsonConverter : global::System.Text.Json.Serialization.J throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult)}"); organizationUsageCodeInterpreterSessionsResult = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } + global::tryAGI.OpenAI.UsageFileSearchCallsResult? organizationUsageFileSearchesResult = default; + if (discriminator?.Object == global::tryAGI.OpenAI.UsageTimeBucketResultDiscriminatorObject.OrganizationUsageFileSearchesResult) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageFileSearchCallsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.UsageFileSearchCallsResult)}"); + organizationUsageFileSearchesResult = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::tryAGI.OpenAI.UsageWebSearchCallsResult? organizationUsageWebSearchesResult = default; + if (discriminator?.Object == global::tryAGI.OpenAI.UsageTimeBucketResultDiscriminatorObject.OrganizationUsageWebSearchesResult) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageWebSearchCallsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::tryAGI.OpenAI.UsageWebSearchCallsResult)}"); + organizationUsageWebSearchesResult = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } global::tryAGI.OpenAI.CostsResult? organizationCostsResult = default; if (discriminator?.Object == global::tryAGI.OpenAI.UsageTimeBucketResultDiscriminatorObject.OrganizationCostsResult) { @@ -103,6 +117,10 @@ public class ResultsItemJsonConverter : global::System.Text.Json.Serialization.J organizationUsageCodeInterpreterSessionsResult, + organizationUsageFileSearchesResult, + + organizationUsageWebSearchesResult, + organizationCostsResult ); @@ -166,6 +184,18 @@ public override void Write( throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult).Name}"); global::System.Text.Json.JsonSerializer.Serialize(writer, value.OrganizationUsageCodeInterpreterSessionsResult!, typeInfo); } + else if (value.IsOrganizationUsageFileSearchesResult) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageFileSearchCallsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageFileSearchCallsResult).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.OrganizationUsageFileSearchesResult!, typeInfo); + } + else if (value.IsOrganizationUsageWebSearchesResult) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageWebSearchCallsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageWebSearchCallsResult).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.OrganizationUsageWebSearchesResult!, typeInfo); + } else if (value.IsOrganizationCostsResult) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CostsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidth.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidth.g.cs new file mode 100644 index 000000000..72f298d94 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidth.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UsageFileSearchCallsBucketWidthJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth 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.UsageFileSearchCallsBucketWidthExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidthExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthNullable.g.cs new file mode 100644 index 000000000..6df7fbf9d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UsageFileSearchCallsBucketWidthNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth? 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.UsageFileSearchCallsBucketWidthExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth? 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.UsageFileSearchCallsBucketWidthExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItem.g.cs new file mode 100644 index 000000000..2eec476dd --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UsageFileSearchCallsGroupByItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem 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.UsageFileSearchCallsGroupByItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemNullable.g.cs new file mode 100644 index 000000000..5327d52ab --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UsageFileSearchCallsGroupByItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem? 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.UsageFileSearchCallsGroupByItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem? 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.UsageFileSearchCallsGroupByItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObject.g.cs new file mode 100644 index 000000000..bdfd4710f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObject.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UsageFileSearchCallsResultObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UsageFileSearchCallsResultObject 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.UsageFileSearchCallsResultObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UsageFileSearchCallsResultObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UsageFileSearchCallsResultObject); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UsageFileSearchCallsResultObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.UsageFileSearchCallsResultObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectNullable.g.cs new file mode 100644 index 000000000..ec8739a1a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UsageFileSearchCallsResultObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UsageFileSearchCallsResultObject? 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.UsageFileSearchCallsResultObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UsageFileSearchCallsResultObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UsageFileSearchCallsResultObject?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UsageFileSearchCallsResultObject? 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.UsageFileSearchCallsResultObjectExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidth.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidth.g.cs new file mode 100644 index 000000000..dbb864e91 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidth.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UsageWebSearchCallsBucketWidthJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth 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.UsageWebSearchCallsBucketWidthExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidthExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthNullable.g.cs new file mode 100644 index 000000000..b71e948aa --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UsageWebSearchCallsBucketWidthNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth? 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.UsageWebSearchCallsBucketWidthExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth? 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.UsageWebSearchCallsBucketWidthExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevel.g.cs new file mode 100644 index 000000000..5bf5ae2a7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevel.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UsageWebSearchCallsContextLevelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel 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.UsageWebSearchCallsContextLevelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.UsageWebSearchCallsContextLevelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelNullable.g.cs new file mode 100644 index 000000000..a6366ea39 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UsageWebSearchCallsContextLevelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel? 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.UsageWebSearchCallsContextLevelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel? 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.UsageWebSearchCallsContextLevelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItem.g.cs new file mode 100644 index 000000000..748f50b78 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UsageWebSearchCallsGroupByItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem 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.UsageWebSearchCallsGroupByItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemNullable.g.cs new file mode 100644 index 000000000..916901755 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UsageWebSearchCallsGroupByItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem? 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.UsageWebSearchCallsGroupByItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem? 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.UsageWebSearchCallsGroupByItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObject.g.cs new file mode 100644 index 000000000..b950e3d3d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObject.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UsageWebSearchCallsResultObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UsageWebSearchCallsResultObject 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.UsageWebSearchCallsResultObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UsageWebSearchCallsResultObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UsageWebSearchCallsResultObject); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UsageWebSearchCallsResultObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.UsageWebSearchCallsResultObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectNullable.g.cs new file mode 100644 index 000000000..b0ef8ff54 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UsageWebSearchCallsResultObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UsageWebSearchCallsResultObject? 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.UsageWebSearchCallsResultObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UsageWebSearchCallsResultObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UsageWebSearchCallsResultObject?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UsageWebSearchCallsResultObject? 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.UsageWebSearchCallsResultObjectExtensions.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 675862ea9..2d7f7d2ac 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs @@ -1589,6 +1589,22 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.ProjectListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectNullableJsonConverter), @@ -3197,6 +3213,10 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectNullableJsonConverter), @@ -3221,6 +3241,10 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UserObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UserObjectNullableJsonConverter), @@ -3993,6 +4017,10 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.ApplyPatchToolCallOutputItemParamTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2JsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2NullableJsonConverter), @@ -4389,6 +4417,14 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthNullableJsonConverter), @@ -4421,6 +4457,18 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderNullableJsonConverter), @@ -7126,6 +7174,22 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectNullableJsonConverter), @@ -8734,6 +8798,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectNullableJsonConverter), @@ -8758,6 +8826,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UserObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UserObjectNullableJsonConverter), @@ -9530,6 +9602,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ApplyPatchToolCallOutputItemParamTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2JsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2NullableJsonConverter), @@ -9926,6 +10002,14 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthNullableJsonConverter), @@ -9958,6 +10042,18 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderNullableJsonConverter), @@ -12663,6 +12759,22 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectNullableJsonConverter), @@ -14271,6 +14383,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectNullableJsonConverter), @@ -14295,6 +14411,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UserObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UserObjectNullableJsonConverter), @@ -15067,6 +15187,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ApplyPatchToolCallOutputItemParamTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2JsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2NullableJsonConverter), @@ -15463,6 +15587,14 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthNullableJsonConverter), @@ -15495,6 +15627,18 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderNullableJsonConverter), @@ -16150,6 +16294,8 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupUserAssignmentObject), TypeInfoPropertyName = "GroupUserAssignmentObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupUserDeletedResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupUserDeletedResourceObject), TypeInfoPropertyName = "GroupUserDeletedResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedToolPermission))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.HostedToolPermissionUpdate))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Image2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ImageEditCompletedEvent))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ImageEditCompletedEventType), TypeInfoPropertyName = "ImageEditCompletedEventType2")] @@ -16211,6 +16357,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InputContentDiscriminatorType), TypeInfoPropertyName = "InputContentDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InputItem), TypeInfoPropertyName = "InputItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Item), TypeInfoPropertyName = "Item2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CompactionTriggerItemParam))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ItemReferenceParam))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InputItemDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.InputItemDiscriminatorType), TypeInfoPropertyName = "InputItemDiscriminatorType2")] @@ -16466,9 +16613,18 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectGroupListResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectGroupListResourceObject), TypeInfoPropertyName = "ProjectGroupListResourceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectHostedToolPermissions))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectListResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectListResponseObject), TypeInfoPropertyName = "ProjectListResponseObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectModelPermissions))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectModelPermissionsObject), TypeInfoPropertyName = "ProjectModelPermissionsObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectModelPermissionsMode), TypeInfoPropertyName = "ProjectModelPermissionsMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObject), TypeInfoPropertyName = "ProjectModelPermissionsDeleteResponseObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode), TypeInfoPropertyName = "ProjectModelPermissionsUpdateRequestMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectRateLimit))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectRateLimitObject), TypeInfoPropertyName = "ProjectRateLimitObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectRateLimitListResponse))] @@ -16601,18 +16757,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStartedType), TypeInfoPropertyName = "RealtimeBetaServerEventInputAudioBufferSpeechStartedType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStopped))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStoppedType), TypeInfoPropertyName = "RealtimeBetaServerEventInputAudioBufferSpeechStoppedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompleted))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompletedType), TypeInfoPropertyName = "RealtimeBetaServerEventMCPListToolsCompletedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailed))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailedType), TypeInfoPropertyName = "RealtimeBetaServerEventMCPListToolsFailedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsInProgress))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsInProgressType), TypeInfoPropertyName = "RealtimeBetaServerEventMCPListToolsInProgressType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdated))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedType), TypeInfoPropertyName = "RealtimeBetaServerEventRateLimitsUpdatedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedRateLimit))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedRateLimitName), TypeInfoPropertyName = "RealtimeBetaServerEventRateLimitsUpdatedRateLimitName2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDelta))] internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -18200,6 +18344,22 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectNullableJsonConverter), @@ -19808,6 +19968,10 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectNullableJsonConverter), @@ -19832,6 +19996,10 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UserObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UserObjectNullableJsonConverter), @@ -20604,6 +20772,10 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ApplyPatchToolCallOutputItemParamTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2JsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2NullableJsonConverter), @@ -21000,6 +21172,14 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthNullableJsonConverter), @@ -21032,6 +21212,18 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderNullableJsonConverter), @@ -21673,6 +21865,18 @@ internal sealed partial class SourceGenerationContextChunk2 : 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::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompleted))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompletedType), TypeInfoPropertyName = "RealtimeBetaServerEventMCPListToolsCompletedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailed))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailedType), TypeInfoPropertyName = "RealtimeBetaServerEventMCPListToolsFailedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsInProgress))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsInProgressType), TypeInfoPropertyName = "RealtimeBetaServerEventMCPListToolsInProgressType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdated))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedType), TypeInfoPropertyName = "RealtimeBetaServerEventRateLimitsUpdatedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedRateLimit))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedRateLimitName), TypeInfoPropertyName = "RealtimeBetaServerEventRateLimitsUpdatedRateLimitName2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDelta))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDeltaType), TypeInfoPropertyName = "RealtimeBetaServerEventResponseAudioDeltaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDone))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDoneType), TypeInfoPropertyName = "RealtimeBetaServerEventResponseAudioDoneType2")] @@ -22138,18 +22342,6 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseErrorVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseVariant3IncompleteDetails2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseVariant3IncompleteDetailsReason), TypeInfoPropertyName = "ResponseVariant3IncompleteDetailsReason2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseUsage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Conversation22))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioDeltaEvent))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioDeltaEventType), TypeInfoPropertyName = "ResponseAudioDeltaEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioDoneEvent))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioDoneEventType), TypeInfoPropertyName = "ResponseAudioDoneEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEvent))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEventType), TypeInfoPropertyName = "ResponseAudioTranscriptDeltaEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEvent))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEventType), TypeInfoPropertyName = "ResponseAudioTranscriptDoneEventType2")] internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -23737,6 +23929,22 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectNullableJsonConverter), @@ -25345,6 +25553,10 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectNullableJsonConverter), @@ -25369,6 +25581,10 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UserObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UserObjectNullableJsonConverter), @@ -26141,6 +26357,10 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ApplyPatchToolCallOutputItemParamTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2JsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2NullableJsonConverter), @@ -26537,6 +26757,14 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthNullableJsonConverter), @@ -26569,6 +26797,18 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderNullableJsonConverter), @@ -27210,6 +27450,18 @@ internal sealed partial class SourceGenerationContextChunk3 : 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.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseUsage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Conversation22))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioDeltaEvent))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioDeltaEventType), TypeInfoPropertyName = "ResponseAudioDeltaEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioDoneEvent))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioDoneEventType), TypeInfoPropertyName = "ResponseAudioDoneEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEvent))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEventType), TypeInfoPropertyName = "ResponseAudioTranscriptDeltaEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEvent))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEventType), TypeInfoPropertyName = "ResponseAudioTranscriptDoneEventType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEventType), TypeInfoPropertyName = "ResponseCodeInterpreterCallCodeDeltaEventType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEvent))] @@ -27545,6 +27797,8 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageCompletionsResultObject), TypeInfoPropertyName = "UsageCompletionsResultObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageEmbeddingsResult))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageEmbeddingsResultObject), TypeInfoPropertyName = "UsageEmbeddingsResultObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageFileSearchCallsResult))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageFileSearchCallsResultObject), TypeInfoPropertyName = "UsageFileSearchCallsResultObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageImagesResult))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageImagesResultObject), TypeInfoPropertyName = "UsageImagesResultObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageModerationsResult))] @@ -27557,9 +27811,11 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResultsItem), TypeInfoPropertyName = "ResultsItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageVectorStoresResult))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageWebSearchCallsResult))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageTimeBucketResultDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageTimeBucketResultDiscriminatorObject), TypeInfoPropertyName = "UsageTimeBucketResultDiscriminatorObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageVectorStoresResultObject), TypeInfoPropertyName = "UsageVectorStoresResultObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageWebSearchCallsResultObject), TypeInfoPropertyName = "UsageWebSearchCallsResultObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.User))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UserObject), TypeInfoPropertyName = "UserObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UserUser1))] @@ -27671,22 +27927,6 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunSucceededObject), TypeInfoPropertyName = "WebhookEvalRunSucceededObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunSucceededType), TypeInfoPropertyName = "WebhookEvalRunSucceededType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobCancelled))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobCancelledData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobCancelledObject), TypeInfoPropertyName = "WebhookFineTuningJobCancelledObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobCancelledType), TypeInfoPropertyName = "WebhookFineTuningJobCancelledType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobFailed))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobFailedData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobFailedObject), TypeInfoPropertyName = "WebhookFineTuningJobFailedObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobFailedType), TypeInfoPropertyName = "WebhookFineTuningJobFailedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobSucceeded))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobSucceededData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobSucceededObject), TypeInfoPropertyName = "WebhookFineTuningJobSucceededObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobSucceededType), TypeInfoPropertyName = "WebhookFineTuningJobSucceededType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookRealtimeCallIncoming))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookRealtimeCallIncomingData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookRealtimeCallIncomingDataSipHeader))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookRealtimeCallIncomingObject), TypeInfoPropertyName = "WebhookRealtimeCallIncomingObject2")] internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -29274,6 +29514,22 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectNullableJsonConverter), @@ -30882,6 +31138,10 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectNullableJsonConverter), @@ -30906,6 +31166,10 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UserObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UserObjectNullableJsonConverter), @@ -31678,6 +31942,10 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ApplyPatchToolCallOutputItemParamTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2JsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2NullableJsonConverter), @@ -32074,6 +32342,14 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthNullableJsonConverter), @@ -32106,6 +32382,18 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderNullableJsonConverter), @@ -32747,6 +33035,22 @@ internal sealed partial class SourceGenerationContextChunk4 : 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::tryAGI.OpenAI.WebhookFineTuningJobCancelledData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobCancelledObject), TypeInfoPropertyName = "WebhookFineTuningJobCancelledObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobCancelledType), TypeInfoPropertyName = "WebhookFineTuningJobCancelledType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobFailed))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobFailedData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobFailedObject), TypeInfoPropertyName = "WebhookFineTuningJobFailedObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobFailedType), TypeInfoPropertyName = "WebhookFineTuningJobFailedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobSucceeded))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobSucceededData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobSucceededObject), TypeInfoPropertyName = "WebhookFineTuningJobSucceededObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobSucceededType), TypeInfoPropertyName = "WebhookFineTuningJobSucceededType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookRealtimeCallIncoming))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookRealtimeCallIncomingData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookRealtimeCallIncomingDataSipHeader))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookRealtimeCallIncomingObject), TypeInfoPropertyName = "WebhookRealtimeCallIncomingObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookRealtimeCallIncomingType), TypeInfoPropertyName = "WebhookRealtimeCallIncomingType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookResponseCancelled))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookResponseCancelledData))] @@ -32968,6 +33272,7 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ApplyPatchToolCallItemParamType), TypeInfoPropertyName = "ApplyPatchToolCallItemParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ApplyPatchCallOutputStatusParam), TypeInfoPropertyName = "ApplyPatchCallOutputStatusParam2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParamType), TypeInfoPropertyName = "ApplyPatchToolCallOutputItemParamType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CompactionTriggerItemParamType), TypeInfoPropertyName = "CompactionTriggerItemParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ItemReferenceParamType2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ConversationResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ConversationResourceObject), TypeInfoPropertyName = "ConversationResourceObject2")] @@ -33183,6 +33488,9 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth), TypeInfoPropertyName = "UsageEmbeddingsBucketWidth2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem), TypeInfoPropertyName = "UsageEmbeddingsGroupByItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth), TypeInfoPropertyName = "UsageFileSearchCallsBucketWidth2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem), TypeInfoPropertyName = "UsageFileSearchCallsGroupByItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageImagesBucketWidth), TypeInfoPropertyName = "UsageImagesBucketWidth2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageImagesSource), TypeInfoPropertyName = "UsageImagesSource2")] @@ -33196,34 +33504,14 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageVectorStoresBucketWidth), TypeInfoPropertyName = "UsageVectorStoresBucketWidth2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageVectorStoresGroupByItem), TypeInfoPropertyName = "UsageVectorStoresGroupByItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth), TypeInfoPropertyName = "UsageWebSearchCallsBucketWidth2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel), TypeInfoPropertyName = "UsageWebSearchCallsContextLevel2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem), TypeInfoPropertyName = "UsageWebSearchCallsGroupByItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListUserRoleAssignmentsOrder), TypeInfoPropertyName = "ListUserRoleAssignmentsOrder2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectGroupRoleAssignmentsOrder), TypeInfoPropertyName = "ListProjectGroupRoleAssignmentsOrder2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectRolesOrder), TypeInfoPropertyName = "ListProjectRolesOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectUserRoleAssignmentsOrder), TypeInfoPropertyName = "ListProjectUserRoleAssignmentsOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListInputItemsOrder), TypeInfoPropertyName = "ListInputItemsOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListMessagesOrder), TypeInfoPropertyName = "ListMessagesOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListRunsOrder), TypeInfoPropertyName = "ListRunsOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateRunIncludeItem), TypeInfoPropertyName = "CreateRunIncludeItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListRunStepsOrder), TypeInfoPropertyName = "ListRunStepsOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListRunStepsIncludeItem), TypeInfoPropertyName = "ListRunStepsIncludeItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GetRunStepIncludeItem), TypeInfoPropertyName = "GetRunStepIncludeItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListVectorStoresOrder), TypeInfoPropertyName = "ListVectorStoresOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder), TypeInfoPropertyName = "ListFilesInVectorStoreBatchOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter), TypeInfoPropertyName = "ListFilesInVectorStoreBatchFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListVectorStoreFilesOrder), TypeInfoPropertyName = "ListVectorStoreFilesOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListVectorStoreFilesFilter), TypeInfoPropertyName = "ListVectorStoreFilesFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfCreateTranscriptionResponseJsonCreateTranscriptionResponseDiarizedJsonCreateTranscriptionResponseVerboseJson2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfCreateTranslationResponseJsonCreateTranslationResponseVerboseJson2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeleteEvalResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeleteEvalRunResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdminApiKeysDeleteResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject), TypeInfoPropertyName = "AdminApiKeysDeleteResponseObject2")] - [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 { } @@ -34811,6 +35099,22 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectNullableJsonConverter), @@ -36419,6 +36723,10 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectNullableJsonConverter), @@ -36443,6 +36751,10 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UserObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UserObjectNullableJsonConverter), @@ -37215,6 +37527,10 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ApplyPatchToolCallOutputItemParamTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2JsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2NullableJsonConverter), @@ -37611,6 +37927,14 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthNullableJsonConverter), @@ -37643,6 +37967,18 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderNullableJsonConverter), @@ -38284,6 +38620,31 @@ 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::tryAGI.OpenAI.ListProjectUserRoleAssignmentsOrder), TypeInfoPropertyName = "ListProjectUserRoleAssignmentsOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListInputItemsOrder), TypeInfoPropertyName = "ListInputItemsOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListMessagesOrder), TypeInfoPropertyName = "ListMessagesOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListRunsOrder), TypeInfoPropertyName = "ListRunsOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateRunIncludeItem), TypeInfoPropertyName = "CreateRunIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListRunStepsOrder), TypeInfoPropertyName = "ListRunStepsOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListRunStepsIncludeItem), TypeInfoPropertyName = "ListRunStepsIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GetRunStepIncludeItem), TypeInfoPropertyName = "GetRunStepIncludeItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListVectorStoresOrder), TypeInfoPropertyName = "ListVectorStoresOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder), TypeInfoPropertyName = "ListFilesInVectorStoreBatchOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter), TypeInfoPropertyName = "ListFilesInVectorStoreBatchFilter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListVectorStoreFilesOrder), TypeInfoPropertyName = "ListVectorStoreFilesOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListVectorStoreFilesFilter), TypeInfoPropertyName = "ListVectorStoreFilesFilter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfCreateTranscriptionResponseJsonCreateTranscriptionResponseDiarizedJsonCreateTranscriptionResponseVerboseJson2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfCreateTranslationResponseJsonCreateTranslationResponseVerboseJson2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeleteEvalResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.DeleteEvalRunResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdminApiKeysDeleteResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject), TypeInfoPropertyName = "AdminApiKeysDeleteResponseObject2")] + [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))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -38522,11 +38883,14 @@ internal sealed partial class SourceGenerationContextChunk5 : 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))] [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))] [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))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -39370,6 +39734,14 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectGroupListResourceObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectListResponseObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectListResponseObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectRateLimitListResponseObjectJsonConverter()); @@ -40174,6 +40546,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageCompletionsResultObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsResultObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsResultObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageImagesResultObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageModerationsResultObjectJsonConverter()); @@ -40186,6 +40560,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageTimeBucketResultDiscriminatorObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresResultObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresResultObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UserObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UserObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UserUser1ObjectJsonConverter()); @@ -40572,6 +40948,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ApplyPatchCallOutputStatusParamNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ApplyPatchToolCallOutputItemParamTypeJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ApplyPatchToolCallOutputItemParamTypeNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2JsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ItemReferenceParamType2NullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ConversationResourceObjectJsonConverter()); @@ -40770,6 +41148,10 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsBucketWidthNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsGroupByItemJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageEmbeddingsGroupByItemNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsBucketWidthNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsGroupByItemNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageImagesBucketWidthNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageImagesSourceJsonConverter()); @@ -40786,6 +41168,12 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresBucketWidthNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresGroupByItemJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageVectorStoresGroupByItemNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsBucketWidthNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsContextLevelNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsGroupByItemNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ListUserRoleAssignmentsOrderNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ListProjectGroupRoleAssignmentsOrderJsonConverter()); 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 b38537f9d..e1b4b0ee8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs @@ -3892,7543 +3892,7643 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::tryAGI.OpenAI.Image2? Type966 { get; set; } + public global::tryAGI.OpenAI.HostedToolPermission? Type966 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditCompletedEvent? Type967 { get; set; } + public global::tryAGI.OpenAI.HostedToolPermissionUpdate? Type967 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditCompletedEventType? Type968 { get; set; } + public global::tryAGI.OpenAI.Image2? Type968 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditCompletedEventSize? Type969 { get; set; } + public global::tryAGI.OpenAI.ImageEditCompletedEvent? Type969 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditCompletedEventQuality? Type970 { get; set; } + public global::tryAGI.OpenAI.ImageEditCompletedEventType? Type970 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditCompletedEventBackground? Type971 { get; set; } + public global::tryAGI.OpenAI.ImageEditCompletedEventSize? Type971 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditCompletedEventOutputFormat? Type972 { get; set; } + public global::tryAGI.OpenAI.ImageEditCompletedEventQuality? Type972 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesUsage? Type973 { get; set; } + public global::tryAGI.OpenAI.ImageEditCompletedEventBackground? Type973 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditPartialImageEvent? Type974 { get; set; } + public global::tryAGI.OpenAI.ImageEditCompletedEventOutputFormat? Type974 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditPartialImageEventType? Type975 { get; set; } + public global::tryAGI.OpenAI.ImagesUsage? Type975 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditPartialImageEventSize? Type976 { get; set; } + public global::tryAGI.OpenAI.ImageEditPartialImageEvent? Type976 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditPartialImageEventQuality? Type977 { get; set; } + public global::tryAGI.OpenAI.ImageEditPartialImageEventType? Type977 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditPartialImageEventBackground? Type978 { get; set; } + public global::tryAGI.OpenAI.ImageEditPartialImageEventSize? Type978 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditPartialImageEventOutputFormat? Type979 { get; set; } + public global::tryAGI.OpenAI.ImageEditPartialImageEventQuality? Type979 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditStreamEvent? Type980 { get; set; } + public global::tryAGI.OpenAI.ImageEditPartialImageEventBackground? Type980 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditStreamEventDiscriminator? Type981 { get; set; } + public global::tryAGI.OpenAI.ImageEditPartialImageEventOutputFormat? Type981 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditStreamEventDiscriminatorType? Type982 { get; set; } + public global::tryAGI.OpenAI.ImageEditStreamEvent? Type982 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenCompletedEvent? Type983 { get; set; } + public global::tryAGI.OpenAI.ImageEditStreamEventDiscriminator? Type983 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenCompletedEventType? Type984 { get; set; } + public global::tryAGI.OpenAI.ImageEditStreamEventDiscriminatorType? Type984 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenCompletedEventSize? Type985 { get; set; } + public global::tryAGI.OpenAI.ImageGenCompletedEvent? Type985 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenCompletedEventQuality? Type986 { get; set; } + public global::tryAGI.OpenAI.ImageGenCompletedEventType? Type986 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenCompletedEventBackground? Type987 { get; set; } + public global::tryAGI.OpenAI.ImageGenCompletedEventSize? Type987 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenCompletedEventOutputFormat? Type988 { get; set; } + public global::tryAGI.OpenAI.ImageGenCompletedEventQuality? Type988 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenPartialImageEvent? Type989 { get; set; } + public global::tryAGI.OpenAI.ImageGenCompletedEventBackground? Type989 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenPartialImageEventType? Type990 { get; set; } + public global::tryAGI.OpenAI.ImageGenCompletedEventOutputFormat? Type990 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenPartialImageEventSize? Type991 { get; set; } + public global::tryAGI.OpenAI.ImageGenPartialImageEvent? Type991 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenPartialImageEventQuality? Type992 { get; set; } + public global::tryAGI.OpenAI.ImageGenPartialImageEventType? Type992 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenPartialImageEventBackground? Type993 { get; set; } + public global::tryAGI.OpenAI.ImageGenPartialImageEventSize? Type993 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenPartialImageEventOutputFormat? Type994 { get; set; } + public global::tryAGI.OpenAI.ImageGenPartialImageEventQuality? Type994 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenStreamEvent? Type995 { get; set; } + public global::tryAGI.OpenAI.ImageGenPartialImageEventBackground? Type995 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenStreamEventDiscriminator? Type996 { get; set; } + public global::tryAGI.OpenAI.ImageGenPartialImageEventOutputFormat? Type996 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenStreamEventDiscriminatorType? Type997 { get; set; } + public global::tryAGI.OpenAI.ImageGenStreamEvent? Type997 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenTool? Type998 { get; set; } + public global::tryAGI.OpenAI.ImageGenStreamEventDiscriminator? Type998 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolType? Type999 { get; set; } + public global::tryAGI.OpenAI.ImageGenStreamEventDiscriminatorType? Type999 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type1000 { get; set; } + public global::tryAGI.OpenAI.ImageGenTool? Type1000 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolModel? Type1001 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolType? Type1001 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolQuality? Type1002 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type1002 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type1003 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolModel? Type1003 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolSize? Type1004 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolQuality? Type1004 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolOutputFormat? Type1005 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type1005 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolModeration? Type1006 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolSize? Type1006 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolBackground? Type1007 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolOutputFormat? Type1007 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolInputImageMask? Type1008 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolModeration? Type1008 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenActionEnum? Type1009 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolBackground? Type1009 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolCallType? Type1010 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolInputImageMask? Type1010 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolCallStatus? Type1011 { get; set; } + public global::tryAGI.OpenAI.ImageGenActionEnum? Type1011 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesResponse? Type1012 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolCallType? Type1012 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1013 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolCallStatus? Type1013 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesResponseBackground? Type1014 { get; set; } + public global::tryAGI.OpenAI.ImagesResponse? Type1014 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesResponseOutputFormat? Type1015 { get; set; } + public global::System.Collections.Generic.IList? Type1015 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesResponseSize? Type1016 { get; set; } + public global::tryAGI.OpenAI.ImagesResponseBackground? Type1016 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesResponseQuality? Type1017 { get; set; } + public global::tryAGI.OpenAI.ImagesResponseOutputFormat? Type1017 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenUsage? Type1018 { get; set; } + public global::tryAGI.OpenAI.ImagesResponseSize? Type1018 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesUsageInputTokensDetails? Type1019 { get; set; } + public global::tryAGI.OpenAI.ImagesResponseQuality? Type1019 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputAudioType? Type1020 { get; set; } + public global::tryAGI.OpenAI.ImageGenUsage? Type1020 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputAudioInputAudio1? Type1021 { get; set; } + public global::tryAGI.OpenAI.ImagesUsageInputTokensDetails? Type1021 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputAudioInputAudio1Format? Type1022 { get; set; } + public global::tryAGI.OpenAI.InputAudioType? Type1022 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentDiscriminator? Type1023 { get; set; } + public global::tryAGI.OpenAI.InputAudioInputAudio1? Type1023 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentDiscriminatorType? Type1024 { get; set; } + public global::tryAGI.OpenAI.InputAudioInputAudio1Format? Type1024 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputItem? Type1025 { get; set; } + public global::tryAGI.OpenAI.InputContentDiscriminator? Type1025 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Item? Type1026 { get; set; } + public global::tryAGI.OpenAI.InputContentDiscriminatorType? Type1026 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemReferenceParam? Type1027 { get; set; } + public global::tryAGI.OpenAI.InputItem? Type1027 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputItemDiscriminator? Type1028 { get; set; } + public global::tryAGI.OpenAI.Item? Type1028 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputItemDiscriminatorType? Type1029 { get; set; } + public global::tryAGI.OpenAI.CompactionTriggerItemParam? Type1029 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessage? Type1030 { get; set; } + public global::tryAGI.OpenAI.ItemReferenceParam? Type1030 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageType? Type1031 { get; set; } + public global::tryAGI.OpenAI.InputItemDiscriminator? Type1031 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageRole? Type1032 { get; set; } + public global::tryAGI.OpenAI.InputItemDiscriminatorType? Type1032 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageStatus? Type1033 { get; set; } + public global::tryAGI.OpenAI.InputMessage? Type1033 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageResource? Type1034 { get; set; } + public global::tryAGI.OpenAI.InputMessageType? Type1034 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageResourceVariant2? Type1035 { get; set; } + public global::tryAGI.OpenAI.InputMessageRole? Type1035 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1036 { get; set; } + public global::tryAGI.OpenAI.InputMessageStatus? Type1036 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Invite? Type1037 { get; set; } + public global::tryAGI.OpenAI.InputMessageResource? Type1037 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteObject? Type1038 { get; set; } + public global::tryAGI.OpenAI.InputMessageResourceVariant2? Type1038 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRole? Type1039 { get; set; } + public global::System.Collections.Generic.IList? Type1039 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteStatus? Type1040 { get; set; } + public global::tryAGI.OpenAI.Invite? Type1040 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1041 { get; set; } + public global::tryAGI.OpenAI.InviteObject? Type1041 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteProject? Type1042 { get; set; } + public global::tryAGI.OpenAI.InviteRole? Type1042 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteProjectRole? Type1043 { get; set; } + public global::tryAGI.OpenAI.InviteStatus? Type1043 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteDeleteResponse? Type1044 { get; set; } + public global::System.Collections.Generic.IList? Type1044 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteDeleteResponseObject? Type1045 { get; set; } + public global::tryAGI.OpenAI.InviteProject? Type1045 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteListResponse? Type1046 { get; set; } + public global::tryAGI.OpenAI.InviteProjectRole? Type1046 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteListResponseObject? Type1047 { get; set; } + public global::tryAGI.OpenAI.InviteDeleteResponse? Type1047 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1048 { get; set; } + public global::tryAGI.OpenAI.InviteDeleteResponseObject? Type1048 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteProjectGroupBody? Type1049 { get; set; } + public global::tryAGI.OpenAI.InviteListResponse? Type1049 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequest? Type1050 { get; set; } + public global::tryAGI.OpenAI.InviteListResponseObject? Type1050 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequestRole? Type1051 { get; set; } + public global::System.Collections.Generic.IList? Type1051 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1052 { get; set; } + public global::tryAGI.OpenAI.InviteProjectGroupBody? Type1052 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequestProject? Type1053 { get; set; } + public global::tryAGI.OpenAI.InviteRequest? Type1053 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequestProjectRole? Type1054 { get; set; } + public global::tryAGI.OpenAI.InviteRequestRole? Type1054 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessage? Type1055 { get; set; } + public global::System.Collections.Generic.IList? Type1055 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerCallOutputItemParam? Type1056 { get; set; } + public global::tryAGI.OpenAI.InviteRequestProject? Type1056 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemParam? Type1057 { get; set; } + public global::tryAGI.OpenAI.InviteRequestProjectRole? Type1057 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchCallItemParam? Type1058 { get; set; } + public global::tryAGI.OpenAI.OutputMessage? Type1058 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchOutputItemParam? Type1059 { get; set; } + public global::tryAGI.OpenAI.ComputerCallOutputItemParam? Type1059 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactionSummaryItemParam? Type1060 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemParam? Type1060 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallItemParam? Type1061 { get; set; } + public global::tryAGI.OpenAI.ToolSearchCallItemParam? Type1061 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputItemParam? Type1062 { get; set; } + public global::tryAGI.OpenAI.ToolSearchOutputItemParam? Type1062 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallItemParam? Type1063 { get; set; } + public global::tryAGI.OpenAI.CompactionSummaryItemParam? Type1063 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParam? Type1064 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallItemParam? Type1064 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalResponse? Type1065 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputItemParam? Type1065 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemDiscriminator? Type1066 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallItemParam? Type1066 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemDiscriminatorType? Type1067 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParam? Type1067 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemResource? Type1068 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalResponse? Type1068 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemResourceDiscriminator? Type1069 { get; set; } + public global::tryAGI.OpenAI.ItemDiscriminator? Type1069 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemResourceDiscriminatorType? Type1070 { get; set; } + public global::tryAGI.OpenAI.ItemDiscriminatorType? Type1070 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAssistantsResponse? Type1071 { get; set; } + public global::tryAGI.OpenAI.ItemResource? Type1071 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1072 { get; set; } + public global::tryAGI.OpenAI.ItemResourceDiscriminator? Type1072 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsResponse? Type1073 { get; set; } + public global::tryAGI.OpenAI.ItemResourceDiscriminatorType? Type1073 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsResponseObject? Type1074 { get; set; } + public global::tryAGI.OpenAI.ListAssistantsResponse? Type1074 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1075 { get; set; } + public global::System.Collections.Generic.IList? Type1075 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListBatchesResponse? Type1076 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsResponse? Type1076 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1077 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsResponseObject? Type1077 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListBatchesResponseObject? Type1078 { get; set; } + public global::System.Collections.Generic.IList? Type1078 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListCertificatesResponse? Type1079 { get; set; } + public global::tryAGI.OpenAI.ListBatchesResponse? Type1079 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1080 { get; set; } + public global::System.Collections.Generic.IList? Type1080 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationCertificate? Type1081 { get; set; } + public global::tryAGI.OpenAI.ListBatchesResponseObject? Type1081 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListCertificatesResponseObject? Type1082 { get; set; } + public global::tryAGI.OpenAI.ListCertificatesResponse? Type1082 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesResponse? Type1083 { get; set; } + public global::System.Collections.Generic.IList? Type1083 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1084 { get; set; } + public global::tryAGI.OpenAI.OrganizationCertificate? Type1084 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFile? Type1085 { get; set; } + public global::tryAGI.OpenAI.ListCertificatesResponseObject? Type1085 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionResponse? Type1086 { get; set; } + public global::tryAGI.OpenAI.ListFilesResponse? Type1086 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1087 { get; set; } + public global::System.Collections.Generic.IList? Type1087 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionResponseObject? Type1088 { get; set; } + public global::tryAGI.OpenAI.OpenAIFile? Type1088 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponse? Type1089 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionResponse? Type1089 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1090 { get; set; } + public global::System.Collections.Generic.IList? Type1090 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponseObject? Type1091 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionResponseObject? Type1091 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobEventsResponse? Type1092 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponse? Type1092 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1093 { get; set; } + public global::System.Collections.Generic.IList? Type1093 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobEventsResponseObject? Type1094 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponseObject? Type1094 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListMessagesResponse? Type1095 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobEventsResponse? Type1095 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1096 { get; set; } + public global::System.Collections.Generic.IList? Type1096 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObject? Type1097 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobEventsResponseObject? Type1097 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListModelsResponse? Type1098 { get; set; } + public global::tryAGI.OpenAI.ListMessagesResponse? Type1098 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListModelsResponseObject? Type1099 { get; set; } + public global::System.Collections.Generic.IList? Type1099 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1100 { get; set; } + public global::tryAGI.OpenAI.MessageObject? Type1100 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Model18? Type1101 { get; set; } + public global::tryAGI.OpenAI.ListModelsResponse? Type1101 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponse? Type1102 { get; set; } + public global::tryAGI.OpenAI.ListModelsResponseObject? Type1102 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1103 { get; set; } + public global::System.Collections.Generic.IList? Type1103 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponseObject? Type1104 { get; set; } + public global::tryAGI.OpenAI.Model18? Type1104 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectCertificatesResponse? Type1105 { get; set; } + public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponse? Type1105 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1106 { get; set; } + public global::System.Collections.Generic.IList? Type1106 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationProjectCertificate? Type1107 { get; set; } + public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponseObject? Type1107 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectCertificatesResponseObject? Type1108 { get; set; } + public global::tryAGI.OpenAI.ListProjectCertificatesResponse? Type1108 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsResponse? Type1109 { get; set; } + public global::System.Collections.Generic.IList? Type1109 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1110 { get; set; } + public global::tryAGI.OpenAI.OrganizationProjectCertificate? Type1110 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObject? Type1111 { get; set; } + public global::tryAGI.OpenAI.ListProjectCertificatesResponseObject? Type1111 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunsResponse? Type1112 { get; set; } + public global::tryAGI.OpenAI.ListRunStepsResponse? Type1112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1113 { get; set; } + public global::System.Collections.Generic.IList? Type1113 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObject? Type1114 { get; set; } + public global::tryAGI.OpenAI.RunStepObject? Type1114 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesResponse? Type1115 { get; set; } + public global::tryAGI.OpenAI.ListRunsResponse? Type1115 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1116 { get; set; } + public global::System.Collections.Generic.IList? Type1116 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObject? Type1117 { get; set; } + public global::tryAGI.OpenAI.RunObject? Type1117 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoresResponse? Type1118 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoreFilesResponse? Type1118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1119 { get; set; } + public global::System.Collections.Generic.IList? Type1119 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObject? Type1120 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObject? Type1120 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCallType? Type1121 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoresResponse? Type1121 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellExecAction? Type1122 { get; set; } + public global::System.Collections.Generic.IList? Type1122 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCallStatus? Type1123 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObject? Type1123 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCallOutputType? Type1124 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCallType? Type1124 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCallOutputStatus2? Type1125 { get; set; } + public global::tryAGI.OpenAI.LocalShellExecAction? Type1125 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LogProbProperties? Type1126 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCallStatus? Type1126 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalRequestType? Type1127 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCallOutputType? Type1127 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalResponseType? Type1128 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCallOutputStatus2? Type1128 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalResponseResourceType? Type1129 { get; set; } + public global::tryAGI.OpenAI.LogProbProperties? Type1129 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPListToolsType? Type1130 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalRequestType? Type1130 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1131 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalResponseType? Type1131 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPListToolsTool? Type1132 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalResponseResourceType? Type1132 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPTool? Type1133 { get; set; } + public global::tryAGI.OpenAI.MCPListToolsType? Type1133 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolType? Type1134 { get; set; } + public global::System.Collections.Generic.IList? Type1134 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolConnectorId? Type1135 { get; set; } + public global::tryAGI.OpenAI.MCPListToolsTool? Type1135 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, global::tryAGI.OpenAI.MCPToolFilter>? Type1136 { get; set; } + public global::tryAGI.OpenAI.MCPTool? Type1136 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolFilter? Type1137 { get; set; } + public global::tryAGI.OpenAI.MCPToolType? Type1137 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1138 { get; set; } + public global::tryAGI.OpenAI.MCPToolConnectorId? Type1138 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolRequireApprovalVariant1Enum? Type1139 { get; set; } + public global::tryAGI.OpenAI.OneOf, global::tryAGI.OpenAI.MCPToolFilter>? Type1139 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolRequireApprovalVariant1Enum2? Type1140 { get; set; } + public global::tryAGI.OpenAI.MCPToolFilter? Type1140 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolCallType? Type1141 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1141 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolCallStatus? Type1142 { get; set; } + public global::tryAGI.OpenAI.MCPToolRequireApprovalVariant1Enum? Type1142 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObjectType? Type1143 { get; set; } + public global::tryAGI.OpenAI.MCPToolRequireApprovalVariant1Enum2? Type1143 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFile? Type1144 { get; set; } + public global::tryAGI.OpenAI.MCPToolCallType? Type1144 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFileDetail? Type1145 { get; set; } + public global::tryAGI.OpenAI.MCPToolCallStatus? Type1145 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObjectType? Type1146 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObjectType? Type1146 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrl? Type1147 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFile? Type1147 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrlDetail? Type1148 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFileDetail? Type1148 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentRefusalObject? Type1149 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObjectType? Type1149 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentRefusalObjectType? Type1150 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrl? Type1150 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObject? Type1151 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrlDetail? Type1151 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectType? Type1152 { get; set; } + public global::tryAGI.OpenAI.MessageContentRefusalObject? Type1152 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectFileCitation? Type1153 { get; set; } + public global::tryAGI.OpenAI.MessageContentRefusalObjectType? Type1153 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObject? Type1154 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObject? Type1154 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectType? Type1155 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectType? Type1155 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectFilePath? Type1156 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectFileCitation? Type1156 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObject? Type1157 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObject? Type1157 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObjectType? Type1158 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectType? Type1158 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObjectText? Type1159 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectFilePath? Type1159 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1160 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObject? Type1160 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1161 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObjectType? Type1161 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObject? Type1162 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObjectText? Type1162 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectType? Type1163 { get; set; } + public global::System.Collections.Generic.IList>? Type1163 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFile? Type1164 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1164 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFileDetail? Type1165 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObject? Type1165 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObject? Type1166 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectType? Type1166 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectType? Type1167 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFile? Type1167 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrl? Type1168 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFileDetail? Type1168 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrlDetail? Type1169 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObject? Type1169 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentRefusalObject? Type1170 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectType? Type1170 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentRefusalObjectType? Type1171 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrl? Type1171 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject? Type1172 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrlDetail? Type1172 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectType? Type1173 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentRefusalObject? Type1173 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation? Type1174 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentRefusalObjectType? Type1174 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObject? Type1175 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject? Type1175 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectType? Type1176 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectType? Type1176 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectFilePath? Type1177 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation? Type1177 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObject? Type1178 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObject? Type1178 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObjectType? Type1179 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectType? Type1179 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObjectText? Type1180 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectFilePath? Type1180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1181 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObject? Type1181 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1182 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObjectType? Type1182 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObject? Type1183 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObjectText? Type1183 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectObject? Type1184 { get; set; } + public global::System.Collections.Generic.IList>? Type1184 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectDelta? Type1185 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1185 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectDeltaRole? Type1186 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObject? Type1186 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectObject? Type1187 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectObject? Type1187 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectStatus? Type1188 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectDelta? Type1188 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectIncompleteDetails2? Type1189 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectDeltaRole? Type1189 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectIncompleteDetailsReason? Type1190 { get; set; } + public global::tryAGI.OpenAI.MessageObjectObject? Type1190 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectRole? Type1191 { get; set; } + public global::tryAGI.OpenAI.MessageObjectStatus? Type1191 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1192 { get; set; } + public global::tryAGI.OpenAI.MessageObjectIncompleteDetails2? Type1192 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectAttachmentsVariant1Item? Type1193 { get; set; } + public global::tryAGI.OpenAI.MessageObjectIncompleteDetailsReason? Type1193 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageRequestContentTextObjectType? Type1194 { get; set; } + public global::tryAGI.OpenAI.MessageObjectRole? Type1194 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant1? Type1195 { get; set; } + public global::System.Collections.Generic.IList? Type1195 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant1Event? Type1196 { get; set; } + public global::tryAGI.OpenAI.MessageObjectAttachmentsVariant1Item? Type1196 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant2? Type1197 { get; set; } + public global::tryAGI.OpenAI.MessageRequestContentTextObjectType? Type1197 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant2Event? Type1198 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant1? Type1198 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant3? Type1199 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant1Event? Type1199 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant3Event? Type1200 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant2? Type1200 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant4? Type1201 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant2Event? Type1201 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant4Event? Type1202 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant3? Type1202 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant5? Type1203 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant3Event? Type1203 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant5Event? Type1204 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant4? Type1204 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelObject? Type1205 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant4Event? Type1205 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIds? Type1206 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant5? Type1206 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIdsResponses? Type1207 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant5Event? Type1207 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIdsCompaction? Type1208 { get; set; } + public global::tryAGI.OpenAI.ModelObject? Type1208 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIdsResponsesEnum? Type1209 { get; set; } + public global::tryAGI.OpenAI.ModelIds? Type1209 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIdsSharedEnum? Type1210 { get; set; } + public global::tryAGI.OpenAI.ModelIdsResponses? Type1210 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelResponsePropertiesPromptCacheRetention2? Type1211 { get; set; } + public global::tryAGI.OpenAI.ModelIdsCompaction? Type1211 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequest? Type1212 { get; set; } + public global::tryAGI.OpenAI.ModelIdsResponsesEnum? Type1212 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequestToolResources2? Type1213 { get; set; } + public global::tryAGI.OpenAI.ModelIdsSharedEnum? Type1213 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesCodeInterpreter? Type1214 { get; set; } + public global::tryAGI.OpenAI.ModelResponsePropertiesPromptCacheRetention2? Type1214 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesFileSearch? Type1215 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequest? Type1215 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyCertificateRequest? Type1216 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequestToolResources2? Type1216 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyMessageRequest? Type1217 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesCodeInterpreter? Type1217 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyRunRequest? Type1218 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesFileSearch? Type1218 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequest? Type1219 { get; set; } + public global::tryAGI.OpenAI.ModifyCertificateRequest? Type1219 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequestToolResources2? Type1220 { get; set; } + public global::tryAGI.OpenAI.ModifyMessageRequest? Type1220 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesCodeInterpreter? Type1221 { get; set; } + public global::tryAGI.OpenAI.ModifyRunRequest? Type1221 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesFileSearch? Type1222 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequest? Type1222 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NoiseReductionType? Type1223 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequestToolResources2? Type1223 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFileObject? Type1224 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesCodeInterpreter? Type1224 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFilePurpose? Type1225 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesFileSearch? Type1225 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFileStatus? Type1226 { get; set; } + public global::tryAGI.OpenAI.NoiseReductionType? Type1226 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationCertificateObject? Type1227 { get; set; } + public global::tryAGI.OpenAI.OpenAIFileObject? Type1227 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationCertificateCertificateDetails? Type1228 { get; set; } + public global::tryAGI.OpenAI.OpenAIFilePurpose? Type1228 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationCertificateActivationResponse? Type1229 { get; set; } + public global::tryAGI.OpenAI.OpenAIFileStatus? Type1229 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationCertificateActivationResponseObject? Type1230 { get; set; } + public global::tryAGI.OpenAI.OrganizationCertificateObject? Type1230 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponse? Type1231 { get; set; } + public global::tryAGI.OpenAI.OrganizationCertificateCertificateDetails? Type1231 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponseObject? Type1232 { get; set; } + public global::tryAGI.OpenAI.OrganizationCertificateActivationResponse? Type1232 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationProjectCertificateObject? Type1233 { get; set; } + public global::tryAGI.OpenAI.OrganizationCertificateActivationResponseObject? Type1233 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationProjectCertificateCertificateDetails? Type1234 { get; set; } + public global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponse? Type1234 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponse? Type1235 { get; set; } + public global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponseObject? Type1235 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponseObject? Type1236 { get; set; } + public global::tryAGI.OpenAI.OrganizationProjectCertificateObject? Type1236 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponse? Type1237 { get; set; } + public global::tryAGI.OpenAI.OrganizationProjectCertificateCertificateDetails? Type1237 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponseObject? Type1238 { get; set; } + public global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponse? Type1238 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParam? Type1239 { get; set; } + public global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponseObject? Type1239 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParamType? Type1240 { get; set; } + public global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponse? Type1240 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputAudio? Type1241 { get; set; } + public global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponseObject? Type1241 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputAudioType? Type1242 { get; set; } + public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParam? Type1242 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputTextContent? Type1243 { get; set; } + public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParamType? Type1243 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RefusalContent? Type1244 { get; set; } + public global::tryAGI.OpenAI.OutputAudio? Type1244 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningTextContent? Type1245 { get; set; } + public global::tryAGI.OpenAI.OutputAudioType? Type1245 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputContentDiscriminator? Type1246 { get; set; } + public global::tryAGI.OpenAI.OutputTextContent? Type1246 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputContentDiscriminatorType? Type1247 { get; set; } + public global::tryAGI.OpenAI.RefusalContent? Type1247 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputItem? Type1248 { get; set; } + public global::tryAGI.OpenAI.ReasoningTextContent? Type1248 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputItemDiscriminator? Type1249 { get; set; } + public global::tryAGI.OpenAI.OutputContentDiscriminator? Type1249 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputItemDiscriminatorType? Type1250 { get; set; } + public global::tryAGI.OpenAI.OutputContentDiscriminatorType? Type1250 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageType? Type1251 { get; set; } + public global::tryAGI.OpenAI.OutputItem? Type1251 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageRole? Type1252 { get; set; } + public global::tryAGI.OpenAI.OutputItemDiscriminator? Type1252 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1253 { get; set; } + public global::tryAGI.OpenAI.OutputItemDiscriminatorType? Type1253 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageContent? Type1254 { get; set; } + public global::tryAGI.OpenAI.OutputMessageType? Type1254 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageStatus? Type1255 { get; set; } + public global::tryAGI.OpenAI.OutputMessageRole? Type1255 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageContentDiscriminator? Type1256 { get; set; } + public global::System.Collections.Generic.IList? Type1256 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageContentDiscriminatorType? Type1257 { get; set; } + public global::tryAGI.OpenAI.OutputMessageContent? Type1257 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PredictionContentType? Type1258 { get; set; } + public global::tryAGI.OpenAI.OutputMessageStatus? Type1258 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Project? Type1259 { get; set; } + public global::tryAGI.OpenAI.OutputMessageContentDiscriminator? Type1259 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectObject? Type1260 { get; set; } + public global::tryAGI.OpenAI.OutputMessageContentDiscriminatorType? Type1260 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKey? Type1261 { get; set; } + public global::tryAGI.OpenAI.PredictionContentType? Type1261 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyObject? Type1262 { get; set; } + public global::tryAGI.OpenAI.Project? Type1262 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyOwner? Type1263 { get; set; } + public global::tryAGI.OpenAI.ProjectObject? Type1263 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyOwnerType? Type1264 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKey? Type1264 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyOwnerUser? Type1265 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyObject? Type1265 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyOwnerServiceAccount? Type1266 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyOwner? Type1266 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponse? Type1267 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyOwnerType? Type1267 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponseObject? Type1268 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyOwnerUser? Type1268 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyListResponse? Type1269 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyOwnerServiceAccount? Type1269 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyListResponseObject? Type1270 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponse? Type1270 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1271 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponseObject? Type1271 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectCreateRequest? Type1272 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyListResponse? Type1272 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectGroup? Type1273 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyListResponseObject? Type1273 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectGroupObject? Type1274 { get; set; } + public global::System.Collections.Generic.IList? Type1274 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectGroupDeletedResource? Type1275 { get; set; } + public global::tryAGI.OpenAI.ProjectCreateRequest? Type1275 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectGroupDeletedResourceObject? Type1276 { get; set; } + public global::tryAGI.OpenAI.ProjectGroup? Type1276 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectGroupListResource? Type1277 { get; set; } + public global::tryAGI.OpenAI.ProjectGroupObject? Type1277 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectGroupListResourceObject? Type1278 { get; set; } + public global::tryAGI.OpenAI.ProjectGroupDeletedResource? Type1278 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1279 { get; set; } + public global::tryAGI.OpenAI.ProjectGroupDeletedResourceObject? Type1279 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectListResponse? Type1280 { get; set; } + public global::tryAGI.OpenAI.ProjectGroupListResource? Type1280 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectListResponseObject? Type1281 { get; set; } + public global::tryAGI.OpenAI.ProjectGroupListResourceObject? Type1281 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1282 { get; set; } + public global::System.Collections.Generic.IList? Type1282 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimit? Type1283 { get; set; } + public global::tryAGI.OpenAI.ProjectHostedToolPermissions? Type1283 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitObject? Type1284 { get; set; } + public global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequest? Type1284 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitListResponse? Type1285 { get; set; } + public global::tryAGI.OpenAI.ProjectListResponse? Type1285 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitListResponseObject? Type1286 { get; set; } + public global::tryAGI.OpenAI.ProjectListResponseObject? Type1286 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1287 { get; set; } + public global::System.Collections.Generic.IList? Type1287 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitUpdateRequest? Type1288 { get; set; } + public global::tryAGI.OpenAI.ProjectModelPermissions? Type1288 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccount? Type1289 { get; set; } + public global::tryAGI.OpenAI.ProjectModelPermissionsObject? Type1289 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountObject? Type1290 { get; set; } + public global::tryAGI.OpenAI.ProjectModelPermissionsMode? Type1290 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountRole? Type1291 { get; set; } + public global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponse? Type1291 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountApiKey? Type1292 { get; set; } + public global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObject? Type1292 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountApiKeyObject? Type1293 { get; set; } + public global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequest? Type1293 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateRequest? Type1294 { get; set; } + public global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode? Type1294 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponse? Type1295 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimit? Type1295 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseObject? Type1296 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitObject? Type1296 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseRole? Type1297 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitListResponse? Type1297 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponse? Type1298 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitListResponseObject? Type1298 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponseObject? Type1299 { get; set; } + public global::System.Collections.Generic.IList? Type1299 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountListResponse? Type1300 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitUpdateRequest? Type1300 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountListResponseObject? Type1301 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccount? Type1301 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1302 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountObject? Type1302 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUpdateRequest? Type1303 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountRole? Type1303 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUser? Type1304 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountApiKey? Type1304 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserObject? Type1305 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountApiKeyObject? Type1305 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserCreateRequest? Type1306 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateRequest? Type1306 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserDeleteResponse? Type1307 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponse? Type1307 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserDeleteResponseObject? Type1308 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseObject? Type1308 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserListResponse? Type1309 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseRole? Type1309 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1310 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponse? Type1310 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserUpdateRequest? Type1311 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponseObject? Type1311 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptVariant1? Type1312 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountListResponse? Type1312 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicAssignOrganizationGroupRoleBody? Type1313 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountListResponseObject? Type1313 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicCreateOrganizationRoleBody? Type1314 { get; set; } + public global::System.Collections.Generic.IList? Type1314 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicRoleListResource? Type1315 { get; set; } + public global::tryAGI.OpenAI.ProjectUpdateRequest? Type1315 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicRoleListResourceObject? Type1316 { get; set; } + public global::tryAGI.OpenAI.ProjectUser? Type1316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1317 { get; set; } + public global::tryAGI.OpenAI.ProjectUserObject? Type1317 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicUpdateOrganizationRoleBody? Type1318 { get; set; } + public global::tryAGI.OpenAI.ProjectUserCreateRequest? Type1318 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormats? Type1319 { get; set; } + public global::tryAGI.OpenAI.ProjectUserDeleteResponse? Type1319 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmAudioFormat? Type1320 { get; set; } + public global::tryAGI.OpenAI.ProjectUserDeleteResponseObject? Type1320 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmAudioFormatType? Type1321 { get; set; } + public global::tryAGI.OpenAI.ProjectUserListResponse? Type1321 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmuAudioFormat? Type1322 { get; set; } + public global::System.Collections.Generic.IList? Type1322 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmuAudioFormatType? Type1323 { get; set; } + public global::tryAGI.OpenAI.ProjectUserUpdateRequest? Type1323 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmaAudioFormat? Type1324 { get; set; } + public global::tryAGI.OpenAI.PromptVariant1? Type1324 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmaAudioFormatType? Type1325 { get; set; } + public global::tryAGI.OpenAI.PublicAssignOrganizationGroupRoleBody? Type1325 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemCreate? Type1326 { get; set; } + public global::tryAGI.OpenAI.PublicCreateOrganizationRoleBody? Type1326 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemCreateType? Type1327 { get; set; } + public global::tryAGI.OpenAI.PublicRoleListResource? Type1327 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItem? Type1328 { get; set; } + public global::tryAGI.OpenAI.PublicRoleListResourceObject? Type1328 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemDelete? Type1329 { get; set; } + public global::System.Collections.Generic.IList? Type1329 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemDeleteType? Type1330 { get; set; } + public global::tryAGI.OpenAI.PublicUpdateOrganizationRoleBody? Type1330 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemRetrieve? Type1331 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormats? Type1331 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemRetrieveType? Type1332 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmAudioFormat? Type1332 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemTruncate? Type1333 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmAudioFormatType? Type1333 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemTruncateType? Type1334 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmuAudioFormat? Type1334 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferAppend? Type1335 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmuAudioFormatType? Type1335 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferAppendType? Type1336 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmaAudioFormat? Type1336 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferClear? Type1337 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmaAudioFormatType? Type1337 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferClearType? Type1338 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemCreate? Type1338 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferCommit? Type1339 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemCreateType? Type1339 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferCommitType? Type1340 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItem? Type1340 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventOutputAudioBufferClear? Type1341 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemDelete? Type1341 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventOutputAudioBufferClearType? Type1342 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemDeleteType? Type1342 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCancel? Type1343 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemRetrieve? Type1343 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCancelType? Type1344 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemRetrieveType? Type1344 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCreate? Type1345 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemTruncate? Type1345 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCreateType? Type1346 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemTruncateType? Type1346 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParams? Type1347 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferAppend? Type1347 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventSessionUpdate? Type1348 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferAppendType? Type1348 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventSessionUpdateType? Type1349 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferClear? Type1349 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequest? Type1350 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferClearType? Type1350 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventTranscriptionSessionUpdate? Type1351 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferCommit? Type1351 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventTranscriptionSessionUpdateType? Type1352 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferCommitType? Type1352 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequest? Type1353 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventOutputAudioBufferClear? Type1353 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponse? Type1354 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventOutputAudioBufferClearType? Type1354 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseObject? Type1355 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCancel? Type1355 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseStatus? Type1356 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCancelType? Type1356 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetails? Type1357 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCreate? Type1357 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetailsType? Type1358 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCreateType? Type1358 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetailsReason? Type1359 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParams? Type1359 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetailsError? Type1360 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventSessionUpdate? Type1360 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1361 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventSessionUpdateType? Type1361 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseUsage? Type1362 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequest? Type1362 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseUsageInputTokenDetails? Type1363 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventTranscriptionSessionUpdate? Type1363 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseUsageInputTokenDetailsCachedTokensDetails? Type1364 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventTranscriptionSessionUpdateType? Type1364 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseUsageOutputTokenDetails? Type1365 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequest? Type1365 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceIdsShared? Type1366 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponse? Type1366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1367 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseObject? Type1367 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseModalitie? Type1368 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseStatus? Type1368 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseOutputAudioFormat? Type1369 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetails? Type1369 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1370 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetailsType? Type1370 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseMaxOutputTokens? Type1371 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetailsReason? Type1371 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1372 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetailsError? Type1372 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsModalitie? Type1373 { get; set; } + public global::System.Collections.Generic.IList? Type1373 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsOutputAudioFormat? Type1374 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseUsage? Type1374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1375 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseUsageInputTokenDetails? Type1375 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsTool? Type1376 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseUsageInputTokenDetailsCachedTokensDetails? Type1376 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsToolType? Type1377 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseUsageOutputTokenDetails? Type1377 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1378 { get; set; } + public global::tryAGI.OpenAI.VoiceIdsShared? Type1378 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceOptions? Type1379 { get; set; } + public global::System.Collections.Generic.IList? Type1379 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceFunction? Type1380 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseModalitie? Type1380 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceMCP? Type1381 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseOutputAudioFormat? Type1381 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1382 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1382 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsMaxOutputTokens? Type1383 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseMaxOutputTokens? Type1383 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1384 { get; set; } + public global::System.Collections.Generic.IList? Type1384 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsConversation? Type1385 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsModalitie? Type1385 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemCreated? Type1386 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsOutputAudioFormat? Type1386 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemCreatedType? Type1387 { get; set; } + public global::System.Collections.Generic.IList? Type1387 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemDeleted? Type1388 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsTool? Type1388 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemDeletedType? Type1389 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsToolType? Type1389 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted? Type1390 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1390 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedType? Type1391 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceOptions? Type1391 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1392 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceFunction? Type1392 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta? Type1393 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceMCP? Type1393 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDeltaType? Type1394 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1394 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed? Type1395 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsMaxOutputTokens? Type1395 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedType? Type1396 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1396 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedError? Type1397 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsConversation? Type1397 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment? Type1398 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemCreated? Type1398 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegmentType? Type1399 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemCreatedType? Type1399 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemRetrieved? Type1400 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemDeleted? Type1400 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemRetrievedType? Type1401 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemDeletedType? Type1401 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemTruncated? Type1402 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted? Type1402 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemTruncatedType? Type1403 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedType? Type1403 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventError? Type1404 { get; set; } + public global::System.Collections.Generic.IList? Type1404 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventErrorType? Type1405 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta? Type1405 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventErrorError? Type1406 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDeltaType? Type1406 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCleared? Type1407 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed? Type1407 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferClearedType? Type1408 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedType? Type1408 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCommitted? Type1409 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedError? Type1409 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCommittedType? Type1410 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment? Type1410 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStarted? Type1411 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegmentType? Type1411 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStartedType? Type1412 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemRetrieved? Type1412 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStopped? Type1413 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemRetrievedType? Type1413 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStoppedType? Type1414 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemTruncated? Type1414 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompleted? Type1415 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemTruncatedType? Type1415 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompletedType? Type1416 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventError? Type1416 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailed? Type1417 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventErrorType? Type1417 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailedType? Type1418 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventErrorError? Type1418 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsInProgress? Type1419 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCleared? Type1419 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsInProgressType? Type1420 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferClearedType? Type1420 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdated? Type1421 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCommitted? Type1421 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedType? Type1422 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCommittedType? Type1422 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1423 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStarted? Type1423 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedRateLimit? Type1424 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStartedType? Type1424 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedRateLimitName? Type1425 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStopped? Type1425 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDelta? Type1426 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStoppedType? Type1426 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDeltaType? Type1427 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompleted? Type1427 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDone? Type1428 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompletedType? Type1428 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDoneType? Type1429 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailed? Type1429 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDelta? Type1430 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailedType? Type1430 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDeltaType? Type1431 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsInProgress? Type1431 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDone? Type1432 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsInProgressType? Type1432 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDoneType? Type1433 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdated? Type1433 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAdded? Type1434 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedType? Type1434 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAddedType? Type1435 { get; set; } + public global::System.Collections.Generic.IList? Type1435 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAddedPart? Type1436 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedRateLimit? Type1436 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAddedPartType? Type1437 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedRateLimitName? Type1437 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDone? Type1438 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDelta? Type1438 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDoneType? Type1439 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDeltaType? Type1439 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDonePart? Type1440 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDone? Type1440 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDonePartType? Type1441 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDoneType? Type1441 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseCreated? Type1442 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDelta? Type1442 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseCreatedType? Type1443 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDeltaType? Type1443 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseDone? Type1444 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDone? Type1444 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseDoneType? Type1445 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDoneType? Type1445 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDelta? Type1446 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAdded? Type1446 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDeltaType? Type1447 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAddedType? Type1447 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDone? Type1448 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAddedPart? Type1448 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDoneType? Type1449 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAddedPartType? Type1449 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDelta? Type1450 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDone? Type1450 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDeltaType? Type1451 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDoneType? Type1451 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDone? Type1452 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDonePart? Type1452 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDoneType? Type1453 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDonePartType? Type1453 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallCompleted? Type1454 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseCreated? Type1454 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallCompletedType? Type1455 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseCreatedType? Type1455 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallFailed? Type1456 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseDone? Type1456 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallFailedType? Type1457 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseDoneType? Type1457 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallInProgress? Type1458 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDelta? Type1458 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallInProgressType? Type1459 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDeltaType? Type1459 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemAdded? Type1460 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDone? Type1460 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemAddedType? Type1461 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDoneType? Type1461 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemDone? Type1462 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDelta? Type1462 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemDoneType? Type1463 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDeltaType? Type1463 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDelta? Type1464 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDone? Type1464 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDeltaType? Type1465 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDoneType? Type1465 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDone? Type1466 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallCompleted? Type1466 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDoneType? Type1467 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallCompletedType? Type1467 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionCreated? Type1468 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallFailed? Type1468 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionCreatedType? Type1469 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallFailedType? Type1469 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSession? Type1470 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallInProgress? Type1470 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionUpdated? Type1471 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallInProgressType? Type1471 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionUpdatedType? Type1472 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemAdded? Type1472 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionCreated? Type1473 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemAddedType? Type1473 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionCreatedType? Type1474 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemDone? Type1474 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponse? Type1475 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemDoneType? Type1475 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionUpdated? Type1476 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDelta? Type1476 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionUpdatedType? Type1477 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDeltaType? Type1477 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCallCreateRequest? Type1478 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDone? Type1478 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGA? Type1479 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDoneType? Type1479 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCallReferRequest? Type1480 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionCreated? Type1480 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCallRejectRequest? Type1481 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionCreatedType? Type1481 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEvent? Type1482 { get; set; } + public global::tryAGI.OpenAI.RealtimeSession? Type1482 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreate? Type1483 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionUpdated? Type1483 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDelete? Type1484 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionUpdatedType? Type1484 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemRetrieve? Type1485 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionCreated? Type1485 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncate? Type1486 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionCreatedType? Type1486 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppend? Type1487 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponse? Type1487 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClear? Type1488 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionUpdated? Type1488 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventOutputAudioBufferClear? Type1489 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionUpdatedType? Type1489 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommit? Type1490 { get; set; } + public global::tryAGI.OpenAI.RealtimeCallCreateRequest? Type1490 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCancel? Type1491 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGA? Type1491 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCreate? Type1492 { get; set; } + public global::tryAGI.OpenAI.RealtimeCallReferRequest? Type1492 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdate? Type1493 { get; set; } + public global::tryAGI.OpenAI.RealtimeCallRejectRequest? Type1493 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventDiscriminator? Type1494 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEvent? Type1494 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventDiscriminatorType? Type1495 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreate? Type1495 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreateType? Type1496 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDelete? Type1496 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDeleteType? Type1497 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemRetrieve? Type1497 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemRetrieveType? Type1498 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncate? Type1498 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncateType? Type1499 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppend? Type1499 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppendType? Type1500 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClear? Type1500 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClearType? Type1501 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventOutputAudioBufferClear? Type1501 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommitType? Type1502 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommit? Type1502 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventOutputAudioBufferClearType? Type1503 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCancel? Type1503 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCancelType? Type1504 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCreate? Type1504 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCreateType? Type1505 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdate? Type1505 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParams? Type1506 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventDiscriminator? Type1506 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdateType? Type1507 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventDiscriminatorType? Type1507 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1508 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreateType? Type1508 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGA? Type1509 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDeleteType? Type1509 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventTranscriptionSessionUpdate? Type1510 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemRetrieveType? Type1510 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventTranscriptionSessionUpdateType? Type1511 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncateType? Type1511 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystem? Type1512 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppendType? Type1512 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUser? Type1513 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClearType? Type1513 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistant? Type1514 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommitType? Type1514 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCall? Type1515 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventOutputAudioBufferClearType? Type1515 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutput? Type1516 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCancelType? Type1516 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPApprovalResponse? Type1517 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCreateType? Type1517 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPListTools? Type1518 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParams? Type1518 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPToolCall? Type1519 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdateType? Type1519 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPApprovalRequest? Type1520 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1520 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemDiscriminator? Type1521 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGA? Type1521 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemDiscriminatorType? Type1522 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventTranscriptionSessionUpdate? Type1522 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallObject? Type1523 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventTranscriptionSessionUpdateType? Type1523 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallType? Type1524 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystem? Type1524 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallStatus? Type1525 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUser? Type1525 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutputObject? Type1526 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistant? Type1526 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutputType? Type1527 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCall? Type1527 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutputStatus? Type1528 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutput? Type1528 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantObject? Type1529 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPApprovalResponse? Type1529 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantType? Type1530 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPListTools? Type1530 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantStatus? Type1531 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPToolCall? Type1531 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantRole? Type1532 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPApprovalRequest? Type1532 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1533 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemDiscriminator? Type1533 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantContentItem? Type1534 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemDiscriminatorType? Type1534 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantContentItemType? Type1535 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallObject? Type1535 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemObject? Type1536 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallType? Type1536 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemType? Type1537 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallStatus? Type1537 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemStatus? Type1538 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutputObject? Type1538 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemRole? Type1539 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutputType? Type1539 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1540 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutputStatus? Type1540 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemContentItem? Type1541 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantObject? Type1541 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemContentItemType? Type1542 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantType? Type1542 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserObject? Type1543 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantStatus? Type1543 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserType? Type1544 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantRole? Type1544 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserStatus? Type1545 { get; set; } + public global::System.Collections.Generic.IList? Type1545 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserRole? Type1546 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantContentItem? Type1546 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1547 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantContentItemType? Type1547 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserContentItem? Type1548 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemObject? Type1548 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserContentItemType? Type1549 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemType? Type1549 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserContentItemDetail? Type1550 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemStatus? Type1550 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReference? Type1551 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemRole? Type1551 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType? Type1552 { get; set; } + public global::System.Collections.Generic.IList? Type1552 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject? Type1553 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemContentItem? Type1553 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus? Type1554 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemContentItemType? Type1554 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole? Type1555 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserObject? Type1555 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1556 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserType? Type1556 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItem? Type1557 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserStatus? Type1557 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType? Type1558 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserRole? Type1558 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCreateClientSecretRequest? Type1559 { get; set; } + public global::System.Collections.Generic.IList? Type1559 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCreateClientSecretRequestExpiresAfter? Type1560 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserContentItem? Type1560 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCreateClientSecretRequestExpiresAfterAnchor? Type1561 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserContentItemType? Type1561 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCreateClientSecretResponse? Type1562 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserContentItemDetail? Type1562 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Session2? Type1563 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReference? Type1563 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGA? Type1564 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType? Type1564 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGA? Type1565 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject? Type1565 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCreateClientSecretResponseSessionDiscriminator? Type1566 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus? Type1566 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCreateClientSecretResponseSessionDiscriminatorType? Type1567 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole? Type1567 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeFunctionTool? Type1568 { get; set; } + public global::System.Collections.Generic.IList? Type1568 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeFunctionToolType? Type1569 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItem? Type1569 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPApprovalRequestType? Type1570 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType? Type1570 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPApprovalResponseType? Type1571 { get; set; } + public global::tryAGI.OpenAI.RealtimeCreateClientSecretRequest? Type1571 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPHTTPError? Type1572 { get; set; } + public global::tryAGI.OpenAI.RealtimeCreateClientSecretRequestExpiresAfter? Type1572 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPHTTPErrorType? Type1573 { get; set; } + public global::tryAGI.OpenAI.RealtimeCreateClientSecretRequestExpiresAfterAnchor? Type1573 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPListToolsType? Type1574 { get; set; } + public global::tryAGI.OpenAI.RealtimeCreateClientSecretResponse? Type1574 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPProtocolError? Type1575 { get; set; } + public global::tryAGI.OpenAI.Session2? Type1575 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPProtocolErrorType? Type1576 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGA? Type1576 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPToolCallType? Type1577 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGA? Type1577 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1578 { get; set; } + public global::tryAGI.OpenAI.RealtimeCreateClientSecretResponseSessionDiscriminator? Type1578 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPToolExecutionError? Type1579 { get; set; } + public global::tryAGI.OpenAI.RealtimeCreateClientSecretResponseSessionDiscriminatorType? Type1579 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPToolExecutionErrorType? Type1580 { get; set; } + public global::tryAGI.OpenAI.RealtimeFunctionTool? Type1580 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeReasoning? Type1581 { get; set; } + public global::tryAGI.OpenAI.RealtimeFunctionToolType? Type1581 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeReasoningEffort? Type1582 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPApprovalRequestType? Type1582 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponse? Type1583 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPApprovalResponseType? Type1583 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseObject? Type1584 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPHTTPError? Type1584 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseStatus? Type1585 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPHTTPErrorType? Type1585 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseStatusDetails? Type1586 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPListToolsType? Type1586 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseStatusDetailsType? Type1587 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPProtocolError? Type1587 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseStatusDetailsReason? Type1588 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPProtocolErrorType? Type1588 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseStatusDetailsError? Type1589 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPToolCallType? Type1589 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudio? Type1590 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1590 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioOutput? Type1591 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPToolExecutionError? Type1591 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseUsage? Type1592 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPToolExecutionErrorType? Type1592 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseUsageInputTokenDetails? Type1593 { get; set; } + public global::tryAGI.OpenAI.RealtimeReasoning? Type1593 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseUsageInputTokenDetailsCachedTokensDetails? Type1594 { get; set; } + public global::tryAGI.OpenAI.RealtimeReasoningEffort? Type1594 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseUsageOutputTokenDetails? Type1595 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponse? Type1595 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1596 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseObject? Type1596 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseOutputModalitie? Type1597 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseStatus? Type1597 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1598 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseStatusDetails? Type1598 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseMaxOutputTokens? Type1599 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseStatusDetailsType? Type1599 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1600 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseStatusDetailsReason? Type1600 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsOutputModalitie? Type1601 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseStatusDetailsError? Type1601 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsAudio? Type1602 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudio? Type1602 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsAudioOutput? Type1603 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioOutput? Type1603 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1604 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseUsage? Type1604 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1605 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseUsageInputTokenDetails? Type1605 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1606 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseUsageInputTokenDetailsCachedTokensDetails? Type1606 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsMaxOutputTokens? Type1607 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseUsageOutputTokenDetails? Type1607 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1608 { get; set; } + public global::System.Collections.Generic.IList? Type1608 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsConversation? Type1609 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseOutputModalitie? Type1609 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEvent? Type1610 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1610 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationCreated? Type1611 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseMaxOutputTokens? Type1611 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreated? Type1612 { get; set; } + public global::System.Collections.Generic.IList? Type1612 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeleted? Type1613 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsOutputModalitie? Type1613 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted? Type1614 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsAudio? Type1614 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta? Type1615 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsAudioOutput? Type1615 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailed? Type1616 { get; set; } + public global::System.Collections.Generic.IList>? Type1616 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemRetrieved? Type1617 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1617 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncated? Type1618 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1618 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventError? Type1619 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsMaxOutputTokens? Type1619 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCleared? Type1620 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1620 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommitted? Type1621 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsConversation? Type1621 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferDtmfEventReceived? Type1622 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEvent? Type1622 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStarted? Type1623 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationCreated? Type1623 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStopped? Type1624 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreated? Type1624 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdated? Type1625 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeleted? Type1625 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDelta? Type1626 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted? Type1626 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDone? Type1627 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta? Type1627 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDelta? Type1628 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailed? Type1628 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDone? Type1629 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemRetrieved? Type1629 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAdded? Type1630 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncated? Type1630 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDone? Type1631 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventError? Type1631 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseCreated? Type1632 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCleared? Type1632 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseDone? Type1633 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommitted? Type1633 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta? Type1634 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferDtmfEventReceived? Type1634 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone? Type1635 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStarted? Type1635 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAdded? Type1636 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStopped? Type1636 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDone? Type1637 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdated? Type1637 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDelta? Type1638 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDelta? Type1638 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDone? Type1639 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDone? Type1639 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionCreated? Type1640 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDelta? Type1640 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdated? Type1641 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDone? Type1641 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStarted? Type1642 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAdded? Type1642 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStopped? Type1643 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDone? Type1643 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferCleared? Type1644 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseCreated? Type1644 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemAdded? Type1645 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseDone? Type1645 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDone? Type1646 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta? Type1646 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferTimeoutTriggered? Type1647 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone? Type1647 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionSegment? Type1648 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAdded? Type1648 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsInProgress? Type1649 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDone? Type1649 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsCompleted? Type1650 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDelta? Type1650 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsFailed? Type1651 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDone? Type1651 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDelta? Type1652 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionCreated? Type1652 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDone? Type1653 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdated? Type1653 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallInProgress? Type1654 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStarted? Type1654 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallCompleted? Type1655 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStopped? Type1655 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallFailed? Type1656 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferCleared? Type1656 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventDiscriminator? Type1657 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemAdded? Type1657 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventDiscriminatorType? Type1658 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDone? Type1658 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedType? Type1659 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferTimeoutTriggered? Type1659 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedConversation? Type1660 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionSegment? Type1660 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemAddedType? Type1661 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsInProgress? Type1661 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreatedType? Type1662 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsCompleted? Type1662 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeletedType? Type1663 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsFailed? Type1663 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDoneType? Type1664 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDelta? Type1664 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompletedType? Type1665 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDone? Type1665 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDeltaType? Type1666 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallInProgress? Type1666 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedType? Type1667 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallCompleted? Type1667 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedError? Type1668 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallFailed? Type1668 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionSegmentType? Type1669 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventDiscriminator? Type1669 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemRetrievedType? Type1670 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventDiscriminatorType? Type1670 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncatedType? Type1671 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedType? Type1671 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventErrorType? Type1672 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedConversation? Type1672 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventErrorError? Type1673 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemAddedType? Type1673 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferClearedType? Type1674 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreatedType? Type1674 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommittedType? Type1675 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeletedType? Type1675 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferDtmfEventReceivedType? Type1676 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDoneType? Type1676 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStartedType? Type1677 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompletedType? Type1677 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStoppedType? Type1678 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDeltaType? Type1678 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferTimeoutTriggeredType? Type1679 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedType? Type1679 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsCompletedType? Type1680 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedError? Type1680 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsFailedType? Type1681 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionSegmentType? Type1681 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsInProgressType? Type1682 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemRetrievedType? Type1682 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferClearedType? Type1683 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncatedType? Type1683 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStartedType? Type1684 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventErrorType? Type1684 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStoppedType? Type1685 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventErrorError? Type1685 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedType? Type1686 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferClearedType? Type1686 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1687 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommittedType? Type1687 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimit? Type1688 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferDtmfEventReceivedType? Type1688 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitName? Type1689 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStartedType? Type1689 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDeltaType? Type1690 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStoppedType? Type1690 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDoneType? Type1691 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferTimeoutTriggeredType? Type1691 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDeltaType? Type1692 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsCompletedType? Type1692 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDoneType? Type1693 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsFailedType? Type1693 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedType? Type1694 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsInProgressType? Type1694 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPart? Type1695 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferClearedType? Type1695 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPartType? Type1696 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStartedType? Type1696 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDoneType? Type1697 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStoppedType? Type1697 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePart? Type1698 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedType? Type1698 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePartType? Type1699 { get; set; } + public global::System.Collections.Generic.IList? Type1699 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseCreatedType? Type1700 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimit? Type1700 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseDoneType? Type1701 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitName? Type1701 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDeltaType? Type1702 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDeltaType? Type1702 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDoneType? Type1703 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDoneType? Type1703 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDeltaType? Type1704 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDeltaType? Type1704 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDoneType? Type1705 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDoneType? Type1705 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallCompletedType? Type1706 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedType? Type1706 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallFailedType? Type1707 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPart? Type1707 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallInProgressType? Type1708 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPartType? Type1708 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAddedType? Type1709 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDoneType? Type1709 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDoneType? Type1710 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePart? Type1710 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDeltaType? Type1711 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePartType? Type1711 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDoneType? Type1712 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseCreatedType? Type1712 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionCreatedType? Type1713 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseDoneType? Type1713 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1714 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDeltaType? Type1714 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdatedType? Type1715 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDoneType? Type1715 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventTranscriptionSessionUpdated? Type1716 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDeltaType? Type1716 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventTranscriptionSessionUpdatedType? Type1717 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDoneType? Type1717 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionObject? Type1718 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallCompletedType? Type1718 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1719 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallFailedType? Type1719 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionModalitie? Type1720 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallInProgressType? Type1720 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type1721 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAddedType? Type1721 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionModel? Type1722 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDoneType? Type1722 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionInputAudioFormat? Type1723 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDeltaType? Type1723 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionOutputAudioFormat? Type1724 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDoneType? Type1724 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1? Type1725 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionCreatedType? Type1725 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionInputAudioNoiseReduction? Type1726 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1726 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1727 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdatedType? Type1727 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionTracingTracingConfigurationEnum? Type1728 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventTranscriptionSessionUpdated? Type1728 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionTracingTracingConfigurationEnum2? Type1729 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventTranscriptionSessionUpdatedType? Type1729 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1730 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionObject? Type1730 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1731 { get; set; } + public global::System.Collections.Generic.IList? Type1731 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionMaxResponseOutputTokens? Type1732 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionModalitie? Type1732 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1733 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type1733 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionIncludeVariant1Item? Type1734 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionModel? Type1734 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecret? Type1735 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionInputAudioFormat? Type1735 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1736 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionOutputAudioFormat? Type1736 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModalitie? Type1737 { get; set; } + public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1? Type1737 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioTranscription? Type1738 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionInputAudioNoiseReduction? Type1738 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1739 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1739 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTracingEnum? Type1740 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionTracingTracingConfigurationEnum? Type1740 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTracingEnum2? Type1741 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionTracingTracingConfigurationEnum2? Type1741 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTurnDetection? Type1742 { get; set; } + public global::System.Collections.Generic.IList? Type1742 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1743 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1743 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTool? Type1744 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionMaxResponseOutputTokens? Type1744 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestToolType? Type1745 { get; set; } + public global::System.Collections.Generic.IList? Type1745 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1746 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionIncludeVariant1Item? Type1746 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestMaxResponseOutputTokens? Type1747 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecret? Type1747 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTruncation? Type1748 { get; set; } + public global::System.Collections.Generic.IList? Type1748 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAType? Type1749 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModalitie? Type1749 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1750 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioTranscription? Type1750 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAOutputModalitie? Type1751 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1751 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type1752 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTracingEnum? Type1752 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAModel? Type1753 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTracingEnum2? Type1753 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudio? Type1754 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTurnDetection? Type1754 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudioInput? Type1755 { get; set; } + public global::System.Collections.Generic.IList? Type1755 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudioInputNoiseReduction? Type1756 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTool? Type1756 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudioOutput? Type1757 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestToolType? Type1757 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1758 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1758 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAIncludeItem? Type1759 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestMaxResponseOutputTokens? Type1759 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1760 { get; set; } + public global::tryAGI.OpenAI.RealtimeTruncation? Type1760 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGATracingEnum? Type1761 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAType? Type1761 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGATracingEnum2? Type1762 { get; set; } + public global::System.Collections.Generic.IList? Type1762 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1763 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAOutputModalitie? Type1763 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAMaxOutputTokens? Type1764 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type1764 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponse? Type1765 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAModel? Type1765 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1766 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudio? Type1766 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseIncludeItem? Type1767 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudioInput? Type1767 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1768 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudioInputNoiseReduction? Type1768 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseOutputModalitie? Type1769 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudioOutput? Type1769 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudio? Type1770 { get; set; } + public global::System.Collections.Generic.IList? Type1770 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioInput? Type1771 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAIncludeItem? Type1771 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioInputNoiseReduction? Type1772 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1772 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioInputTurnDetection? Type1773 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGATracingEnum? Type1773 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioOutput? Type1774 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGATracingEnum2? Type1774 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1775 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1775 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTracingEnum? Type1776 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAMaxOutputTokens? Type1776 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTracingEnum2? Type1777 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponse? Type1777 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTurnDetection? Type1778 { get; set; } + public global::System.Collections.Generic.IList? Type1778 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1779 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseIncludeItem? Type1779 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseMaxOutputTokens? Type1780 { get; set; } + public global::System.Collections.Generic.IList? Type1780 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAType? Type1781 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseOutputModalitie? Type1781 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAObject? Type1782 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudio? Type1782 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1783 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioInput? Type1783 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAOutputModalitie? Type1784 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioInputNoiseReduction? Type1784 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type1785 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioInputTurnDetection? Type1785 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAModel? Type1786 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioOutput? Type1786 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudio? Type1787 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1787 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudioInput? Type1788 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTracingEnum? Type1788 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudioInputNoiseReduction? Type1789 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTracingEnum2? Type1789 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudioOutput? Type1790 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTurnDetection? Type1790 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1791 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1791 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAIncludeItem? Type1792 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseMaxOutputTokens? Type1792 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGATracingTracingConfigurationEnum? Type1793 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAType? Type1793 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2? Type1794 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAObject? Type1794 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1795 { get; set; } + public global::System.Collections.Generic.IList? Type1795 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAMaxOutputTokens? Type1796 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAOutputModalitie? Type1796 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestTurnDetection? Type1797 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type1797 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestTurnDetectionType? Type1798 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAModel? Type1798 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction? Type1799 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudio? Type1799 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioFormat? Type1800 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudioInput? Type1800 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1801 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudioInputNoiseReduction? Type1801 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestIncludeItem? Type1802 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudioOutput? Type1802 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAType? Type1803 { get; set; } + public global::System.Collections.Generic.IList? Type1803 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAAudio? Type1804 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAIncludeItem? Type1804 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAAudioInput? Type1805 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGATracingTracingConfigurationEnum? Type1805 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAAudioInputNoiseReduction? Type1806 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2? Type1806 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1807 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1807 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAIncludeItem? Type1808 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAMaxOutputTokens? Type1808 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseClientSecret? Type1809 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestTurnDetection? Type1809 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1810 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestTurnDetectionType? Type1810 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseModalitie? Type1811 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction? Type1811 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseTurnDetection? Type1812 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioFormat? Type1812 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAType? Type1813 { get; set; } + public global::System.Collections.Generic.IList? Type1813 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1814 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestIncludeItem? Type1814 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAIncludeItem? Type1815 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAType? Type1815 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudio? Type1816 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAAudio? Type1816 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudioInput? Type1817 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAAudioInput? Type1817 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudioInputNoiseReduction? Type1818 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAAudioInputNoiseReduction? Type1818 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudioInputTurnDetection2? Type1819 { get; set; } + public global::System.Collections.Generic.IList? Type1819 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEvent? Type1820 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAIncludeItem? Type1820 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionUpdate? Type1821 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseClientSecret? Type1821 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventInputAudioBufferAppend? Type1822 { get; set; } + public global::System.Collections.Generic.IList? Type1822 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionClose? Type1823 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseModalitie? Type1823 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventDiscriminator? Type1824 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseTurnDetection? Type1824 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventDiscriminatorType? Type1825 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAType? Type1825 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventInputAudioBufferAppendType? Type1826 { get; set; } + public global::System.Collections.Generic.IList? Type1826 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionCloseType? Type1827 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAIncludeItem? Type1827 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionUpdateType? Type1828 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudio? Type1828 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequest? Type1829 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudioInput? Type1829 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateRequest? Type1830 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudioInputNoiseReduction? Type1830 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateRequestExpiresAfter? Type1831 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudioInputTurnDetection2? Type1831 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateRequestExpiresAfterAnchor? Type1832 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEvent? Type1832 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequest? Type1833 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionUpdate? Type1833 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateResponse? Type1834 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventInputAudioBufferAppend? Type1834 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSession? Type1835 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionClose? Type1835 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEvent? Type1836 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventDiscriminator? Type1836 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionCreated? Type1837 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventDiscriminatorType? Type1837 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionUpdated? Type1838 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventInputAudioBufferAppendType? Type1838 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionClosed? Type1839 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionCloseType? Type1839 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDelta? Type1840 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionUpdateType? Type1840 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDelta? Type1841 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequest? Type1841 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDelta? Type1842 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateRequest? Type1842 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventDiscriminator? Type1843 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateRequestExpiresAfter? Type1843 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventDiscriminatorType? Type1844 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateRequestExpiresAfterAnchor? Type1844 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionClosedType? Type1845 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequest? Type1845 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionCreatedType? Type1846 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateResponse? Type1846 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDeltaType? Type1847 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSession? Type1847 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaType? Type1848 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEvent? Type1848 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaFormat? Type1849 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionCreated? Type1849 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDeltaType? Type1850 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionUpdated? Type1850 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionUpdatedType? Type1851 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionClosed? Type1851 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionType? Type1852 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDelta? Type1852 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionAudio? Type1853 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDelta? Type1853 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInput? Type1854 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDelta? Type1854 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInputTranscription2? Type1855 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventDiscriminator? Type1855 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInputNoiseReduction2? Type1856 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventDiscriminatorType? Type1856 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioOutput? Type1857 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionClosedType? Type1857 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudio? Type1858 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionCreatedType? Type1858 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInput? Type1859 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDeltaType? Type1859 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInputTranscription2? Type1860 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaType? Type1860 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInputNoiseReduction2? Type1861 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaFormat? Type1861 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioOutput? Type1862 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDeltaType? Type1862 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudio? Type1863 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionUpdatedType? Type1863 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInput? Type1864 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionType? Type1864 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInputTranscription2? Type1865 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionAudio? Type1865 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInputNoiseReduction2? Type1866 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInput? Type1866 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioOutput? Type1867 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInputTranscription2? Type1867 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTruncationEnum? Type1868 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInputNoiseReduction2? Type1868 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTruncationEnum2? Type1869 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioOutput? Type1869 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTruncationEnumType? Type1870 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudio? Type1870 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTruncationEnumTokenLimits? Type1871 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInput? Type1871 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1ServerVad? Type1872 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInputTranscription2? Type1872 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVad? Type1873 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInputNoiseReduction2? Type1873 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness? Type1874 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioOutput? Type1874 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1Discriminator? Type1875 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudio? Type1875 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1DiscriminatorType? Type1876 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInput? Type1876 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Reasoning? Type1877 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInputTranscription2? Type1877 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningSummary2? Type1878 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInputNoiseReduction2? Type1878 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningGenerateSummary2? Type1879 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioOutput? Type1879 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningItemType? Type1880 { get; set; } + public global::tryAGI.OpenAI.RealtimeTruncationEnum? Type1880 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1881 { get; set; } + public global::tryAGI.OpenAI.RealtimeTruncationEnum2? Type1881 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SummaryTextContent? Type1882 { get; set; } + public global::tryAGI.OpenAI.RealtimeTruncationEnumType? Type1882 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1883 { get; set; } + public global::tryAGI.OpenAI.RealtimeTruncationEnumTokenLimits? Type1883 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningItemStatus? Type1884 { get; set; } + public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1ServerVad? Type1884 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Response? Type1885 { get; set; } + public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVad? Type1885 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3? Type1886 { get; set; } + public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness? Type1886 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3Object? Type1887 { get; set; } + public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1Discriminator? Type1887 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3Status? Type1888 { get; set; } + public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1DiscriminatorType? Type1888 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseErrorVariant1? Type1889 { get; set; } + public global::tryAGI.OpenAI.Reasoning? Type1889 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3IncompleteDetails2? Type1890 { get; set; } + public global::tryAGI.OpenAI.ReasoningSummary2? Type1890 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3IncompleteDetailsReason? Type1891 { get; set; } + public global::tryAGI.OpenAI.ReasoningGenerateSummary2? Type1891 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1892 { get; set; } + public global::tryAGI.OpenAI.ReasoningItemType? Type1892 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type1893 { get; set; } + public global::System.Collections.Generic.IList? Type1893 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseUsage? Type1894 { get; set; } + public global::tryAGI.OpenAI.SummaryTextContent? Type1894 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Conversation22? Type1895 { get; set; } + public global::System.Collections.Generic.IList? Type1895 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioDeltaEvent? Type1896 { get; set; } + public global::tryAGI.OpenAI.ReasoningItemStatus? Type1896 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioDeltaEventType? Type1897 { get; set; } + public global::tryAGI.OpenAI.Response? Type1897 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioDoneEvent? Type1898 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3? Type1898 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioDoneEventType? Type1899 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3Object? Type1899 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEvent? Type1900 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3Status? Type1900 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEventType? Type1901 { get; set; } + public global::tryAGI.OpenAI.ResponseErrorVariant1? Type1901 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEvent? Type1902 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3IncompleteDetails2? Type1902 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEventType? Type1903 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3IncompleteDetailsReason? Type1903 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent? Type1904 { get; set; } + public global::System.Collections.Generic.IList? Type1904 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEventType? Type1905 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type1905 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEvent? Type1906 { get; set; } + public global::tryAGI.OpenAI.ResponseUsage? Type1906 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEventType? Type1907 { get; set; } + public global::tryAGI.OpenAI.Conversation22? Type1907 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEvent? Type1908 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioDeltaEvent? Type1908 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEventType? Type1909 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioDeltaEventType? Type1909 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEvent? Type1910 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioDoneEvent? Type1910 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEventType? Type1911 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioDoneEventType? Type1911 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEvent? Type1912 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEvent? Type1912 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEventType? Type1913 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEventType? Type1913 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCompletedEvent? Type1914 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEvent? Type1914 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCompletedEventType? Type1915 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEventType? Type1915 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseContentPartAddedEvent? Type1916 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent? Type1916 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseContentPartAddedEventType? Type1917 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEventType? Type1917 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseContentPartDoneEvent? Type1918 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEvent? Type1918 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseContentPartDoneEventType? Type1919 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEventType? Type1919 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCreatedEvent? Type1920 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEvent? Type1920 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCreatedEventType? Type1921 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEventType? Type1921 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCustomToolCallInputDeltaEvent? Type1922 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEvent? Type1922 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCustomToolCallInputDeltaEventType? Type1923 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEventType? Type1923 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCustomToolCallInputDoneEvent? Type1924 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEvent? Type1924 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCustomToolCallInputDoneEventType? Type1925 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEventType? Type1925 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseErrorCode? Type1926 { get; set; } + public global::tryAGI.OpenAI.ResponseCompletedEvent? Type1926 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseErrorEvent? Type1927 { get; set; } + public global::tryAGI.OpenAI.ResponseCompletedEventType? Type1927 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseErrorEventType? Type1928 { get; set; } + public global::tryAGI.OpenAI.ResponseContentPartAddedEvent? Type1928 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFailedEvent? Type1929 { get; set; } + public global::tryAGI.OpenAI.ResponseContentPartAddedEventType? Type1929 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFailedEventType? Type1930 { get; set; } + public global::tryAGI.OpenAI.ResponseContentPartDoneEvent? Type1930 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallCompletedEvent? Type1931 { get; set; } + public global::tryAGI.OpenAI.ResponseContentPartDoneEventType? Type1931 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallCompletedEventType? Type1932 { get; set; } + public global::tryAGI.OpenAI.ResponseCreatedEvent? Type1932 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallInProgressEvent? Type1933 { get; set; } + public global::tryAGI.OpenAI.ResponseCreatedEventType? Type1933 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallInProgressEventType? Type1934 { get; set; } + public global::tryAGI.OpenAI.ResponseCustomToolCallInputDeltaEvent? Type1934 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallSearchingEvent? Type1935 { get; set; } + public global::tryAGI.OpenAI.ResponseCustomToolCallInputDeltaEventType? Type1935 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallSearchingEventType? Type1936 { get; set; } + public global::tryAGI.OpenAI.ResponseCustomToolCallInputDoneEvent? Type1936 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonObjectType? Type1937 { get; set; } + public global::tryAGI.OpenAI.ResponseCustomToolCallInputDoneEventType? Type1937 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonSchemaType? Type1938 { get; set; } + public global::tryAGI.OpenAI.ResponseErrorCode? Type1938 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonSchemaJsonSchema? Type1939 { get; set; } + public global::tryAGI.OpenAI.ResponseErrorEvent? Type1939 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonSchemaSchema? Type1940 { get; set; } + public global::tryAGI.OpenAI.ResponseErrorEventType? Type1940 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatTextType? Type1941 { get; set; } + public global::tryAGI.OpenAI.ResponseFailedEvent? Type1941 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatTextGrammar? Type1942 { get; set; } + public global::tryAGI.OpenAI.ResponseFailedEventType? Type1942 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatTextGrammarType? Type1943 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallCompletedEvent? Type1943 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatTextPython? Type1944 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallCompletedEventType? Type1944 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatTextPythonType? Type1945 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallInProgressEvent? Type1945 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDeltaEvent? Type1946 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallInProgressEventType? Type1946 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDeltaEventType? Type1947 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallSearchingEvent? Type1947 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDoneEvent? Type1948 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallSearchingEventType? Type1948 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDoneEventType? Type1949 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonObjectType? Type1949 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallCompletedEvent? Type1950 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonSchemaType? Type1950 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallCompletedEventType? Type1951 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonSchemaJsonSchema? Type1951 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallGeneratingEvent? Type1952 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonSchemaSchema? Type1952 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallGeneratingEventType? Type1953 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatTextType? Type1953 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallInProgressEvent? Type1954 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatTextGrammar? Type1954 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallInProgressEventType? Type1955 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatTextGrammarType? Type1955 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallPartialImageEvent? Type1956 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatTextPython? Type1956 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallPartialImageEventType? Type1957 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatTextPythonType? Type1957 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseInProgressEvent? Type1958 { get; set; } + public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDeltaEvent? Type1958 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseInProgressEventType? Type1959 { get; set; } + public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDeltaEventType? Type1959 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseIncompleteEvent? Type1960 { get; set; } + public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDoneEvent? Type1960 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseIncompleteEventType? Type1961 { get; set; } + public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDoneEventType? Type1961 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseItemList? Type1962 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallCompletedEvent? Type1962 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseItemListObject? Type1963 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallCompletedEventType? Type1963 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1964 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallGeneratingEvent? Type1964 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseLogProb? Type1965 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallGeneratingEventType? Type1965 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1966 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallInProgressEvent? Type1966 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseLogProbTopLogprob? Type1967 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallInProgressEventType? Type1967 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDeltaEvent? Type1968 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallPartialImageEvent? Type1968 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDeltaEventType? Type1969 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallPartialImageEventType? Type1969 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDoneEvent? Type1970 { get; set; } + public global::tryAGI.OpenAI.ResponseInProgressEvent? Type1970 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDoneEventType? Type1971 { get; set; } + public global::tryAGI.OpenAI.ResponseInProgressEventType? Type1971 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallCompletedEvent? Type1972 { get; set; } + public global::tryAGI.OpenAI.ResponseIncompleteEvent? Type1972 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallCompletedEventType? Type1973 { get; set; } + public global::tryAGI.OpenAI.ResponseIncompleteEventType? Type1973 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallFailedEvent? Type1974 { get; set; } + public global::tryAGI.OpenAI.ResponseItemList? Type1974 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallFailedEventType? Type1975 { get; set; } + public global::tryAGI.OpenAI.ResponseItemListObject? Type1975 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallInProgressEvent? Type1976 { get; set; } + public global::System.Collections.Generic.IList? Type1976 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallInProgressEventType? Type1977 { get; set; } + public global::tryAGI.OpenAI.ResponseLogProb? Type1977 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsCompletedEvent? Type1978 { get; set; } + public global::System.Collections.Generic.IList? Type1978 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsCompletedEventType? Type1979 { get; set; } + public global::tryAGI.OpenAI.ResponseLogProbTopLogprob? Type1979 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsFailedEvent? Type1980 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDeltaEvent? Type1980 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsFailedEventType? Type1981 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDeltaEventType? Type1981 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsInProgressEvent? Type1982 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDoneEvent? Type1982 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsInProgressEventType? Type1983 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDoneEventType? Type1983 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseModalitiesVariant1Item? Type1984 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallCompletedEvent? Type1984 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputItemAddedEvent? Type1985 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallCompletedEventType? Type1985 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputItemAddedEventType? Type1986 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallFailedEvent? Type1986 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputItemDoneEvent? Type1987 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallFailedEventType? Type1987 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputItemDoneEventType? Type1988 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallInProgressEvent? Type1988 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationAddedEvent? Type1989 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallInProgressEventType? Type1989 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationAddedEventType? Type1990 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsCompletedEvent? Type1990 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1991 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsCompletedEventType? Type1991 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseTextParam? Type1992 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsFailedEvent? Type1992 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceParam? Type1993 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsFailedEventType? Type1993 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsePropertiesTruncation2? Type1994 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsInProgressEvent? Type1994 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseQueuedEvent? Type1995 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsInProgressEventType? Type1995 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseQueuedEventType? Type1996 { get; set; } + public global::tryAGI.OpenAI.ResponseModalitiesVariant1Item? Type1996 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEvent? Type1997 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputItemAddedEvent? Type1997 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventType? Type1998 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputItemAddedEventType? Type1998 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPart? Type1999 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputItemDoneEvent? Type1999 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPartType? Type2000 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputItemDoneEventType? Type2000 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEvent? Type2001 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationAddedEvent? Type2001 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventType? Type2002 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationAddedEventType? Type2002 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPart? Type2003 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2003 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPartType? Type2004 { get; set; } + public global::tryAGI.OpenAI.ResponseTextParam? Type2004 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDeltaEvent? Type2005 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceParam? Type2005 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDeltaEventType? Type2006 { get; set; } + public global::tryAGI.OpenAI.ResponsePropertiesTruncation2? Type2006 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDoneEvent? Type2007 { get; set; } + public global::tryAGI.OpenAI.ResponseQueuedEvent? Type2007 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDoneEventType? Type2008 { get; set; } + public global::tryAGI.OpenAI.ResponseQueuedEventType? Type2008 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningTextDeltaEvent? Type2009 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEvent? Type2009 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningTextDeltaEventType? Type2010 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventType? Type2010 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningTextDoneEvent? Type2011 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPart? Type2011 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningTextDoneEventType? Type2012 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPartType? Type2012 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseRefusalDeltaEvent? Type2013 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEvent? Type2013 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseRefusalDeltaEventType? Type2014 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventType? Type2014 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseRefusalDoneEvent? Type2015 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPart? Type2015 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseRefusalDoneEventType? Type2016 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPartType? Type2016 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseStreamEvent? Type2017 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDeltaEvent? Type2017 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseTextDeltaEvent? Type2018 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDeltaEventType? Type2018 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseTextDoneEvent? Type2019 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDoneEvent? Type2019 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallCompletedEvent? Type2020 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDoneEventType? Type2020 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallInProgressEvent? Type2021 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningTextDeltaEvent? Type2021 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallSearchingEvent? Type2022 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningTextDeltaEventType? Type2022 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseStreamEventDiscriminator? Type2023 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningTextDoneEvent? Type2023 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseStreamEventDiscriminatorType? Type2024 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningTextDoneEventType? Type2024 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseTextDeltaEventType? Type2025 { get; set; } + public global::tryAGI.OpenAI.ResponseRefusalDeltaEvent? Type2025 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2026 { get; set; } + public global::tryAGI.OpenAI.ResponseRefusalDeltaEventType? Type2026 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseTextDoneEventType? Type2027 { get; set; } + public global::tryAGI.OpenAI.ResponseRefusalDoneEvent? Type2027 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseUsageInputTokensDetails? Type2028 { get; set; } + public global::tryAGI.OpenAI.ResponseRefusalDoneEventType? Type2028 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseUsageOutputTokensDetails? Type2029 { get; set; } + public global::tryAGI.OpenAI.ResponseStreamEvent? Type2029 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallCompletedEventType? Type2030 { get; set; } + public global::tryAGI.OpenAI.ResponseTextDeltaEvent? Type2030 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallInProgressEventType? Type2031 { get; set; } + public global::tryAGI.OpenAI.ResponseTextDoneEvent? Type2031 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallSearchingEventType? Type2032 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallCompletedEvent? Type2032 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsesClientEvent? Type2033 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallInProgressEvent? Type2033 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsesClientEventResponseCreate? Type2034 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallSearchingEvent? Type2034 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsesClientEventDiscriminator? Type2035 { get; set; } + public global::tryAGI.OpenAI.ResponseStreamEventDiscriminator? Type2035 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsesClientEventResponseCreateVariant1? Type2036 { get; set; } + public global::tryAGI.OpenAI.ResponseStreamEventDiscriminatorType? Type2036 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsesClientEventResponseCreateVariant1Type? Type2037 { get; set; } + public global::tryAGI.OpenAI.ResponseTextDeltaEventType? Type2037 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsesServerEvent? Type2038 { get; set; } + public global::System.Collections.Generic.IList? Type2038 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsesServerEventDiscriminator? Type2039 { get; set; } + public global::tryAGI.OpenAI.ResponseTextDoneEventType? Type2039 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RoleObject? Type2040 { get; set; } + public global::tryAGI.OpenAI.ResponseUsageInputTokensDetails? Type2040 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RoleDeletedResource? Type2041 { get; set; } + public global::tryAGI.OpenAI.ResponseUsageOutputTokensDetails? Type2041 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RoleDeletedResourceObject? Type2042 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallCompletedEventType? Type2042 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RoleListResource? Type2043 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallInProgressEventType? Type2043 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RoleListResourceObject? Type2044 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallSearchingEventType? Type2044 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2045 { get; set; } + public global::tryAGI.OpenAI.ResponsesClientEvent? Type2045 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunCompletionUsageVariant1? Type2046 { get; set; } + public global::tryAGI.OpenAI.ResponsesClientEventResponseCreate? Type2046 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunGraderRequest? Type2047 { get; set; } + public global::tryAGI.OpenAI.ResponsesClientEventDiscriminator? Type2047 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunGraderResponse? Type2048 { get; set; } + public global::tryAGI.OpenAI.ResponsesClientEventResponseCreateVariant1? Type2048 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunGraderResponseMetadata? Type2049 { get; set; } + public global::tryAGI.OpenAI.ResponsesClientEventResponseCreateVariant1Type? Type2049 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunGraderResponseMetadataErrors? Type2050 { get; set; } + public global::tryAGI.OpenAI.ResponsesServerEvent? Type2050 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectObject? Type2051 { get; set; } + public global::tryAGI.OpenAI.ResponsesServerEventDiscriminator? Type2051 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectStatus? Type2052 { get; set; } + public global::tryAGI.OpenAI.RoleObject? Type2052 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectRequiredAction? Type2053 { get; set; } + public global::tryAGI.OpenAI.RoleDeletedResource? Type2053 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectRequiredActionType? Type2054 { get; set; } + public global::tryAGI.OpenAI.RoleDeletedResourceObject? Type2054 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectRequiredActionSubmitToolOutputs? Type2055 { get; set; } + public global::tryAGI.OpenAI.RoleListResource? Type2055 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2056 { get; set; } + public global::tryAGI.OpenAI.RoleListResourceObject? Type2056 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunToolCallObject? Type2057 { get; set; } + public global::System.Collections.Generic.IList? Type2057 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectLastError? Type2058 { get; set; } + public global::tryAGI.OpenAI.RunCompletionUsageVariant1? Type2058 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectLastErrorCode? Type2059 { get; set; } + public global::tryAGI.OpenAI.RunGraderRequest? Type2059 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectIncompleteDetails? Type2060 { get; set; } + public global::tryAGI.OpenAI.RunGraderResponse? Type2060 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectIncompleteDetailsReason? Type2061 { get; set; } + public global::tryAGI.OpenAI.RunGraderResponseMetadata? Type2061 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepCompletionUsageVariant1? Type2062 { get; set; } + public global::tryAGI.OpenAI.RunGraderResponseMetadataErrors? Type2062 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObject? Type2063 { get; set; } + public global::tryAGI.OpenAI.RunObjectObject? Type2063 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObjectObject? Type2064 { get; set; } + public global::tryAGI.OpenAI.RunObjectStatus? Type2064 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObjectDelta? Type2065 { get; set; } + public global::tryAGI.OpenAI.RunObjectRequiredAction? Type2065 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2066 { get; set; } + public global::tryAGI.OpenAI.RunObjectRequiredActionType? Type2066 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObject? Type2067 { get; set; } + public global::tryAGI.OpenAI.RunObjectRequiredActionSubmitToolOutputs? Type2067 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObject? Type2068 { get; set; } + public global::System.Collections.Generic.IList? Type2068 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectType? Type2069 { get; set; } + public global::tryAGI.OpenAI.RunToolCallObject? Type2069 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectMessageCreation? Type2070 { get; set; } + public global::tryAGI.OpenAI.RunObjectLastError? Type2070 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObject? Type2071 { get; set; } + public global::tryAGI.OpenAI.RunObjectLastErrorCode? Type2071 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectType? Type2072 { get; set; } + public global::tryAGI.OpenAI.RunObjectIncompleteDetails? Type2072 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter? Type2073 { get; set; } + public global::tryAGI.OpenAI.RunObjectIncompleteDetailsReason? Type2073 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2074 { get; set; } + public global::tryAGI.OpenAI.RunStepCompletionUsageVariant1? Type2074 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject? Type2075 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObject? Type2075 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObject? Type2076 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObjectObject? Type2076 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectType? Type2077 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObjectDelta? Type2077 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage? Type2078 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2078 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObjectType? Type2079 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObject? Type2079 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObject? Type2080 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObject? Type2080 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObjectType? Type2081 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectType? Type2081 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject? Type2082 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectMessageCreation? Type2082 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectType? Type2083 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObject? Type2083 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectFunction? Type2084 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectType? Type2084 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectType? Type2085 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter? Type2085 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObject? Type2086 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2086 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectType? Type2087 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject? Type2087 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectMessageCreation? Type2088 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObject? Type2088 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObject? Type2089 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectType? Type2089 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectType? Type2090 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage? Type2090 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreter? Type2091 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObjectType? Type2091 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2092 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObject? Type2092 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2093 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObjectType? Type2093 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObject? Type2094 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject? Type2094 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObject? Type2095 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectType? Type2095 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectType? Type2096 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectFunction? Type2096 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectImage? Type2097 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectType? Type2097 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObjectType? Type2098 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObject? Type2098 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObject? Type2099 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectType? Type2099 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectType? Type2100 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectMessageCreation? Type2100 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectFileSearch? Type2101 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObject? Type2101 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchRankingOptionsObject? Type2102 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectType? Type2102 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2103 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreter? Type2103 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObject? Type2104 { get; set; } + public global::System.Collections.Generic.IList>? Type2104 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2105 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2105 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItem? Type2106 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObject? Type2106 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItemType? Type2107 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObject? Type2107 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObject? Type2108 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectType? Type2108 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectType? Type2109 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectImage? Type2109 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectFunction? Type2110 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObjectType? Type2110 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsObject? Type2111 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObject? Type2111 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectType? Type2112 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectType? Type2112 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectObject? Type2113 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectFileSearch? Type2113 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectType? Type2114 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchRankingOptionsObject? Type2114 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectStatus? Type2115 { get; set; } + public global::System.Collections.Generic.IList? Type2115 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2116 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObject? Type2116 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectLastError2? Type2117 { get; set; } + public global::System.Collections.Generic.IList? Type2117 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectLastErrorCode? Type2118 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItem? Type2118 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant1? Type2119 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItemType? Type2119 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant1Event? Type2120 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObject? Type2120 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant2? Type2121 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectType? Type2121 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant2Event? Type2122 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectFunction? Type2122 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant3? Type2123 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsObject? Type2123 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant3Event? Type2124 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectType? Type2124 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant4? Type2125 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectObject? Type2125 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant4Event? Type2126 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectType? Type2126 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant5? Type2127 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectStatus? Type2127 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant5Event? Type2128 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2128 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant6? Type2129 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectLastError2? Type2129 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant6Event? Type2130 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectLastErrorCode? Type2130 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant7? Type2131 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant1? Type2131 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant7Event? Type2132 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant1Event? Type2132 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant1? Type2133 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant2? Type2133 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant1Event? Type2134 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant2Event? Type2134 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant2? Type2135 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant3? Type2135 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant2Event? Type2136 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant3Event? Type2136 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant3? Type2137 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant4? Type2137 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant3Event? Type2138 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant4Event? Type2138 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant4? Type2139 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant5? Type2139 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant4Event? Type2140 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant5Event? Type2140 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant5? Type2141 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant6? Type2141 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant5Event? Type2142 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant6Event? Type2142 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant6? Type2143 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant7? Type2143 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant6Event? Type2144 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant7Event? Type2144 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant7? Type2145 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant1? Type2145 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant7Event? Type2146 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant1Event? Type2146 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant8? Type2147 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant2? Type2147 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant8Event? Type2148 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant2Event? Type2148 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant9? Type2149 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant3? Type2149 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant9Event? Type2150 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant3Event? Type2150 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant10? Type2151 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant4? Type2151 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant10Event? Type2152 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant4Event? Type2152 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunToolCallObjectType? Type2153 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant5? Type2153 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunToolCallObjectFunction? Type2154 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant5Event? Type2154 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpeechAudioDeltaEventType? Type2155 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant6? Type2155 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpeechAudioDoneEventType? Type2156 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant6Event? Type2156 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpeechAudioDoneEventUsage? Type2157 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant7? Type2157 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategy? Type2158 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant7Event? Type2158 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyRequestParamType? Type2159 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant8? Type2159 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParam? Type2160 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant8Event? Type2160 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParamType? Type2161 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant9? Type2161 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SubmitToolOutputsRunRequest? Type2162 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant9Event? Type2162 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2163 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant10? Type2163 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SubmitToolOutputsRunRequestToolOutput? Type2164 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant10Event? Type2164 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextResponseFormatJsonSchema? Type2165 { get; set; } + public global::tryAGI.OpenAI.RunToolCallObjectType? Type2165 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextResponseFormatJsonSchemaType? Type2166 { get; set; } + public global::tryAGI.OpenAI.RunToolCallObjectFunction? Type2166 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObject? Type2167 { get; set; } + public global::tryAGI.OpenAI.SpeechAudioDeltaEventType? Type2167 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectObject? Type2168 { get; set; } + public global::tryAGI.OpenAI.SpeechAudioDoneEventType? Type2168 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectToolResources2? Type2169 { get; set; } + public global::tryAGI.OpenAI.SpeechAudioDoneEventUsage? Type2169 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectToolResourcesCodeInterpreter? Type2170 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategy? Type2170 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectToolResourcesFileSearch? Type2171 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyRequestParamType? Type2171 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadStreamEventVariant1? Type2172 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParam? Type2172 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadStreamEventVariant1Event? Type2173 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParamType? Type2173 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToggleCertificatesRequest? Type2174 { get; set; } + public global::tryAGI.OpenAI.SubmitToolOutputsRunRequest? Type2174 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionTool? Type2175 { get; set; } + public global::System.Collections.Generic.IList? Type2175 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchTool? Type2176 { get; set; } + public global::tryAGI.OpenAI.SubmitToolOutputsRunRequestToolOutput? Type2176 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerTool? Type2177 { get; set; } + public global::tryAGI.OpenAI.TextResponseFormatJsonSchema? Type2177 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUsePreviewTool? Type2178 { get; set; } + public global::tryAGI.OpenAI.TextResponseFormatJsonSchemaType? Type2178 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchTool? Type2179 { get; set; } + public global::tryAGI.OpenAI.ThreadObject? Type2179 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolParam? Type2180 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectObject? Type2180 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellToolParam? Type2181 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectToolResources2? Type2181 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolParam? Type2182 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectToolResourcesCodeInterpreter? Type2182 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NamespaceToolParam? Type2183 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectToolResourcesFileSearch? Type2183 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchToolParam? Type2184 { get; set; } + public global::tryAGI.OpenAI.ThreadStreamEventVariant1? Type2184 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchPreviewTool? Type2185 { get; set; } + public global::tryAGI.OpenAI.ThreadStreamEventVariant1Event? Type2185 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolParam? Type2186 { get; set; } + public global::tryAGI.OpenAI.ToggleCertificatesRequest? Type2186 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolDiscriminator? Type2187 { get; set; } + public global::tryAGI.OpenAI.FunctionTool? Type2187 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolDiscriminatorType? Type2188 { get; set; } + public global::tryAGI.OpenAI.FileSearchTool? Type2188 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceAllowed? Type2189 { get; set; } + public global::tryAGI.OpenAI.ComputerTool? Type2189 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceAllowedType? Type2190 { get; set; } + public global::tryAGI.OpenAI.ComputerUsePreviewTool? Type2190 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceAllowedMode? Type2191 { get; set; } + public global::tryAGI.OpenAI.WebSearchTool? Type2191 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceCustom? Type2192 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolParam? Type2192 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceCustomType? Type2193 { get; set; } + public global::tryAGI.OpenAI.FunctionShellToolParam? Type2193 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceFunctionType? Type2194 { get; set; } + public global::tryAGI.OpenAI.CustomToolParam? Type2194 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceMCPType? Type2195 { get; set; } + public global::tryAGI.OpenAI.NamespaceToolParam? Type2195 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceTypes? Type2196 { get; set; } + public global::tryAGI.OpenAI.ToolSearchToolParam? Type2196 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpecificApplyPatchParam? Type2197 { get; set; } + public global::tryAGI.OpenAI.WebSearchPreviewTool? Type2197 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpecificFunctionShellParam? Type2198 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolParam? Type2198 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceTypesType? Type2199 { get; set; } + public global::tryAGI.OpenAI.ToolDiscriminator? Type2199 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDeltaEventType? Type2200 { get; set; } + public global::tryAGI.OpenAI.ToolDiscriminatorType? Type2200 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2201 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceAllowed? Type2201 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDeltaEventLogprob? Type2202 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceAllowedType? Type2202 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDoneEventType? Type2203 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceAllowedMode? Type2203 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2204 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceCustom? Type2204 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDoneEventLogprob? Type2205 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceCustomType? Type2205 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextSegmentEventType? Type2206 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceFunctionType? Type2206 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextUsageDurationType? Type2207 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceMCPType? Type2207 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextUsageTokensType? Type2208 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceTypes? Type2208 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextUsageTokensInputTokenDetails? Type2209 { get; set; } + public global::tryAGI.OpenAI.SpecificApplyPatchParam? Type2209 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionChunkingStrategy? Type2210 { get; set; } + public global::tryAGI.OpenAI.SpecificFunctionShellParam? Type2210 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionChunkingStrategyEnum? Type2211 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceTypesType? Type2211 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionDiarizedSegmentType? Type2212 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDeltaEventType? Type2212 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TruncationObjectType? Type2213 { get; set; } + public global::System.Collections.Generic.IList? Type2213 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateGroupBody? Type2214 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDeltaEventLogprob? Type2214 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateVectorStoreFileAttributesRequest? Type2215 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDoneEventType? Type2215 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateVectorStoreRequest? Type2216 { get; set; } + public global::System.Collections.Generic.IList? Type2216 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type2217 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDoneEventLogprob? Type2217 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateVoiceConsentRequest? Type2218 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextSegmentEventType? Type2218 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Upload? Type2219 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextUsageDurationType? Type2219 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadStatus? Type2220 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextUsageTokensType? Type2220 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadObject? Type2221 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextUsageTokensInputTokenDetails? Type2221 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type2222 { get; set; } + public global::tryAGI.OpenAI.TranscriptionChunkingStrategy? Type2222 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadCertificateRequest? Type2223 { get; set; } + public global::tryAGI.OpenAI.TranscriptionChunkingStrategyEnum? Type2223 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadPart? Type2224 { get; set; } + public global::tryAGI.OpenAI.TranscriptionDiarizedSegmentType? Type2224 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadPartObject? Type2225 { get; set; } + public global::tryAGI.OpenAI.TruncationObjectType? Type2225 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesResult? Type2226 { get; set; } + public global::tryAGI.OpenAI.UpdateGroupBody? Type2226 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesResultObject? Type2227 { get; set; } + public global::tryAGI.OpenAI.UpdateVectorStoreFileAttributesRequest? Type2227 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsResult? Type2228 { get; set; } + public global::tryAGI.OpenAI.UpdateVectorStoreRequest? Type2228 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsResultObject? Type2229 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type2229 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult? Type2230 { get; set; } + public global::tryAGI.OpenAI.UpdateVoiceConsentRequest? Type2230 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResultObject? Type2231 { get; set; } + public global::tryAGI.OpenAI.Upload? Type2231 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsResult? Type2232 { get; set; } + public global::tryAGI.OpenAI.UploadStatus? Type2232 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsResultObject? Type2233 { get; set; } + public global::tryAGI.OpenAI.UploadObject? Type2233 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsResult? Type2234 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type2234 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsResultObject? Type2235 { get; set; } + public global::tryAGI.OpenAI.UploadCertificateRequest? Type2235 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesResult? Type2236 { get; set; } + public global::tryAGI.OpenAI.UploadPart? Type2236 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesResultObject? Type2237 { get; set; } + public global::tryAGI.OpenAI.UploadPartObject? Type2237 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsResult? Type2238 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesResult? Type2238 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsResultObject? Type2239 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesResultObject? Type2239 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageResponse? Type2240 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsResult? Type2240 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageResponseObject? Type2241 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsResultObject? Type2241 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2242 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult? Type2242 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageTimeBucket? Type2243 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResultObject? Type2243 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageTimeBucketObject? Type2244 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsResult? Type2244 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2245 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsResultObject? Type2245 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResultsItem? Type2246 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsResult? Type2246 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresResult? Type2247 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsResultObject? Type2247 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageTimeBucketResultDiscriminator? Type2248 { get; set; } + public global::tryAGI.OpenAI.UsageFileSearchCallsResult? Type2248 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageTimeBucketResultDiscriminatorObject? Type2249 { get; set; } + public global::tryAGI.OpenAI.UsageFileSearchCallsResultObject? Type2249 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresResultObject? Type2250 { get; set; } + public global::tryAGI.OpenAI.UsageImagesResult? Type2250 { get; set; } /// /// /// - public global::tryAGI.OpenAI.User? Type2251 { get; set; } + public global::tryAGI.OpenAI.UsageImagesResultObject? Type2251 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserObject? Type2252 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsResult? Type2252 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserUser1? Type2253 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsResultObject? Type2253 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserUser1Object? Type2254 { get; set; } + public global::tryAGI.OpenAI.UsageResponse? Type2254 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserProjects2? Type2255 { get; set; } + public global::tryAGI.OpenAI.UsageResponseObject? Type2255 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserProjectsObject? Type2256 { get; set; } + public global::System.Collections.Generic.IList? Type2256 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2257 { get; set; } + public global::tryAGI.OpenAI.UsageTimeBucket? Type2257 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserProjectsDataItem? Type2258 { get; set; } + public global::tryAGI.OpenAI.UsageTimeBucketObject? Type2258 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserDeleteResponse? Type2259 { get; set; } + public global::System.Collections.Generic.IList? Type2259 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserDeleteResponseObject? Type2260 { get; set; } + public global::tryAGI.OpenAI.ResultsItem? Type2260 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserListResource? Type2261 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresResult? Type2261 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserListResourceObject? Type2262 { get; set; } + public global::tryAGI.OpenAI.UsageWebSearchCallsResult? Type2262 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2263 { get; set; } + public global::tryAGI.OpenAI.UsageTimeBucketResultDiscriminator? Type2263 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserListResponse? Type2264 { get; set; } + public global::tryAGI.OpenAI.UsageTimeBucketResultDiscriminatorObject? Type2264 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserListResponseObject? Type2265 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresResultObject? Type2265 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2266 { get; set; } + public global::tryAGI.OpenAI.UsageWebSearchCallsResultObject? Type2266 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserRoleAssignment? Type2267 { get; set; } + public global::tryAGI.OpenAI.User? Type2267 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserRoleAssignmentObject? Type2268 { get; set; } + public global::tryAGI.OpenAI.UserObject? Type2268 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserRoleUpdateRequest? Type2269 { get; set; } + public global::tryAGI.OpenAI.UserUser1? Type2269 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VadConfigType? Type2270 { get; set; } + public global::tryAGI.OpenAI.UserUser1Object? Type2270 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ValidateGraderRequest? Type2271 { get; set; } + public global::tryAGI.OpenAI.UserProjects2? Type2271 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ValidateGraderResponse? Type2272 { get; set; } + public global::tryAGI.OpenAI.UserProjectsObject? Type2272 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreExpirationAfterAnchor? Type2273 { get; set; } + public global::System.Collections.Generic.IList? Type2273 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2274 { get; set; } + public global::tryAGI.OpenAI.UserProjectsDataItem? Type2274 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObject? Type2275 { get; set; } + public global::tryAGI.OpenAI.UserDeleteResponse? Type2275 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObjectObject? Type2276 { get; set; } + public global::tryAGI.OpenAI.UserDeleteResponseObject? Type2276 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObjectStatus? Type2277 { get; set; } + public global::tryAGI.OpenAI.UserListResource? Type2277 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObjectFileCounts? Type2278 { get; set; } + public global::tryAGI.OpenAI.UserListResourceObject? Type2278 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileContentResponse? Type2279 { get; set; } + public global::System.Collections.Generic.IList? Type2279 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileContentResponseObject? Type2280 { get; set; } + public global::tryAGI.OpenAI.UserListResponse? Type2280 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2281 { get; set; } + public global::tryAGI.OpenAI.UserListResponseObject? Type2281 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileContentResponseDataItem? Type2282 { get; set; } + public global::System.Collections.Generic.IList? Type2282 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectObject? Type2283 { get; set; } + public global::tryAGI.OpenAI.UserRoleAssignment? Type2283 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectStatus? Type2284 { get; set; } + public global::tryAGI.OpenAI.UserRoleAssignmentObject? Type2284 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectLastError2? Type2285 { get; set; } + public global::tryAGI.OpenAI.UserRoleUpdateRequest? Type2285 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectLastErrorCode? Type2286 { get; set; } + public global::tryAGI.OpenAI.VadConfigType? Type2286 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2287 { get; set; } + public global::tryAGI.OpenAI.ValidateGraderRequest? Type2287 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObjectObject? Type2288 { get; set; } + public global::tryAGI.OpenAI.ValidateGraderResponse? Type2288 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObjectFileCounts? Type2289 { get; set; } + public global::tryAGI.OpenAI.VectorStoreExpirationAfterAnchor? Type2289 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObjectStatus? Type2290 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2290 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchRequest? Type2291 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObject? Type2291 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type2292 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObjectObject? Type2292 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2293 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObjectStatus? Type2293 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchRequestRankingOptions? Type2294 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObjectFileCounts? Type2294 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchRequestRankingOptionsRanker? Type2295 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileContentResponse? Type2295 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultContentObject? Type2296 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileContentResponseObject? Type2296 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultContentObjectType? Type2297 { get; set; } + public global::System.Collections.Generic.IList? Type2297 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultItem? Type2298 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileContentResponseDataItem? Type2298 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2299 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectObject? Type2299 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultsPage? Type2300 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectStatus? Type2300 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultsPageObject? Type2301 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectLastError2? Type2301 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2302 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectLastErrorCode? Type2302 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceConsentDeletedResource? Type2303 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2303 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceConsentDeletedResourceObject? Type2304 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObjectObject? Type2304 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceConsentListResource? Type2305 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObjectFileCounts? Type2305 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceConsentListResourceObject? Type2306 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObjectStatus? Type2306 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2307 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchRequest? Type2307 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceConsentResource? Type2308 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type2308 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceConsentResourceObject? Type2309 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2309 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceIdsOrCustomVoiceVariant2? Type2310 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchRequestRankingOptions? Type2310 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceIdsSharedEnum? Type2311 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchRequestRankingOptionsRanker? Type2311 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceResource? Type2312 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultContentObject? Type2312 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceResourceObject? Type2313 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultContentObjectType? Type2313 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionFind? Type2314 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultItem? Type2314 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionFindType? Type2315 { get; set; } + public global::System.Collections.Generic.IList? Type2315 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionOpenPage? Type2316 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultsPage? Type2316 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionOpenPageType? Type2317 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultsPageObject? Type2317 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionSearch? Type2318 { get; set; } + public global::System.Collections.Generic.IList? Type2318 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionSearchType? Type2319 { get; set; } + public global::tryAGI.OpenAI.VoiceConsentDeletedResource? Type2319 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2320 { get; set; } + public global::tryAGI.OpenAI.VoiceConsentDeletedResourceObject? Type2320 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionSearchSource? Type2321 { get; set; } + public global::tryAGI.OpenAI.VoiceConsentListResource? Type2321 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionSearchSourceType? Type2322 { get; set; } + public global::tryAGI.OpenAI.VoiceConsentListResourceObject? Type2322 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchApproximateLocationWebSearchApproximateLocation1? Type2323 { get; set; } + public global::System.Collections.Generic.IList? Type2323 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchApproximateLocationWebSearchApproximateLocation1Type? Type2324 { get; set; } + public global::tryAGI.OpenAI.VoiceConsentResource? Type2324 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolType? Type2325 { get; set; } + public global::tryAGI.OpenAI.VoiceConsentResourceObject? Type2325 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolFilters2? Type2326 { get; set; } + public global::tryAGI.OpenAI.VoiceIdsOrCustomVoiceVariant2? Type2326 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolSearchContextSize? Type2327 { get; set; } + public global::tryAGI.OpenAI.VoiceIdsSharedEnum? Type2327 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolCallType? Type2328 { get; set; } + public global::tryAGI.OpenAI.VoiceResource? Type2328 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolCallStatus? Type2329 { get; set; } + public global::tryAGI.OpenAI.VoiceResourceObject? Type2329 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolCallAction? Type2330 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionFind? Type2330 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminator? Type2331 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionFindType? Type2331 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminatorType? Type2332 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionOpenPage? Type2332 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCancelled? Type2333 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionOpenPageType? Type2333 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCancelledData? Type2334 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionSearch? Type2334 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCancelledObject? Type2335 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionSearchType? Type2335 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCancelledType? Type2336 { get; set; } + public global::System.Collections.Generic.IList? Type2336 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCompleted? Type2337 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionSearchSource? Type2337 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCompletedData? Type2338 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionSearchSourceType? Type2338 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCompletedObject? Type2339 { get; set; } + public global::tryAGI.OpenAI.WebSearchApproximateLocationWebSearchApproximateLocation1? Type2339 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCompletedType? Type2340 { get; set; } + public global::tryAGI.OpenAI.WebSearchApproximateLocationWebSearchApproximateLocation1Type? Type2340 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchExpired? Type2341 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolType? Type2341 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchExpiredData? Type2342 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolFilters2? Type2342 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchExpiredObject? Type2343 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolSearchContextSize? Type2343 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchExpiredType? Type2344 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolCallType? Type2344 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchFailed? Type2345 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolCallStatus? Type2345 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchFailedData? Type2346 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolCallAction? Type2346 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchFailedObject? Type2347 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminator? Type2347 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchFailedType? Type2348 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminatorType? Type2348 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunCanceled? Type2349 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCancelled? Type2349 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunCanceledData? Type2350 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCancelledData? Type2350 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunCanceledObject? Type2351 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCancelledObject? Type2351 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunCanceledType? Type2352 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCancelledType? Type2352 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunFailed? Type2353 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCompleted? Type2353 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunFailedData? Type2354 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCompletedData? Type2354 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunFailedObject? Type2355 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCompletedObject? Type2355 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunFailedType? Type2356 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCompletedType? Type2356 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunSucceeded? Type2357 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchExpired? Type2357 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunSucceededData? Type2358 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchExpiredData? Type2358 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunSucceededObject? Type2359 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchExpiredObject? Type2359 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunSucceededType? Type2360 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchExpiredType? Type2360 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobCancelled? Type2361 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchFailed? Type2361 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledData? Type2362 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchFailedData? Type2362 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledObject? Type2363 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchFailedObject? Type2363 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledType? Type2364 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchFailedType? Type2364 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobFailed? Type2365 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunCanceled? Type2365 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobFailedData? Type2366 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunCanceledData? Type2366 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobFailedObject? Type2367 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunCanceledObject? Type2367 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobFailedType? Type2368 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunCanceledType? Type2368 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobSucceeded? Type2369 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunFailed? Type2369 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededData? Type2370 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunFailedData? Type2370 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededObject? Type2371 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunFailedObject? Type2371 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededType? Type2372 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunFailedType? Type2372 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncoming? Type2373 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunSucceeded? Type2373 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingData? Type2374 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunSucceededData? Type2374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2375 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunSucceededObject? Type2375 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingDataSipHeader? Type2376 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunSucceededType? Type2376 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingObject? Type2377 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobCancelled? Type2377 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingType? Type2378 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledData? Type2378 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCancelled? Type2379 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledObject? Type2379 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCancelledData? Type2380 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledType? Type2380 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCancelledObject? Type2381 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobFailed? Type2381 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCancelledType? Type2382 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobFailedData? Type2382 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCompleted? Type2383 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobFailedObject? Type2383 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCompletedData? Type2384 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobFailedType? Type2384 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCompletedObject? Type2385 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobSucceeded? Type2385 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCompletedType? Type2386 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededData? Type2386 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseFailed? Type2387 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededObject? Type2387 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseFailedData? Type2388 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededType? Type2388 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseFailedObject? Type2389 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncoming? Type2389 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseFailedType? Type2390 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingData? Type2390 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseIncomplete? Type2391 { get; set; } + public global::System.Collections.Generic.IList? Type2391 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseIncompleteData? Type2392 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingDataSipHeader? Type2392 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseIncompleteObject? Type2393 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingObject? Type2393 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseIncompleteType? Type2394 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingType? Type2394 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillReferenceParamType? Type2395 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCancelled? Type2395 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineSkillSourceParam? Type2396 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCancelledData? Type2396 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineSkillSourceParamType? Type2397 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCancelledObject? Type2397 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineSkillSourceParamMediaType? Type2398 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCancelledType? Type2398 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineSkillParamType? Type2399 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCompleted? Type2399 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerNetworkPolicyDisabledParamType? Type2400 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCompletedData? Type2400 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerNetworkPolicyDomainSecretParam? Type2401 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCompletedObject? Type2401 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerNetworkPolicyAllowlistParamType? Type2402 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCompletedType? Type2402 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2403 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseFailed? Type2403 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStatus? Type2404 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseFailedData? Type2404 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageRole? Type2405 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseFailedObject? Type2405 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputTextContentType? Type2406 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseFailedType? Type2406 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileCitationBody? Type2407 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseIncomplete? Type2407 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileCitationBodyType? Type2408 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseIncompleteData? Type2408 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlCitationBody? Type2409 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseIncompleteObject? Type2409 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlCitationBodyType? Type2410 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseIncompleteType? Type2410 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileCitationBody? Type2411 { get; set; } + public global::tryAGI.OpenAI.SkillReferenceParamType? Type2411 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileCitationBodyType? Type2412 { get; set; } + public global::tryAGI.OpenAI.InlineSkillSourceParam? Type2412 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Annotation? Type2413 { get; set; } + public global::tryAGI.OpenAI.InlineSkillSourceParamType? Type2413 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationDiscriminator? Type2414 { get; set; } + public global::tryAGI.OpenAI.InlineSkillSourceParamMediaType? Type2414 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationDiscriminatorType? Type2415 { get; set; } + public global::tryAGI.OpenAI.InlineSkillParamType? Type2415 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TopLogProb? Type2416 { get; set; } + public global::tryAGI.OpenAI.ContainerNetworkPolicyDisabledParamType? Type2416 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LogProb? Type2417 { get; set; } + public global::tryAGI.OpenAI.ContainerNetworkPolicyDomainSecretParam? Type2417 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2418 { get; set; } + public global::tryAGI.OpenAI.ContainerNetworkPolicyAllowlistParamType? Type2418 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputTextContentType? Type2419 { get; set; } + public global::System.Collections.Generic.IList? Type2419 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2420 { get; set; } + public global::tryAGI.OpenAI.MessageStatus? Type2420 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2421 { get; set; } + public global::tryAGI.OpenAI.MessageRole? Type2421 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextContent? Type2422 { get; set; } + public global::tryAGI.OpenAI.InputTextContentType? Type2422 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextContentType? Type2423 { get; set; } + public global::tryAGI.OpenAI.FileCitationBody? Type2423 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SummaryTextContentType? Type2424 { get; set; } + public global::tryAGI.OpenAI.FileCitationBodyType? Type2424 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningTextContentType? Type2425 { get; set; } + public global::tryAGI.OpenAI.UrlCitationBody? Type2425 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RefusalContentType? Type2426 { get; set; } + public global::tryAGI.OpenAI.UrlCitationBodyType? Type2426 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageDetail? Type2427 { get; set; } + public global::tryAGI.OpenAI.ContainerFileCitationBody? Type2427 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputImageContentType? Type2428 { get; set; } + public global::tryAGI.OpenAI.ContainerFileCitationBodyType? Type2428 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerScreenshotContent? Type2429 { get; set; } + public global::tryAGI.OpenAI.Annotation? Type2429 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerScreenshotContentType? Type2430 { get; set; } + public global::tryAGI.OpenAI.AnnotationDiscriminator? Type2430 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileInputDetail? Type2431 { get; set; } + public global::tryAGI.OpenAI.AnnotationDiscriminatorType? Type2431 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputFileContentType? Type2432 { get; set; } + public global::tryAGI.OpenAI.TopLogProb? Type2432 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessagePhase2? Type2433 { get; set; } + public global::tryAGI.OpenAI.LogProb? Type2433 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageType? Type2434 { get; set; } + public global::System.Collections.Generic.IList? Type2434 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2435 { get; set; } + public global::tryAGI.OpenAI.OutputTextContentType? Type2435 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem3? Type2436 { get; set; } + public global::System.Collections.Generic.IList? Type2436 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentItemDiscriminator? Type2437 { get; set; } + public global::System.Collections.Generic.IList? Type2437 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentItemDiscriminatorType? Type2438 { get; set; } + public global::tryAGI.OpenAI.TextContent? Type2438 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClickButtonType? Type2439 { get; set; } + public global::tryAGI.OpenAI.TextContentType? Type2439 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClickParamType? Type2440 { get; set; } + public global::tryAGI.OpenAI.SummaryTextContentType? Type2440 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoubleClickActionType? Type2441 { get; set; } + public global::tryAGI.OpenAI.ReasoningTextContentType? Type2441 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CoordParam? Type2442 { get; set; } + public global::tryAGI.OpenAI.RefusalContentType? Type2442 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DragParamType? Type2443 { get; set; } + public global::tryAGI.OpenAI.ImageDetail? Type2443 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2444 { get; set; } + public global::tryAGI.OpenAI.InputImageContentType? Type2444 { get; set; } /// /// /// - public global::tryAGI.OpenAI.KeyPressActionType? Type2445 { get; set; } + public global::tryAGI.OpenAI.ComputerScreenshotContent? Type2445 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MoveParamType? Type2446 { get; set; } + public global::tryAGI.OpenAI.ComputerScreenshotContentType? Type2446 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ScreenshotParamType? Type2447 { get; set; } + public global::tryAGI.OpenAI.FileInputDetail? Type2447 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ScrollParamType? Type2448 { get; set; } + public global::tryAGI.OpenAI.InputFileContentType? Type2448 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TypeParamType? Type2449 { get; set; } + public global::tryAGI.OpenAI.MessagePhase2? Type2449 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WaitParamType? Type2450 { get; set; } + public global::tryAGI.OpenAI.MessageType? Type2450 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchExecutionType? Type2451 { get; set; } + public global::System.Collections.Generic.IList? Type2451 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchCallType? Type2452 { get; set; } + public global::tryAGI.OpenAI.ContentItem3? Type2452 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolType? Type2453 { get; set; } + public global::tryAGI.OpenAI.MessageContentItemDiscriminator? Type2453 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RankerVersionType? Type2454 { get; set; } + public global::tryAGI.OpenAI.MessageContentItemDiscriminatorType? Type2454 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HybridSearchOptions? Type2455 { get; set; } + public global::tryAGI.OpenAI.ClickButtonType? Type2455 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RankingOptions? Type2456 { get; set; } + public global::tryAGI.OpenAI.ClickParamType? Type2456 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Filters2? Type2457 { get; set; } + public global::tryAGI.OpenAI.DoubleClickActionType? Type2457 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchToolType? Type2458 { get; set; } + public global::tryAGI.OpenAI.CoordParam? Type2458 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolType? Type2459 { get; set; } + public global::tryAGI.OpenAI.DragParamType? Type2459 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerEnvironment? Type2460 { get; set; } + public global::System.Collections.Generic.IList? Type2460 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUsePreviewToolType? Type2461 { get; set; } + public global::tryAGI.OpenAI.KeyPressActionType? Type2461 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerMemoryLimit? Type2462 { get; set; } + public global::tryAGI.OpenAI.MoveParamType? Type2462 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamType? Type2463 { get; set; } + public global::tryAGI.OpenAI.ScreenshotParamType? Type2463 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NetworkPolicy2? Type2464 { get; set; } + public global::tryAGI.OpenAI.ScrollParamType? Type2464 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamNetworkPolicyDiscriminator? Type2465 { get; set; } + public global::tryAGI.OpenAI.TypeParamType? Type2465 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamNetworkPolicyDiscriminatorType? Type2466 { get; set; } + public global::tryAGI.OpenAI.WaitParamType? Type2466 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolParamType? Type2467 { get; set; } + public global::tryAGI.OpenAI.ToolSearchExecutionType? Type2467 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParam? Type2468 { get; set; } + public global::tryAGI.OpenAI.ToolSearchCallType? Type2468 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamType? Type2469 { get; set; } + public global::tryAGI.OpenAI.FunctionToolType? Type2469 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NetworkPolicy3? Type2470 { get; set; } + public global::tryAGI.OpenAI.RankerVersionType? Type2470 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamNetworkPolicyDiscriminator? Type2471 { get; set; } + public global::tryAGI.OpenAI.HybridSearchOptions? Type2471 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamNetworkPolicyDiscriminatorType? Type2472 { get; set; } + public global::tryAGI.OpenAI.RankingOptions? Type2472 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2473 { get; set; } + public global::tryAGI.OpenAI.Filters2? Type2473 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillsItem2? Type2474 { get; set; } + public global::tryAGI.OpenAI.FileSearchToolType? Type2474 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamSkillDiscriminator? Type2475 { get; set; } + public global::tryAGI.OpenAI.ComputerToolType? Type2475 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamSkillDiscriminatorType? Type2476 { get; set; } + public global::tryAGI.OpenAI.ComputerEnvironment? Type2476 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalSkillParam? Type2477 { get; set; } + public global::tryAGI.OpenAI.ComputerUsePreviewToolType? Type2477 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalEnvironmentParam? Type2478 { get; set; } + public global::tryAGI.OpenAI.ContainerMemoryLimit? Type2478 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalEnvironmentParamType? Type2479 { get; set; } + public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamType? Type2479 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2480 { get; set; } + public global::tryAGI.OpenAI.NetworkPolicy2? Type2480 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerReferenceParam? Type2481 { get; set; } + public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamNetworkPolicyDiscriminator? Type2481 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerReferenceParamType? Type2482 { get; set; } + public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamNetworkPolicyDiscriminatorType? Type2482 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellToolParamType? Type2483 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolParamType? Type2483 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentVariant1? Type2484 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParam? Type2484 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellToolParamEnvironmentVariant1Discriminator? Type2485 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamType? Type2485 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellToolParamEnvironmentVariant1DiscriminatorType? Type2486 { get; set; } + public global::tryAGI.OpenAI.NetworkPolicy3? Type2486 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomTextFormatParam? Type2487 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamNetworkPolicyDiscriminator? Type2487 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomTextFormatParamType? Type2488 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamNetworkPolicyDiscriminatorType? Type2488 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GrammarSyntax1? Type2489 { get; set; } + public global::System.Collections.Generic.IList? Type2489 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomGrammarFormatParam? Type2490 { get; set; } + public global::tryAGI.OpenAI.SkillsItem2? Type2490 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomGrammarFormatParamType? Type2491 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamSkillDiscriminator? Type2491 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolParamType? Type2492 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamSkillDiscriminatorType? Type2492 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Format2? Type2493 { get; set; } + public global::tryAGI.OpenAI.LocalSkillParam? Type2493 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolParamFormatDiscriminator? Type2494 { get; set; } + public global::tryAGI.OpenAI.LocalEnvironmentParam? Type2494 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolParamFormatDiscriminatorType? Type2495 { get; set; } + public global::tryAGI.OpenAI.LocalEnvironmentParamType? Type2495 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EmptyModelParam? Type2496 { get; set; } + public global::System.Collections.Generic.IList? Type2496 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolParam? Type2497 { get; set; } + public global::tryAGI.OpenAI.ContainerReferenceParam? Type2497 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolParamType? Type2498 { get; set; } + public global::tryAGI.OpenAI.ContainerReferenceParamType? Type2498 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NamespaceToolParamType? Type2499 { get; set; } + public global::tryAGI.OpenAI.FunctionShellToolParamType? Type2499 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2500 { get; set; } + public global::tryAGI.OpenAI.EnvironmentVariant1? Type2500 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem13? Type2501 { get; set; } + public global::tryAGI.OpenAI.FunctionShellToolParamEnvironmentVariant1Discriminator? Type2501 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NamespaceToolParamToolDiscriminator? Type2502 { get; set; } + public global::tryAGI.OpenAI.FunctionShellToolParamEnvironmentVariant1DiscriminatorType? Type2502 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NamespaceToolParamToolDiscriminatorType? Type2503 { get; set; } + public global::tryAGI.OpenAI.CustomTextFormatParam? Type2503 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchToolParamType? Type2504 { get; set; } + public global::tryAGI.OpenAI.CustomTextFormatParamType? Type2504 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApproximateLocation? Type2505 { get; set; } + public global::tryAGI.OpenAI.GrammarSyntax1? Type2505 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApproximateLocationType? Type2506 { get; set; } + public global::tryAGI.OpenAI.CustomGrammarFormatParam? Type2506 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SearchContextSize? Type2507 { get; set; } + public global::tryAGI.OpenAI.CustomGrammarFormatParamType? Type2507 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SearchContentType? Type2508 { get; set; } + public global::tryAGI.OpenAI.CustomToolParamType? Type2508 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchPreviewToolType? Type2509 { get; set; } + public global::tryAGI.OpenAI.Format2? Type2509 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2510 { get; set; } + public global::tryAGI.OpenAI.CustomToolParamFormatDiscriminator? Type2510 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolParamType? Type2511 { get; set; } + public global::tryAGI.OpenAI.CustomToolParamFormatDiscriminatorType? Type2511 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchOutputType? Type2512 { get; set; } + public global::tryAGI.OpenAI.EmptyModelParam? Type2512 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactionBodyType? Type2513 { get; set; } + public global::tryAGI.OpenAI.FunctionToolParam? Type2513 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterOutputLogsType? Type2514 { get; set; } + public global::tryAGI.OpenAI.FunctionToolParamType? Type2514 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterOutputImageType? Type2515 { get; set; } + public global::tryAGI.OpenAI.NamespaceToolParamType? Type2515 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellExecActionType? Type2516 { get; set; } + public global::System.Collections.Generic.IList? Type2516 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellAction? Type2517 { get; set; } + public global::tryAGI.OpenAI.ToolsItem13? Type2517 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallStatus? Type2518 { get; set; } + public global::tryAGI.OpenAI.NamespaceToolParamToolDiscriminator? Type2518 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalEnvironmentResource? Type2519 { get; set; } + public global::tryAGI.OpenAI.NamespaceToolParamToolDiscriminatorType? Type2519 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalEnvironmentResourceType? Type2520 { get; set; } + public global::tryAGI.OpenAI.ToolSearchToolParamType? Type2520 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerReferenceResource? Type2521 { get; set; } + public global::tryAGI.OpenAI.ApproximateLocation? Type2521 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerReferenceResourceType? Type2522 { get; set; } + public global::tryAGI.OpenAI.ApproximateLocationType? Type2522 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallType? Type2523 { get; set; } + public global::tryAGI.OpenAI.SearchContextSize? Type2523 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentVariant12? Type2524 { get; set; } + public global::tryAGI.OpenAI.SearchContentType? Type2524 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallEnvironmentVariant1Discriminator? Type2525 { get; set; } + public global::tryAGI.OpenAI.WebSearchPreviewToolType? Type2525 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallEnvironmentVariant1DiscriminatorType? Type2526 { get; set; } + public global::System.Collections.Generic.IList? Type2526 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputStatusEnum? Type2527 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolParamType? Type2527 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcome? Type2528 { get; set; } + public global::tryAGI.OpenAI.ToolSearchOutputType? Type2528 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeType? Type2529 { get; set; } + public global::tryAGI.OpenAI.CompactionBodyType? Type2529 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcome? Type2530 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterOutputLogsType? Type2530 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeType? Type2531 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterOutputImageType? Type2531 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputContent? Type2532 { get; set; } + public global::tryAGI.OpenAI.LocalShellExecActionType? Type2532 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Outcome? Type2533 { get; set; } + public global::tryAGI.OpenAI.FunctionShellAction? Type2533 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputContentOutcomeDiscriminator? Type2534 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallStatus? Type2534 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputContentOutcomeDiscriminatorType? Type2535 { get; set; } + public global::tryAGI.OpenAI.LocalEnvironmentResource? Type2535 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputType? Type2536 { get; set; } + public global::tryAGI.OpenAI.LocalEnvironmentResourceType? Type2536 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2537 { get; set; } + public global::tryAGI.OpenAI.ContainerReferenceResource? Type2537 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCallStatus? Type2538 { get; set; } + public global::tryAGI.OpenAI.ContainerReferenceResourceType? Type2538 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCreateFileOperation? Type2539 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallType? Type2539 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationType? Type2540 { get; set; } + public global::tryAGI.OpenAI.EnvironmentVariant12? Type2540 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperation? Type2541 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallEnvironmentVariant1Discriminator? Type2541 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationType? Type2542 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallEnvironmentVariant1DiscriminatorType? Type2542 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperation? Type2543 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputStatusEnum? Type2543 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationType? Type2544 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcome? Type2544 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallType? Type2545 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeType? Type2545 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Operation? Type2546 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcome? Type2546 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOperationDiscriminator? Type2547 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeType? Type2547 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOperationDiscriminatorType? Type2548 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputContent? Type2548 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCallOutputStatus? Type2549 { get; set; } + public global::tryAGI.OpenAI.Outcome? Type2549 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOutputType? Type2550 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputContentOutcomeDiscriminator? Type2550 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DetailEnum? Type2551 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputContentOutcomeDiscriminatorType? Type2551 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallItemStatus? Type2552 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputType? Type2552 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerCallOutputItemParamType? Type2553 { get; set; } + public global::System.Collections.Generic.IList? Type2553 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputTextContentParam? Type2554 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCallStatus? Type2554 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputTextContentParamType? Type2555 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCreateFileOperation? Type2555 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputImageContentParamAutoParam? Type2556 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationType? Type2556 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputImageContentParamAutoParamType? Type2557 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperation? Type2557 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileDetailEnum? Type2558 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationType? Type2558 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputFileContentParam? Type2559 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperation? Type2559 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputFileContentParamType? Type2560 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationType? Type2560 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemParamType? Type2561 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallType? Type2561 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type2562 { get; set; } + public global::tryAGI.OpenAI.Operation? Type2562 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2563 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOperationDiscriminator? Type2563 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputVariant2Item? Type2564 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOperationDiscriminatorType? Type2564 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemParamOutputVariant2ItemDiscriminator? Type2565 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCallOutputStatus? Type2565 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemParamOutputVariant2ItemDiscriminatorType? Type2566 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOutputType? Type2566 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchCallItemParamType? Type2567 { get; set; } + public global::tryAGI.OpenAI.DetailEnum? Type2567 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchOutputItemParamType? Type2568 { get; set; } + public global::tryAGI.OpenAI.FunctionCallItemStatus? Type2568 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactionSummaryItemParamType? Type2569 { get; set; } + public global::tryAGI.OpenAI.ComputerCallOutputItemParamType? Type2569 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellActionParam? Type2570 { get; set; } + public global::tryAGI.OpenAI.InputTextContentParam? Type2570 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallItemStatus? Type2571 { get; set; } + public global::tryAGI.OpenAI.InputTextContentParamType? Type2571 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallItemParamType? Type2572 { get; set; } + public global::tryAGI.OpenAI.InputImageContentParamAutoParam? Type2572 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentVariant13? Type2573 { get; set; } + public global::tryAGI.OpenAI.InputImageContentParamAutoParamType? Type2573 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallItemParamEnvironmentVariant1Discriminator? Type2574 { get; set; } + public global::tryAGI.OpenAI.FileDetailEnum? Type2574 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallItemParamEnvironmentVariant1DiscriminatorType? Type2575 { get; set; } + public global::tryAGI.OpenAI.InputFileContentParam? Type2575 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeParam? Type2576 { get; set; } + public global::tryAGI.OpenAI.InputFileContentParamType? Type2576 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeParamType? Type2577 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemParamType? Type2577 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParam? Type2578 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type2578 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParamType? Type2579 { get; set; } + public global::System.Collections.Generic.IList? Type2579 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParam? Type2580 { get; set; } + public global::tryAGI.OpenAI.OutputVariant2Item? Type2580 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParamDiscriminator? Type2581 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemParamOutputVariant2ItemDiscriminator? Type2581 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParamDiscriminatorType? Type2582 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemParamOutputVariant2ItemDiscriminatorType? Type2582 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputContentParam? Type2583 { get; set; } + public global::tryAGI.OpenAI.ToolSearchCallItemParamType? Type2583 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputItemParamType? Type2584 { get; set; } + public global::tryAGI.OpenAI.ToolSearchOutputItemParamType? Type2584 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2585 { get; set; } + public global::tryAGI.OpenAI.CompactionSummaryItemParamType? Type2585 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCallStatusParam? Type2586 { get; set; } + public global::tryAGI.OpenAI.FunctionShellActionParam? Type2586 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParam? Type2587 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallItemStatus? Type2587 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParamType? Type2588 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallItemParamType? Type2588 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParam? Type2589 { get; set; } + public global::tryAGI.OpenAI.EnvironmentVariant13? Type2589 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParamType? Type2590 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallItemParamEnvironmentVariant1Discriminator? Type2590 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParam? Type2591 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallItemParamEnvironmentVariant1DiscriminatorType? Type2591 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParamType? Type2592 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeParam? Type2592 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchOperationParam? Type2593 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeParamType? Type2593 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchOperationParamDiscriminator? Type2594 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParam? Type2594 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchOperationParamDiscriminatorType? Type2595 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParamType? Type2595 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallItemParamType? Type2596 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParam? Type2596 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCallOutputStatusParam? Type2597 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParamDiscriminator? Type2597 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParamType? Type2598 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParamDiscriminatorType? Type2598 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemReferenceParamType2? Type2599 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputContentParam? Type2599 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ConversationResource? Type2600 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputItemParamType? Type2600 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ConversationResourceObject? Type2601 { get; set; } + public global::System.Collections.Generic.IList? Type2601 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenOutputTokensDetails? Type2602 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCallStatusParam? Type2602 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenInputUsageDetails? Type2603 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParam? Type2603 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpecificApplyPatchParamType? Type2604 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParamType? Type2604 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpecificFunctionShellParamType? Type2605 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParam? Type2605 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateConversationBody? Type2606 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParamType? Type2606 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateConversationBody? Type2607 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParam? Type2607 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedConversationResourceObject? Type2608 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParamType? Type2608 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrderEnum? Type2609 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchOperationParam? Type2609 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoModel? Type2610 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchOperationParamDiscriminator? Type2610 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoModelEnum? Type2611 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchOperationParamDiscriminatorType? Type2611 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoStatus? Type2612 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallItemParamType? Type2612 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoSize? Type2613 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCallOutputStatusParam? Type2613 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Error2? Type2614 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParamType? Type2614 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoResource? Type2615 { get; set; } + public global::tryAGI.OpenAI.CompactionTriggerItemParamType? Type2615 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoResourceObject? Type2616 { get; set; } + public global::tryAGI.OpenAI.ItemReferenceParamType2? Type2616 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoListResource? Type2617 { get; set; } + public global::tryAGI.OpenAI.ConversationResource? Type2617 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoListResourceObject? Type2618 { get; set; } + public global::tryAGI.OpenAI.ConversationResourceObject? Type2618 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2619 { get; set; } + public global::tryAGI.OpenAI.ImageGenOutputTokensDetails? Type2619 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageRefParam2? Type2620 { get; set; } + public global::tryAGI.OpenAI.ImageGenInputUsageDetails? Type2620 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoSeconds? Type2621 { get; set; } + public global::tryAGI.OpenAI.SpecificApplyPatchParamType? Type2621 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoMultipartBody? Type2622 { get; set; } + public global::tryAGI.OpenAI.SpecificFunctionShellParamType? Type2622 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2623 { get; set; } + public global::tryAGI.OpenAI.CreateConversationBody? Type2623 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoJsonBody? Type2624 { get; set; } + public global::tryAGI.OpenAI.UpdateConversationBody? Type2624 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoCharacterBody? Type2625 { get; set; } + public global::tryAGI.OpenAI.DeletedConversationResourceObject? Type2625 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoCharacterResource? Type2626 { get; set; } + public global::tryAGI.OpenAI.OrderEnum? Type2626 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoReferenceInputParam? Type2627 { get; set; } + public global::tryAGI.OpenAI.VideoModel? Type2627 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoEditMultipartBody? Type2628 { get; set; } + public global::tryAGI.OpenAI.VideoModelEnum? Type2628 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2629 { get; set; } + public global::tryAGI.OpenAI.VideoStatus? Type2629 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoEditJsonBody? Type2630 { get; set; } + public global::tryAGI.OpenAI.VideoSize? Type2630 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoExtendMultipartBody? Type2631 { get; set; } + public global::tryAGI.OpenAI.Error2? Type2631 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2632 { get; set; } + public global::tryAGI.OpenAI.VideoResource? Type2632 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoExtendJsonBody? Type2633 { get; set; } + public global::tryAGI.OpenAI.VideoResourceObject? Type2633 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedVideoResource? Type2634 { get; set; } + public global::tryAGI.OpenAI.VideoListResource? Type2634 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedVideoResourceObject? Type2635 { get; set; } + public global::tryAGI.OpenAI.VideoListResourceObject? Type2635 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoContentVariant? Type2636 { get; set; } + public global::System.Collections.Generic.IList? Type2636 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoRemixBody? Type2637 { get; set; } + public global::tryAGI.OpenAI.ImageRefParam2? Type2637 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TruncationEnum? Type2638 { get; set; } + public global::tryAGI.OpenAI.VideoSeconds? Type2638 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TokenCountsBody? Type2639 { get; set; } + public global::tryAGI.OpenAI.CreateVideoMultipartBody? Type2639 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TokenCountsResource? Type2640 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2640 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TokenCountsResourceObject? Type2641 { get; set; } + public global::tryAGI.OpenAI.CreateVideoJsonBody? Type2641 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheRetentionEnum? Type2642 { get; set; } + public global::tryAGI.OpenAI.CreateVideoCharacterBody? Type2642 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ServiceTierEnum2? Type2643 { get; set; } + public global::tryAGI.OpenAI.VideoCharacterResource? Type2643 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactResponseMethodPublicBody? Type2644 { get; set; } + public global::tryAGI.OpenAI.VideoReferenceInputParam? Type2644 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemField? Type2645 { get; set; } + public global::tryAGI.OpenAI.CreateVideoEditMultipartBody? Type2645 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemFieldDiscriminator? Type2646 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2646 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemFieldDiscriminatorType? Type2647 { get; set; } + public global::tryAGI.OpenAI.CreateVideoEditJsonBody? Type2647 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactResource? Type2648 { get; set; } + public global::tryAGI.OpenAI.CreateVideoExtendMultipartBody? Type2648 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactResourceObject? Type2649 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2649 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2650 { get; set; } + public global::tryAGI.OpenAI.CreateVideoExtendJsonBody? Type2650 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillResource? Type2651 { get; set; } + public global::tryAGI.OpenAI.DeletedVideoResource? Type2651 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillResourceObject? Type2652 { get; set; } + public global::tryAGI.OpenAI.DeletedVideoResourceObject? Type2652 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillListResource? Type2653 { get; set; } + public global::tryAGI.OpenAI.VideoContentVariant? Type2653 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillListResourceObject? Type2654 { get; set; } + public global::tryAGI.OpenAI.CreateVideoRemixBody? Type2654 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2655 { get; set; } + public global::tryAGI.OpenAI.TruncationEnum? Type2655 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSkillBody? Type2656 { get; set; } + public global::tryAGI.OpenAI.TokenCountsBody? Type2656 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, byte[]>? Type2657 { get; set; } + public global::tryAGI.OpenAI.TokenCountsResource? Type2657 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SetDefaultSkillVersionBody? Type2658 { get; set; } + public global::tryAGI.OpenAI.TokenCountsResourceObject? Type2658 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillResource? Type2659 { get; set; } + public global::tryAGI.OpenAI.PromptCacheRetentionEnum? Type2659 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillResourceObject? Type2660 { get; set; } + public global::tryAGI.OpenAI.ServiceTierEnum2? Type2660 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionResource? Type2661 { get; set; } + public global::tryAGI.OpenAI.CompactResponseMethodPublicBody? Type2661 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionResourceObject? Type2662 { get; set; } + public global::tryAGI.OpenAI.ItemField? Type2662 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionListResource? Type2663 { get; set; } + public global::tryAGI.OpenAI.ItemFieldDiscriminator? Type2663 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionListResourceObject? Type2664 { get; set; } + public global::tryAGI.OpenAI.ItemFieldDiscriminatorType? Type2664 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2665 { get; set; } + public global::tryAGI.OpenAI.CompactResource? Type2665 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSkillVersionBody? Type2666 { get; set; } + public global::tryAGI.OpenAI.CompactResourceObject? Type2666 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillVersionResource? Type2667 { get; set; } + public global::System.Collections.Generic.IList? Type2667 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillVersionResourceObject? Type2668 { get; set; } + public global::tryAGI.OpenAI.SkillResource? Type2668 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitWorkflowTracing? Type2669 { get; set; } + public global::tryAGI.OpenAI.SkillResourceObject? Type2669 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitWorkflow? Type2670 { get; set; } + public global::tryAGI.OpenAI.SkillListResource? Type2670 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2671 { get; set; } + public global::tryAGI.OpenAI.SkillListResourceObject? Type2671 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionRateLimits? Type2672 { get; set; } + public global::System.Collections.Generic.IList? Type2672 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionStatus? Type2673 { get; set; } + public global::tryAGI.OpenAI.CreateSkillBody? Type2673 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionAutomaticThreadTitling? Type2674 { get; set; } + public global::tryAGI.OpenAI.OneOf, byte[]>? Type2674 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionFileUpload? Type2675 { get; set; } + public global::tryAGI.OpenAI.SetDefaultSkillVersionBody? Type2675 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionHistory? Type2676 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillResource? Type2676 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionChatkitConfiguration? Type2677 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillResourceObject? Type2677 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionResource? Type2678 { get; set; } + public global::tryAGI.OpenAI.SkillVersionResource? Type2678 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionResourceObject? Type2679 { get; set; } + public global::tryAGI.OpenAI.SkillVersionResourceObject? Type2679 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WorkflowTracingParam? Type2680 { get; set; } + public global::tryAGI.OpenAI.SkillVersionListResource? Type2680 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WorkflowParam? Type2681 { get; set; } + public global::tryAGI.OpenAI.SkillVersionListResourceObject? Type2681 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExpiresAfterParam? Type2682 { get; set; } + public global::System.Collections.Generic.IList? Type2682 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExpiresAfterParamAnchor? Type2683 { get; set; } + public global::tryAGI.OpenAI.CreateSkillVersionBody? Type2683 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RateLimitsParam? Type2684 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillVersionResource? Type2684 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutomaticThreadTitlingParam? Type2685 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillVersionResourceObject? Type2685 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileUploadParam? Type2686 { get; set; } + public global::tryAGI.OpenAI.ChatkitWorkflowTracing? Type2686 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HistoryParam? Type2687 { get; set; } + public global::tryAGI.OpenAI.ChatkitWorkflow? Type2687 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitConfigurationParam? Type2688 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2688 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatSessionBody? Type2689 { get; set; } + public global::tryAGI.OpenAI.ChatSessionRateLimits? Type2689 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageInputText? Type2690 { get; set; } + public global::tryAGI.OpenAI.ChatSessionStatus? Type2690 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageInputTextType? Type2691 { get; set; } + public global::tryAGI.OpenAI.ChatSessionAutomaticThreadTitling? Type2691 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageQuotedText? Type2692 { get; set; } + public global::tryAGI.OpenAI.ChatSessionFileUpload? Type2692 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageQuotedTextType? Type2693 { get; set; } + public global::tryAGI.OpenAI.ChatSessionHistory? Type2693 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AttachmentType? Type2694 { get; set; } + public global::tryAGI.OpenAI.ChatSessionChatkitConfiguration? Type2694 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Attachment? Type2695 { get; set; } + public global::tryAGI.OpenAI.ChatSessionResource? Type2695 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoice8? Type2696 { get; set; } + public global::tryAGI.OpenAI.ChatSessionResourceObject? Type2696 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InferenceOptions? Type2697 { get; set; } + public global::tryAGI.OpenAI.WorkflowTracingParam? Type2697 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItem? Type2698 { get; set; } + public global::tryAGI.OpenAI.WorkflowParam? Type2698 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemObject? Type2699 { get; set; } + public global::tryAGI.OpenAI.ExpiresAfterParam? Type2699 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemType? Type2700 { get; set; } + public global::tryAGI.OpenAI.ExpiresAfterParamAnchor? Type2700 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2701 { get; set; } + public global::tryAGI.OpenAI.RateLimitsParam? Type2701 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem4? Type2702 { get; set; } + public global::tryAGI.OpenAI.AutomaticThreadTitlingParam? Type2702 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminator? Type2703 { get; set; } + public global::tryAGI.OpenAI.FileUploadParam? Type2703 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminatorType? Type2704 { get; set; } + public global::tryAGI.OpenAI.HistoryParam? Type2704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2705 { get; set; } + public global::tryAGI.OpenAI.ChatkitConfigurationParam? Type2705 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationSource? Type2706 { get; set; } + public global::tryAGI.OpenAI.CreateChatSessionBody? Type2706 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationSourceType? Type2707 { get; set; } + public global::tryAGI.OpenAI.UserMessageInputText? Type2707 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotation? Type2708 { get; set; } + public global::tryAGI.OpenAI.UserMessageInputTextType? Type2708 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationType? Type2709 { get; set; } + public global::tryAGI.OpenAI.UserMessageQuotedText? Type2709 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationSource? Type2710 { get; set; } + public global::tryAGI.OpenAI.UserMessageQuotedTextType? Type2710 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationSourceType? Type2711 { get; set; } + public global::tryAGI.OpenAI.AttachmentType? Type2711 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotation? Type2712 { get; set; } + public global::tryAGI.OpenAI.Attachment? Type2712 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationType? Type2713 { get; set; } + public global::tryAGI.OpenAI.ToolChoice8? Type2713 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputText? Type2714 { get; set; } + public global::tryAGI.OpenAI.InferenceOptions? Type2714 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextType? Type2715 { get; set; } + public global::tryAGI.OpenAI.UserMessageItem? Type2715 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2716 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemObject? Type2716 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationsItem3? Type2717 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemType? Type2717 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminator? Type2718 { get; set; } + public global::System.Collections.Generic.IList? Type2718 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminatorType? Type2719 { get; set; } + public global::tryAGI.OpenAI.ContentItem4? Type2719 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItem? Type2720 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminator? Type2720 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemObject? Type2721 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminatorType? Type2721 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemType? Type2722 { get; set; } + public global::System.Collections.Generic.IList? Type2722 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2723 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationSource? Type2723 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItem? Type2724 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationSourceType? Type2724 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItemObject? Type2725 { get; set; } + public global::tryAGI.OpenAI.FileAnnotation? Type2725 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItemType? Type2726 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationType? Type2726 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallStatus? Type2727 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationSource? Type2727 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItem? Type2728 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationSourceType? Type2728 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItemObject? Type2729 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotation? Type2729 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItemType? Type2730 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationType? Type2730 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskType? Type2731 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputText? Type2731 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItem? Type2732 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextType? Type2732 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItemObject? Type2733 { get; set; } + public global::System.Collections.Generic.IList? Type2733 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItemType? Type2734 { get; set; } + public global::tryAGI.OpenAI.AnnotationsItem3? Type2734 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupTask? Type2735 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminator? Type2735 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItem? Type2736 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminatorType? Type2736 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItemObject? Type2737 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItem? Type2737 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItemType? Type2738 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemObject? Type2738 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2739 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemType? Type2739 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItem? Type2740 { get; set; } + public global::System.Collections.Generic.IList? Type2740 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemDiscriminator? Type2741 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItem? Type2741 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemDiscriminatorType? Type2742 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItemObject? Type2742 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemListResource? Type2743 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItemType? Type2743 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemListResourceObject? Type2744 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallStatus? Type2744 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2745 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItem? Type2745 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ActiveStatus? Type2746 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItemObject? Type2746 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ActiveStatusType? Type2747 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItemType? Type2747 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LockedStatus? Type2748 { get; set; } + public global::tryAGI.OpenAI.TaskType? Type2748 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LockedStatusType? Type2749 { get; set; } + public global::tryAGI.OpenAI.TaskItem? Type2749 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClosedStatus? Type2750 { get; set; } + public global::tryAGI.OpenAI.TaskItemObject? Type2750 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClosedStatusType? Type2751 { get; set; } + public global::tryAGI.OpenAI.TaskItemType? Type2751 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResource? Type2752 { get; set; } + public global::tryAGI.OpenAI.TaskGroupTask? Type2752 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResourceObject? Type2753 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItem? Type2753 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Status? Type2754 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItemObject? Type2754 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminator? Type2755 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItemType? Type2755 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminatorType? Type2756 { get; set; } + public global::System.Collections.Generic.IList? Type2756 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedThreadResource? Type2757 { get; set; } + public global::tryAGI.OpenAI.ThreadItem? Type2757 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedThreadResourceObject? Type2758 { get; set; } + public global::tryAGI.OpenAI.ThreadItemDiscriminator? Type2758 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadListResource? Type2759 { get; set; } + public global::tryAGI.OpenAI.ThreadItemDiscriminatorType? Type2759 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadListResourceObject? Type2760 { get; set; } + public global::tryAGI.OpenAI.ThreadItemListResource? Type2760 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2761 { get; set; } + public global::tryAGI.OpenAI.ThreadItemListResourceObject? Type2761 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DragPoint? Type2762 { get; set; } + public global::System.Collections.Generic.IList? Type2762 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequest? Type2763 { get; set; } + public global::tryAGI.OpenAI.ActiveStatus? Type2763 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequestEndpoint? Type2764 { get; set; } + public global::tryAGI.OpenAI.ActiveStatusType? Type2764 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow? Type2765 { get; set; } + public global::tryAGI.OpenAI.LockedStatus? Type2765 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateChatCompletionRequest? Type2766 { get; set; } + public global::tryAGI.OpenAI.LockedStatusType? Type2766 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateConversationItemsRequest? Type2767 { get; set; } + public global::tryAGI.OpenAI.ClosedStatus? Type2767 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateEvalRequest? Type2768 { get; set; } + public global::tryAGI.OpenAI.ClosedStatusType? Type2768 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type2769 { get; set; } + public global::tryAGI.OpenAI.ThreadResource? Type2769 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAssistantsOrder? Type2770 { get; set; } + public global::tryAGI.OpenAI.ThreadResourceObject? Type2770 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListChatCompletionsOrder? Type2771 { get; set; } + public global::tryAGI.OpenAI.Status? Type2771 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetChatCompletionMessagesOrder? Type2772 { get; set; } + public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminator? Type2772 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListContainersOrder? Type2773 { get; set; } + public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminatorType? Type2773 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListContainerFilesOrder? Type2774 { get; set; } + public global::tryAGI.OpenAI.DeletedThreadResource? Type2774 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListConversationItemsOrder? Type2775 { get; set; } + public global::tryAGI.OpenAI.DeletedThreadResourceObject? Type2775 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListEvalsOrder? Type2776 { get; set; } + public global::tryAGI.OpenAI.ThreadListResource? Type2776 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListEvalsOrderBy? Type2777 { get; set; } + public global::tryAGI.OpenAI.ThreadListResourceObject? Type2777 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunsOrder? Type2778 { get; set; } + public global::System.Collections.Generic.IList? Type2778 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunsStatus? Type2779 { get; set; } + public global::tryAGI.OpenAI.DragPoint? Type2779 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunOutputItemsStatus? Type2780 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequest? Type2780 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunOutputItemsOrder? Type2781 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequestEndpoint? Type2781 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesOrder? Type2782 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow? Type2782 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionsOrder? Type2783 { get; set; } + public global::tryAGI.OpenAI.UpdateChatCompletionRequest? Type2783 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type2784 { get; set; } + public global::tryAGI.OpenAI.CreateConversationItemsRequest? Type2784 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type2785 { get; set; } + public global::tryAGI.OpenAI.UpdateEvalRequest? Type2785 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2786 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type2786 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListOrganizationCertificatesOrder? Type2787 { get; set; } + public global::tryAGI.OpenAI.ListAssistantsOrder? Type2787 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2788 { get; set; } + public global::tryAGI.OpenAI.ListChatCompletionsOrder? Type2788 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetCertificateIncludeItem? Type2789 { get; set; } + public global::tryAGI.OpenAI.GetChatCompletionMessagesOrder? Type2789 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type2790 { get; set; } + public global::tryAGI.OpenAI.ListContainersOrder? Type2790 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2791 { get; set; } + public global::tryAGI.OpenAI.ListContainerFilesOrder? Type2791 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type2792 { get; set; } + public global::tryAGI.OpenAI.ListConversationItemsOrder? Type2792 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupsOrder? Type2793 { get; set; } + public global::tryAGI.OpenAI.ListEvalsOrder? Type2793 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupRoleAssignmentsOrder? Type2794 { get; set; } + public global::tryAGI.OpenAI.ListEvalsOrderBy? Type2794 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupUsersOrder? Type2795 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunsOrder? Type2795 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectCertificatesOrder? Type2796 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunsStatus? Type2796 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectGroupsOrder? Type2797 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunOutputItemsStatus? Type2797 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRolesOrder? Type2798 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunOutputItemsOrder? Type2798 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type2799 { get; set; } + public global::tryAGI.OpenAI.ListFilesOrder? Type2799 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2800 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionsOrder? Type2800 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type2801 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type2801 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type2802 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type2802 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2803 { get; set; } + public global::System.Collections.Generic.IList? Type2803 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type2804 { get; set; } + public global::tryAGI.OpenAI.ListOrganizationCertificatesOrder? Type2804 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type2805 { get; set; } + public global::System.Collections.Generic.IList? Type2805 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2806 { get; set; } + public global::tryAGI.OpenAI.GetCertificateIncludeItem? Type2806 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type2807 { get; set; } + public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type2807 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type2808 { get; set; } + public global::System.Collections.Generic.IList? Type2808 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2809 { get; set; } + public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type2809 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type2810 { get; set; } + public global::tryAGI.OpenAI.ListGroupsOrder? Type2810 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type2811 { get; set; } + public global::tryAGI.OpenAI.ListGroupRoleAssignmentsOrder? Type2811 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2812 { get; set; } + public global::tryAGI.OpenAI.ListGroupUsersOrder? Type2812 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type2813 { get; set; } + public global::tryAGI.OpenAI.ListProjectCertificatesOrder? Type2813 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type2814 { get; set; } + public global::tryAGI.OpenAI.ListProjectGroupsOrder? Type2814 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2815 { get; set; } + public global::tryAGI.OpenAI.ListRolesOrder? Type2815 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesSource? Type2816 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type2816 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2817 { get; set; } + public global::System.Collections.Generic.IList? Type2817 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesSize? Type2818 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type2818 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2819 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type2819 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type2820 { get; set; } + public global::System.Collections.Generic.IList? Type2820 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type2821 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type2821 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2822 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type2822 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type2823 { get; set; } + public global::System.Collections.Generic.IList? Type2823 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type2824 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type2824 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2825 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type2825 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type2826 { get; set; } + public global::System.Collections.Generic.IList? Type2826 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListUserRoleAssignmentsOrder? Type2827 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type2827 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectGroupRoleAssignmentsOrder? Type2828 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type2828 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectRolesOrder? Type2829 { get; set; } + public global::System.Collections.Generic.IList? Type2829 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectUserRoleAssignmentsOrder? Type2830 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type2830 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListInputItemsOrder? Type2831 { get; set; } + public global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth? Type2831 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListMessagesOrder? Type2832 { get; set; } + public global::System.Collections.Generic.IList? Type2832 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunsOrder? Type2833 { get; set; } + public global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem? Type2833 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2834 { get; set; } + public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type2834 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateRunIncludeItem? Type2835 { get; set; } + public global::System.Collections.Generic.IList? Type2835 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsOrder? Type2836 { get; set; } + public global::tryAGI.OpenAI.UsageImagesSource? Type2836 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2837 { get; set; } + public global::System.Collections.Generic.IList? Type2837 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type2838 { get; set; } + public global::tryAGI.OpenAI.UsageImagesSize? Type2838 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2839 { get; set; } + public global::System.Collections.Generic.IList? Type2839 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type2840 { get; set; } + public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type2840 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoresOrder? Type2841 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type2841 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type2842 { get; set; } + public global::System.Collections.Generic.IList? Type2842 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type2843 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type2843 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type2844 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type2844 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type2845 { get; set; } + public global::System.Collections.Generic.IList? Type2845 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2846 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type2846 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteEvalResponse? Type2847 { get; set; } + public global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth? Type2847 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteEvalRunResponse? Type2848 { get; set; } + public global::System.Collections.Generic.IList? Type2848 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type2849 { get; set; } + public global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel? Type2849 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject? Type2850 { get; set; } + public global::System.Collections.Generic.IList? Type2850 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem? Type2851 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListUserRoleAssignmentsOrder? Type2852 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListProjectGroupRoleAssignmentsOrder? Type2853 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListProjectRolesOrder? Type2854 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListProjectUserRoleAssignmentsOrder? Type2855 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListInputItemsOrder? Type2856 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListMessagesOrder? Type2857 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListRunsOrder? Type2858 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2859 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.CreateRunIncludeItem? Type2860 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListRunStepsOrder? Type2861 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2862 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type2863 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2864 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type2865 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListVectorStoresOrder? Type2866 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type2867 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type2868 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type2869 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type2870 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.OneOf? Type2871 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.DeleteEvalResponse? Type2872 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.DeleteEvalRunResponse? Type2873 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type2874 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject? Type2875 { get; set; } /// /// @@ -12381,34 +12481,46 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType237 { get; set; } + public global::System.Collections.Generic.List? ListType237 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType238 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType239 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType240 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType238 { get; set; } + public global::System.Collections.Generic.List? ListType241 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType239 { get; set; } + public global::System.Collections.Generic.List? ListType242 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType240 { get; set; } + public global::System.Collections.Generic.List? ListType243 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType241 { get; set; } + public global::System.Collections.Generic.List? ListType244 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType242 { get; set; } + public global::System.Collections.Generic.List? ListType245 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType243 { get; set; } + public global::System.Collections.Generic.List? ListType246 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType244 { get; set; } + public global::System.Collections.Generic.List? ListType247 { get; set; } } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionTriggerItemParam.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionTriggerItemParam.Json.g.cs new file mode 100644 index 000000000..7fd409d7c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionTriggerItemParam.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CompactionTriggerItemParam + { + /// + /// 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.CompactionTriggerItemParam? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CompactionTriggerItemParam), + jsonSerializerContext) as global::tryAGI.OpenAI.CompactionTriggerItemParam; + } + + /// + /// 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.CompactionTriggerItemParam? 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.CompactionTriggerItemParam), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CompactionTriggerItemParam; + } + + /// + /// 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.CompactionTriggerItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionTriggerItemParam.g.cs new file mode 100644 index 000000000..eb808985a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionTriggerItemParam.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Compacts the current context. Must be the final input item. + /// + public sealed partial class CompactionTriggerItemParam + { + /// + /// The type of the item. Always `compaction_trigger`.
+ /// Default Value: compaction_trigger + ///
+ /// global::tryAGI.OpenAI.CompactionTriggerItemParamType.CompactionTrigger + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.CompactionTriggerItemParamTypeJsonConverter))] + public global::tryAGI.OpenAI.CompactionTriggerItemParamType Type { get; set; } = global::tryAGI.OpenAI.CompactionTriggerItemParamType.CompactionTrigger; + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The type of the item. Always `compaction_trigger`.
+ /// Default Value: compaction_trigger + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CompactionTriggerItemParam( + global::tryAGI.OpenAI.CompactionTriggerItemParamType type = global::tryAGI.OpenAI.CompactionTriggerItemParamType.CompactionTrigger) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public CompactionTriggerItemParam() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionTriggerItemParamType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionTriggerItemParamType.g.cs new file mode 100644 index 000000000..f0f88e1b2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionTriggerItemParamType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The type of the item. Always `compaction_trigger`.
+ /// Default Value: compaction_trigger + ///
+ public enum CompactionTriggerItemParamType + { + /// + /// + /// + CompactionTrigger, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CompactionTriggerItemParamTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CompactionTriggerItemParamType value) + { + return value switch + { + CompactionTriggerItemParamType.CompactionTrigger => "compaction_trigger", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CompactionTriggerItemParamType? ToEnum(string value) + { + return value switch + { + "compaction_trigger" => CompactionTriggerItemParamType.CompactionTrigger, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.HostedToolPermission.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.HostedToolPermission.Json.g.cs new file mode 100644 index 000000000..f72e84dab --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.HostedToolPermission.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class HostedToolPermission + { + /// + /// 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.HostedToolPermission? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.HostedToolPermission), + jsonSerializerContext) as global::tryAGI.OpenAI.HostedToolPermission; + } + + /// + /// 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.HostedToolPermission? 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.HostedToolPermission), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.HostedToolPermission; + } + + /// + /// 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.HostedToolPermission.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.HostedToolPermission.g.cs new file mode 100644 index 000000000..8977e7eb2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.HostedToolPermission.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Permission state for a single hosted tool on a project. + /// + public sealed partial class HostedToolPermission + { + /// + /// Whether the hosted tool is enabled for the project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("enabled")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Enabled { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Whether the hosted tool is enabled for the project. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public HostedToolPermission( + bool enabled) + { + this.Enabled = enabled; + } + + /// + /// Initializes a new instance of the class. + /// + public HostedToolPermission() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.HostedToolPermissionUpdate.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.HostedToolPermissionUpdate.Json.g.cs new file mode 100644 index 000000000..f3c831a67 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.HostedToolPermissionUpdate.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class HostedToolPermissionUpdate + { + /// + /// 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.HostedToolPermissionUpdate? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.HostedToolPermissionUpdate), + jsonSerializerContext) as global::tryAGI.OpenAI.HostedToolPermissionUpdate; + } + + /// + /// 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.HostedToolPermissionUpdate? 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.HostedToolPermissionUpdate), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.HostedToolPermissionUpdate; + } + + /// + /// 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.HostedToolPermissionUpdate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.HostedToolPermissionUpdate.g.cs new file mode 100644 index 000000000..58001d89c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.HostedToolPermissionUpdate.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class HostedToolPermissionUpdate + { + /// + /// Whether to enable the hosted tool for the project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("enabled")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Enabled { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Whether to enable the hosted tool for the project. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public HostedToolPermissionUpdate( + bool enabled) + { + this.Enabled = enabled; + } + + /// + /// Initializes a new instance of the class. + /// + public HostedToolPermissionUpdate() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputItem.g.cs index 1f2a88479..5c25a0df2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputItem.g.cs @@ -89,6 +89,43 @@ public bool TryPickItem( ? Item!.Value : throw new global::System.InvalidOperationException($"Expected union variant 'Item' but the value was {ToString()}."); + /// + /// Compacts the current context. Must be the final input item. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.CompactionTriggerItemParam? CompactionTrigger { get; init; } +#else + public global::tryAGI.OpenAI.CompactionTriggerItemParam? CompactionTrigger { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(CompactionTrigger))] +#endif + public bool IsCompactionTrigger => CompactionTrigger != null; + + /// + /// + /// + public bool TryPickCompactionTrigger( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.CompactionTriggerItemParam? value) + { + value = CompactionTrigger; + return IsCompactionTrigger; + } + + /// + /// + /// + public global::tryAGI.OpenAI.CompactionTriggerItemParam PickCompactionTrigger() => IsCompactionTrigger + ? CompactionTrigger! + : throw new global::System.InvalidOperationException($"Expected union variant 'CompactionTrigger' but the value was {ToString()}."); + /// /// An internal identifier for an item to reference. /// @@ -171,6 +208,29 @@ public InputItem(global::tryAGI.OpenAI.Item? value) ///
public static InputItem FromItem(global::tryAGI.OpenAI.Item? value) => new InputItem(value); + /// + /// + /// + public static implicit operator InputItem(global::tryAGI.OpenAI.CompactionTriggerItemParam value) => new InputItem((global::tryAGI.OpenAI.CompactionTriggerItemParam?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.CompactionTriggerItemParam?(InputItem @this) => @this.CompactionTrigger; + + /// + /// + /// + public InputItem(global::tryAGI.OpenAI.CompactionTriggerItemParam? value) + { + CompactionTrigger = value; + } + + /// + /// + /// + public static InputItem FromCompactionTrigger(global::tryAGI.OpenAI.CompactionTriggerItemParam? value) => new InputItem(value); + /// /// /// @@ -200,11 +260,13 @@ public InputItem(global::tryAGI.OpenAI.ItemReferenceParam? value) public InputItem( global::tryAGI.OpenAI.EasyInputMessage? message, global::tryAGI.OpenAI.Item? item, + global::tryAGI.OpenAI.CompactionTriggerItemParam? compactionTrigger, global::tryAGI.OpenAI.ItemReferenceParam? itemReference ) { Message = message; Item = item; + CompactionTrigger = compactionTrigger; ItemReference = itemReference; } @@ -213,6 +275,7 @@ public InputItem( /// public object? Object => ItemReference as object ?? + CompactionTrigger as object ?? Item as object ?? Message as object ; @@ -223,6 +286,7 @@ Message as object public override string? ToString() => Message?.ToString() ?? Item?.ToString() ?? + CompactionTrigger?.ToString() ?? ItemReference?.ToString() ; @@ -231,7 +295,7 @@ Message as object /// public bool Validate() { - return IsMessage && !IsItem && !IsItemReference || !IsMessage && IsItem && !IsItemReference || !IsMessage && !IsItem && IsItemReference; + return IsMessage && !IsItem && !IsCompactionTrigger && !IsItemReference || !IsMessage && IsItem && !IsCompactionTrigger && !IsItemReference || !IsMessage && !IsItem && IsCompactionTrigger && !IsItemReference || !IsMessage && !IsItem && !IsCompactionTrigger && IsItemReference; } /// @@ -240,6 +304,7 @@ public bool Validate() public TResult? Match( global::System.Func? message = null, global::System.Func? item = null, + global::System.Func? compactionTrigger = null, global::System.Func? itemReference = null, bool validate = true) { @@ -256,6 +321,10 @@ public bool Validate() { return item(Item!); } + else if (IsCompactionTrigger && compactionTrigger != null) + { + return compactionTrigger(CompactionTrigger!); + } else if (IsItemReference && itemReference != null) { return itemReference(ItemReference!); @@ -272,6 +341,8 @@ public void Match( global::System.Action? item = null, + global::System.Action? compactionTrigger = null, + global::System.Action? itemReference = null, bool validate = true) { @@ -288,6 +359,10 @@ public void Match( { item?.Invoke(Item!); } + else if (IsCompactionTrigger) + { + compactionTrigger?.Invoke(CompactionTrigger!); + } else if (IsItemReference) { itemReference?.Invoke(ItemReference!); @@ -300,6 +375,7 @@ public void Match( public void Switch( global::System.Action? message = null, global::System.Action? item = null, + global::System.Action? compactionTrigger = null, global::System.Action? itemReference = null, bool validate = true) { @@ -316,6 +392,10 @@ public void Switch( { item?.Invoke(Item!); } + else if (IsCompactionTrigger) + { + compactionTrigger?.Invoke(CompactionTrigger!); + } else if (IsItemReference) { itemReference?.Invoke(ItemReference!); @@ -333,6 +413,8 @@ public override int GetHashCode() typeof(global::tryAGI.OpenAI.EasyInputMessage), Item, typeof(global::tryAGI.OpenAI.Item), + CompactionTrigger, + typeof(global::tryAGI.OpenAI.CompactionTriggerItemParam), ItemReference, typeof(global::tryAGI.OpenAI.ItemReferenceParam), }; @@ -353,6 +435,7 @@ public bool Equals(InputItem other) return global::System.Collections.Generic.EqualityComparer.Default.Equals(Message, other.Message) && global::System.Collections.Generic.EqualityComparer.Default.Equals(Item, other.Item) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(CompactionTrigger, other.CompactionTrigger) && global::System.Collections.Generic.EqualityComparer.Default.Equals(ItemReference, other.ItemReference) ; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputItemDiscriminatorType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputItemDiscriminatorType.g.cs index cba8f6113..44308acd4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputItemDiscriminatorType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputItemDiscriminatorType.g.cs @@ -8,6 +8,10 @@ namespace tryAGI.OpenAI /// public enum InputItemDiscriminatorType { + /// + /// + /// + CompactionTrigger, /// /// /// @@ -26,6 +30,7 @@ public static string ToValueString(this InputItemDiscriminatorType value) { return value switch { + InputItemDiscriminatorType.CompactionTrigger => "compaction_trigger", InputItemDiscriminatorType.Message => "message", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -37,6 +42,7 @@ public static string ToValueString(this InputItemDiscriminatorType value) { return value switch { + "compaction_trigger" => InputItemDiscriminatorType.CompactionTrigger, "message" => InputItemDiscriminatorType.Message, _ => null, }; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteRequest.g.cs index cfe494894..e871422fd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteRequest.g.cs @@ -24,7 +24,7 @@ public sealed partial class InviteRequest public required global::tryAGI.OpenAI.InviteRequestRole Role { get; set; } /// - /// An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior. + /// An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior. If empty list is passed, the user will not be invited to any projects, including the default one. /// [global::System.Text.Json.Serialization.JsonPropertyName("projects")] public global::System.Collections.Generic.IList? Projects { get; set; } @@ -45,7 +45,7 @@ public sealed partial class InviteRequest /// `owner` or `reader` /// /// - /// An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior. + /// An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior. If empty list is passed, the user will not be invited to any projects, including the default one. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissions.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissions.Json.g.cs new file mode 100644 index 000000000..1d6ac58c6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissions.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectHostedToolPermissions + { + /// + /// 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.ProjectHostedToolPermissions? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectHostedToolPermissions), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectHostedToolPermissions; + } + + /// + /// 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.ProjectHostedToolPermissions? 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.ProjectHostedToolPermissions), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectHostedToolPermissions; + } + + /// + /// 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.ProjectHostedToolPermissions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissions.g.cs new file mode 100644 index 000000000..906ef3a32 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissions.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Represents hosted tool permissions for a project. + /// + public sealed partial class ProjectHostedToolPermissions + { + /// + /// Permission state for a single hosted tool on a project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("file_search")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.HostedToolPermission FileSearch { get; set; } + + /// + /// Permission state for a single hosted tool on a project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("web_search")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.HostedToolPermission WebSearch { get; set; } + + /// + /// Permission state for a single hosted tool on a project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("image_generation")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.HostedToolPermission ImageGeneration { get; set; } + + /// + /// Permission state for a single hosted tool on a project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mcp")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.HostedToolPermission Mcp { get; set; } + + /// + /// Permission state for a single hosted tool on a project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code_interpreter")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.HostedToolPermission CodeInterpreter { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Permission state for a single hosted tool on a project. + /// + /// + /// Permission state for a single hosted tool on a project. + /// + /// + /// Permission state for a single hosted tool on a project. + /// + /// + /// Permission state for a single hosted tool on a project. + /// + /// + /// Permission state for a single hosted tool on a project. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ProjectHostedToolPermissions( + global::tryAGI.OpenAI.HostedToolPermission fileSearch, + global::tryAGI.OpenAI.HostedToolPermission webSearch, + global::tryAGI.OpenAI.HostedToolPermission imageGeneration, + global::tryAGI.OpenAI.HostedToolPermission mcp, + global::tryAGI.OpenAI.HostedToolPermission codeInterpreter) + { + this.FileSearch = fileSearch ?? throw new global::System.ArgumentNullException(nameof(fileSearch)); + this.WebSearch = webSearch ?? throw new global::System.ArgumentNullException(nameof(webSearch)); + this.ImageGeneration = imageGeneration ?? throw new global::System.ArgumentNullException(nameof(imageGeneration)); + this.Mcp = mcp ?? throw new global::System.ArgumentNullException(nameof(mcp)); + this.CodeInterpreter = codeInterpreter ?? throw new global::System.ArgumentNullException(nameof(codeInterpreter)); + } + + /// + /// Initializes a new instance of the class. + /// + public ProjectHostedToolPermissions() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequest.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequest.Json.g.cs new file mode 100644 index 000000000..fc1039078 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequest.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectHostedToolPermissionsUpdateRequest + { + /// + /// 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.ProjectHostedToolPermissionsUpdateRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequest), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequest; + } + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequest? 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.ProjectHostedToolPermissionsUpdateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequest; + } + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequest.g.cs new file mode 100644 index 000000000..5d5168cd2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequest.g.cs @@ -0,0 +1,90 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class ProjectHostedToolPermissionsUpdateRequest + { + /// + /// The file search permission update. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("file_search")] + public global::tryAGI.OpenAI.HostedToolPermissionUpdate? FileSearch { get; set; } + + /// + /// The web search permission update. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("web_search")] + public global::tryAGI.OpenAI.HostedToolPermissionUpdate? WebSearch { get; set; } + + /// + /// The image generation permission update. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("image_generation")] + public global::tryAGI.OpenAI.HostedToolPermissionUpdate? ImageGeneration { get; set; } + + /// + /// The MCP permission update. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mcp")] + public global::tryAGI.OpenAI.HostedToolPermissionUpdate? Mcp { get; set; } + + /// + /// The code interpreter permission update. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code_interpreter")] + public global::tryAGI.OpenAI.HostedToolPermissionUpdate? CodeInterpreter { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The file search permission update. + /// + /// + /// The web search permission update. + /// + /// + /// The image generation permission update. + /// + /// + /// The MCP permission update. + /// + /// + /// The code interpreter permission update. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ProjectHostedToolPermissionsUpdateRequest( + global::tryAGI.OpenAI.HostedToolPermissionUpdate? fileSearch, + global::tryAGI.OpenAI.HostedToolPermissionUpdate? webSearch, + global::tryAGI.OpenAI.HostedToolPermissionUpdate? imageGeneration, + global::tryAGI.OpenAI.HostedToolPermissionUpdate? mcp, + global::tryAGI.OpenAI.HostedToolPermissionUpdate? codeInterpreter) + { + this.FileSearch = fileSearch; + this.WebSearch = webSearch; + this.ImageGeneration = imageGeneration; + this.Mcp = mcp; + this.CodeInterpreter = codeInterpreter; + } + + /// + /// Initializes a new instance of the class. + /// + public ProjectHostedToolPermissionsUpdateRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestCodeInterpreter.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestCodeInterpreter.Json.g.cs new file mode 100644 index 000000000..407d3cdc0 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestCodeInterpreter.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectHostedToolPermissionsUpdateRequestCodeInterpreter + { + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestCodeInterpreter? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestCodeInterpreter), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestCodeInterpreter; + } + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestCodeInterpreter? 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.ProjectHostedToolPermissionsUpdateRequestCodeInterpreter), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestCodeInterpreter; + } + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestCodeInterpreter.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestCodeInterpreter.g.cs new file mode 100644 index 000000000..68b4fd192 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestCodeInterpreter.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The code interpreter permission update. + /// + public sealed partial class ProjectHostedToolPermissionsUpdateRequestCodeInterpreter + { + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestFileSearch.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestFileSearch.Json.g.cs new file mode 100644 index 000000000..c2691838b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestFileSearch.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectHostedToolPermissionsUpdateRequestFileSearch + { + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestFileSearch? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestFileSearch), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestFileSearch; + } + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestFileSearch? 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.ProjectHostedToolPermissionsUpdateRequestFileSearch), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestFileSearch; + } + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestFileSearch.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestFileSearch.g.cs new file mode 100644 index 000000000..8248d2d22 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestFileSearch.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The file search permission update. + /// + public sealed partial class ProjectHostedToolPermissionsUpdateRequestFileSearch + { + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestImageGeneration.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestImageGeneration.Json.g.cs new file mode 100644 index 000000000..25d52f67a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestImageGeneration.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectHostedToolPermissionsUpdateRequestImageGeneration + { + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestImageGeneration? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestImageGeneration), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestImageGeneration; + } + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestImageGeneration? 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.ProjectHostedToolPermissionsUpdateRequestImageGeneration), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestImageGeneration; + } + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestImageGeneration.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestImageGeneration.g.cs new file mode 100644 index 000000000..f5fe96f74 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestImageGeneration.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The image generation permission update. + /// + public sealed partial class ProjectHostedToolPermissionsUpdateRequestImageGeneration + { + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestMcp.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestMcp.Json.g.cs new file mode 100644 index 000000000..220c04a11 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestMcp.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectHostedToolPermissionsUpdateRequestMcp + { + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestMcp? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestMcp), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestMcp; + } + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestMcp? 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.ProjectHostedToolPermissionsUpdateRequestMcp), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestMcp; + } + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestMcp.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestMcp.g.cs new file mode 100644 index 000000000..52fe1678a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestMcp.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The MCP permission update. + /// + public sealed partial class ProjectHostedToolPermissionsUpdateRequestMcp + { + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestWebSearch.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestWebSearch.Json.g.cs new file mode 100644 index 000000000..156b957d5 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestWebSearch.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectHostedToolPermissionsUpdateRequestWebSearch + { + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestWebSearch? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestWebSearch), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestWebSearch; + } + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestWebSearch? 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.ProjectHostedToolPermissionsUpdateRequestWebSearch), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequestWebSearch; + } + + /// + /// 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.ProjectHostedToolPermissionsUpdateRequestWebSearch.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestWebSearch.g.cs new file mode 100644 index 000000000..3b25e3807 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectHostedToolPermissionsUpdateRequestWebSearch.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The web search permission update. + /// + public sealed partial class ProjectHostedToolPermissionsUpdateRequestWebSearch + { + + /// + /// 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.ProjectModelPermissions.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissions.Json.g.cs new file mode 100644 index 000000000..c04d581a6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissions.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectModelPermissions + { + /// + /// 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.ProjectModelPermissions? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectModelPermissions), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectModelPermissions; + } + + /// + /// 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.ProjectModelPermissions? 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.ProjectModelPermissions), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectModelPermissions; + } + + /// + /// 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.ProjectModelPermissions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissions.g.cs new file mode 100644 index 000000000..201f0a6ea --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissions.g.cs @@ -0,0 +1,72 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Represents the model allowlist or denylist policy for a project. + /// + public sealed partial class ProjectModelPermissions + { + /// + /// The object type, which is always `project.model_permissions`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsObjectJsonConverter))] + public global::tryAGI.OpenAI.ProjectModelPermissionsObject Object { get; set; } + + /// + /// Whether the project uses an allowlist or a denylist. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mode")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsModeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.ProjectModelPermissionsMode Mode { get; set; } + + /// + /// The model IDs included in the model permissions policy. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("model_ids")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList ModelIds { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Whether the project uses an allowlist or a denylist. + /// + /// + /// The model IDs included in the model permissions policy. + /// + /// + /// The object type, which is always `project.model_permissions`. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ProjectModelPermissions( + global::tryAGI.OpenAI.ProjectModelPermissionsMode mode, + global::System.Collections.Generic.IList modelIds, + global::tryAGI.OpenAI.ProjectModelPermissionsObject @object) + { + this.Object = @object; + this.Mode = mode; + this.ModelIds = modelIds ?? throw new global::System.ArgumentNullException(nameof(modelIds)); + } + + /// + /// Initializes a new instance of the class. + /// + public ProjectModelPermissions() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsDeleteResponse.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsDeleteResponse.Json.g.cs new file mode 100644 index 000000000..55e7cb685 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsDeleteResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectModelPermissionsDeleteResponse + { + /// + /// 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.ProjectModelPermissionsDeleteResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponse), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponse; + } + + /// + /// 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.ProjectModelPermissionsDeleteResponse? 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.ProjectModelPermissionsDeleteResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponse; + } + + /// + /// 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.ProjectModelPermissionsDeleteResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsDeleteResponse.g.cs new file mode 100644 index 000000000..fa06f22da --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsDeleteResponse.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Confirmation payload returned after deleting project model permissions. + /// + public sealed partial class ProjectModelPermissionsDeleteResponse + { + /// + /// The object type, which is always `project.model_permissions.deleted`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsDeleteResponseObjectJsonConverter))] + public global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObject Object { get; set; } + + /// + /// Whether the project model permissions were deleted. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Deleted { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Whether the project model permissions were deleted. + /// + /// + /// The object type, which is always `project.model_permissions.deleted`. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ProjectModelPermissionsDeleteResponse( + bool deleted, + global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObject @object) + { + this.Object = @object; + this.Deleted = deleted; + } + + /// + /// Initializes a new instance of the class. + /// + public ProjectModelPermissionsDeleteResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsDeleteResponseObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsDeleteResponseObject.g.cs new file mode 100644 index 000000000..d3ef2f9dd --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsDeleteResponseObject.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The object type, which is always `project.model_permissions.deleted`. + /// + public enum ProjectModelPermissionsDeleteResponseObject + { + /// + /// + /// + ProjectModelPermissionsDeleted, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectModelPermissionsDeleteResponseObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectModelPermissionsDeleteResponseObject value) + { + return value switch + { + ProjectModelPermissionsDeleteResponseObject.ProjectModelPermissionsDeleted => "project.model_permissions.deleted", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectModelPermissionsDeleteResponseObject? ToEnum(string value) + { + return value switch + { + "project.model_permissions.deleted" => ProjectModelPermissionsDeleteResponseObject.ProjectModelPermissionsDeleted, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsMode.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsMode.g.cs new file mode 100644 index 000000000..271f1e202 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsMode.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Whether the project uses an allowlist or a denylist. + /// + public enum ProjectModelPermissionsMode + { + /// + /// + /// + AllowList, + /// + /// + /// + DenyList, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectModelPermissionsModeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectModelPermissionsMode value) + { + return value switch + { + ProjectModelPermissionsMode.AllowList => "allow_list", + ProjectModelPermissionsMode.DenyList => "deny_list", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectModelPermissionsMode? ToEnum(string value) + { + return value switch + { + "allow_list" => ProjectModelPermissionsMode.AllowList, + "deny_list" => ProjectModelPermissionsMode.DenyList, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsObject.g.cs new file mode 100644 index 000000000..67ac67385 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsObject.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The object type, which is always `project.model_permissions`. + /// + public enum ProjectModelPermissionsObject + { + /// + /// + /// + ProjectModelPermissions, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectModelPermissionsObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectModelPermissionsObject value) + { + return value switch + { + ProjectModelPermissionsObject.ProjectModelPermissions => "project.model_permissions", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectModelPermissionsObject? ToEnum(string value) + { + return value switch + { + "project.model_permissions" => ProjectModelPermissionsObject.ProjectModelPermissions, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsUpdateRequest.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsUpdateRequest.Json.g.cs new file mode 100644 index 000000000..7e0a819c2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsUpdateRequest.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectModelPermissionsUpdateRequest + { + /// + /// 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.ProjectModelPermissionsUpdateRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequest), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequest; + } + + /// + /// 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.ProjectModelPermissionsUpdateRequest? 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.ProjectModelPermissionsUpdateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequest; + } + + /// + /// 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.ProjectModelPermissionsUpdateRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsUpdateRequest.g.cs new file mode 100644 index 000000000..ec0012d65 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsUpdateRequest.g.cs @@ -0,0 +1,60 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class ProjectModelPermissionsUpdateRequest + { + /// + /// The model permissions mode to apply. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mode")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ProjectModelPermissionsUpdateRequestModeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode Mode { get; set; } + + /// + /// The model IDs included in this permissions policy. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("model_ids")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList ModelIds { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The model permissions mode to apply. + /// + /// + /// The model IDs included in this permissions policy. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ProjectModelPermissionsUpdateRequest( + global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode mode, + global::System.Collections.Generic.IList modelIds) + { + this.Mode = mode; + this.ModelIds = modelIds ?? throw new global::System.ArgumentNullException(nameof(modelIds)); + } + + /// + /// Initializes a new instance of the class. + /// + public ProjectModelPermissionsUpdateRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsUpdateRequestMode.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsUpdateRequestMode.g.cs new file mode 100644 index 000000000..5a0aeb4d1 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectModelPermissionsUpdateRequestMode.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The model permissions mode to apply. + /// + public enum ProjectModelPermissionsUpdateRequestMode + { + /// + /// + /// + AllowList, + /// + /// + /// + DenyList, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectModelPermissionsUpdateRequestModeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectModelPermissionsUpdateRequestMode value) + { + return value switch + { + ProjectModelPermissionsUpdateRequestMode.AllowList => "allow_list", + ProjectModelPermissionsUpdateRequestMode.DenyList => "deny_list", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectModelPermissionsUpdateRequestMode? ToEnum(string value) + { + return value switch + { + "allow_list" => ProjectModelPermissionsUpdateRequestMode.AllowList, + "deny_list" => ProjectModelPermissionsUpdateRequestMode.DenyList, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResultsItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResultsItem.g.cs index e4cc3d81b..b3451f6a7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResultsItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResultsItem.g.cs @@ -310,6 +310,80 @@ public bool TryPickOrganizationUsageCodeInterpreterSessionsResult( ? OrganizationUsageCodeInterpreterSessionsResult! : throw new global::System.InvalidOperationException($"Expected union variant 'OrganizationUsageCodeInterpreterSessionsResult' but the value was {ToString()}."); + /// + /// The aggregated file search calls usage details of the specific time bucket. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.UsageFileSearchCallsResult? OrganizationUsageFileSearchesResult { get; init; } +#else + public global::tryAGI.OpenAI.UsageFileSearchCallsResult? OrganizationUsageFileSearchesResult { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(OrganizationUsageFileSearchesResult))] +#endif + public bool IsOrganizationUsageFileSearchesResult => OrganizationUsageFileSearchesResult != null; + + /// + /// + /// + public bool TryPickOrganizationUsageFileSearchesResult( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.UsageFileSearchCallsResult? value) + { + value = OrganizationUsageFileSearchesResult; + return IsOrganizationUsageFileSearchesResult; + } + + /// + /// + /// + public global::tryAGI.OpenAI.UsageFileSearchCallsResult PickOrganizationUsageFileSearchesResult() => IsOrganizationUsageFileSearchesResult + ? OrganizationUsageFileSearchesResult! + : throw new global::System.InvalidOperationException($"Expected union variant 'OrganizationUsageFileSearchesResult' but the value was {ToString()}."); + + /// + /// The aggregated web search calls usage details of the specific time bucket. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.UsageWebSearchCallsResult? OrganizationUsageWebSearchesResult { get; init; } +#else + public global::tryAGI.OpenAI.UsageWebSearchCallsResult? OrganizationUsageWebSearchesResult { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(OrganizationUsageWebSearchesResult))] +#endif + public bool IsOrganizationUsageWebSearchesResult => OrganizationUsageWebSearchesResult != null; + + /// + /// + /// + public bool TryPickOrganizationUsageWebSearchesResult( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::tryAGI.OpenAI.UsageWebSearchCallsResult? value) + { + value = OrganizationUsageWebSearchesResult; + return IsOrganizationUsageWebSearchesResult; + } + + /// + /// + /// + public global::tryAGI.OpenAI.UsageWebSearchCallsResult PickOrganizationUsageWebSearchesResult() => IsOrganizationUsageWebSearchesResult + ? OrganizationUsageWebSearchesResult! + : throw new global::System.InvalidOperationException($"Expected union variant 'OrganizationUsageWebSearchesResult' but the value was {ToString()}."); + /// /// The aggregated costs details of the specific time bucket. /// @@ -530,6 +604,52 @@ public ResultsItem(global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult? val /// public static ResultsItem FromOrganizationUsageCodeInterpreterSessionsResult(global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult? value) => new ResultsItem(value); + /// + /// + /// + public static implicit operator ResultsItem(global::tryAGI.OpenAI.UsageFileSearchCallsResult value) => new ResultsItem((global::tryAGI.OpenAI.UsageFileSearchCallsResult?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.UsageFileSearchCallsResult?(ResultsItem @this) => @this.OrganizationUsageFileSearchesResult; + + /// + /// + /// + public ResultsItem(global::tryAGI.OpenAI.UsageFileSearchCallsResult? value) + { + OrganizationUsageFileSearchesResult = value; + } + + /// + /// + /// + public static ResultsItem FromOrganizationUsageFileSearchesResult(global::tryAGI.OpenAI.UsageFileSearchCallsResult? value) => new ResultsItem(value); + + /// + /// + /// + public static implicit operator ResultsItem(global::tryAGI.OpenAI.UsageWebSearchCallsResult value) => new ResultsItem((global::tryAGI.OpenAI.UsageWebSearchCallsResult?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.UsageWebSearchCallsResult?(ResultsItem @this) => @this.OrganizationUsageWebSearchesResult; + + /// + /// + /// + public ResultsItem(global::tryAGI.OpenAI.UsageWebSearchCallsResult? value) + { + OrganizationUsageWebSearchesResult = value; + } + + /// + /// + /// + public static ResultsItem FromOrganizationUsageWebSearchesResult(global::tryAGI.OpenAI.UsageWebSearchCallsResult? value) => new ResultsItem(value); + /// /// /// @@ -566,6 +686,8 @@ public ResultsItem( global::tryAGI.OpenAI.UsageAudioTranscriptionsResult? organizationUsageAudioTranscriptionsResult, global::tryAGI.OpenAI.UsageVectorStoresResult? organizationUsageVectorStoresResult, global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult? organizationUsageCodeInterpreterSessionsResult, + global::tryAGI.OpenAI.UsageFileSearchCallsResult? organizationUsageFileSearchesResult, + global::tryAGI.OpenAI.UsageWebSearchCallsResult? organizationUsageWebSearchesResult, global::tryAGI.OpenAI.CostsResult? organizationCostsResult ) { @@ -579,6 +701,8 @@ public ResultsItem( OrganizationUsageAudioTranscriptionsResult = organizationUsageAudioTranscriptionsResult; OrganizationUsageVectorStoresResult = organizationUsageVectorStoresResult; OrganizationUsageCodeInterpreterSessionsResult = organizationUsageCodeInterpreterSessionsResult; + OrganizationUsageFileSearchesResult = organizationUsageFileSearchesResult; + OrganizationUsageWebSearchesResult = organizationUsageWebSearchesResult; OrganizationCostsResult = organizationCostsResult; } @@ -587,6 +711,8 @@ public ResultsItem( /// public object? Object1 => OrganizationCostsResult as object ?? + OrganizationUsageWebSearchesResult as object ?? + OrganizationUsageFileSearchesResult as object ?? OrganizationUsageCodeInterpreterSessionsResult as object ?? OrganizationUsageVectorStoresResult as object ?? OrganizationUsageAudioTranscriptionsResult as object ?? @@ -609,6 +735,8 @@ OrganizationUsageCompletionsResult as object OrganizationUsageAudioTranscriptionsResult?.ToString() ?? OrganizationUsageVectorStoresResult?.ToString() ?? OrganizationUsageCodeInterpreterSessionsResult?.ToString() ?? + OrganizationUsageFileSearchesResult?.ToString() ?? + OrganizationUsageWebSearchesResult?.ToString() ?? OrganizationCostsResult?.ToString() ; @@ -617,7 +745,7 @@ OrganizationUsageCompletionsResult as object /// public bool Validate() { - return IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && IsOrganizationCostsResult; + return IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationUsageFileSearchesResult && !IsOrganizationUsageWebSearchesResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationUsageFileSearchesResult && !IsOrganizationUsageWebSearchesResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationUsageFileSearchesResult && !IsOrganizationUsageWebSearchesResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationUsageFileSearchesResult && !IsOrganizationUsageWebSearchesResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationUsageFileSearchesResult && !IsOrganizationUsageWebSearchesResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationUsageFileSearchesResult && !IsOrganizationUsageWebSearchesResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationUsageFileSearchesResult && !IsOrganizationUsageWebSearchesResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationUsageFileSearchesResult && !IsOrganizationUsageWebSearchesResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && IsOrganizationUsageFileSearchesResult && !IsOrganizationUsageWebSearchesResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationUsageFileSearchesResult && IsOrganizationUsageWebSearchesResult && !IsOrganizationCostsResult || !IsOrganizationUsageCompletionsResult && !IsOrganizationUsageEmbeddingsResult && !IsOrganizationUsageModerationsResult && !IsOrganizationUsageImagesResult && !IsOrganizationUsageAudioSpeechesResult && !IsOrganizationUsageAudioTranscriptionsResult && !IsOrganizationUsageVectorStoresResult && !IsOrganizationUsageCodeInterpreterSessionsResult && !IsOrganizationUsageFileSearchesResult && !IsOrganizationUsageWebSearchesResult && IsOrganizationCostsResult; } /// @@ -632,6 +760,8 @@ public bool Validate() global::System.Func? organizationUsageAudioTranscriptionsResult = null, global::System.Func? organizationUsageVectorStoresResult = null, global::System.Func? organizationUsageCodeInterpreterSessionsResult = null, + global::System.Func? organizationUsageFileSearchesResult = null, + global::System.Func? organizationUsageWebSearchesResult = null, global::System.Func? organizationCostsResult = null, bool validate = true) { @@ -672,6 +802,14 @@ public bool Validate() { return organizationUsageCodeInterpreterSessionsResult(OrganizationUsageCodeInterpreterSessionsResult!); } + else if (IsOrganizationUsageFileSearchesResult && organizationUsageFileSearchesResult != null) + { + return organizationUsageFileSearchesResult(OrganizationUsageFileSearchesResult!); + } + else if (IsOrganizationUsageWebSearchesResult && organizationUsageWebSearchesResult != null) + { + return organizationUsageWebSearchesResult(OrganizationUsageWebSearchesResult!); + } else if (IsOrganizationCostsResult && organizationCostsResult != null) { return organizationCostsResult(OrganizationCostsResult!); @@ -700,6 +838,10 @@ public void Match( global::System.Action? organizationUsageCodeInterpreterSessionsResult = null, + global::System.Action? organizationUsageFileSearchesResult = null, + + global::System.Action? organizationUsageWebSearchesResult = null, + global::System.Action? organizationCostsResult = null, bool validate = true) { @@ -740,6 +882,14 @@ public void Match( { organizationUsageCodeInterpreterSessionsResult?.Invoke(OrganizationUsageCodeInterpreterSessionsResult!); } + else if (IsOrganizationUsageFileSearchesResult) + { + organizationUsageFileSearchesResult?.Invoke(OrganizationUsageFileSearchesResult!); + } + else if (IsOrganizationUsageWebSearchesResult) + { + organizationUsageWebSearchesResult?.Invoke(OrganizationUsageWebSearchesResult!); + } else if (IsOrganizationCostsResult) { organizationCostsResult?.Invoke(OrganizationCostsResult!); @@ -758,6 +908,8 @@ public void Switch( global::System.Action? organizationUsageAudioTranscriptionsResult = null, global::System.Action? organizationUsageVectorStoresResult = null, global::System.Action? organizationUsageCodeInterpreterSessionsResult = null, + global::System.Action? organizationUsageFileSearchesResult = null, + global::System.Action? organizationUsageWebSearchesResult = null, global::System.Action? organizationCostsResult = null, bool validate = true) { @@ -798,6 +950,14 @@ public void Switch( { organizationUsageCodeInterpreterSessionsResult?.Invoke(OrganizationUsageCodeInterpreterSessionsResult!); } + else if (IsOrganizationUsageFileSearchesResult) + { + organizationUsageFileSearchesResult?.Invoke(OrganizationUsageFileSearchesResult!); + } + else if (IsOrganizationUsageWebSearchesResult) + { + organizationUsageWebSearchesResult?.Invoke(OrganizationUsageWebSearchesResult!); + } else if (IsOrganizationCostsResult) { organizationCostsResult?.Invoke(OrganizationCostsResult!); @@ -827,6 +987,10 @@ public override int GetHashCode() typeof(global::tryAGI.OpenAI.UsageVectorStoresResult), OrganizationUsageCodeInterpreterSessionsResult, typeof(global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult), + OrganizationUsageFileSearchesResult, + typeof(global::tryAGI.OpenAI.UsageFileSearchCallsResult), + OrganizationUsageWebSearchesResult, + typeof(global::tryAGI.OpenAI.UsageWebSearchCallsResult), OrganizationCostsResult, typeof(global::tryAGI.OpenAI.CostsResult), }; @@ -853,6 +1017,8 @@ public bool Equals(ResultsItem other) global::System.Collections.Generic.EqualityComparer.Default.Equals(OrganizationUsageAudioTranscriptionsResult, other.OrganizationUsageAudioTranscriptionsResult) && global::System.Collections.Generic.EqualityComparer.Default.Equals(OrganizationUsageVectorStoresResult, other.OrganizationUsageVectorStoresResult) && global::System.Collections.Generic.EqualityComparer.Default.Equals(OrganizationUsageCodeInterpreterSessionsResult, other.OrganizationUsageCodeInterpreterSessionsResult) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(OrganizationUsageFileSearchesResult, other.OrganizationUsageFileSearchesResult) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(OrganizationUsageWebSearchesResult, other.OrganizationUsageWebSearchesResult) && global::System.Collections.Generic.EqualityComparer.Default.Equals(OrganizationCostsResult, other.OrganizationCostsResult) ; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsBucketWidth.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsBucketWidth.g.cs new file mode 100644 index 000000000..756668258 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsBucketWidth.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Default Value: 1d + /// + public enum UsageFileSearchCallsBucketWidth + { + /// + /// + /// + x1d, + /// + /// + /// + x1h, + /// + /// + /// + x1m, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UsageFileSearchCallsBucketWidthExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UsageFileSearchCallsBucketWidth value) + { + return value switch + { + UsageFileSearchCallsBucketWidth.x1d => "1d", + UsageFileSearchCallsBucketWidth.x1h => "1h", + UsageFileSearchCallsBucketWidth.x1m => "1m", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UsageFileSearchCallsBucketWidth? ToEnum(string value) + { + return value switch + { + "1d" => UsageFileSearchCallsBucketWidth.x1d, + "1h" => UsageFileSearchCallsBucketWidth.x1h, + "1m" => UsageFileSearchCallsBucketWidth.x1m, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsGroupByItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsGroupByItem.g.cs new file mode 100644 index 000000000..31cf88662 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsGroupByItem.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public enum UsageFileSearchCallsGroupByItem + { + /// + /// + /// + ApiKeyId, + /// + /// + /// + ProjectId, + /// + /// + /// + UserId, + /// + /// + /// + VectorStoreId, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UsageFileSearchCallsGroupByItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UsageFileSearchCallsGroupByItem value) + { + return value switch + { + UsageFileSearchCallsGroupByItem.ApiKeyId => "api_key_id", + UsageFileSearchCallsGroupByItem.ProjectId => "project_id", + UsageFileSearchCallsGroupByItem.UserId => "user_id", + UsageFileSearchCallsGroupByItem.VectorStoreId => "vector_store_id", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UsageFileSearchCallsGroupByItem? ToEnum(string value) + { + return value switch + { + "api_key_id" => UsageFileSearchCallsGroupByItem.ApiKeyId, + "project_id" => UsageFileSearchCallsGroupByItem.ProjectId, + "user_id" => UsageFileSearchCallsGroupByItem.UserId, + "vector_store_id" => UsageFileSearchCallsGroupByItem.VectorStoreId, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResult.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResult.Json.g.cs new file mode 100644 index 000000000..9e1474177 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResult.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UsageFileSearchCallsResult + { + /// + /// 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.UsageFileSearchCallsResult? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UsageFileSearchCallsResult), + jsonSerializerContext) as global::tryAGI.OpenAI.UsageFileSearchCallsResult; + } + + /// + /// 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.UsageFileSearchCallsResult? 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.UsageFileSearchCallsResult), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UsageFileSearchCallsResult; + } + + /// + /// 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.UsageFileSearchCallsResult.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResult.g.cs new file mode 100644 index 000000000..eecbed2c6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResult.g.cs @@ -0,0 +1,93 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The aggregated file search calls usage details of the specific time bucket. + /// + public sealed partial class UsageFileSearchCallsResult + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.UsageFileSearchCallsResultObjectJsonConverter))] + public global::tryAGI.OpenAI.UsageFileSearchCallsResultObject Object { get; set; } + + /// + /// The count of file search calls. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("num_requests")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int NumRequests { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project_id")] + public string? ProjectId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user_id")] + public string? UserId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("api_key_id")] + public string? ApiKeyId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("vector_store_id")] + public string? VectorStoreId { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The count of file search calls. + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UsageFileSearchCallsResult( + int numRequests, + global::tryAGI.OpenAI.UsageFileSearchCallsResultObject @object, + string? projectId, + string? userId, + string? apiKeyId, + string? vectorStoreId) + { + this.Object = @object; + this.NumRequests = numRequests; + this.ProjectId = projectId; + this.UserId = userId; + this.ApiKeyId = apiKeyId; + this.VectorStoreId = vectorStoreId; + } + + /// + /// Initializes a new instance of the class. + /// + public UsageFileSearchCallsResult() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultApiKeyId.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultApiKeyId.Json.g.cs new file mode 100644 index 000000000..e23c698a7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultApiKeyId.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UsageFileSearchCallsResultApiKeyId + { + /// + /// 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.UsageFileSearchCallsResultApiKeyId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UsageFileSearchCallsResultApiKeyId), + jsonSerializerContext) as global::tryAGI.OpenAI.UsageFileSearchCallsResultApiKeyId; + } + + /// + /// 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.UsageFileSearchCallsResultApiKeyId? 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.UsageFileSearchCallsResultApiKeyId), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UsageFileSearchCallsResultApiKeyId; + } + + /// + /// 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.UsageFileSearchCallsResultApiKeyId.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultApiKeyId.g.cs new file mode 100644 index 000000000..4969da5ab --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultApiKeyId.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class UsageFileSearchCallsResultApiKeyId + { + + /// + /// 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.UsageFileSearchCallsResultObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultObject.g.cs new file mode 100644 index 000000000..69fbd82e2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultObject.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public enum UsageFileSearchCallsResultObject + { + /// + /// + /// + OrganizationUsageFileSearchesResult, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UsageFileSearchCallsResultObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UsageFileSearchCallsResultObject value) + { + return value switch + { + UsageFileSearchCallsResultObject.OrganizationUsageFileSearchesResult => "organization.usage.file_searches.result", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UsageFileSearchCallsResultObject? ToEnum(string value) + { + return value switch + { + "organization.usage.file_searches.result" => UsageFileSearchCallsResultObject.OrganizationUsageFileSearchesResult, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultProjectId.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultProjectId.Json.g.cs new file mode 100644 index 000000000..264301e6d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultProjectId.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UsageFileSearchCallsResultProjectId + { + /// + /// 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.UsageFileSearchCallsResultProjectId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UsageFileSearchCallsResultProjectId), + jsonSerializerContext) as global::tryAGI.OpenAI.UsageFileSearchCallsResultProjectId; + } + + /// + /// 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.UsageFileSearchCallsResultProjectId? 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.UsageFileSearchCallsResultProjectId), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UsageFileSearchCallsResultProjectId; + } + + /// + /// 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.UsageFileSearchCallsResultProjectId.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultProjectId.g.cs new file mode 100644 index 000000000..3e7c618f4 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultProjectId.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class UsageFileSearchCallsResultProjectId + { + + /// + /// 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.UsageFileSearchCallsResultUserId.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultUserId.Json.g.cs new file mode 100644 index 000000000..e8ea99b25 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultUserId.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UsageFileSearchCallsResultUserId + { + /// + /// 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.UsageFileSearchCallsResultUserId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UsageFileSearchCallsResultUserId), + jsonSerializerContext) as global::tryAGI.OpenAI.UsageFileSearchCallsResultUserId; + } + + /// + /// 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.UsageFileSearchCallsResultUserId? 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.UsageFileSearchCallsResultUserId), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UsageFileSearchCallsResultUserId; + } + + /// + /// 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.UsageFileSearchCallsResultUserId.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultUserId.g.cs new file mode 100644 index 000000000..db6f07131 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultUserId.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class UsageFileSearchCallsResultUserId + { + + /// + /// 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.UsageFileSearchCallsResultVectorStoreId.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultVectorStoreId.Json.g.cs new file mode 100644 index 000000000..6dae695de --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultVectorStoreId.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UsageFileSearchCallsResultVectorStoreId + { + /// + /// 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.UsageFileSearchCallsResultVectorStoreId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UsageFileSearchCallsResultVectorStoreId), + jsonSerializerContext) as global::tryAGI.OpenAI.UsageFileSearchCallsResultVectorStoreId; + } + + /// + /// 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.UsageFileSearchCallsResultVectorStoreId? 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.UsageFileSearchCallsResultVectorStoreId), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UsageFileSearchCallsResultVectorStoreId; + } + + /// + /// 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.UsageFileSearchCallsResultVectorStoreId.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultVectorStoreId.g.cs new file mode 100644 index 000000000..f3d495e05 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageFileSearchCallsResultVectorStoreId.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class UsageFileSearchCallsResultVectorStoreId + { + + /// + /// 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.UsageTimeBucketResultDiscriminatorObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageTimeBucketResultDiscriminatorObject.g.cs index 689550e12..201601baf 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageTimeBucketResultDiscriminatorObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageTimeBucketResultDiscriminatorObject.g.cs @@ -35,6 +35,10 @@ public enum UsageTimeBucketResultDiscriminatorObject /// /// /// + OrganizationUsageFileSearchesResult, + /// + /// + /// OrganizationUsageImagesResult, /// /// @@ -44,6 +48,10 @@ public enum UsageTimeBucketResultDiscriminatorObject /// /// OrganizationUsageVectorStoresResult, + /// + /// + /// + OrganizationUsageWebSearchesResult, } /// @@ -64,9 +72,11 @@ public static string ToValueString(this UsageTimeBucketResultDiscriminatorObject UsageTimeBucketResultDiscriminatorObject.OrganizationUsageCodeInterpreterSessionsResult => "organization.usage.code_interpreter_sessions.result", UsageTimeBucketResultDiscriminatorObject.OrganizationUsageCompletionsResult => "organization.usage.completions.result", UsageTimeBucketResultDiscriminatorObject.OrganizationUsageEmbeddingsResult => "organization.usage.embeddings.result", + UsageTimeBucketResultDiscriminatorObject.OrganizationUsageFileSearchesResult => "organization.usage.file_searches.result", UsageTimeBucketResultDiscriminatorObject.OrganizationUsageImagesResult => "organization.usage.images.result", UsageTimeBucketResultDiscriminatorObject.OrganizationUsageModerationsResult => "organization.usage.moderations.result", UsageTimeBucketResultDiscriminatorObject.OrganizationUsageVectorStoresResult => "organization.usage.vector_stores.result", + UsageTimeBucketResultDiscriminatorObject.OrganizationUsageWebSearchesResult => "organization.usage.web_searches.result", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -83,9 +93,11 @@ public static string ToValueString(this UsageTimeBucketResultDiscriminatorObject "organization.usage.code_interpreter_sessions.result" => UsageTimeBucketResultDiscriminatorObject.OrganizationUsageCodeInterpreterSessionsResult, "organization.usage.completions.result" => UsageTimeBucketResultDiscriminatorObject.OrganizationUsageCompletionsResult, "organization.usage.embeddings.result" => UsageTimeBucketResultDiscriminatorObject.OrganizationUsageEmbeddingsResult, + "organization.usage.file_searches.result" => UsageTimeBucketResultDiscriminatorObject.OrganizationUsageFileSearchesResult, "organization.usage.images.result" => UsageTimeBucketResultDiscriminatorObject.OrganizationUsageImagesResult, "organization.usage.moderations.result" => UsageTimeBucketResultDiscriminatorObject.OrganizationUsageModerationsResult, "organization.usage.vector_stores.result" => UsageTimeBucketResultDiscriminatorObject.OrganizationUsageVectorStoresResult, + "organization.usage.web_searches.result" => UsageTimeBucketResultDiscriminatorObject.OrganizationUsageWebSearchesResult, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsBucketWidth.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsBucketWidth.g.cs new file mode 100644 index 000000000..d09f05e65 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsBucketWidth.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Default Value: 1d + /// + public enum UsageWebSearchCallsBucketWidth + { + /// + /// + /// + x1d, + /// + /// + /// + x1h, + /// + /// + /// + x1m, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UsageWebSearchCallsBucketWidthExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UsageWebSearchCallsBucketWidth value) + { + return value switch + { + UsageWebSearchCallsBucketWidth.x1d => "1d", + UsageWebSearchCallsBucketWidth.x1h => "1h", + UsageWebSearchCallsBucketWidth.x1m => "1m", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UsageWebSearchCallsBucketWidth? ToEnum(string value) + { + return value switch + { + "1d" => UsageWebSearchCallsBucketWidth.x1d, + "1h" => UsageWebSearchCallsBucketWidth.x1h, + "1m" => UsageWebSearchCallsBucketWidth.x1m, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsContextLevel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsContextLevel.g.cs new file mode 100644 index 000000000..697e24826 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsContextLevel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public enum UsageWebSearchCallsContextLevel + { + /// + /// + /// + High, + /// + /// + /// + Low, + /// + /// + /// + Medium, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UsageWebSearchCallsContextLevelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UsageWebSearchCallsContextLevel value) + { + return value switch + { + UsageWebSearchCallsContextLevel.High => "high", + UsageWebSearchCallsContextLevel.Low => "low", + UsageWebSearchCallsContextLevel.Medium => "medium", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UsageWebSearchCallsContextLevel? ToEnum(string value) + { + return value switch + { + "high" => UsageWebSearchCallsContextLevel.High, + "low" => UsageWebSearchCallsContextLevel.Low, + "medium" => UsageWebSearchCallsContextLevel.Medium, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsGroupByItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsGroupByItem.g.cs new file mode 100644 index 000000000..ab77dae56 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsGroupByItem.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public enum UsageWebSearchCallsGroupByItem + { + /// + /// + /// + ApiKeyId, + /// + /// + /// + ContextLevel, + /// + /// + /// + Model, + /// + /// + /// + ProjectId, + /// + /// + /// + UserId, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UsageWebSearchCallsGroupByItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UsageWebSearchCallsGroupByItem value) + { + return value switch + { + UsageWebSearchCallsGroupByItem.ApiKeyId => "api_key_id", + UsageWebSearchCallsGroupByItem.ContextLevel => "context_level", + UsageWebSearchCallsGroupByItem.Model => "model", + UsageWebSearchCallsGroupByItem.ProjectId => "project_id", + UsageWebSearchCallsGroupByItem.UserId => "user_id", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UsageWebSearchCallsGroupByItem? ToEnum(string value) + { + return value switch + { + "api_key_id" => UsageWebSearchCallsGroupByItem.ApiKeyId, + "context_level" => UsageWebSearchCallsGroupByItem.ContextLevel, + "model" => UsageWebSearchCallsGroupByItem.Model, + "project_id" => UsageWebSearchCallsGroupByItem.ProjectId, + "user_id" => UsageWebSearchCallsGroupByItem.UserId, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResult.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResult.Json.g.cs new file mode 100644 index 000000000..8b0e3ff87 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResult.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UsageWebSearchCallsResult + { + /// + /// 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.UsageWebSearchCallsResult? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UsageWebSearchCallsResult), + jsonSerializerContext) as global::tryAGI.OpenAI.UsageWebSearchCallsResult; + } + + /// + /// 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.UsageWebSearchCallsResult? 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.UsageWebSearchCallsResult), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UsageWebSearchCallsResult; + } + + /// + /// 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.UsageWebSearchCallsResult.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResult.g.cs new file mode 100644 index 000000000..1721df055 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResult.g.cs @@ -0,0 +1,114 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The aggregated web search calls usage details of the specific time bucket. + /// + public sealed partial class UsageWebSearchCallsResult + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.UsageWebSearchCallsResultObjectJsonConverter))] + public global::tryAGI.OpenAI.UsageWebSearchCallsResultObject Object { get; set; } + + /// + /// The count of model requests. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("num_model_requests")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int NumModelRequests { get; set; } + + /// + /// The count of web search calls. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("num_requests")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int NumRequests { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project_id")] + public string? ProjectId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user_id")] + public string? UserId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("api_key_id")] + public string? ApiKeyId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("model")] + public string? Model { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("context_level")] + public string? ContextLevel { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The count of model requests. + /// + /// + /// The count of web search calls. + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UsageWebSearchCallsResult( + int numModelRequests, + int numRequests, + global::tryAGI.OpenAI.UsageWebSearchCallsResultObject @object, + string? projectId, + string? userId, + string? apiKeyId, + string? model, + string? contextLevel) + { + this.Object = @object; + this.NumModelRequests = numModelRequests; + this.NumRequests = numRequests; + this.ProjectId = projectId; + this.UserId = userId; + this.ApiKeyId = apiKeyId; + this.Model = model; + this.ContextLevel = contextLevel; + } + + /// + /// Initializes a new instance of the class. + /// + public UsageWebSearchCallsResult() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultApiKeyId.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultApiKeyId.Json.g.cs new file mode 100644 index 000000000..d482c13f8 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultApiKeyId.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UsageWebSearchCallsResultApiKeyId + { + /// + /// 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.UsageWebSearchCallsResultApiKeyId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UsageWebSearchCallsResultApiKeyId), + jsonSerializerContext) as global::tryAGI.OpenAI.UsageWebSearchCallsResultApiKeyId; + } + + /// + /// 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.UsageWebSearchCallsResultApiKeyId? 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.UsageWebSearchCallsResultApiKeyId), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UsageWebSearchCallsResultApiKeyId; + } + + /// + /// 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.UsageWebSearchCallsResultApiKeyId.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultApiKeyId.g.cs new file mode 100644 index 000000000..2b0b5ed37 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultApiKeyId.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class UsageWebSearchCallsResultApiKeyId + { + + /// + /// 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.UsageWebSearchCallsResultContextLevel.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultContextLevel.Json.g.cs new file mode 100644 index 000000000..c0f2d15fb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultContextLevel.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UsageWebSearchCallsResultContextLevel + { + /// + /// 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.UsageWebSearchCallsResultContextLevel? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UsageWebSearchCallsResultContextLevel), + jsonSerializerContext) as global::tryAGI.OpenAI.UsageWebSearchCallsResultContextLevel; + } + + /// + /// 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.UsageWebSearchCallsResultContextLevel? 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.UsageWebSearchCallsResultContextLevel), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UsageWebSearchCallsResultContextLevel; + } + + /// + /// 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.UsageWebSearchCallsResultContextLevel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultContextLevel.g.cs new file mode 100644 index 000000000..3136d6701 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultContextLevel.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class UsageWebSearchCallsResultContextLevel + { + + /// + /// 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.UsageWebSearchCallsResultModel.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultModel.Json.g.cs new file mode 100644 index 000000000..e86e7d1ea --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultModel.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UsageWebSearchCallsResultModel + { + /// + /// 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.UsageWebSearchCallsResultModel? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UsageWebSearchCallsResultModel), + jsonSerializerContext) as global::tryAGI.OpenAI.UsageWebSearchCallsResultModel; + } + + /// + /// 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.UsageWebSearchCallsResultModel? 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.UsageWebSearchCallsResultModel), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UsageWebSearchCallsResultModel; + } + + /// + /// 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.UsageWebSearchCallsResultModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultModel.g.cs new file mode 100644 index 000000000..d63041b8b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultModel.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class UsageWebSearchCallsResultModel + { + + /// + /// 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.UsageWebSearchCallsResultObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultObject.g.cs new file mode 100644 index 000000000..d59a071cb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultObject.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public enum UsageWebSearchCallsResultObject + { + /// + /// + /// + OrganizationUsageWebSearchesResult, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UsageWebSearchCallsResultObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UsageWebSearchCallsResultObject value) + { + return value switch + { + UsageWebSearchCallsResultObject.OrganizationUsageWebSearchesResult => "organization.usage.web_searches.result", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UsageWebSearchCallsResultObject? ToEnum(string value) + { + return value switch + { + "organization.usage.web_searches.result" => UsageWebSearchCallsResultObject.OrganizationUsageWebSearchesResult, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultProjectId.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultProjectId.Json.g.cs new file mode 100644 index 000000000..ecb43d246 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultProjectId.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UsageWebSearchCallsResultProjectId + { + /// + /// 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.UsageWebSearchCallsResultProjectId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UsageWebSearchCallsResultProjectId), + jsonSerializerContext) as global::tryAGI.OpenAI.UsageWebSearchCallsResultProjectId; + } + + /// + /// 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.UsageWebSearchCallsResultProjectId? 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.UsageWebSearchCallsResultProjectId), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UsageWebSearchCallsResultProjectId; + } + + /// + /// 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.UsageWebSearchCallsResultProjectId.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultProjectId.g.cs new file mode 100644 index 000000000..cb40e1be0 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultProjectId.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class UsageWebSearchCallsResultProjectId + { + + /// + /// 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.UsageWebSearchCallsResultUserId.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultUserId.Json.g.cs new file mode 100644 index 000000000..9a20dd723 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultUserId.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UsageWebSearchCallsResultUserId + { + /// + /// 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.UsageWebSearchCallsResultUserId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UsageWebSearchCallsResultUserId), + jsonSerializerContext) as global::tryAGI.OpenAI.UsageWebSearchCallsResultUserId; + } + + /// + /// 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.UsageWebSearchCallsResultUserId? 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.UsageWebSearchCallsResultUserId), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UsageWebSearchCallsResultUserId; + } + + /// + /// 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.UsageWebSearchCallsResultUserId.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultUserId.g.cs new file mode 100644 index 000000000..e1b87ea90 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageWebSearchCallsResultUserId.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class UsageWebSearchCallsResultUserId + { + + /// + /// 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.OpenAiClient.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.g.cs index d9ee3adc1..4dff81ff4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.g.cs @@ -175,6 +175,15 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, JsonSerializerContext = JsonSerializerContext, }; + /// + /// + /// + public HostedToolsClient HostedTools => new HostedToolsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContext = JsonSerializerContext, + }; + /// /// Given a prompt and/or an input image, the model will generate a new image. /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.DeleteProjectModelPermissions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.DeleteProjectModelPermissions.g.cs new file mode 100644 index 000000000..c209b0c44 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.DeleteProjectModelPermissions.g.cs @@ -0,0 +1,430 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class ProjectsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_DeleteProjectModelPermissionsSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_DeleteProjectModelPermissionsSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_DeleteProjectModelPermissionsSecurityRequirement0, + }; + partial void PrepareDeleteProjectModelPermissionsArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId); + partial void PrepareDeleteProjectModelPermissionsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId); + partial void ProcessDeleteProjectModelPermissionsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessDeleteProjectModelPermissionsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Deletes model permissions for a project. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task DeleteProjectModelPermissionsAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await DeleteProjectModelPermissionsAsResponseAsync( + projectId: projectId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Deletes model permissions for a project. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> DeleteProjectModelPermissionsAsResponseAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareDeleteProjectModelPermissionsArguments( + httpClient: HttpClient, + projectId: ref projectId); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_DeleteProjectModelPermissionsSecurityRequirements, + operationName: "DeleteProjectModelPermissionsAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/projects/{projectId}/model_permissions", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareDeleteProjectModelPermissionsRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProjectModelPermissions", + methodName: "DeleteProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProjectModelPermissions", + methodName: "DeleteProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProjectModelPermissions", + methodName: "DeleteProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessDeleteProjectModelPermissionsResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProjectModelPermissions", + methodName: "DeleteProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProjectModelPermissions", + methodName: "DeleteProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessDeleteProjectModelPermissionsResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.ModifyProjectModelPermissions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.ModifyProjectModelPermissions.g.cs new file mode 100644 index 000000000..543de766f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.ModifyProjectModelPermissions.g.cs @@ -0,0 +1,482 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class ProjectsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_ModifyProjectModelPermissionsSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_ModifyProjectModelPermissionsSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_ModifyProjectModelPermissionsSecurityRequirement0, + }; + partial void PrepareModifyProjectModelPermissionsArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequest request); + partial void PrepareModifyProjectModelPermissionsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequest request); + partial void ProcessModifyProjectModelPermissionsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessModifyProjectModelPermissionsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Updates model permissions for a project. + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ModifyProjectModelPermissionsAsync( + string projectId, + + global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequest request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ModifyProjectModelPermissionsAsResponseAsync( + projectId: projectId, + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Updates model permissions for a project. + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> ModifyProjectModelPermissionsAsResponseAsync( + string projectId, + + global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequest request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareModifyProjectModelPermissionsArguments( + httpClient: HttpClient, + projectId: ref projectId, + request: request); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ModifyProjectModelPermissionsSecurityRequirements, + operationName: "ModifyProjectModelPermissionsAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/projects/{projectId}/model_permissions", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareModifyProjectModelPermissionsRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!, + request: request); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ModifyProjectModelPermissions", + methodName: "ModifyProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ModifyProjectModelPermissions", + methodName: "ModifyProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ModifyProjectModelPermissions", + methodName: "ModifyProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessModifyProjectModelPermissionsResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ModifyProjectModelPermissions", + methodName: "ModifyProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ModifyProjectModelPermissions", + methodName: "ModifyProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessModifyProjectModelPermissionsResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.ProjectModelPermissions.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.ProjectModelPermissions.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Updates model permissions for a project. + /// + /// + /// + /// The model permissions mode to apply. + /// + /// + /// The model IDs included in this permissions policy. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ModifyProjectModelPermissionsAsync( + string projectId, + global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode mode, + global::System.Collections.Generic.IList modelIds, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequest + { + Mode = mode, + ModelIds = modelIds, + }; + + return await ModifyProjectModelPermissionsAsync( + projectId: projectId, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.RetrieveProjectModelPermissions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.RetrieveProjectModelPermissions.g.cs new file mode 100644 index 000000000..4e54261e9 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.RetrieveProjectModelPermissions.g.cs @@ -0,0 +1,430 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class ProjectsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_RetrieveProjectModelPermissionsSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_RetrieveProjectModelPermissionsSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_RetrieveProjectModelPermissionsSecurityRequirement0, + }; + partial void PrepareRetrieveProjectModelPermissionsArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId); + partial void PrepareRetrieveProjectModelPermissionsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId); + partial void ProcessRetrieveProjectModelPermissionsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessRetrieveProjectModelPermissionsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Returns model permissions for a project. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task RetrieveProjectModelPermissionsAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await RetrieveProjectModelPermissionsAsResponseAsync( + projectId: projectId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Returns model permissions for a project. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> RetrieveProjectModelPermissionsAsResponseAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareRetrieveProjectModelPermissionsArguments( + httpClient: HttpClient, + projectId: ref projectId); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_RetrieveProjectModelPermissionsSecurityRequirements, + operationName: "RetrieveProjectModelPermissionsAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/projects/{projectId}/model_permissions", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareRetrieveProjectModelPermissionsRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectModelPermissions", + methodName: "RetrieveProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectModelPermissions", + methodName: "RetrieveProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectModelPermissions", + methodName: "RetrieveProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessRetrieveProjectModelPermissionsResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectModelPermissions", + methodName: "RetrieveProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectModelPermissions", + methodName: "RetrieveProjectModelPermissionsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/model_permissions\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessRetrieveProjectModelPermissionsResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.ProjectModelPermissions.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.ProjectModelPermissions.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UsageClient.FileSearchCalls.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UsageClient.FileSearchCalls.g.cs new file mode 100644 index 000000000..84fbc071e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UsageClient.FileSearchCalls.g.cs @@ -0,0 +1,527 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class UsageClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_FileSearchCallsSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_FileSearchCallsSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_FileSearchCallsSecurityRequirement0, + }; + partial void PrepareFileSearchCallsArguments( + global::System.Net.Http.HttpClient httpClient, + ref int startTime, + ref int? endTime, + ref global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth? bucketWidth, + global::System.Collections.Generic.IList? projectIds, + global::System.Collections.Generic.IList? userIds, + global::System.Collections.Generic.IList? apiKeyIds, + global::System.Collections.Generic.IList? vectorStoreIds, + global::System.Collections.Generic.IList? groupBy, + ref int? limit, + ref string? page); + partial void PrepareFileSearchCallsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int startTime, + int? endTime, + global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth? bucketWidth, + global::System.Collections.Generic.IList? projectIds, + global::System.Collections.Generic.IList? userIds, + global::System.Collections.Generic.IList? apiKeyIds, + global::System.Collections.Generic.IList? vectorStoreIds, + global::System.Collections.Generic.IList? groupBy, + int? limit, + string? page); + partial void ProcessFileSearchCallsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessFileSearchCallsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get file search calls usage details for the organization. + /// + /// + /// + /// + /// Default Value: 1d + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task FileSearchCallsAsync( + int startTime, + int? endTime = default, + global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth? bucketWidth = default, + global::System.Collections.Generic.IList? projectIds = default, + global::System.Collections.Generic.IList? userIds = default, + global::System.Collections.Generic.IList? apiKeyIds = default, + global::System.Collections.Generic.IList? vectorStoreIds = default, + global::System.Collections.Generic.IList? groupBy = default, + int? limit = default, + string? page = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await FileSearchCallsAsResponseAsync( + startTime: startTime, + endTime: endTime, + bucketWidth: bucketWidth, + projectIds: projectIds, + userIds: userIds, + apiKeyIds: apiKeyIds, + vectorStoreIds: vectorStoreIds, + groupBy: groupBy, + limit: limit, + page: page, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Get file search calls usage details for the organization. + /// + /// + /// + /// + /// Default Value: 1d + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> FileSearchCallsAsResponseAsync( + int startTime, + int? endTime = default, + global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth? bucketWidth = default, + global::System.Collections.Generic.IList? projectIds = default, + global::System.Collections.Generic.IList? userIds = default, + global::System.Collections.Generic.IList? apiKeyIds = default, + global::System.Collections.Generic.IList? vectorStoreIds = default, + global::System.Collections.Generic.IList? groupBy = default, + int? limit = default, + string? page = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareFileSearchCallsArguments( + httpClient: HttpClient, + startTime: ref startTime, + endTime: ref endTime, + bucketWidth: ref bucketWidth, + projectIds: projectIds, + userIds: userIds, + apiKeyIds: apiKeyIds, + vectorStoreIds: vectorStoreIds, + groupBy: groupBy, + limit: ref limit, + page: ref page); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_FileSearchCallsSecurityRequirements, + operationName: "FileSearchCallsAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: "/organization/usage/file_search_calls", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddRequiredParameter("start_time", startTime.ToString()!) + .AddOptionalParameter("end_time", endTime?.ToString()) + .AddOptionalParameter("bucket_width", bucketWidth?.ToValueString()) + .AddOptionalParameter("project_ids", projectIds, delimiter: ",", explode: true) + .AddOptionalParameter("user_ids", userIds, delimiter: ",", explode: true) + .AddOptionalParameter("api_key_ids", apiKeyIds, delimiter: ",", explode: true) + .AddOptionalParameter("vector_store_ids", vectorStoreIds, delimiter: ",", explode: true) + .AddOptionalParameter("group_by", groupBy, selector: static x => x.ToValueString(), delimiter: ",", explode: true) + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("page", page) + ; + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareFileSearchCallsRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + startTime: startTime!, + endTime: endTime, + bucketWidth: bucketWidth, + projectIds: projectIds, + userIds: userIds, + apiKeyIds: apiKeyIds, + vectorStoreIds: vectorStoreIds, + groupBy: groupBy, + limit: limit, + page: page); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "FileSearchCalls", + methodName: "FileSearchCallsAsync", + pathTemplate: "\"/organization/usage/file_search_calls\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "FileSearchCalls", + methodName: "FileSearchCallsAsync", + pathTemplate: "\"/organization/usage/file_search_calls\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "FileSearchCalls", + methodName: "FileSearchCallsAsync", + pathTemplate: "\"/organization/usage/file_search_calls\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessFileSearchCallsResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "FileSearchCalls", + methodName: "FileSearchCallsAsync", + pathTemplate: "\"/organization/usage/file_search_calls\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "FileSearchCalls", + methodName: "FileSearchCallsAsync", + pathTemplate: "\"/organization/usage/file_search_calls\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessFileSearchCallsResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.UsageResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.UsageResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UsageClient.WebSearchCalls.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UsageClient.WebSearchCalls.g.cs new file mode 100644 index 000000000..39ff6c312 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UsageClient.WebSearchCalls.g.cs @@ -0,0 +1,537 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class UsageClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_WebSearchCallsSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_WebSearchCallsSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_WebSearchCallsSecurityRequirement0, + }; + partial void PrepareWebSearchCallsArguments( + global::System.Net.Http.HttpClient httpClient, + ref int startTime, + ref int? endTime, + ref global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth? bucketWidth, + global::System.Collections.Generic.IList? projectIds, + global::System.Collections.Generic.IList? userIds, + global::System.Collections.Generic.IList? apiKeyIds, + global::System.Collections.Generic.IList? models, + global::System.Collections.Generic.IList? contextLevels, + global::System.Collections.Generic.IList? groupBy, + ref int? limit, + ref string? page); + partial void PrepareWebSearchCallsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int startTime, + int? endTime, + global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth? bucketWidth, + global::System.Collections.Generic.IList? projectIds, + global::System.Collections.Generic.IList? userIds, + global::System.Collections.Generic.IList? apiKeyIds, + global::System.Collections.Generic.IList? models, + global::System.Collections.Generic.IList? contextLevels, + global::System.Collections.Generic.IList? groupBy, + int? limit, + string? page); + partial void ProcessWebSearchCallsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessWebSearchCallsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get web search calls usage details for the organization. + /// + /// + /// + /// + /// Default Value: 1d + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task WebSearchCallsAsync( + int startTime, + int? endTime = default, + global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth? bucketWidth = default, + global::System.Collections.Generic.IList? projectIds = default, + global::System.Collections.Generic.IList? userIds = default, + global::System.Collections.Generic.IList? apiKeyIds = default, + global::System.Collections.Generic.IList? models = default, + global::System.Collections.Generic.IList? contextLevels = default, + global::System.Collections.Generic.IList? groupBy = default, + int? limit = default, + string? page = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await WebSearchCallsAsResponseAsync( + startTime: startTime, + endTime: endTime, + bucketWidth: bucketWidth, + projectIds: projectIds, + userIds: userIds, + apiKeyIds: apiKeyIds, + models: models, + contextLevels: contextLevels, + groupBy: groupBy, + limit: limit, + page: page, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Get web search calls usage details for the organization. + /// + /// + /// + /// + /// Default Value: 1d + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> WebSearchCallsAsResponseAsync( + int startTime, + int? endTime = default, + global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth? bucketWidth = default, + global::System.Collections.Generic.IList? projectIds = default, + global::System.Collections.Generic.IList? userIds = default, + global::System.Collections.Generic.IList? apiKeyIds = default, + global::System.Collections.Generic.IList? models = default, + global::System.Collections.Generic.IList? contextLevels = default, + global::System.Collections.Generic.IList? groupBy = default, + int? limit = default, + string? page = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareWebSearchCallsArguments( + httpClient: HttpClient, + startTime: ref startTime, + endTime: ref endTime, + bucketWidth: ref bucketWidth, + projectIds: projectIds, + userIds: userIds, + apiKeyIds: apiKeyIds, + models: models, + contextLevels: contextLevels, + groupBy: groupBy, + limit: ref limit, + page: ref page); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_WebSearchCallsSecurityRequirements, + operationName: "WebSearchCallsAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: "/organization/usage/web_search_calls", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddRequiredParameter("start_time", startTime.ToString()!) + .AddOptionalParameter("end_time", endTime?.ToString()) + .AddOptionalParameter("bucket_width", bucketWidth?.ToValueString()) + .AddOptionalParameter("project_ids", projectIds, delimiter: ",", explode: true) + .AddOptionalParameter("user_ids", userIds, delimiter: ",", explode: true) + .AddOptionalParameter("api_key_ids", apiKeyIds, delimiter: ",", explode: true) + .AddOptionalParameter("models", models, delimiter: ",", explode: true) + .AddOptionalParameter("context_levels", contextLevels, selector: static x => x.ToValueString(), delimiter: ",", explode: true) + .AddOptionalParameter("group_by", groupBy, selector: static x => x.ToValueString(), delimiter: ",", explode: true) + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("page", page) + ; + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareWebSearchCallsRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + startTime: startTime!, + endTime: endTime, + bucketWidth: bucketWidth, + projectIds: projectIds, + userIds: userIds, + apiKeyIds: apiKeyIds, + models: models, + contextLevels: contextLevels, + groupBy: groupBy, + limit: limit, + page: page); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "WebSearchCalls", + methodName: "WebSearchCallsAsync", + pathTemplate: "\"/organization/usage/web_search_calls\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "WebSearchCalls", + methodName: "WebSearchCallsAsync", + pathTemplate: "\"/organization/usage/web_search_calls\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "WebSearchCalls", + methodName: "WebSearchCallsAsync", + pathTemplate: "\"/organization/usage/web_search_calls\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessWebSearchCallsResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "WebSearchCalls", + methodName: "WebSearchCallsAsync", + pathTemplate: "\"/organization/usage/web_search_calls\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "WebSearchCalls", + methodName: "WebSearchCallsAsync", + pathTemplate: "\"/organization/usage/web_search_calls\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessWebSearchCallsResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.UsageResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.UsageResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml index ccc56933c..777697b4d 100644 --- a/src/libs/tryAGI.OpenAI/openapi.yaml +++ b/src/libs/tryAGI.OpenAI/openapi.yaml @@ -19132,6 +19132,254 @@ paths: "object": "project.group.deleted", "deleted": true } + /organization/projects/{project_id}/hosted_tool_permissions: + get: + security: + - AdminApiKeyAuth: [] + summary: Returns hosted tool permissions for a project. + operationId: retrieve-project-hosted-tool-permissions + tags: + - Hosted tools + parameters: + - name: project_id + in: path + description: The ID of the project. + required: true + schema: + type: string + responses: + '200': + description: Project hosted tool permissions retrieved successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectHostedToolPermissions' + x-oaiMeta: + name: Retrieve project hosted tool permissions + group: administration + examples: + request: + curl: > + curl + https://api.openai.com/v1/organization/projects/proj_abc/hosted_tool_permissions + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + response: | + { + "file_search": { + "enabled": true + }, + "web_search": { + "enabled": true + }, + "image_generation": { + "enabled": true + }, + "mcp": { + "enabled": true + }, + "code_interpreter": { + "enabled": true + } + } + post: + security: + - AdminApiKeyAuth: [] + summary: Updates hosted tool permissions for a project. + operationId: update-project-hosted-tool-permissions + tags: + - Hosted tools + parameters: + - name: project_id + in: path + description: The ID of the project. + required: true + schema: + type: string + requestBody: + description: The project hosted tool permissions update request payload. + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectHostedToolPermissionsUpdateRequest' + responses: + '200': + description: Project hosted tool permissions updated successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectHostedToolPermissions' + x-oaiMeta: + name: Modify project hosted tool permissions + group: administration + examples: + request: + curl: > + curl -X POST + https://api.openai.com/v1/organization/projects/proj_abc/hosted_tool_permissions + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" \ + -d '{ + "file_search": { + "enabled": true + }, + "image_generation": { + "enabled": false + } + }' + response: | + { + "file_search": { + "enabled": true + }, + "web_search": { + "enabled": true + }, + "image_generation": { + "enabled": false + }, + "mcp": { + "enabled": true + }, + "code_interpreter": { + "enabled": true + } + } + /organization/projects/{project_id}/model_permissions: + get: + security: + - AdminApiKeyAuth: [] + summary: Returns model permissions for a project. + operationId: retrieve-project-model-permissions + tags: + - Projects + parameters: + - name: project_id + in: path + description: The ID of the project. + required: true + schema: + type: string + responses: + '200': + description: Project model permissions retrieved successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectModelPermissions' + x-oaiMeta: + name: Retrieve project model permissions + group: administration + examples: + request: + curl: > + curl + https://api.openai.com/v1/organization/projects/proj_abc/model_permissions + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + response: | + { + "object": "project.model_permissions", + "mode": "allow_list", + "model_ids": [ + "gpt-4.1", + "o3" + ] + } + post: + security: + - AdminApiKeyAuth: [] + summary: Updates model permissions for a project. + operationId: update-project-model-permissions + tags: + - Projects + parameters: + - name: project_id + in: path + description: The ID of the project. + required: true + schema: + type: string + requestBody: + description: The project model permissions update request payload. + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectModelPermissionsUpdateRequest' + responses: + '200': + description: Project model permissions updated successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectModelPermissions' + x-oaiMeta: + name: Modify project model permissions + group: administration + examples: + request: + curl: > + curl -X POST + https://api.openai.com/v1/organization/projects/proj_abc/model_permissions + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" \ + -d '{ + "mode": "deny_list", + "model_ids": [ + "o3" + ] + }' + response: | + { + "object": "project.model_permissions", + "mode": "deny_list", + "model_ids": [ + "o3" + ] + } + delete: + security: + - AdminApiKeyAuth: [] + summary: Deletes model permissions for a project. + operationId: delete-project-model-permissions + tags: + - Projects + parameters: + - name: project_id + in: path + description: The ID of the project. + required: true + schema: + type: string + responses: + '200': + description: Project model permissions deleted successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectModelPermissionsDeleteResponse' + x-oaiMeta: + name: Delete project model permissions + group: administration + examples: + request: + curl: > + curl -X DELETE + https://api.openai.com/v1/organization/projects/proj_abc/model_permissions + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + response: | + { + "object": "project.model_permissions.deleted", + "deleted": true + } /organization/projects/{project_id}/rate_limits: get: security: @@ -22088,6 +22336,148 @@ paths: "has_more": false, "next_page": null } + /organization/usage/file_search_calls: + get: + security: + - AdminApiKeyAuth: [] + summary: Get file search calls usage details for the organization. + operationId: usage-file-search-calls + tags: + - Usage + parameters: + - name: start_time + in: query + description: Start time (Unix seconds) of the query time range, inclusive. + required: true + schema: + type: integer + - name: end_time + in: query + description: End time (Unix seconds) of the query time range, exclusive. + required: false + schema: + type: integer + - name: bucket_width + in: query + description: >- + Width of each time bucket in response. Currently `1m`, `1h` and `1d` + are supported, default to `1d`. + required: false + schema: + type: string + enum: + - 1m + - 1h + - 1d + default: 1d + - name: project_ids + in: query + description: Return only usage for these projects. + required: false + schema: + type: array + items: + type: string + - name: user_ids + in: query + description: Return only usage for these users. + required: false + schema: + type: array + items: + type: string + - name: api_key_ids + in: query + description: Return only usage for these API keys. + required: false + schema: + type: array + items: + type: string + - name: vector_store_ids + in: query + description: Return only usage for these vector stores. + required: false + schema: + type: array + items: + type: string + - name: group_by + in: query + description: >- + Group the usage data by the specified fields. Support fields include + `project_id`, `user_id`, `api_key_id`, `vector_store_id` or any + combination of them. + required: false + schema: + type: array + items: + type: string + enum: + - project_id + - user_id + - api_key_id + - vector_store_id + - name: limit + in: query + description: | + Specifies the number of buckets to return. + - `bucket_width=1d`: default: 7, max: 31 + - `bucket_width=1h`: default: 24, max: 168 + - `bucket_width=1m`: default: 60, max: 1440 + required: false + schema: + type: integer + - name: page + in: query + description: >- + A cursor for use in pagination. Corresponding to the `next_page` + field from the previous response. + schema: + type: string + responses: + '200': + description: Usage data retrieved successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/UsageResponse' + x-oaiMeta: + name: File search calls + group: usage-file-search-calls + examples: + request: + curl: > + curl + "https://api.openai.com/v1/organization/usage/file_search_calls?start_time=1730419200&limit=1" + \ + + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + + -H "Content-Type: application/json" + response: | + { + "object": "page", + "data": [ + { + "object": "bucket", + "start_time": 1730419200, + "end_time": 1730505600, + "results": [ + { + "object": "organization.usage.file_searches.result", + "num_requests": 2, + "project_id": null, + "user_id": null, + "api_key_id": null, + "vector_store_id": null + } + ] + } + ], + "has_more": false, + "next_page": null + } /organization/usage/images: get: security: @@ -22712,6 +23102,163 @@ paths: "has_more": false, "next_page": null } + /organization/usage/web_search_calls: + get: + security: + - AdminApiKeyAuth: [] + summary: Get web search calls usage details for the organization. + operationId: usage-web-search-calls + tags: + - Usage + parameters: + - name: start_time + in: query + description: Start time (Unix seconds) of the query time range, inclusive. + required: true + schema: + type: integer + - name: end_time + in: query + description: End time (Unix seconds) of the query time range, exclusive. + required: false + schema: + type: integer + - name: bucket_width + in: query + description: >- + Width of each time bucket in response. Currently `1m`, `1h` and `1d` + are supported, default to `1d`. + required: false + schema: + type: string + enum: + - 1m + - 1h + - 1d + default: 1d + - name: project_ids + in: query + description: Return only usage for these projects. + required: false + schema: + type: array + items: + type: string + - name: user_ids + in: query + description: Return only usage for these users. + required: false + schema: + type: array + items: + type: string + - name: api_key_ids + in: query + description: Return only usage for these API keys. + required: false + schema: + type: array + items: + type: string + - name: models + in: query + description: Return only usage for these models. + required: false + schema: + type: array + items: + type: string + - name: context_levels + in: query + description: Return only web search usage for these context levels. + required: false + schema: + type: array + items: + type: string + enum: + - low + - medium + - high + - name: group_by + in: query + description: >- + Group the usage data by the specified fields. Support fields include + `project_id`, `user_id`, `api_key_id`, `model`, `context_level` or + any combination of them. + required: false + schema: + type: array + items: + type: string + enum: + - project_id + - user_id + - api_key_id + - model + - context_level + - name: limit + in: query + description: | + Specifies the number of buckets to return. + - `bucket_width=1d`: default: 7, max: 31 + - `bucket_width=1h`: default: 24, max: 168 + - `bucket_width=1m`: default: 60, max: 1440 + required: false + schema: + type: integer + - name: page + in: query + description: >- + A cursor for use in pagination. Corresponding to the `next_page` + field from the previous response. + schema: + type: string + responses: + '200': + description: Usage data retrieved successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/UsageResponse' + x-oaiMeta: + name: Web search calls + group: usage-web-search-calls + examples: + request: + curl: > + curl + "https://api.openai.com/v1/organization/usage/web_search_calls?start_time=1730419200&limit=1" + \ + + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + + -H "Content-Type: application/json" + response: | + { + "object": "page", + "data": [ + { + "object": "bucket", + "start_time": 1730419200, + "end_time": 1730505600, + "results": [ + { + "object": "organization.usage.web_searches.result", + "num_model_requests": 2, + "num_requests": 2, + "project_id": null, + "user_id": null, + "api_key_id": null, + "model": null, + "context_level": null + } + ] + } + ], + "has_more": false, + "next_page": null + } /organization/users: get: security: @@ -51041,6 +51588,23 @@ components: "object": "group.user.deleted", "deleted": true } + HostedToolPermission: + type: object + description: Permission state for a single hosted tool on a project. + properties: + enabled: + type: boolean + description: Whether the hosted tool is enabled for the project. + required: + - enabled + HostedToolPermissionUpdate: + type: object + properties: + enabled: + type: boolean + description: Whether to enable the hosted tool for the project. + required: + - enabled Image: type: object description: >- @@ -51782,6 +52346,7 @@ components: generated by the model. Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs. $ref: '#/components/schemas/Item' + - $ref: '#/components/schemas/CompactionTriggerItemParam' - $ref: '#/components/schemas/ItemReferenceParam' discriminator: propertyName: type @@ -52048,7 +52613,9 @@ components: description: >- An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to - the default project for compatibility with legacy behavior. + the default project for compatibility with legacy behavior. If empty + list is passed, the user will not be invited to any projects, + including the default one. items: type: object properties: @@ -55092,6 +55659,74 @@ components: "has_more": false, "next": null } + ProjectHostedToolPermissions: + type: object + description: Represents hosted tool permissions for a project. + properties: + file_search: + $ref: '#/components/schemas/HostedToolPermission' + web_search: + $ref: '#/components/schemas/HostedToolPermission' + image_generation: + $ref: '#/components/schemas/HostedToolPermission' + mcp: + $ref: '#/components/schemas/HostedToolPermission' + code_interpreter: + $ref: '#/components/schemas/HostedToolPermission' + required: + - file_search + - web_search + - image_generation + - mcp + - code_interpreter + x-oaiMeta: + name: The project hosted tool permissions object + example: | + { + "file_search": { + "enabled": true + }, + "web_search": { + "enabled": true + }, + "image_generation": { + "enabled": true + }, + "mcp": { + "enabled": true + }, + "code_interpreter": { + "enabled": true + } + } + ProjectHostedToolPermissionsUpdateRequest: + type: object + properties: + file_search: + anyOf: + - $ref: '#/components/schemas/HostedToolPermissionUpdate' + - type: 'null' + description: The file search permission update. + web_search: + anyOf: + - $ref: '#/components/schemas/HostedToolPermissionUpdate' + - type: 'null' + description: The web search permission update. + image_generation: + anyOf: + - $ref: '#/components/schemas/HostedToolPermissionUpdate' + - type: 'null' + description: The image generation permission update. + mcp: + anyOf: + - $ref: '#/components/schemas/HostedToolPermissionUpdate' + - type: 'null' + description: The MCP permission update. + code_interpreter: + anyOf: + - $ref: '#/components/schemas/HostedToolPermissionUpdate' + - type: 'null' + description: The code interpreter permission update. ProjectListResponse: type: object properties: @@ -55118,6 +55753,84 @@ components: - object - data - has_more + ProjectModelPermissions: + type: object + description: Represents the model allowlist or denylist policy for a project. + properties: + object: + type: string + enum: + - project.model_permissions + description: The object type, which is always `project.model_permissions`. + x-stainless-const: true + mode: + type: string + enum: + - allow_list + - deny_list + description: Whether the project uses an allowlist or a denylist. + model_ids: + type: array + items: + type: string + description: The model IDs included in the model permissions policy. + required: + - object + - mode + - model_ids + x-oaiMeta: + name: The project model permissions object + example: | + { + "object": "project.model_permissions", + "mode": "allow_list", + "model_ids": [ + "gpt-4.1", + "o3" + ] + } + ProjectModelPermissionsDeleteResponse: + type: object + description: Confirmation payload returned after deleting project model permissions. + properties: + object: + type: string + enum: + - project.model_permissions.deleted + description: >- + The object type, which is always + `project.model_permissions.deleted`. + x-stainless-const: true + deleted: + type: boolean + description: Whether the project model permissions were deleted. + required: + - object + - deleted + x-oaiMeta: + name: Project model permissions deletion confirmation + example: | + { + "object": "project.model_permissions.deleted", + "deleted": true + } + ProjectModelPermissionsUpdateRequest: + type: object + properties: + mode: + type: string + enum: + - allow_list + - deny_list + description: The model permissions mode to apply. + model_ids: + type: array + items: + type: string + description: The model IDs included in this permissions policy. + required: + - mode + - model_ids ProjectRateLimit: type: object description: Represents a project rate limit config. @@ -72375,150 +73088,230 @@ components: When `group_by=model`, this field provides the model name of the grouped usage result. - type: 'null' - required: - - object - - characters - - num_model_requests - x-oaiMeta: - name: Audio speeches usage object - example: | - { - "object": "organization.usage.audio_speeches.result", - "characters": 45, - "num_model_requests": 1, - "project_id": "proj_abc", - "user_id": "user-abc", - "api_key_id": "key_abc", - "model": "tts-1" - } - UsageAudioTranscriptionsResult: - type: object - description: >- - The aggregated audio transcriptions usage details of the specific time - bucket. - properties: - object: - type: string - enum: - - organization.usage.audio_transcriptions.result - x-stainless-const: true - seconds: - type: integer - format: int64 - description: The number of seconds processed. - num_model_requests: - type: integer - description: The count of requests made to the model. - project_id: - anyOf: - - type: string - description: >- - When `group_by=project_id`, this field provides the project ID - of the grouped usage result. - - type: 'null' - user_id: - anyOf: - - type: string - description: >- - When `group_by=user_id`, this field provides the user ID of the - grouped usage result. - - type: 'null' - api_key_id: + required: + - object + - characters + - num_model_requests + x-oaiMeta: + name: Audio speeches usage object + example: | + { + "object": "organization.usage.audio_speeches.result", + "characters": 45, + "num_model_requests": 1, + "project_id": "proj_abc", + "user_id": "user-abc", + "api_key_id": "key_abc", + "model": "tts-1" + } + UsageAudioTranscriptionsResult: + type: object + description: >- + The aggregated audio transcriptions usage details of the specific time + bucket. + properties: + object: + type: string + enum: + - organization.usage.audio_transcriptions.result + x-stainless-const: true + seconds: + type: integer + format: int64 + description: The number of seconds processed. + num_model_requests: + type: integer + description: The count of requests made to the model. + project_id: + anyOf: + - type: string + description: >- + When `group_by=project_id`, this field provides the project ID + of the grouped usage result. + - type: 'null' + user_id: + anyOf: + - type: string + description: >- + When `group_by=user_id`, this field provides the user ID of the + grouped usage result. + - type: 'null' + api_key_id: + anyOf: + - type: string + description: >- + When `group_by=api_key_id`, this field provides the API key ID + of the grouped usage result. + - type: 'null' + model: + anyOf: + - type: string + description: >- + When `group_by=model`, this field provides the model name of the + grouped usage result. + - type: 'null' + required: + - object + - seconds + - num_model_requests + x-oaiMeta: + name: Audio transcriptions usage object + example: | + { + "object": "organization.usage.audio_transcriptions.result", + "seconds": 10, + "num_model_requests": 1, + "project_id": "proj_abc", + "user_id": "user-abc", + "api_key_id": "key_abc", + "model": "tts-1" + } + UsageCodeInterpreterSessionsResult: + type: object + description: >- + The aggregated code interpreter sessions usage details of the specific + time bucket. + properties: + object: + type: string + enum: + - organization.usage.code_interpreter_sessions.result + x-stainless-const: true + num_sessions: + type: integer + description: The number of code interpreter sessions. + project_id: + anyOf: + - type: string + description: >- + When `group_by=project_id`, this field provides the project ID + of the grouped usage result. + - type: 'null' + required: + - object + - num_sessions + x-oaiMeta: + name: Code interpreter sessions usage object + example: | + { + "object": "organization.usage.code_interpreter_sessions.result", + "num_sessions": 1, + "project_id": "proj_abc" + } + UsageCompletionsResult: + type: object + description: The aggregated completions usage details of the specific time bucket. + properties: + object: + type: string + enum: + - organization.usage.completions.result + x-stainless-const: true + input_tokens: + type: integer + description: >- + The aggregated number of text input tokens used, including cached + tokens. For customers subscribe to scale tier, this includes scale + tier tokens. + input_cached_tokens: + type: integer + description: >- + The aggregated number of text input tokens that has been cached from + previous requests. For customers subscribe to scale tier, this + includes scale tier tokens. + output_tokens: + type: integer + description: >- + The aggregated number of text output tokens used. For customers + subscribe to scale tier, this includes scale tier tokens. + input_audio_tokens: + type: integer + description: >- + The aggregated number of audio input tokens used, including cached + tokens. + output_audio_tokens: + type: integer + description: The aggregated number of audio output tokens used. + num_model_requests: + type: integer + description: The count of requests made to the model. + project_id: + anyOf: + - type: string + description: >- + When `group_by=project_id`, this field provides the project ID + of the grouped usage result. + - type: 'null' + user_id: + anyOf: + - type: string + description: >- + When `group_by=user_id`, this field provides the user ID of the + grouped usage result. + - type: 'null' + api_key_id: + anyOf: + - type: string + description: >- + When `group_by=api_key_id`, this field provides the API key ID + of the grouped usage result. + - type: 'null' + model: + anyOf: + - type: string + description: >- + When `group_by=model`, this field provides the model name of the + grouped usage result. + - type: 'null' + batch: anyOf: - - type: string + - type: boolean description: >- - When `group_by=api_key_id`, this field provides the API key ID - of the grouped usage result. + When `group_by=batch`, this field tells whether the grouped + usage result is batch or not. - type: 'null' - model: + service_tier: anyOf: - type: string description: >- - When `group_by=model`, this field provides the model name of the - grouped usage result. + When `group_by=service_tier`, this field provides the service + tier of the grouped usage result. - type: 'null' required: - object - - seconds + - input_tokens + - output_tokens - num_model_requests x-oaiMeta: - name: Audio transcriptions usage object + name: Completions usage object example: | { - "object": "organization.usage.audio_transcriptions.result", - "seconds": 10, - "num_model_requests": 1, + "object": "organization.usage.completions.result", + "input_tokens": 5000, + "output_tokens": 1000, + "input_cached_tokens": 4000, + "input_audio_tokens": 300, + "output_audio_tokens": 200, + "num_model_requests": 5, "project_id": "proj_abc", "user_id": "user-abc", "api_key_id": "key_abc", - "model": "tts-1" - } - UsageCodeInterpreterSessionsResult: - type: object - description: >- - The aggregated code interpreter sessions usage details of the specific - time bucket. - properties: - object: - type: string - enum: - - organization.usage.code_interpreter_sessions.result - x-stainless-const: true - num_sessions: - type: integer - description: The number of code interpreter sessions. - project_id: - anyOf: - - type: string - description: >- - When `group_by=project_id`, this field provides the project ID - of the grouped usage result. - - type: 'null' - required: - - object - - num_sessions - x-oaiMeta: - name: Code interpreter sessions usage object - example: | - { - "object": "organization.usage.code_interpreter_sessions.result", - "num_sessions": 1, - "project_id": "proj_abc" + "model": "gpt-4o-mini-2024-07-18", + "batch": false, + "service_tier": "default" } - UsageCompletionsResult: + UsageEmbeddingsResult: type: object - description: The aggregated completions usage details of the specific time bucket. + description: The aggregated embeddings usage details of the specific time bucket. properties: object: type: string enum: - - organization.usage.completions.result + - organization.usage.embeddings.result x-stainless-const: true input_tokens: type: integer - description: >- - The aggregated number of text input tokens used, including cached - tokens. For customers subscribe to scale tier, this includes scale - tier tokens. - input_cached_tokens: - type: integer - description: >- - The aggregated number of text input tokens that has been cached from - previous requests. For customers subscribe to scale tier, this - includes scale tier tokens. - output_tokens: - type: integer - description: >- - The aggregated number of text output tokens used. For customers - subscribe to scale tier, this includes scale tier tokens. - input_audio_tokens: - type: integer - description: >- - The aggregated number of audio input tokens used, including cached - tokens. - output_audio_tokens: - type: integer - description: The aggregated number of audio output tokens used. + description: The aggregated number of input tokens used. num_model_requests: type: integer description: The count of requests made to the model. @@ -72550,58 +73343,36 @@ components: When `group_by=model`, this field provides the model name of the grouped usage result. - type: 'null' - batch: - anyOf: - - type: boolean - description: >- - When `group_by=batch`, this field tells whether the grouped - usage result is batch or not. - - type: 'null' - service_tier: - anyOf: - - type: string - description: >- - When `group_by=service_tier`, this field provides the service - tier of the grouped usage result. - - type: 'null' required: - object - input_tokens - - output_tokens - num_model_requests x-oaiMeta: - name: Completions usage object + name: Embeddings usage object example: | { - "object": "organization.usage.completions.result", - "input_tokens": 5000, - "output_tokens": 1000, - "input_cached_tokens": 4000, - "input_audio_tokens": 300, - "output_audio_tokens": 200, - "num_model_requests": 5, + "object": "organization.usage.embeddings.result", + "input_tokens": 20, + "num_model_requests": 2, "project_id": "proj_abc", "user_id": "user-abc", "api_key_id": "key_abc", - "model": "gpt-4o-mini-2024-07-18", - "batch": false, - "service_tier": "default" + "model": "text-embedding-ada-002-v2" } - UsageEmbeddingsResult: + UsageFileSearchCallsResult: type: object - description: The aggregated embeddings usage details of the specific time bucket. + description: >- + The aggregated file search calls usage details of the specific time + bucket. properties: object: type: string enum: - - organization.usage.embeddings.result + - organization.usage.file_searches.result x-stainless-const: true - input_tokens: - type: integer - description: The aggregated number of input tokens used. - num_model_requests: + num_requests: type: integer - description: The count of requests made to the model. + description: The count of file search calls. project_id: anyOf: - type: string @@ -72623,28 +73394,26 @@ components: When `group_by=api_key_id`, this field provides the API key ID of the grouped usage result. - type: 'null' - model: + vector_store_id: anyOf: - type: string description: >- - When `group_by=model`, this field provides the model name of the - grouped usage result. + When `group_by=vector_store_id`, this field provides the vector + store ID of the grouped usage result. - type: 'null' required: - object - - input_tokens - - num_model_requests + - num_requests x-oaiMeta: - name: Embeddings usage object + name: File search calls usage object example: | { - "object": "organization.usage.embeddings.result", - "input_tokens": 20, - "num_model_requests": 2, + "object": "organization.usage.file_searches.result", + "num_requests": 2, "project_id": "proj_abc", "user_id": "user-abc", "api_key_id": "key_abc", - "model": "text-embedding-ada-002-v2" + "vector_store_id": "vs_abc" } UsageImagesResult: type: object @@ -72828,6 +73597,8 @@ components: - $ref: '#/components/schemas/UsageAudioTranscriptionsResult' - $ref: '#/components/schemas/UsageVectorStoresResult' - $ref: '#/components/schemas/UsageCodeInterpreterSessionsResult' + - $ref: '#/components/schemas/UsageFileSearchCallsResult' + - $ref: '#/components/schemas/UsageWebSearchCallsResult' - $ref: '#/components/schemas/CostsResult' discriminator: propertyName: object @@ -72866,6 +73637,75 @@ components: "usage_bytes": 1024, "project_id": "proj_abc" } + UsageWebSearchCallsResult: + type: object + description: >- + The aggregated web search calls usage details of the specific time + bucket. + properties: + object: + type: string + enum: + - organization.usage.web_searches.result + x-stainless-const: true + num_model_requests: + type: integer + description: The count of model requests. + num_requests: + type: integer + description: The count of web search calls. + project_id: + anyOf: + - type: string + description: >- + When `group_by=project_id`, this field provides the project ID + of the grouped usage result. + - type: 'null' + user_id: + anyOf: + - type: string + description: >- + When `group_by=user_id`, this field provides the user ID of the + grouped usage result. + - type: 'null' + api_key_id: + anyOf: + - type: string + description: >- + When `group_by=api_key_id`, this field provides the API key ID + of the grouped usage result. + - type: 'null' + model: + anyOf: + - type: string + description: >- + When `group_by=model`, this field provides the model name of the + grouped usage result. + - type: 'null' + context_level: + anyOf: + - type: string + description: >- + When `group_by=context_level`, this field provides the search + context size of the grouped usage result. + - type: 'null' + required: + - object + - num_model_requests + - num_requests + x-oaiMeta: + name: Web search calls usage object + example: | + { + "object": "organization.usage.web_searches.result", + "num_model_requests": 2, + "num_requests": 2, + "project_id": "proj_abc", + "user_id": "user-abc", + "api_key_id": "key_abc", + "model": "gpt-4o-mini-2024-07-18", + "context_level": "medium" + } User: type: object description: Represents an individual `user` within an organization. @@ -78008,6 +78848,20 @@ components: - status title: Apply patch tool call output description: The streamed output emitted by an apply patch tool call. + CompactionTriggerItemParam: + properties: + type: + type: string + enum: + - compaction_trigger + description: The type of the item. Always `compaction_trigger`. + default: compaction_trigger + x-stainless-const: true + type: object + required: + - type + title: Compaction trigger + description: Compacts the current context. Must be the final input item. ItemReferenceParam: properties: type: