diff --git a/.claude/skills/tryagi-openai/commands.md b/.claude/skills/tryagi-openai/commands.md
index b7d33d1e0..b8886bd50 100644
--- a/.claude/skills/tryagi-openai/commands.md
+++ b/.claude/skills/tryagi-openai/commands.md
@@ -242,7 +242,7 @@ Given text and/or image inputs, classifies if those inputs are potentially harmf
| `create-project` | `POST /organization/projects` | Create a new project in the organization. Projects can be created and archived, but cannot be deleted. |
| `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/{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-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-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. |
@@ -254,7 +254,7 @@ Given text and/or image inputs, classifies if those inputs are potentially harmf
| `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/{key_id}` | Retrieves an API key in the project. |
+| `retrieve-project-api-key` | `GET /organization/projects/{project_id}/api_keys/{api_key_id}` | Retrieves an API key in the 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. |
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ActivateCertificatesForOrganization.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ActivateCertificatesForOrganization.g.cs
index 391c3db0a..33b1ea010 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ActivateCertificatesForOrganization.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ActivateCertificatesForOrganization.g.cs
@@ -49,7 +49,7 @@ partial void ProcessActivateCertificatesForOrganizationResponseContent(
/// 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 ActivateCertificatesForOrganizationAsync(
+ public async global::System.Threading.Tasks.Task ActivateCertificatesForOrganizationAsync(
global::tryAGI.OpenAI.ToggleCertificatesRequest request,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
@@ -318,7 +318,7 @@ partial void ProcessActivateCertificatesForOrganizationResponseContent(
__response.EnsureSuccessStatusCode();
return
- global::tryAGI.OpenAI.ListCertificatesResponse.FromJson(__content, JsonSerializerContext) ??
+ global::tryAGI.OpenAI.OrganizationCertificateActivationResponse.FromJson(__content, JsonSerializerContext) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
@@ -348,7 +348,7 @@ partial void ProcessActivateCertificatesForOrganizationResponseContent(
).ConfigureAwait(false);
return
- await global::tryAGI.OpenAI.ListCertificatesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ await global::tryAGI.OpenAI.OrganizationCertificateActivationResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
@@ -395,7 +395,7 @@ partial void ProcessActivateCertificatesForOrganizationResponseContent(
/// 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 ActivateCertificatesForOrganizationAsync(
+ public async global::System.Threading.Tasks.Task ActivateCertificatesForOrganizationAsync(
global::System.Collections.Generic.IList certificateIds,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ActivateCertificatesForProject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ActivateCertificatesForProject.g.cs
index d9da0c51c..26e57569f 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ActivateCertificatesForProject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ActivateCertificatesForProject.g.cs
@@ -52,7 +52,7 @@ partial void ProcessActivateCertificatesForProjectResponseContent(
/// 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 ActivateCertificatesForProjectAsync(
+ public async global::System.Threading.Tasks.Task ActivateCertificatesForProjectAsync(
string projectId,
global::tryAGI.OpenAI.ToggleCertificatesRequest request,
@@ -324,7 +324,7 @@ partial void ProcessActivateCertificatesForProjectResponseContent(
__response.EnsureSuccessStatusCode();
return
- global::tryAGI.OpenAI.ListCertificatesResponse.FromJson(__content, JsonSerializerContext) ??
+ global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponse.FromJson(__content, JsonSerializerContext) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
@@ -354,7 +354,7 @@ partial void ProcessActivateCertificatesForProjectResponseContent(
).ConfigureAwait(false);
return
- await global::tryAGI.OpenAI.ListCertificatesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ await global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
@@ -402,7 +402,7 @@ partial void ProcessActivateCertificatesForProjectResponseContent(
/// 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 ActivateCertificatesForProjectAsync(
+ public async global::System.Threading.Tasks.Task ActivateCertificatesForProjectAsync(
string projectId,
global::System.Collections.Generic.IList certificateIds,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.DeactivateCertificatesForOrganization.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.DeactivateCertificatesForOrganization.g.cs
index d7ac3483e..d0b343be1 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.DeactivateCertificatesForOrganization.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.DeactivateCertificatesForOrganization.g.cs
@@ -49,7 +49,7 @@ partial void ProcessDeactivateCertificatesForOrganizationResponseContent(
/// 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 DeactivateCertificatesForOrganizationAsync(
+ public async global::System.Threading.Tasks.Task DeactivateCertificatesForOrganizationAsync(
global::tryAGI.OpenAI.ToggleCertificatesRequest request,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
@@ -318,7 +318,7 @@ partial void ProcessDeactivateCertificatesForOrganizationResponseContent(
__response.EnsureSuccessStatusCode();
return
- global::tryAGI.OpenAI.ListCertificatesResponse.FromJson(__content, JsonSerializerContext) ??
+ global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponse.FromJson(__content, JsonSerializerContext) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
@@ -348,7 +348,7 @@ partial void ProcessDeactivateCertificatesForOrganizationResponseContent(
).ConfigureAwait(false);
return
- await global::tryAGI.OpenAI.ListCertificatesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ await global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
@@ -395,7 +395,7 @@ partial void ProcessDeactivateCertificatesForOrganizationResponseContent(
/// 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 DeactivateCertificatesForOrganizationAsync(
+ public async global::System.Threading.Tasks.Task DeactivateCertificatesForOrganizationAsync(
global::System.Collections.Generic.IList certificateIds,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.DeactivateCertificatesForProject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.DeactivateCertificatesForProject.g.cs
index a1d849785..d6179126b 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.DeactivateCertificatesForProject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.DeactivateCertificatesForProject.g.cs
@@ -52,7 +52,7 @@ partial void ProcessDeactivateCertificatesForProjectResponseContent(
/// 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 DeactivateCertificatesForProjectAsync(
+ public async global::System.Threading.Tasks.Task DeactivateCertificatesForProjectAsync(
string projectId,
global::tryAGI.OpenAI.ToggleCertificatesRequest request,
@@ -324,7 +324,7 @@ partial void ProcessDeactivateCertificatesForProjectResponseContent(
__response.EnsureSuccessStatusCode();
return
- global::tryAGI.OpenAI.ListCertificatesResponse.FromJson(__content, JsonSerializerContext) ??
+ global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponse.FromJson(__content, JsonSerializerContext) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
@@ -354,7 +354,7 @@ partial void ProcessDeactivateCertificatesForProjectResponseContent(
).ConfigureAwait(false);
return
- await global::tryAGI.OpenAI.ListCertificatesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ await global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
@@ -402,7 +402,7 @@ partial void ProcessDeactivateCertificatesForProjectResponseContent(
/// 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 DeactivateCertificatesForProjectAsync(
+ public async global::System.Threading.Tasks.Task DeactivateCertificatesForProjectAsync(
string projectId,
global::System.Collections.Generic.IList certificateIds,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ListProjectCertificates.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ListProjectCertificates.g.cs
index ea2f42efb..0fa3fa773 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ListProjectCertificates.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ListProjectCertificates.g.cs
@@ -61,7 +61,7 @@ partial void ProcessListProjectCertificatesResponseContent(
/// 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 ListProjectCertificatesAsync(
+ public async global::System.Threading.Tasks.Task ListProjectCertificatesAsync(
string projectId,
int? limit = default,
string? after = default,
@@ -335,7 +335,7 @@ partial void ProcessListProjectCertificatesResponseContent(
__response.EnsureSuccessStatusCode();
return
- global::tryAGI.OpenAI.ListCertificatesResponse.FromJson(__content, JsonSerializerContext) ??
+ global::tryAGI.OpenAI.ListProjectCertificatesResponse.FromJson(__content, JsonSerializerContext) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
@@ -365,7 +365,7 @@ partial void ProcessListProjectCertificatesResponseContent(
).ConfigureAwait(false);
return
- await global::tryAGI.OpenAI.ListCertificatesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ await global::tryAGI.OpenAI.ListProjectCertificatesResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ModifyCertificate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ModifyCertificate.g.cs
index 664c28b6f..b3fdf919a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ModifyCertificate.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.ModifyCertificate.g.cs
@@ -404,7 +404,7 @@ partial void ProcessModifyCertificateResponseContent(
///
public async global::System.Threading.Tasks.Task ModifyCertificateAsync(
string certificateId,
- string name,
+ string? name = default,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.UploadCertificate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.UploadCertificate.g.cs
index 19e427c8f..0aa75bc0f 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.UploadCertificate.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.CertificatesClient.UploadCertificate.g.cs
@@ -394,14 +394,14 @@ partial void ProcessUploadCertificateResponseContent(
///
/// An optional name for the certificate
///
- ///
+ ///
/// The certificate content in PEM format
///
/// 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 UploadCertificateAsync(
- string content,
+ string certificate,
string? name = default,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -409,7 +409,7 @@ partial void ProcessUploadCertificateResponseContent(
var __request = new global::tryAGI.OpenAI.UploadCertificateRequest
{
Name = name,
- Content = content,
+ Certificate = certificate,
};
return await UploadCertificateAsync(
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ActivateCertificatesForOrganization.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ActivateCertificatesForOrganization.g.cs
index 0929e3480..e724d0ae3 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ActivateCertificatesForOrganization.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ActivateCertificatesForOrganization.g.cs
@@ -12,7 +12,7 @@ public partial interface ICertificatesClient
/// 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 ActivateCertificatesForOrganizationAsync(
+ global::System.Threading.Tasks.Task ActivateCertificatesForOrganizationAsync(
global::tryAGI.OpenAI.ToggleCertificatesRequest request,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
@@ -25,7 +25,7 @@ public partial interface ICertificatesClient
/// 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 ActivateCertificatesForOrganizationAsync(
+ global::System.Threading.Tasks.Task ActivateCertificatesForOrganizationAsync(
global::System.Collections.Generic.IList certificateIds,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ActivateCertificatesForProject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ActivateCertificatesForProject.g.cs
index 2187b7b0f..f8138397f 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ActivateCertificatesForProject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ActivateCertificatesForProject.g.cs
@@ -13,7 +13,7 @@ public partial interface ICertificatesClient
/// 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 ActivateCertificatesForProjectAsync(
+ global::System.Threading.Tasks.Task ActivateCertificatesForProjectAsync(
string projectId,
global::tryAGI.OpenAI.ToggleCertificatesRequest request,
@@ -28,7 +28,7 @@ public partial interface ICertificatesClient
/// 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 ActivateCertificatesForProjectAsync(
+ global::System.Threading.Tasks.Task ActivateCertificatesForProjectAsync(
string projectId,
global::System.Collections.Generic.IList certificateIds,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.DeactivateCertificatesForOrganization.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.DeactivateCertificatesForOrganization.g.cs
index 3a1e345b9..a0ff50808 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.DeactivateCertificatesForOrganization.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.DeactivateCertificatesForOrganization.g.cs
@@ -12,7 +12,7 @@ public partial interface ICertificatesClient
/// 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 DeactivateCertificatesForOrganizationAsync(
+ global::System.Threading.Tasks.Task DeactivateCertificatesForOrganizationAsync(
global::tryAGI.OpenAI.ToggleCertificatesRequest request,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
@@ -25,7 +25,7 @@ public partial interface ICertificatesClient
/// 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 DeactivateCertificatesForOrganizationAsync(
+ global::System.Threading.Tasks.Task DeactivateCertificatesForOrganizationAsync(
global::System.Collections.Generic.IList certificateIds,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.DeactivateCertificatesForProject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.DeactivateCertificatesForProject.g.cs
index 35461f27c..3ebe76133 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.DeactivateCertificatesForProject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.DeactivateCertificatesForProject.g.cs
@@ -13,7 +13,7 @@ public partial interface ICertificatesClient
/// 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 DeactivateCertificatesForProjectAsync(
+ global::System.Threading.Tasks.Task DeactivateCertificatesForProjectAsync(
string projectId,
global::tryAGI.OpenAI.ToggleCertificatesRequest request,
@@ -28,7 +28,7 @@ public partial interface ICertificatesClient
/// 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 DeactivateCertificatesForProjectAsync(
+ global::System.Threading.Tasks.Task DeactivateCertificatesForProjectAsync(
string projectId,
global::System.Collections.Generic.IList certificateIds,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ListProjectCertificates.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ListProjectCertificates.g.cs
index 78fc12d7f..7f67d4d99 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ListProjectCertificates.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ListProjectCertificates.g.cs
@@ -18,7 +18,7 @@ public partial interface ICertificatesClient
/// 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 ListProjectCertificatesAsync(
+ global::System.Threading.Tasks.Task ListProjectCertificatesAsync(
string projectId,
int? limit = default,
string? after = default,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ModifyCertificate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ModifyCertificate.g.cs
index c9e619a9e..38e921c71 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ModifyCertificate.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.ModifyCertificate.g.cs
@@ -30,7 +30,7 @@ public partial interface ICertificatesClient
///
global::System.Threading.Tasks.Task ModifyCertificateAsync(
string certificateId,
- string name,
+ string? name = default,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.UploadCertificate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.UploadCertificate.g.cs
index 9a012e558..47f418454 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.UploadCertificate.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ICertificatesClient.UploadCertificate.g.cs
@@ -24,14 +24,14 @@ public partial interface ICertificatesClient
///
/// An optional name for the certificate
///
- ///
+ ///
/// The certificate content in PEM format
///
/// 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 UploadCertificateAsync(
- string content,
+ string certificate,
string? name = default,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.CreateAdminApiKey.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.CreateAdminApiKey.g.cs
index 3c5192a3e..8f23aa9d8 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.CreateAdminApiKey.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.CreateAdminApiKey.g.cs
@@ -12,7 +12,7 @@ public partial interface IOpenAiClient
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
- global::System.Threading.Tasks.Task CreateAdminApiKeyAsync(
+ global::System.Threading.Tasks.Task CreateAdminApiKeyAsync(
global::tryAGI.OpenAI.AdminApiKeysCreateRequest request,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +27,7 @@ public partial interface IOpenAiClient
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
- global::System.Threading.Tasks.Task CreateAdminApiKeyAsync(
+ global::System.Threading.Tasks.Task CreateAdminApiKeyAsync(
string name,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.DeleteProjectApiKey.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.DeleteProjectApiKey.g.cs
index 3d4fb395a..44c022098 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.DeleteProjectApiKey.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.DeleteProjectApiKey.g.cs
@@ -10,13 +10,13 @@ public partial interface IProjectsClient
/// a service account.
///
///
- ///
+ ///
/// 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 DeleteProjectApiKeyAsync(
string projectId,
- string keyId,
+ string apiKeyId,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.RetrieveProjectApiKey.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.RetrieveProjectApiKey.g.cs
index af4208312..c73a20712 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.RetrieveProjectApiKey.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.RetrieveProjectApiKey.g.cs
@@ -8,13 +8,13 @@ public partial interface IProjectsClient
/// Retrieves an API key in the 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 RetrieveProjectApiKeyAsync(
string projectId,
- string keyId,
+ string apiKeyId,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsersClient.ModifyUser.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsersClient.ModifyUser.g.cs
index e5fc92996..1ee3de1bb 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsersClient.ModifyUser.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsersClient.ModifyUser.g.cs
@@ -30,7 +30,7 @@ public partial interface IUsersClient
///
global::System.Threading.Tasks.Task ModifyUserAsync(
string userId,
- global::tryAGI.OpenAI.UserRoleUpdateRequestRole role,
+ global::tryAGI.OpenAI.UserRoleUpdateRequestRole? role = default,
global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeyCreateResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeyCreateResponse.g.cs
new file mode 100644
index 000000000..6780eecaf
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeyCreateResponse.g.cs
@@ -0,0 +1,156 @@
+#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public class AdminApiKeyCreateResponseJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.AdminApiKeyCreateResponse Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
+ var __rawJson = __jsonDocument.RootElement.GetRawText();
+ var __jsonProps = new global::System.Collections.Generic.HashSet();
+ if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
+ {
+ foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
+ {
+ __jsonProps.Add(__jsonProp.Name);
+ if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object)
+ {
+ foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject())
+ {
+ __jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name);
+ }
+ }
+
+ }
+ }
+
+ var __score0 = 0;
+ if (__jsonProps.Contains("created_at")) __score0++;
+ if (__jsonProps.Contains("id")) __score0++;
+ if (__jsonProps.Contains("last_used_at")) __score0++;
+ if (__jsonProps.Contains("name")) __score0++;
+ if (__jsonProps.Contains("object")) __score0++;
+ if (__jsonProps.Contains("owner")) __score0++;
+ if (__jsonProps.Contains("owner.created_at")) __score0++;
+ if (__jsonProps.Contains("owner.id")) __score0++;
+ if (__jsonProps.Contains("owner.name")) __score0++;
+ if (__jsonProps.Contains("owner.object")) __score0++;
+ if (__jsonProps.Contains("owner.role")) __score0++;
+ if (__jsonProps.Contains("owner.type")) __score0++;
+ if (__jsonProps.Contains("redacted_value")) __score0++;
+ if (__jsonProps.Contains("value")) __score0++;
+ var __score1 = 0;
+ if (__jsonProps.Contains("value")) __score1++;
+ var __bestScore = 0;
+ var __bestIndex = -1;
+ if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; }
+ if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; }
+
+ global::tryAGI.OpenAI.AdminApiKey? adminApiKey = default;
+ global::tryAGI.OpenAI.AdminApiKeyCreateResponseVariant2? adminApiKeyCreateResponseVariant2 = default;
+ if (__bestIndex >= 0)
+ {
+ if (__bestIndex == 0)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdminApiKey), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdminApiKey).Name}");
+ adminApiKey = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 1)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdminApiKeyCreateResponseVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdminApiKeyCreateResponseVariant2).Name}");
+ adminApiKeyCreateResponseVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ }
+
+ if (adminApiKey == null && adminApiKeyCreateResponseVariant2 == null)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdminApiKey), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdminApiKey).Name}");
+ adminApiKey = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdminApiKeyCreateResponseVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdminApiKeyCreateResponseVariant2).Name}");
+ adminApiKeyCreateResponseVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ var __value = new global::tryAGI.OpenAI.AdminApiKeyCreateResponse(
+ adminApiKey,
+
+ adminApiKeyCreateResponseVariant2
+ );
+
+ return __value;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.AdminApiKeyCreateResponse value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ if (value.IsAdminApiKey)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdminApiKey), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdminApiKey).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.AdminApiKey!, typeInfo);
+ }
+ else if (value.IsAdminApiKeyCreateResponseVariant2)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.AdminApiKeyCreateResponseVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.AdminApiKeyCreateResponseVariant2).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.AdminApiKeyCreateResponseVariant2!, typeInfo);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeyObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeyObject.g.cs
new file mode 100644
index 000000000..d03294418
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeyObject.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class AdminApiKeyObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.AdminApiKeyObject 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.AdminApiKeyObjectExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.AdminApiKeyObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.AdminApiKeyObject);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.AdminApiKeyObject value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.AdminApiKeyObjectExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeyObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeyObjectNullable.g.cs
new file mode 100644
index 000000000..7630f2289
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeyObjectNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class AdminApiKeyObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.AdminApiKeyObject? 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.AdminApiKeyObjectExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.AdminApiKeyObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.AdminApiKeyObject?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.AdminApiKeyObject? 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.AdminApiKeyObjectExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeysDeleteResponseObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeysDeleteResponseObject.g.cs
new file mode 100644
index 000000000..1144f76fa
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeysDeleteResponseObject.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class AdminApiKeysDeleteResponseObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject 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.AdminApiKeysDeleteResponseObjectExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObjectExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeysDeleteResponseObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeysDeleteResponseObjectNullable.g.cs
new file mode 100644
index 000000000..ee3526c67
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.AdminApiKeysDeleteResponseObjectNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class AdminApiKeysDeleteResponseObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject? 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.AdminApiKeysDeleteResponseObjectExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject? 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.AdminApiKeysDeleteResponseObjectExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ApiKeyListObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ApiKeyListObject.g.cs
new file mode 100644
index 000000000..ee568cab2
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ApiKeyListObject.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class ApiKeyListObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.ApiKeyListObject 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.ApiKeyListObjectExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.ApiKeyListObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.ApiKeyListObject);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.ApiKeyListObject value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.ApiKeyListObjectExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ApiKeyListObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ApiKeyListObjectNullable.g.cs
new file mode 100644
index 000000000..0f4a4c2ee
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ApiKeyListObjectNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class ApiKeyListObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.ApiKeyListObject? 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.ApiKeyListObjectExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.ApiKeyListObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.ApiKeyListObject?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.ApiKeyListObject? 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.ApiKeyListObjectExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListProjectCertificatesResponseObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListProjectCertificatesResponseObject.g.cs
new file mode 100644
index 000000000..8e54d5b9f
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListProjectCertificatesResponseObject.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class ListProjectCertificatesResponseObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.ListProjectCertificatesResponseObject 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.ListProjectCertificatesResponseObjectExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.ListProjectCertificatesResponseObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.ListProjectCertificatesResponseObject);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.ListProjectCertificatesResponseObject value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.ListProjectCertificatesResponseObjectExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListProjectCertificatesResponseObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListProjectCertificatesResponseObjectNullable.g.cs
new file mode 100644
index 000000000..43523e23a
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListProjectCertificatesResponseObjectNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class ListProjectCertificatesResponseObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.ListProjectCertificatesResponseObject? 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.ListProjectCertificatesResponseObjectExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.ListProjectCertificatesResponseObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.ListProjectCertificatesResponseObject?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.ListProjectCertificatesResponseObject? 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.ListProjectCertificatesResponseObjectExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OneOf9.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OneOf9.g.cs
deleted file mode 100644
index 3cd8e3742..000000000
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OneOf9.g.cs
+++ /dev/null
@@ -1,522 +0,0 @@
-#nullable enable
-
-namespace tryAGI.OpenAI.JsonConverters
-{
- ///
- public class OneOfJsonConverter<[global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] T1, [global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] T2, [global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] T3, [global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] T4, [global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] T5, [global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] T6, [global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] T7, [global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] T8, [global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] T9> : global::System.Text.Json.Serialization.JsonConverter>
- {
- ///
- public override global::tryAGI.OpenAI.OneOf Read(
- ref global::System.Text.Json.Utf8JsonReader reader,
- global::System.Type typeToConvert,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
-
- using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
- var __rawJson = __jsonDocument.RootElement.GetRawText();
- var __jsonProps = new global::System.Collections.Generic.HashSet();
- if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
- {
- foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
- {
- __jsonProps.Add(__jsonProp.Name);
- }
- }
-
- var __score0 = 0;
- {
- var __ti = typeInfoResolver.GetTypeInfo(typeof(T1), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
- {
- foreach (var __prop in __ti.Properties)
- {
- if (__jsonProps.Contains(__prop.Name)) __score0++;
- }
- }
- }
- var __score1 = 0;
- {
- var __ti = typeInfoResolver.GetTypeInfo(typeof(T2), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
- {
- foreach (var __prop in __ti.Properties)
- {
- if (__jsonProps.Contains(__prop.Name)) __score1++;
- }
- }
- }
- var __score2 = 0;
- {
- var __ti = typeInfoResolver.GetTypeInfo(typeof(T3), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
- {
- foreach (var __prop in __ti.Properties)
- {
- if (__jsonProps.Contains(__prop.Name)) __score2++;
- }
- }
- }
- var __score3 = 0;
- {
- var __ti = typeInfoResolver.GetTypeInfo(typeof(T4), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
- {
- foreach (var __prop in __ti.Properties)
- {
- if (__jsonProps.Contains(__prop.Name)) __score3++;
- }
- }
- }
- var __score4 = 0;
- {
- var __ti = typeInfoResolver.GetTypeInfo(typeof(T5), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
- {
- foreach (var __prop in __ti.Properties)
- {
- if (__jsonProps.Contains(__prop.Name)) __score4++;
- }
- }
- }
- var __score5 = 0;
- {
- var __ti = typeInfoResolver.GetTypeInfo(typeof(T6), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
- {
- foreach (var __prop in __ti.Properties)
- {
- if (__jsonProps.Contains(__prop.Name)) __score5++;
- }
- }
- }
- var __score6 = 0;
- {
- var __ti = typeInfoResolver.GetTypeInfo(typeof(T7), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
- {
- foreach (var __prop in __ti.Properties)
- {
- if (__jsonProps.Contains(__prop.Name)) __score6++;
- }
- }
- }
- var __score7 = 0;
- {
- var __ti = typeInfoResolver.GetTypeInfo(typeof(T8), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
- {
- foreach (var __prop in __ti.Properties)
- {
- if (__jsonProps.Contains(__prop.Name)) __score7++;
- }
- }
- }
- var __score8 = 0;
- {
- var __ti = typeInfoResolver.GetTypeInfo(typeof(T9), options);
- if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object)
- {
- foreach (var __prop in __ti.Properties)
- {
- if (__jsonProps.Contains(__prop.Name)) __score8++;
- }
- }
- }
- 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; }
- if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; }
- if (__score5 > __bestScore) { __bestScore = __score5; __bestIndex = 5; }
- if (__score6 > __bestScore) { __bestScore = __score6; __bestIndex = 6; }
- if (__score7 > __bestScore) { __bestScore = __score7; __bestIndex = 7; }
- if (__score8 > __bestScore) { __bestScore = __score8; __bestIndex = 8; }
-
- T1? value1 = default;
- T2? value2 = default;
- T3? value3 = default;
- T4? value4 = default;
- T5? value5 = default;
- T6? value6 = default;
- T7? value7 = default;
- T8? value8 = default;
- T9? value9 = default;
- if (__bestIndex >= 0)
- {
- if (__bestIndex == 0)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}");
- value1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- else if (__bestIndex == 1)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}");
- value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- else if (__bestIndex == 2)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}");
- value3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- else if (__bestIndex == 3)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}");
- value4 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- else if (__bestIndex == 4)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}");
- value5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- else if (__bestIndex == 5)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}");
- value6 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- else if (__bestIndex == 6)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}");
- value7 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- else if (__bestIndex == 7)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}");
- value8 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- else if (__bestIndex == 8)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T9).Name}");
- value9 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
- }
-
- if (value1 == null && value2 == null && value3 == null && value4 == null && value5 == null && value6 == null && value7 == null && value8 == null && value9 == null)
- {
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}");
- value1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}");
- value2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}");
- value3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}");
- value4 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}");
- value5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}");
- value6 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}");
- value7 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}");
- value8 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
-
- try
- {
-
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T9).Name}");
- value9 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
- }
- catch (global::System.Text.Json.JsonException)
- {
- }
- catch (global::System.InvalidOperationException)
- {
- }
- }
-
- var __value = new global::tryAGI.OpenAI.OneOf(
- value1,
-
- value2,
-
- value3,
-
- value4,
-
- value5,
-
- value6,
-
- value7,
-
- value8,
-
- value9
- );
-
- return __value;
- }
-
- ///
- public override void Write(
- global::System.Text.Json.Utf8JsonWriter writer,
- global::tryAGI.OpenAI.OneOf value,
- global::System.Text.Json.JsonSerializerOptions options)
- {
- options = options ?? throw new global::System.ArgumentNullException(nameof(options));
- var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
-
- if (value.IsValue1)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo);
- }
- else if (value.IsValue2)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo);
- }
- else if (value.IsValue3)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3!, typeInfo);
- }
- else if (value.IsValue4)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value4!, typeInfo);
- }
- else if (value.IsValue5)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5!, typeInfo);
- }
- else if (value.IsValue6)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value6!, typeInfo);
- }
- else if (value.IsValue7)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T7).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value7!, typeInfo);
- }
- else if (value.IsValue8)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T8).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value8!, typeInfo);
- }
- else if (value.IsValue9)
- {
- var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
- throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T9).Name}");
- global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value9!, typeInfo);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateActivationResponseObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateActivationResponseObject.g.cs
new file mode 100644
index 000000000..d70dba838
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateActivationResponseObject.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class OrganizationCertificateActivationResponseObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.OrganizationCertificateActivationResponseObject 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.OrganizationCertificateActivationResponseObjectExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.OrganizationCertificateActivationResponseObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.OrganizationCertificateActivationResponseObject);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.OrganizationCertificateActivationResponseObject value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.OrganizationCertificateActivationResponseObjectExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateActivationResponseObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateActivationResponseObjectNullable.g.cs
new file mode 100644
index 000000000..e4dedf62d
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateActivationResponseObjectNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class OrganizationCertificateActivationResponseObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.OrganizationCertificateActivationResponseObject? 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.OrganizationCertificateActivationResponseObjectExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.OrganizationCertificateActivationResponseObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.OrganizationCertificateActivationResponseObject?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.OrganizationCertificateActivationResponseObject? 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.OrganizationCertificateActivationResponseObjectExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObject.g.cs
new file mode 100644
index 000000000..2d37bdd12
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObject.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class OrganizationCertificateDeactivationResponseObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponseObject 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.OrganizationCertificateDeactivationResponseObjectExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponseObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponseObject);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponseObject value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponseObjectExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObjectNullable.g.cs
new file mode 100644
index 000000000..f824e4186
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObjectNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class OrganizationCertificateDeactivationResponseObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponseObject? 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.OrganizationCertificateDeactivationResponseObjectExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponseObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponseObject?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponseObject? 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.OrganizationCertificateDeactivationResponseObjectExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateObject.g.cs
new file mode 100644
index 000000000..85037861e
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateObject.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class OrganizationCertificateObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.OrganizationCertificateObject 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.OrganizationCertificateObjectExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.OrganizationCertificateObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.OrganizationCertificateObject);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.OrganizationCertificateObject value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.OrganizationCertificateObjectExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateObjectNullable.g.cs
new file mode 100644
index 000000000..9f6021326
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationCertificateObjectNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class OrganizationCertificateObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.OrganizationCertificateObject? 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.OrganizationCertificateObjectExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.OrganizationCertificateObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.OrganizationCertificateObject?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.OrganizationCertificateObject? 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.OrganizationCertificateObjectExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateActivationResponseObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateActivationResponseObject.g.cs
new file mode 100644
index 000000000..8578ee1e7
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateActivationResponseObject.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class OrganizationProjectCertificateActivationResponseObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponseObject 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.OrganizationProjectCertificateActivationResponseObjectExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponseObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponseObject);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponseObject value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponseObjectExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateActivationResponseObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateActivationResponseObjectNullable.g.cs
new file mode 100644
index 000000000..8da7ea764
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateActivationResponseObjectNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class OrganizationProjectCertificateActivationResponseObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponseObject? 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.OrganizationProjectCertificateActivationResponseObjectExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponseObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponseObject?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponseObject? 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.OrganizationProjectCertificateActivationResponseObjectExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObject.g.cs
new file mode 100644
index 000000000..20a7d259c
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObject.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class OrganizationProjectCertificateDeactivationResponseObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponseObject 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.OrganizationProjectCertificateDeactivationResponseObjectExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponseObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponseObject);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponseObject value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponseObjectExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObjectNullable.g.cs
new file mode 100644
index 000000000..22a4faa4f
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObjectNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class OrganizationProjectCertificateDeactivationResponseObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponseObject? 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.OrganizationProjectCertificateDeactivationResponseObjectExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponseObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponseObject?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponseObject? 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.OrganizationProjectCertificateDeactivationResponseObjectExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObject.g.cs
new file mode 100644
index 000000000..5dcd7df01
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObject.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class OrganizationProjectCertificateObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.OrganizationProjectCertificateObject 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.OrganizationProjectCertificateObjectExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.OrganizationProjectCertificateObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.OrganizationProjectCertificateObject);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.OrganizationProjectCertificateObject value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.OrganizationProjectCertificateObjectExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectNullable.g.cs
new file mode 100644
index 000000000..7fa1008b7
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class OrganizationProjectCertificateObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.OrganizationProjectCertificateObject? 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.OrganizationProjectCertificateObjectExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.OrganizationProjectCertificateObject)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::tryAGI.OpenAI.OrganizationProjectCertificateObject?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.OrganizationProjectCertificateObject? 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.OrganizationProjectCertificateObjectExtensions.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
new file mode 100644
index 000000000..ee0496e27
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ResultsItem.g.cs
@@ -0,0 +1,477 @@
+#nullable enable
+#pragma warning disable CS0618 // Type or member is obsolete
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public class ResultsItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.ResultsItem Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader);
+ var __rawJson = __jsonDocument.RootElement.GetRawText();
+ var __jsonProps = new global::System.Collections.Generic.HashSet();
+ if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object)
+ {
+ foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject())
+ {
+ __jsonProps.Add(__jsonProp.Name);
+ if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object)
+ {
+ foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject())
+ {
+ __jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name);
+ }
+ }
+
+ }
+ }
+
+ var __score0 = 0;
+ if (__jsonProps.Contains("api_key_id")) __score0++;
+ if (__jsonProps.Contains("batch")) __score0++;
+ if (__jsonProps.Contains("input_audio_tokens")) __score0++;
+ if (__jsonProps.Contains("input_cached_tokens")) __score0++;
+ if (__jsonProps.Contains("input_tokens")) __score0++;
+ if (__jsonProps.Contains("model")) __score0++;
+ if (__jsonProps.Contains("num_model_requests")) __score0++;
+ if (__jsonProps.Contains("object")) __score0++;
+ if (__jsonProps.Contains("output_audio_tokens")) __score0++;
+ if (__jsonProps.Contains("output_tokens")) __score0++;
+ if (__jsonProps.Contains("project_id")) __score0++;
+ if (__jsonProps.Contains("service_tier")) __score0++;
+ if (__jsonProps.Contains("user_id")) __score0++;
+ var __score1 = 0;
+ if (__jsonProps.Contains("api_key_id")) __score1++;
+ if (__jsonProps.Contains("input_tokens")) __score1++;
+ if (__jsonProps.Contains("model")) __score1++;
+ if (__jsonProps.Contains("num_model_requests")) __score1++;
+ if (__jsonProps.Contains("object")) __score1++;
+ if (__jsonProps.Contains("project_id")) __score1++;
+ if (__jsonProps.Contains("user_id")) __score1++;
+ var __score2 = 0;
+ if (__jsonProps.Contains("api_key_id")) __score2++;
+ if (__jsonProps.Contains("input_tokens")) __score2++;
+ if (__jsonProps.Contains("model")) __score2++;
+ if (__jsonProps.Contains("num_model_requests")) __score2++;
+ if (__jsonProps.Contains("object")) __score2++;
+ if (__jsonProps.Contains("project_id")) __score2++;
+ if (__jsonProps.Contains("user_id")) __score2++;
+ var __score3 = 0;
+ if (__jsonProps.Contains("api_key_id")) __score3++;
+ if (__jsonProps.Contains("images")) __score3++;
+ if (__jsonProps.Contains("model")) __score3++;
+ if (__jsonProps.Contains("num_model_requests")) __score3++;
+ if (__jsonProps.Contains("object")) __score3++;
+ if (__jsonProps.Contains("project_id")) __score3++;
+ if (__jsonProps.Contains("size")) __score3++;
+ if (__jsonProps.Contains("source")) __score3++;
+ if (__jsonProps.Contains("user_id")) __score3++;
+ var __score4 = 0;
+ if (__jsonProps.Contains("api_key_id")) __score4++;
+ if (__jsonProps.Contains("characters")) __score4++;
+ if (__jsonProps.Contains("model")) __score4++;
+ if (__jsonProps.Contains("num_model_requests")) __score4++;
+ if (__jsonProps.Contains("object")) __score4++;
+ if (__jsonProps.Contains("project_id")) __score4++;
+ if (__jsonProps.Contains("user_id")) __score4++;
+ var __score5 = 0;
+ if (__jsonProps.Contains("api_key_id")) __score5++;
+ if (__jsonProps.Contains("model")) __score5++;
+ if (__jsonProps.Contains("num_model_requests")) __score5++;
+ if (__jsonProps.Contains("object")) __score5++;
+ if (__jsonProps.Contains("project_id")) __score5++;
+ if (__jsonProps.Contains("seconds")) __score5++;
+ if (__jsonProps.Contains("user_id")) __score5++;
+ var __score6 = 0;
+ if (__jsonProps.Contains("object")) __score6++;
+ if (__jsonProps.Contains("project_id")) __score6++;
+ if (__jsonProps.Contains("usage_bytes")) __score6++;
+ var __score7 = 0;
+ if (__jsonProps.Contains("num_sessions")) __score7++;
+ if (__jsonProps.Contains("object")) __score7++;
+ if (__jsonProps.Contains("project_id")) __score7++;
+ var __score8 = 0;
+ if (__jsonProps.Contains("amount")) __score8++;
+ if (__jsonProps.Contains("amount.currency")) __score8++;
+ if (__jsonProps.Contains("amount.value")) __score8++;
+ if (__jsonProps.Contains("api_key_id")) __score8++;
+ if (__jsonProps.Contains("line_item")) __score8++;
+ if (__jsonProps.Contains("object")) __score8++;
+ if (__jsonProps.Contains("project_id")) __score8++;
+ 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; }
+ if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; }
+ if (__score5 > __bestScore) { __bestScore = __score5; __bestIndex = 5; }
+ if (__score6 > __bestScore) { __bestScore = __score6; __bestIndex = 6; }
+ if (__score7 > __bestScore) { __bestScore = __score7; __bestIndex = 7; }
+ if (__score8 > __bestScore) { __bestScore = __score8; __bestIndex = 8; }
+
+ global::tryAGI.OpenAI.UsageCompletionsResult? organizationUsageCompletionsResult = default;
+ global::tryAGI.OpenAI.UsageEmbeddingsResult? organizationUsageEmbeddingsResult = default;
+ global::tryAGI.OpenAI.UsageModerationsResult? organizationUsageModerationsResult = default;
+ global::tryAGI.OpenAI.UsageImagesResult? organizationUsageImagesResult = default;
+ global::tryAGI.OpenAI.UsageAudioSpeechesResult? organizationUsageAudioSpeechesResult = default;
+ global::tryAGI.OpenAI.UsageAudioTranscriptionsResult? organizationUsageAudioTranscriptionsResult = default;
+ global::tryAGI.OpenAI.UsageVectorStoresResult? organizationUsageVectorStoresResult = default;
+ global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult? organizationUsageCodeInterpreterSessionsResult = default;
+ global::tryAGI.OpenAI.CostsResult? organizationCostsResult = default;
+ if (__bestIndex >= 0)
+ {
+ if (__bestIndex == 0)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageCompletionsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageCompletionsResult).Name}");
+ organizationUsageCompletionsResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 1)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageEmbeddingsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageEmbeddingsResult).Name}");
+ organizationUsageEmbeddingsResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 2)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageModerationsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageModerationsResult).Name}");
+ organizationUsageModerationsResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 3)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageImagesResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageImagesResult).Name}");
+ organizationUsageImagesResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 4)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageAudioSpeechesResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageAudioSpeechesResult).Name}");
+ organizationUsageAudioSpeechesResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 5)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageAudioTranscriptionsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageAudioTranscriptionsResult).Name}");
+ organizationUsageAudioTranscriptionsResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 6)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageVectorStoresResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageVectorStoresResult).Name}");
+ organizationUsageVectorStoresResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 7)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult).Name}");
+ organizationUsageCodeInterpreterSessionsResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ else if (__bestIndex == 8)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CostsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CostsResult).Name}");
+ organizationCostsResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+ }
+
+ if (organizationUsageCompletionsResult == null && organizationUsageEmbeddingsResult == null && organizationUsageModerationsResult == null && organizationUsageImagesResult == null && organizationUsageAudioSpeechesResult == null && organizationUsageAudioTranscriptionsResult == null && organizationUsageVectorStoresResult == null && organizationUsageCodeInterpreterSessionsResult == null && organizationCostsResult == null)
+ {
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageCompletionsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageCompletionsResult).Name}");
+ organizationUsageCompletionsResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageEmbeddingsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageEmbeddingsResult).Name}");
+ organizationUsageEmbeddingsResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageModerationsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageModerationsResult).Name}");
+ organizationUsageModerationsResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageImagesResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageImagesResult).Name}");
+ organizationUsageImagesResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageAudioSpeechesResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageAudioSpeechesResult).Name}");
+ organizationUsageAudioSpeechesResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageAudioTranscriptionsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageAudioTranscriptionsResult).Name}");
+ organizationUsageAudioTranscriptionsResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageVectorStoresResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageVectorStoresResult).Name}");
+ organizationUsageVectorStoresResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult).Name}");
+ organizationUsageCodeInterpreterSessionsResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+
+ try
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CostsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CostsResult).Name}");
+ organizationCostsResult = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo);
+ }
+ catch (global::System.Text.Json.JsonException)
+ {
+ }
+ catch (global::System.InvalidOperationException)
+ {
+ }
+ }
+
+ var __value = new global::tryAGI.OpenAI.ResultsItem(
+ organizationUsageCompletionsResult,
+
+ organizationUsageEmbeddingsResult,
+
+ organizationUsageModerationsResult,
+
+ organizationUsageImagesResult,
+
+ organizationUsageAudioSpeechesResult,
+
+ organizationUsageAudioTranscriptionsResult,
+
+ organizationUsageVectorStoresResult,
+
+ organizationUsageCodeInterpreterSessionsResult,
+
+ organizationCostsResult
+ );
+
+ return __value;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.ResultsItem value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ options = options ?? throw new global::System.ArgumentNullException(nameof(options));
+ var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set.");
+
+ if (value.IsOrganizationUsageCompletionsResult)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageCompletionsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageCompletionsResult).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.OrganizationUsageCompletionsResult!, typeInfo);
+ }
+ else if (value.IsOrganizationUsageEmbeddingsResult)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageEmbeddingsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageEmbeddingsResult).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.OrganizationUsageEmbeddingsResult!, typeInfo);
+ }
+ else if (value.IsOrganizationUsageModerationsResult)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageModerationsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageModerationsResult).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.OrganizationUsageModerationsResult!, typeInfo);
+ }
+ else if (value.IsOrganizationUsageImagesResult)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageImagesResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageImagesResult).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.OrganizationUsageImagesResult!, typeInfo);
+ }
+ else if (value.IsOrganizationUsageAudioSpeechesResult)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageAudioSpeechesResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageAudioSpeechesResult).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.OrganizationUsageAudioSpeechesResult!, typeInfo);
+ }
+ else if (value.IsOrganizationUsageAudioTranscriptionsResult)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageAudioTranscriptionsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageAudioTranscriptionsResult).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.OrganizationUsageAudioTranscriptionsResult!, typeInfo);
+ }
+ else if (value.IsOrganizationUsageVectorStoresResult)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageVectorStoresResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.UsageVectorStoresResult).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.OrganizationUsageVectorStoresResult!, typeInfo);
+ }
+ else if (value.IsOrganizationUsageCodeInterpreterSessionsResult)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ 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.IsOrganizationCostsResult)
+ {
+ var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CostsResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ??
+ throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CostsResult).Name}");
+ global::System.Text.Json.JsonSerializer.Serialize(writer, value.OrganizationCostsResult!, typeInfo);
+ }
+ }
+ }
+}
\ No newline at end of file
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 96d874950..20fdd0e08 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs
@@ -13,6 +13,14 @@ namespace tryAGI.OpenAI
DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull,
Converters = new global::System.Type[]
{
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdminApiKeyObjectJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdminApiKeyObjectNullableJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.ApiKeyListObjectJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.ApiKeyListObjectNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.AssistantObjectObjectJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.AssistantObjectObjectNullableJsonConverter),
@@ -1197,6 +1205,10 @@ namespace tryAGI.OpenAI
typeof(global::tryAGI.OpenAI.JsonConverters.ListPaginatedFineTuningJobsResponseObjectNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectCertificatesResponseObjectJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectCertificatesResponseObjectNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.LocalShellToolCallTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.LocalShellToolCallTypeNullableJsonConverter),
@@ -1393,6 +1405,30 @@ namespace tryAGI.OpenAI
typeof(global::tryAGI.OpenAI.JsonConverters.OpenAIFileStatusNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateObjectJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateObjectNullableJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateActivationResponseObjectJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateActivationResponseObjectNullableJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObjectJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObjectNullableJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectNullableJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateActivationResponseObjectJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateActivationResponseObjectNullableJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObjectJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObjectNullableJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeNullableJsonConverter),
@@ -4185,6 +4221,12 @@ namespace tryAGI.OpenAI
typeof(global::tryAGI.OpenAI.JsonConverters.ListVectorStoreFilesFilterNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdminApiKeysDeleteResponseObjectJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdminApiKeysDeleteResponseObjectNullableJsonConverter),
+
+ typeof(global::tryAGI.OpenAI.JsonConverters.AdminApiKeyCreateResponseJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.AssistantStreamEventJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.AssistantsApiResponseFormatOptionJsonConverter),
@@ -4341,6 +4383,8 @@ namespace tryAGI.OpenAI
typeof(global::tryAGI.OpenAI.JsonConverters.TranscriptionChunkingStrategyJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.ResultsItemJsonConverter),
+
typeof(global::tryAGI.OpenAI.JsonConverters.VoiceIdsOrCustomVoiceJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.VoiceIdsSharedJsonConverter),
@@ -4681,8 +4725,6 @@ namespace tryAGI.OpenAI
typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter),
- typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter),
-
typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter),
@@ -4725,11 +4767,15 @@ namespace tryAGI.OpenAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AddUploadPartRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdminApiKey))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdminApiKeyObject), TypeInfoPropertyName = "AdminApiKeyObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(string))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(int))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(object))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdminApiKeyOwner))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdminApiKeyCreateResponse), TypeInfoPropertyName = "AdminApiKeyCreateResponse2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdminApiKeyCreateResponseVariant2))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ApiKeyList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ApiKeyListObject), TypeInfoPropertyName = "ApiKeyListObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AssignedRoleDetails))]
@@ -4780,7 +4826,7 @@ namespace tryAGI.OpenAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLog))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogEventType), TypeInfoPropertyName = "AuditLogEventType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogProject))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogActor))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogActor2))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogApiKeyCreated))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogApiKeyCreatedData))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogApiKeyUpdated))]
@@ -5665,6 +5711,7 @@ namespace tryAGI.OpenAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupRoleAssignment))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupRoleAssignmentObject), TypeInfoPropertyName = "GroupRoleAssignmentObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Role))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupUser))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupUserAssignment))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupUserAssignmentObject), TypeInfoPropertyName = "GroupUserAssignmentObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupUserDeletedResource))]
@@ -5776,7 +5823,8 @@ namespace tryAGI.OpenAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListBatchesResponseObject), TypeInfoPropertyName = "ListBatchesResponseObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListCertificatesResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationCertificate))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListCertificatesResponseObject), TypeInfoPropertyName = "ListCertificatesResponseObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListFilesResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
@@ -5800,6 +5848,10 @@ namespace tryAGI.OpenAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponseObject), TypeInfoPropertyName = "ListPaginatedFineTuningJobsResponseObject2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectCertificatesResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationProjectCertificate))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectCertificatesResponseObject), TypeInfoPropertyName = "ListProjectCertificatesResponseObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListRunStepsResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RunStepObject))]
@@ -5922,6 +5974,18 @@ namespace tryAGI.OpenAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OpenAIFileObject), TypeInfoPropertyName = "OpenAIFileObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OpenAIFilePurpose), TypeInfoPropertyName = "OpenAIFilePurpose2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OpenAIFileStatus), TypeInfoPropertyName = "OpenAIFileStatus2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationCertificateObject), TypeInfoPropertyName = "OrganizationCertificateObject2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationCertificateCertificateDetails))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationCertificateActivationResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationCertificateActivationResponseObject), TypeInfoPropertyName = "OrganizationCertificateActivationResponseObject2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponseObject), TypeInfoPropertyName = "OrganizationCertificateDeactivationResponseObject2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationProjectCertificateObject), TypeInfoPropertyName = "OrganizationProjectCertificateObject2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationProjectCertificateCertificateDetails))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponseObject), TypeInfoPropertyName = "OrganizationProjectCertificateActivationResponseObject2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponseObject), TypeInfoPropertyName = "OrganizationProjectCertificateDeactivationResponseObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OtherChunkingStrategyResponseParam))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OtherChunkingStrategyResponseParamType), TypeInfoPropertyName = "OtherChunkingStrategyResponseParamType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OutputAudio))]
@@ -5946,8 +6010,8 @@ namespace tryAGI.OpenAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectApiKeyObject), TypeInfoPropertyName = "ProjectApiKeyObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectApiKeyOwner))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectApiKeyOwnerType), TypeInfoPropertyName = "ProjectApiKeyOwnerType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectUser))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectServiceAccount))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectApiKeyOwnerUser))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectApiKeyOwnerServiceAccount))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectApiKeyDeleteResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectApiKeyDeleteResponseObject), TypeInfoPropertyName = "ProjectApiKeyDeleteResponseObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectApiKeyListResponse))]
@@ -5971,6 +6035,7 @@ namespace tryAGI.OpenAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectRateLimitListResponseObject), TypeInfoPropertyName = "ProjectRateLimitListResponseObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectRateLimitUpdateRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectServiceAccount))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectServiceAccountObject), TypeInfoPropertyName = "ProjectServiceAccountObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectServiceAccountRole), TypeInfoPropertyName = "ProjectServiceAccountRole2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectServiceAccountApiKey))]
@@ -5985,6 +6050,7 @@ namespace tryAGI.OpenAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectServiceAccountListResponseObject), TypeInfoPropertyName = "ProjectServiceAccountListResponseObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectUpdateRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectUser))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectUserObject), TypeInfoPropertyName = "ProjectUserObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectUserRole), TypeInfoPropertyName = "ProjectUserRole2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectUserCreateRequest))]
@@ -6876,9 +6942,10 @@ namespace tryAGI.OpenAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageTimeBucket))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageTimeBucketObject), TypeInfoPropertyName = "UsageTimeBucketObject2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "CostsResult_9223e6415b8f3df9")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "CostsResult_254199414aa1f371")]
+ [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.UsageTimeBucketResultDiscriminator))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageVectorStoresResultObject), TypeInfoPropertyName = "UsageVectorStoresResultObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.User))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UserObject), TypeInfoPropertyName = "UserObject2")]
@@ -6887,9 +6954,10 @@ namespace tryAGI.OpenAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UserDeleteResponseObject), TypeInfoPropertyName = "UserDeleteResponseObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UserListResource))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UserListResourceObject), TypeInfoPropertyName = "UserListResourceObject2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UserListResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UserListResponseObject), TypeInfoPropertyName = "UserListResponseObject2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UserRoleAssignment))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UserRoleAssignmentObject), TypeInfoPropertyName = "UserRoleAssignmentObject2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UserRoleUpdateRequest))]
@@ -7453,6 +7521,7 @@ namespace tryAGI.OpenAI
[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>))]
@@ -7576,7 +7645,7 @@ namespace tryAGI.OpenAI
[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))]
@@ -7584,6 +7653,7 @@ namespace tryAGI.OpenAI
[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))]
@@ -7651,7 +7721,8 @@ namespace tryAGI.OpenAI
[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>), TypeInfoPropertyName = "CostsResult_d3bbf02a8a0474bf")]
+ [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::tryAGI.OpenAI.OneOf>))]
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 50f8b8e09..020b71138 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs
@@ -40,10839 +40,10955 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public string? Type3 { get; set; }
+ public global::tryAGI.OpenAI.AdminApiKeyObject? Type3 { get; set; }
///
///
///
- public int? Type4 { get; set; }
+ public string? Type4 { get; set; }
///
///
///
- public object? Type5 { get; set; }
+ public int? Type5 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AdminApiKeyOwner? Type6 { get; set; }
+ public object? Type6 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ApiKeyList? Type7 { get; set; }
+ public global::tryAGI.OpenAI.AdminApiKeyOwner? Type7 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type8 { get; set; }
+ public global::tryAGI.OpenAI.AdminApiKeyCreateResponse? Type8 { get; set; }
///
///
///
- public bool? Type9 { get; set; }
+ public global::tryAGI.OpenAI.AdminApiKeyCreateResponseVariant2? Type9 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssignedRoleDetails? Type10 { get; set; }
+ public global::tryAGI.OpenAI.ApiKeyList? Type10 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type11 { get; set; }
+ public global::tryAGI.OpenAI.ApiKeyListObject? Type11 { get; set; }
///
///
///
- public long? Type12 { get; set; }
+ public global::System.Collections.Generic.IList? Type12 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantObject? Type13 { get; set; }
+ public bool? Type13 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantObjectObject? Type14 { get; set; }
+ public global::tryAGI.OpenAI.AssignedRoleDetails? Type14 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList>? Type15 { get; set; }
+ public global::System.Collections.Generic.IList? Type15 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.OneOf? Type16 { get; set; }
+ public long? Type16 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantToolsCode? Type17 { get; set; }
+ public global::tryAGI.OpenAI.AssistantObject? Type17 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantToolsFileSearch? Type18 { get; set; }
+ public global::tryAGI.OpenAI.AssistantObjectObject? Type18 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantToolsFunction? Type19 { get; set; }
+ public global::System.Collections.Generic.IList>? Type19 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantObjectToolResources2? Type20 { get; set; }
+ public global::tryAGI.OpenAI.OneOf? Type20 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantObjectToolResourcesCodeInterpreter? Type21 { get; set; }
+ public global::tryAGI.OpenAI.AssistantToolsCode? Type21 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantObjectToolResourcesFileSearch? Type22 { get; set; }
+ public global::tryAGI.OpenAI.AssistantToolsFileSearch? Type22 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type23 { get; set; }
+ public global::tryAGI.OpenAI.AssistantToolsFunction? Type23 { get; set; }
///
///
///
- public double? Type24 { get; set; }
+ public global::tryAGI.OpenAI.AssistantObjectToolResources2? Type24 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? Type25 { get; set; }
+ public global::tryAGI.OpenAI.AssistantObjectToolResourcesCodeInterpreter? Type25 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantStreamEvent? Type26 { get; set; }
+ public global::tryAGI.OpenAI.AssistantObjectToolResourcesFileSearch? Type26 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ThreadStreamEvent? Type27 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type27 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RunStreamEvent? Type28 { get; set; }
+ public double? Type28 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RunStepStreamEvent? Type29 { get; set; }
+ public global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? Type29 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.MessageStreamEvent? Type30 { get; set; }
+ public global::tryAGI.OpenAI.AssistantStreamEvent? Type30 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ErrorEvent? Type31 { get; set; }
+ public global::tryAGI.OpenAI.ThreadStreamEvent? Type31 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.DoneEvent? Type32 { get; set; }
+ public global::tryAGI.OpenAI.RunStreamEvent? Type32 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantSupportedModels? Type33 { get; set; }
+ public global::tryAGI.OpenAI.RunStepStreamEvent? Type33 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantToolsCodeType? Type34 { get; set; }
+ public global::tryAGI.OpenAI.MessageStreamEvent? Type34 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantToolsFileSearchType? Type35 { get; set; }
+ public global::tryAGI.OpenAI.ErrorEvent? Type35 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantToolsFileSearchFileSearch? Type36 { get; set; }
+ public global::tryAGI.OpenAI.DoneEvent? Type36 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.FileSearchRankingOptions? Type37 { get; set; }
+ public global::tryAGI.OpenAI.AssistantSupportedModels? Type37 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnly? Type38 { get; set; }
+ public global::tryAGI.OpenAI.AssistantToolsCodeType? Type38 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnlyType? Type39 { get; set; }
+ public global::tryAGI.OpenAI.AssistantToolsFileSearchType? Type39 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantToolsFunctionType? Type40 { get; set; }
+ public global::tryAGI.OpenAI.AssistantToolsFileSearchFileSearch? Type40 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.FunctionObject? Type41 { get; set; }
+ public global::tryAGI.OpenAI.FileSearchRankingOptions? Type41 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantsApiResponseFormatOptionEnum? Type42 { get; set; }
+ public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnly? Type42 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ResponseFormatText? Type43 { get; set; }
+ public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnlyType? Type43 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ResponseFormatJsonObject? Type44 { get; set; }
+ public global::tryAGI.OpenAI.AssistantToolsFunctionType? Type44 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ResponseFormatJsonSchema? Type45 { get; set; }
+ public global::tryAGI.OpenAI.FunctionObject? Type45 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? Type46 { get; set; }
+ public global::tryAGI.OpenAI.AssistantsApiResponseFormatOptionEnum? Type46 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantsApiToolChoiceOptionEnum? Type47 { get; set; }
+ public global::tryAGI.OpenAI.ResponseFormatText? Type47 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantsNamedToolChoice? Type48 { get; set; }
+ public global::tryAGI.OpenAI.ResponseFormatJsonObject? Type48 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantsNamedToolChoiceType? Type49 { get; set; }
+ public global::tryAGI.OpenAI.ResponseFormatJsonSchema? Type49 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AssistantsNamedToolChoiceFunction? Type50 { get; set; }
+ public global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? Type50 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AudioResponseFormat? Type51 { get; set; }
+ public global::tryAGI.OpenAI.AssistantsApiToolChoiceOptionEnum? Type51 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AudioTranscription? Type52 { get; set; }
+ public global::tryAGI.OpenAI.AssistantsNamedToolChoice? Type52 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AnyOf? Type53 { get; set; }
+ public global::tryAGI.OpenAI.AssistantsNamedToolChoiceType? Type53 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AudioTranscriptionModel? Type54 { get; set; }
+ public global::tryAGI.OpenAI.AssistantsNamedToolChoiceFunction? Type54 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLog? Type55 { get; set; }
+ public global::tryAGI.OpenAI.AudioResponseFormat? Type55 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogEventType? Type56 { get; set; }
+ public global::tryAGI.OpenAI.AudioTranscription? Type56 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogProject? Type57 { get; set; }
+ public global::tryAGI.OpenAI.AnyOf? Type57 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogActor? Type58 { get; set; }
+ public global::tryAGI.OpenAI.AudioTranscriptionModel? Type58 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogApiKeyCreated? Type59 { get; set; }
+ public global::tryAGI.OpenAI.AuditLog? Type59 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogApiKeyCreatedData? Type60 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogEventType? Type60 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogApiKeyUpdated? Type61 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogProject? Type61 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogApiKeyUpdatedChangesRequested? Type62 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogActor2? Type62 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogApiKeyDeleted? Type63 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogApiKeyCreated? Type63 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCheckpointPermissionCreated? Type64 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogApiKeyCreatedData? Type64 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCheckpointPermissionCreatedData? Type65 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogApiKeyUpdated? Type65 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCheckpointPermissionDeleted? Type66 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogApiKeyUpdatedChangesRequested? Type66 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogExternalKeyRegistered? Type67 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogApiKeyDeleted? Type67 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogExternalKeyRemoved? Type68 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCheckpointPermissionCreated? Type68 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogGroupCreated? Type69 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCheckpointPermissionCreatedData? Type69 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogGroupCreatedData? Type70 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCheckpointPermissionDeleted? Type70 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogGroupUpdated? Type71 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogExternalKeyRegistered? Type71 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogGroupUpdatedChangesRequested? Type72 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogExternalKeyRemoved? Type72 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogGroupDeleted? Type73 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogGroupCreated? Type73 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogScimEnabled? Type74 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogGroupCreatedData? Type74 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogScimDisabled? Type75 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogGroupUpdated? Type75 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogInviteSent? Type76 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogGroupUpdatedChangesRequested? Type76 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogInviteSentData? Type77 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogGroupDeleted? Type77 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogInviteAccepted? Type78 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogScimEnabled? Type78 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogInviteDeleted? Type79 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogScimDisabled? Type79 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogIpAllowlistCreated? Type80 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogInviteSent? Type80 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogIpAllowlistUpdated? Type81 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogInviteSentData? Type81 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogIpAllowlistDeleted? Type82 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogInviteAccepted? Type82 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigActivated? Type83 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogInviteDeleted? Type83 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type84 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogIpAllowlistCreated? Type84 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigActivatedConfig? Type85 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogIpAllowlistUpdated? Type85 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigDeactivated? Type86 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogIpAllowlistDeleted? Type86 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type87 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigActivated? Type87 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigDeactivatedConfig? Type88 { get; set; }
+ public global::System.Collections.Generic.IList? Type88 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogLoginFailed? Type89 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigActivatedConfig? Type89 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogLogoutFailed? Type90 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigDeactivated? Type90 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogOrganizationUpdated? Type91 { get; set; }
+ public global::System.Collections.Generic.IList? Type91 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogOrganizationUpdatedChangesRequested? Type92 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigDeactivatedConfig? Type92 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogProjectCreated? Type93 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogLoginFailed? Type93 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogProjectCreatedData? Type94 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogLogoutFailed? Type94 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogProjectUpdated? Type95 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogOrganizationUpdated? Type95 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogProjectUpdatedChangesRequested? Type96 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogOrganizationUpdatedChangesRequested? Type96 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogProjectArchived? Type97 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogProjectCreated? Type97 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogProjectDeleted? Type98 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogProjectCreatedData? Type98 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogRateLimitUpdated? Type99 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogProjectUpdated? Type99 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogRateLimitUpdatedChangesRequested? Type100 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogProjectUpdatedChangesRequested? Type100 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogRateLimitDeleted? Type101 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogProjectArchived? Type101 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogRoleCreated? Type102 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogProjectDeleted? Type102 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogRoleUpdated? Type103 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogRateLimitUpdated? Type103 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogRoleUpdatedChangesRequested? Type104 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogRateLimitUpdatedChangesRequested? Type104 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogRoleDeleted? Type105 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogRateLimitDeleted? Type105 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogRoleAssignmentCreated? Type106 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogRoleCreated? Type106 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogRoleAssignmentDeleted? Type107 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogRoleUpdated? Type107 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogServiceAccountCreated? Type108 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogRoleUpdatedChangesRequested? Type108 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogServiceAccountCreatedData? Type109 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogRoleDeleted? Type109 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogServiceAccountUpdated? Type110 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogRoleAssignmentCreated? Type110 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogServiceAccountUpdatedChangesRequested? Type111 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogRoleAssignmentDeleted? Type111 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogServiceAccountDeleted? Type112 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogServiceAccountCreated? Type112 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogUserAdded? Type113 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogServiceAccountCreatedData? Type113 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogUserAddedData? Type114 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogServiceAccountUpdated? Type114 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogUserUpdated? Type115 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogServiceAccountUpdatedChangesRequested? Type115 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogUserUpdatedChangesRequested? Type116 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogServiceAccountDeleted? Type116 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogUserDeleted? Type117 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogUserAdded? Type117 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCertificateCreated? Type118 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogUserAddedData? Type118 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCertificateUpdated? Type119 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogUserUpdated? Type119 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCertificateDeleted? Type120 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogUserUpdatedChangesRequested? Type120 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCertificatesActivated? Type121 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogUserDeleted? Type121 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type122 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCertificateCreated? Type122 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCertificatesActivatedCertificate? Type123 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCertificateUpdated? Type123 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCertificatesDeactivated? Type124 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCertificateDeleted? Type124 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type125 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCertificatesActivated? Type125 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogCertificatesDeactivatedCertificate? Type126 { get; set; }
+ public global::System.Collections.Generic.IList? Type126 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogActorType? Type127 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCertificatesActivatedCertificate? Type127 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogActorSession? Type128 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCertificatesDeactivated? Type128 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogActorApiKey? Type129 { get; set; }
+ public global::System.Collections.Generic.IList? Type129 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogActorApiKeyType? Type130 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogCertificatesDeactivatedCertificate? Type130 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogActorUser? Type131 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogActorType? Type131 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AuditLogActorServiceAccount? Type132 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogActorSession? Type132 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParam? Type133 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogActorApiKey? Type133 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParamType? Type134 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogActorApiKeyType? Type134 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.Batch? Type135 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogActorUser? Type135 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchObject? Type136 { get; set; }
+ public global::tryAGI.OpenAI.AuditLogActorServiceAccount? Type136 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchErrors? Type137 { get; set; }
+ public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParam? Type137 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type138 { get; set; }
+ public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParamType? Type138 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchErrorsDataItem? Type139 { get; set; }
+ public global::tryAGI.OpenAI.Batch? Type139 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchStatus? Type140 { get; set; }
+ public global::tryAGI.OpenAI.BatchObject? Type140 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchRequestCounts? Type141 { get; set; }
+ public global::tryAGI.OpenAI.BatchErrors? Type141 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchUsage? Type142 { get; set; }
+ public global::System.Collections.Generic.IList? Type142 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchUsageInputTokensDetails? Type143 { get; set; }
+ public global::tryAGI.OpenAI.BatchErrorsDataItem? Type143 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchUsageOutputTokensDetails? Type144 { get; set; }
+ public global::tryAGI.OpenAI.BatchStatus? Type144 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchFileExpirationAfter? Type145 { get; set; }
+ public global::tryAGI.OpenAI.BatchRequestCounts? Type145 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.BatchFileExpirationAfterAnchor? Type146 { get; set; }
+ public global::tryAGI.OpenAI.BatchUsage? Type146 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.Certificate? Type147 { get; set; }
+ public global::tryAGI.OpenAI.BatchUsageInputTokensDetails? Type147 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.CertificateObject? Type148 { get; set; }
+ public global::tryAGI.OpenAI.BatchUsageOutputTokensDetails? Type148 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.CertificateCertificateDetails? Type149 { get; set; }
+ public global::tryAGI.OpenAI.BatchFileExpirationAfter? Type149 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ChatCompletionAllowedTools? Type150 { get; set; }
+ public global::tryAGI.OpenAI.BatchFileExpirationAfterAnchor? Type150 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ChatCompletionAllowedToolsMode? Type151 { get; set; }
+ public global::tryAGI.OpenAI.Certificate? Type151 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList