From 604763d04833a6f2902cae5b8bef6f395fd1af1e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 11 Jun 2026 18:02:25 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../FilesUploadFileCommandApiCommand.g.cs | 3 ++- ...ectHostedToolPermissionsCommandApiCommand.g.cs | 15 ++++++++++----- .../RealtimeAcceptCallCommandApiCommand.g.cs | 3 ++- .../RealtimeCreateCallCommandApiCommand.g.cs | 3 ++- .../RealtimeCreateSessionCommandApiCommand.g.cs | 3 ++- ...teOrganizationSpendAlertCommandApiCommand.g.cs | 3 ++- ...sCreateProjectSpendAlertCommandApiCommand.g.cs | 3 ++- ...teOrganizationSpendAlertCommandApiCommand.g.cs | 3 ++- ...sUpdateProjectSpendAlertCommandApiCommand.g.cs | 3 ++- .../UploadsCreateUploadCommandApiCommand.g.cs | 3 ++- 10 files changed, 28 insertions(+), 14 deletions(-) diff --git a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/FilesUploadFileCommandApiCommand.g.cs b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/FilesUploadFileCommandApiCommand.g.cs index 1662a018..4be0a0d0 100644 --- a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/FilesUploadFileCommandApiCommand.g.cs +++ b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/FilesUploadFileCommandApiCommand.g.cs @@ -142,8 +142,9 @@ await CliRuntime.RunAsync(async () => __expiresAfterSpecified || __expiresAfterBase is not null ? new global::tryAGI.OpenAI.FileExpirationAfter { - Anchor = expiresAfterAnchor, + Anchor = expiresAfterAnchor, Seconds = expiresAfterSeconds!, + } : __expiresAfterBase; using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); diff --git a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/HostedToolsModifyProjectHostedToolPermissionsCommandApiCommand.g.cs b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/HostedToolsModifyProjectHostedToolPermissionsCommandApiCommand.g.cs index ba3b825e..3ce01e0b 100644 --- a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/HostedToolsModifyProjectHostedToolPermissionsCommandApiCommand.g.cs +++ b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/HostedToolsModifyProjectHostedToolPermissionsCommandApiCommand.g.cs @@ -95,7 +95,8 @@ await CliRuntime.RunAsync(async () => __fileSearchSpecified || __fileSearchBase is not null ? new global::tryAGI.OpenAI.HostedToolPermissionUpdate { - Enabled = fileSearchEnabled!, + Enabled = fileSearchEnabled!, + } : __fileSearchBase; @@ -105,7 +106,8 @@ await CliRuntime.RunAsync(async () => __webSearchSpecified || __webSearchBase is not null ? new global::tryAGI.OpenAI.HostedToolPermissionUpdate { - Enabled = webSearchEnabled!, + Enabled = webSearchEnabled!, + } : __webSearchBase; @@ -115,7 +117,8 @@ await CliRuntime.RunAsync(async () => __imageGenerationSpecified || __imageGenerationBase is not null ? new global::tryAGI.OpenAI.HostedToolPermissionUpdate { - Enabled = imageGenerationEnabled!, + Enabled = imageGenerationEnabled!, + } : __imageGenerationBase; @@ -125,7 +128,8 @@ await CliRuntime.RunAsync(async () => __mcpSpecified || __mcpBase is not null ? new global::tryAGI.OpenAI.HostedToolPermissionUpdate { - Enabled = mcpEnabled!, + Enabled = mcpEnabled!, + } : __mcpBase; @@ -135,7 +139,8 @@ await CliRuntime.RunAsync(async () => __codeInterpreterSpecified || __codeInterpreterBase is not null ? new global::tryAGI.OpenAI.HostedToolPermissionUpdate { - Enabled = codeInterpreterEnabled!, + Enabled = codeInterpreterEnabled!, + } : __codeInterpreterBase; using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); diff --git a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/RealtimeAcceptCallCommandApiCommand.g.cs b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/RealtimeAcceptCallCommandApiCommand.g.cs index e70961e8..e8113f40 100644 --- a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/RealtimeAcceptCallCommandApiCommand.g.cs +++ b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/RealtimeAcceptCallCommandApiCommand.g.cs @@ -167,8 +167,9 @@ await CliRuntime.RunAsync(async () => __promptSpecified || __promptBase is not null ? new global::tryAGI.OpenAI.PromptVariant1 { - Id = promptId!, + Id = promptId!, Version = promptVersion, + } : __promptBase; using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); diff --git a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/RealtimeCreateCallCommandApiCommand.g.cs b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/RealtimeCreateCallCommandApiCommand.g.cs index b1ad49b4..a1198449 100644 --- a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/RealtimeCreateCallCommandApiCommand.g.cs +++ b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/RealtimeCreateCallCommandApiCommand.g.cs @@ -97,11 +97,12 @@ await CliRuntime.RunAsync(async () => __sessionSpecified || __sessionBase is not null ? new global::tryAGI.OpenAI.RealtimeSessionCreateRequestGA { - Type = sessionType, + Type = sessionType, OutputModalities = sessionOutputModalities, Instructions = sessionInstructions, Include = sessionInclude, ParallelToolCalls = sessionParallelToolCalls, + } : __sessionBase; using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); diff --git a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/RealtimeCreateSessionCommandApiCommand.g.cs b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/RealtimeCreateSessionCommandApiCommand.g.cs index 862c912a..8f4dea01 100644 --- a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/RealtimeCreateSessionCommandApiCommand.g.cs +++ b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/RealtimeCreateSessionCommandApiCommand.g.cs @@ -252,8 +252,9 @@ await CliRuntime.RunAsync(async () => __promptSpecified || __promptBase is not null ? new global::tryAGI.OpenAI.PromptVariant1 { - Id = promptId!, + Id = promptId!, Version = promptVersion, + } : __promptBase; using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); diff --git a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsCreateOrganizationSpendAlertCommandApiCommand.g.cs b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsCreateOrganizationSpendAlertCommandApiCommand.g.cs index d71c5789..718fad53 100644 --- a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsCreateOrganizationSpendAlertCommandApiCommand.g.cs +++ b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsCreateOrganizationSpendAlertCommandApiCommand.g.cs @@ -91,9 +91,10 @@ await CliRuntime.RunAsync(async () => __notificationChannelSpecified || __notificationChannelBase is not null ? new global::tryAGI.OpenAI.SpendAlertNotificationChannel { - Type = notificationChannelType, + Type = notificationChannelType, Recipients = notificationChannelRecipients!, SubjectPrefix = notificationChannelSubjectPrefix, + } : __notificationChannelBase; using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); diff --git a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsCreateProjectSpendAlertCommandApiCommand.g.cs b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsCreateProjectSpendAlertCommandApiCommand.g.cs index 7a5a80d9..45d2b555 100644 --- a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsCreateProjectSpendAlertCommandApiCommand.g.cs +++ b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsCreateProjectSpendAlertCommandApiCommand.g.cs @@ -97,9 +97,10 @@ await CliRuntime.RunAsync(async () => __notificationChannelSpecified || __notificationChannelBase is not null ? new global::tryAGI.OpenAI.SpendAlertNotificationChannel { - Type = notificationChannelType, + Type = notificationChannelType, Recipients = notificationChannelRecipients!, SubjectPrefix = notificationChannelSubjectPrefix, + } : __notificationChannelBase; using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); diff --git a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsUpdateOrganizationSpendAlertCommandApiCommand.g.cs b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsUpdateOrganizationSpendAlertCommandApiCommand.g.cs index 8286e7a7..b35563c2 100644 --- a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsUpdateOrganizationSpendAlertCommandApiCommand.g.cs +++ b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsUpdateOrganizationSpendAlertCommandApiCommand.g.cs @@ -97,9 +97,10 @@ await CliRuntime.RunAsync(async () => __notificationChannelSpecified || __notificationChannelBase is not null ? new global::tryAGI.OpenAI.SpendAlertNotificationChannel { - Type = notificationChannelType, + Type = notificationChannelType, Recipients = notificationChannelRecipients!, SubjectPrefix = notificationChannelSubjectPrefix, + } : __notificationChannelBase; using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); diff --git a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsUpdateProjectSpendAlertCommandApiCommand.g.cs b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsUpdateProjectSpendAlertCommandApiCommand.g.cs index 0aa0484c..09db0583 100644 --- a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsUpdateProjectSpendAlertCommandApiCommand.g.cs +++ b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/SpendAlertsUpdateProjectSpendAlertCommandApiCommand.g.cs @@ -105,9 +105,10 @@ await CliRuntime.RunAsync(async () => __notificationChannelSpecified || __notificationChannelBase is not null ? new global::tryAGI.OpenAI.SpendAlertNotificationChannel { - Type = notificationChannelType, + Type = notificationChannelType, Recipients = notificationChannelRecipients!, SubjectPrefix = notificationChannelSubjectPrefix, + } : __notificationChannelBase; using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); diff --git a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/UploadsCreateUploadCommandApiCommand.g.cs b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/UploadsCreateUploadCommandApiCommand.g.cs index 74645ac8..ea7102b6 100644 --- a/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/UploadsCreateUploadCommandApiCommand.g.cs +++ b/src/libs/tryAGI.OpenAI.CLI/GeneratedApi/Commands/UploadsCreateUploadCommandApiCommand.g.cs @@ -147,8 +147,9 @@ await CliRuntime.RunAsync(async () => __expiresAfterSpecified || __expiresAfterBase is not null ? new global::tryAGI.OpenAI.FileExpirationAfter { - Anchor = expiresAfterAnchor, + Anchor = expiresAfterAnchor, Seconds = expiresAfterSeconds!, + } : __expiresAfterBase; using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false);