From c007149982ce6f76e0f9c25a5597b3222500eb3f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 21 May 2026 19:42:24 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .claude/skills/tryagi-openai/SKILL.md | 20 +- .claude/skills/tryagi-openai/commands.md | 32 + ...ent.RetrieveOrganizationDataRetention.g.cs | 421 ++ ...onClient.RetrieveProjectDataRetention.g.cs | 430 ++ ...lient.UpdateOrganizationDataRetention.g.cs | 465 ++ ...tionClient.UpdateProjectDataRetention.g.cs | 477 ++ .../tryAGI.OpenAI.DataRetentionClient.g.cs | 136 + ...sClient.RetrieveGroupOrganizationRole.g.cs | 439 ++ ...AI.GroupUsersClient.RetrieveGroupUser.g.cs | 439 ++ ...AGI.OpenAI.GroupsClient.RetrieveGroup.g.cs | 430 ++ ...ent.RetrieveOrganizationDataRetention.g.cs | 26 + ...onClient.RetrieveProjectDataRetention.g.cs | 30 + ...lient.UpdateOrganizationDataRetention.g.cs | 45 + ...tionClient.UpdateProjectDataRetention.g.cs | 51 + .../tryAGI.OpenAI.IDataRetentionClient.g.cs | 48 + ...sClient.RetrieveGroupOrganizationRole.g.cs | 34 + ...I.IGroupUsersClient.RetrieveGroupUser.g.cs | 34 + ...GI.OpenAI.IGroupsClient.RetrieveGroup.g.cs | 30 + .../tryAGI.OpenAI.IOpenAiClient.g.cs | 10 + ...nmentsClient.RetrieveProjectGroupRole.g.cs | 38 + ...jectGroupsClient.RetrieveProjectGroup.g.cs | 42 + ...gnmentsClient.RetrieveProjectUserRole.g.cs | 38 + ...ctsClient.UpdateProjectServiceAccount.g.cs | 61 + ...IRolesClient.RetrieveOrganizationRole.g.cs | 30 + ...enAI.IRolesClient.RetrieveProjectRole.g.cs | 34 + ...tsClient.CreateOrganizationSpendAlert.g.cs | 57 + ...dAlertsClient.CreateProjectSpendAlert.g.cs | 63 + ...tsClient.DeleteOrganizationSpendAlert.g.cs | 30 + ...dAlertsClient.DeleteProjectSpendAlert.g.cs | 34 + ...rtsClient.ListOrganizationSpendAlerts.g.cs | 46 + ...ndAlertsClient.ListProjectSpendAlerts.g.cs | 50 + ...tsClient.UpdateOrganizationSpendAlert.g.cs | 63 + ...dAlertsClient.UpdateProjectSpendAlert.g.cs | 69 + .../tryAGI.OpenAI.ISpendAlertsClient.g.cs | 48 + ...tsClient.RetrieveUserOrganizationRole.g.cs | 34 + ...nverters.CreateSpendAlertBodyCurrency.g.cs | 53 + ....CreateSpendAlertBodyCurrencyNullable.g.cs | 60 + ...nverters.CreateSpendAlertBodyInterval.g.cs | 53 + ....CreateSpendAlertBodyIntervalNullable.g.cs | 60 + ...sonConverters.GroupMemberUserUserType.g.cs | 53 + ...rters.GroupMemberUserUserTypeNullable.g.cs | 60 + ...JsonConverters.GroupResponseGroupType.g.cs | 53 + ...erters.GroupResponseGroupTypeNullable.g.cs | 60 + ...ters.ListOrganizationSpendAlertsOrder.g.cs | 53 + ...tOrganizationSpendAlertsOrderNullable.g.cs | 60 + ...onverters.ListProjectSpendAlertsOrder.g.cs | 53 + ...s.ListProjectSpendAlertsOrderNullable.g.cs | 60 + ...rters.OrganizationDataRetentionObject.g.cs | 53 + ...ganizationDataRetentionObjectNullable.g.cs | 60 + ...verters.OrganizationDataRetentionType.g.cs | 53 + ...OrganizationDataRetentionTypeNullable.g.cs | 60 + ...erters.OrganizationSpendAlertCurrency.g.cs | 53 + ...rganizationSpendAlertCurrencyNullable.g.cs | 60 + ...zationSpendAlertDeletedResourceObject.g.cs | 53 + ...endAlertDeletedResourceObjectNullable.g.cs | 60 + ...erters.OrganizationSpendAlertInterval.g.cs | 53 + ...rganizationSpendAlertIntervalNullable.g.cs | 60 + ...anizationSpendAlertListResourceObject.g.cs | 53 + ...nSpendAlertListResourceObjectNullable.g.cs | 60 + ...nverters.OrganizationSpendAlertObject.g.cs | 53 + ....OrganizationSpendAlertObjectNullable.g.cs | 60 + ...Converters.ProjectDataRetentionObject.g.cs | 53 + ...rs.ProjectDataRetentionObjectNullable.g.cs | 60 + ...onConverters.ProjectDataRetentionType.g.cs | 53 + ...ters.ProjectDataRetentionTypeNullable.g.cs | 60 + ....JsonConverters.ProjectGroupGroupType.g.cs | 53 + ...verters.ProjectGroupGroupTypeNullable.g.cs | 60 + ...nConverters.ProjectSpendAlertCurrency.g.cs | 53 + ...ers.ProjectSpendAlertCurrencyNullable.g.cs | 60 + ...rojectSpendAlertDeletedResourceObject.g.cs | 53 + ...endAlertDeletedResourceObjectNullable.g.cs | 60 + ...nConverters.ProjectSpendAlertInterval.g.cs | 53 + ...ers.ProjectSpendAlertIntervalNullable.g.cs | 60 + ...s.ProjectSpendAlertListResourceObject.g.cs | 53 + ...tSpendAlertListResourceObjectNullable.g.cs | 60 + ...sonConverters.ProjectSpendAlertObject.g.cs | 53 + ...rters.ProjectSpendAlertObjectNullable.g.cs | 60 + ...verters.RetrieveProjectGroupGroupType.g.cs | 53 + ...RetrieveProjectGroupGroupTypeNullable.g.cs | 60 + ...ers.SpendAlertNotificationChannelType.g.cs | 53 + ...dAlertNotificationChannelTypeNullable.g.cs | 60 + ...izationDataRetentionBodyRetentionType.g.cs | 53 + ...ataRetentionBodyRetentionTypeNullable.g.cs | 60 + ...ProjectDataRetentionBodyRetentionType.g.cs | 53 + ...ataRetentionBodyRetentionTypeNullable.g.cs | 60 + ...s.UpdateProjectServiceAccountBodyRole.g.cs | 53 + ...ProjectServiceAccountBodyRoleNullable.g.cs | 60 + .../tryAGI.OpenAI.JsonSerializerContext.g.cs | 1145 ++- ...AGI.OpenAI.JsonSerializerContextTypes.g.cs | 6400 +++++++++-------- ...AGI.OpenAI.Models.AssignedRoleDetails.g.cs | 17 +- ...gnedRoleDetailsAssignmentSources.Json.g.cs | 92 + ....AssignedRoleDetailsAssignmentSources.g.cs | 19 + ...ilsAssignmentSourcesVariant1Item.Json.g.cs | 92 + ...eDetailsAssignmentSourcesVariant1Item.g.cs | 55 + ...enAI.Models.CreateSpendAlertBody.Json.g.cs | 92 + ...GI.OpenAI.Models.CreateSpendAlertBody.g.cs | 83 + ...I.Models.CreateSpendAlertBodyCurrency.g.cs | 45 + ...I.Models.CreateSpendAlertBodyInterval.g.cs | 45 + ...GI.OpenAI.Models.GroupMemberUser.Json.g.cs | 92 + .../tryAGI.OpenAI.Models.GroupMemberUser.g.cs | 105 + ...enAI.Models.GroupMemberUserEmail.Json.g.cs | 92 + ...GI.OpenAI.Models.GroupMemberUserEmail.g.cs | 19 + ....GroupMemberUserIsServiceAccount.Json.g.cs | 92 + ...odels.GroupMemberUserIsServiceAccount.g.cs | 19 + ...AI.Models.GroupMemberUserPicture.Json.g.cs | 92 + ....OpenAI.Models.GroupMemberUserPicture.g.cs | 19 + ...OpenAI.Models.GroupMemberUserUserType.g.cs | 51 + .../tryAGI.OpenAI.Models.GroupResponse.g.cs | 7 +- ....OpenAI.Models.GroupResponseGroupType.g.cs | 51 + ...dels.ListOrganizationSpendAlertsOrder.g.cs | 51 + ...AI.Models.ListProjectSpendAlertsOrder.g.cs | 51 + ...Models.OrganizationDataRetention.Json.g.cs | 92 + ...enAI.Models.OrganizationDataRetention.g.cs | 60 + ...odels.OrganizationDataRetentionObject.g.cs | 45 + ....Models.OrganizationDataRetentionType.g.cs | 63 + ...AI.Models.OrganizationSpendAlert.Json.g.cs | 92 + ....OpenAI.Models.OrganizationSpendAlert.g.cs | 107 + ...Models.OrganizationSpendAlertCurrency.g.cs | 45 + ...izationSpendAlertDeletedResource.Json.g.cs | 92 + ...OrganizationSpendAlertDeletedResource.g.cs | 71 + ...zationSpendAlertDeletedResourceObject.g.cs | 45 + ...Models.OrganizationSpendAlertInterval.g.cs | 45 + ...ganizationSpendAlertListResource.Json.g.cs | 92 + ...ls.OrganizationSpendAlertListResource.g.cs | 93 + ...ionSpendAlertListResourceFirstId.Json.g.cs | 92 + ...nizationSpendAlertListResourceFirstId.g.cs | 19 + ...tionSpendAlertListResourceLastId.Json.g.cs | 92 + ...anizationSpendAlertListResourceLastId.g.cs | 19 + ...anizationSpendAlertListResourceObject.g.cs | 45 + ...I.Models.OrganizationSpendAlertObject.g.cs | 45 + ...enAI.Models.ProjectDataRetention.Json.g.cs | 92 + ...GI.OpenAI.Models.ProjectDataRetention.g.cs | 60 + ...nAI.Models.ProjectDataRetentionObject.g.cs | 45 + ...penAI.Models.ProjectDataRetentionType.g.cs | 75 + .../tryAGI.OpenAI.Models.ProjectGroup.g.cs | 7 +- ...I.OpenAI.Models.ProjectGroupGroupType.g.cs | 51 + ....OpenAI.Models.ProjectSpendAlert.Json.g.cs | 92 + ...ryAGI.OpenAI.Models.ProjectSpendAlert.g.cs | 107 + ...enAI.Models.ProjectSpendAlertCurrency.g.cs | 45 + ...ProjectSpendAlertDeletedResource.Json.g.cs | 92 + ...dels.ProjectSpendAlertDeletedResource.g.cs | 71 + ...rojectSpendAlertDeletedResourceObject.g.cs | 45 + ...enAI.Models.ProjectSpendAlertInterval.g.cs | 45 + ...ls.ProjectSpendAlertListResource.Json.g.cs | 92 + ....Models.ProjectSpendAlertListResource.g.cs | 93 + ...ectSpendAlertListResourceFirstId.Json.g.cs | 92 + ....ProjectSpendAlertListResourceFirstId.g.cs | 19 + ...jectSpendAlertListResourceLastId.Json.g.cs | 92 + ...s.ProjectSpendAlertListResourceLastId.g.cs | 19 + ...s.ProjectSpendAlertListResourceObject.g.cs | 45 + ...OpenAI.Models.ProjectSpendAlertObject.g.cs | 45 + ....Models.RetrieveProjectGroupGroupType.g.cs | 51 + ...ls.SpendAlertNotificationChannel.Json.g.cs | 92 + ....Models.SpendAlertNotificationChannel.g.cs | 70 + ...NotificationChannelSubjectPrefix.Json.g.cs | 92 + ...AlertNotificationChannelSubjectPrefix.g.cs | 19 + ...els.SpendAlertNotificationChannelType.g.cs | 45 + ...ateOrganizationDataRetentionBody.Json.g.cs | 92 + ...s.UpdateOrganizationDataRetentionBody.g.cs | 48 + ...izationDataRetentionBodyRetentionType.g.cs | 63 + ...s.UpdateProjectDataRetentionBody.Json.g.cs | 92 + ...Models.UpdateProjectDataRetentionBody.g.cs | 48 + ...ProjectDataRetentionBodyRetentionType.g.cs | 75 + ....UpdateProjectServiceAccountBody.Json.g.cs | 92 + ...odels.UpdateProjectServiceAccountBody.g.cs | 58 + ...s.UpdateProjectServiceAccountBodyRole.g.cs | 51 + ...OpenAI.Models.WebSearchActionOpenPage.g.cs | 4 +- ...AI.Models.WebSearchActionOpenPageType.g.cs | 2 +- .../Generated/tryAGI.OpenAI.OpenAiClient.g.cs | 18 + ...nmentsClient.RetrieveProjectGroupRole.g.cs | 448 ++ ...jectGroupsClient.RetrieveProjectGroup.g.cs | 455 ++ ...gnmentsClient.RetrieveProjectUserRole.g.cs | 448 ++ ...ctsClient.UpdateProjectServiceAccount.g.cs | 494 ++ ....RolesClient.RetrieveOrganizationRole.g.cs | 430 ++ ...penAI.RolesClient.RetrieveProjectRole.g.cs | 439 ++ ...tsClient.CreateOrganizationSpendAlert.g.cs | 480 ++ ...dAlertsClient.CreateProjectSpendAlert.g.cs | 492 ++ ...tsClient.DeleteOrganizationSpendAlert.g.cs | 430 ++ ...dAlertsClient.DeleteProjectSpendAlert.g.cs | 439 ++ ...rtsClient.ListOrganizationSpendAlerts.g.cs | 467 ++ ...ndAlertsClient.ListProjectSpendAlerts.g.cs | 476 ++ ...tsClient.UpdateOrganizationSpendAlert.g.cs | 492 ++ ...dAlertsClient.UpdateProjectSpendAlert.g.cs | 504 ++ .../tryAGI.OpenAI.SpendAlertsClient.g.cs | 136 + ...tsClient.RetrieveUserOrganizationRole.g.cs | 439 ++ src/libs/tryAGI.OpenAI/openapi.yaml | 3245 ++++++++- 186 files changed, 26713 insertions(+), 3289 deletions(-) create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.RetrieveOrganizationDataRetention.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.RetrieveProjectDataRetention.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.UpdateOrganizationDataRetention.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.UpdateProjectDataRetention.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.GroupOrganizationRoleAssignmentsClient.RetrieveGroupOrganizationRole.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.GroupUsersClient.RetrieveGroupUser.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.GroupsClient.RetrieveGroup.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.RetrieveOrganizationDataRetention.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.RetrieveProjectDataRetention.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.UpdateOrganizationDataRetention.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.UpdateProjectDataRetention.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IGroupOrganizationRoleAssignmentsClient.RetrieveGroupOrganizationRole.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IGroupUsersClient.RetrieveGroupUser.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IGroupsClient.RetrieveGroup.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectGroupRoleAssignmentsClient.RetrieveProjectGroupRole.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectGroupsClient.RetrieveProjectGroup.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectUserRoleAssignmentsClient.RetrieveProjectUserRole.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.UpdateProjectServiceAccount.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IRolesClient.RetrieveOrganizationRole.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IRolesClient.RetrieveProjectRole.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.CreateOrganizationSpendAlert.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.CreateProjectSpendAlert.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.DeleteOrganizationSpendAlert.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.DeleteProjectSpendAlert.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.ListOrganizationSpendAlerts.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.ListProjectSpendAlerts.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.UpdateOrganizationSpendAlert.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.UpdateProjectSpendAlert.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUserOrganizationRoleAssignmentsClient.RetrieveUserOrganizationRole.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrency.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyInterval.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupMemberUserUserType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupResponseGroupType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrder.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrder.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrency.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertInterval.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectGroupGroupType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrency.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertInterval.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRole.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleNullable.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSources.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSources.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSourcesVariant1Item.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSourcesVariant1Item.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBody.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBody.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBodyCurrency.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBodyInterval.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUser.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUser.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserEmail.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserEmail.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserIsServiceAccount.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserIsServiceAccount.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserPicture.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserPicture.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserUserType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupResponseGroupType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListOrganizationSpendAlertsOrder.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListProjectSpendAlertsOrder.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetention.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetention.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetentionObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetentionType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlert.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlert.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertCurrency.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertDeletedResource.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertDeletedResource.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertDeletedResourceObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertInterval.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResource.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResource.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceFirstId.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceFirstId.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceLastId.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceLastId.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetention.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetention.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetentionObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetentionType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupGroupType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlert.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlert.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertCurrency.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertDeletedResource.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertDeletedResource.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertDeletedResourceObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertInterval.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResource.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResource.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceFirstId.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceFirstId.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceLastId.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceLastId.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertObject.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RetrieveProjectGroupGroupType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannel.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannel.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannelSubjectPrefix.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannelSubjectPrefix.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannelType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateOrganizationDataRetentionBody.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateOrganizationDataRetentionBody.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateOrganizationDataRetentionBodyRetentionType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectDataRetentionBody.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectDataRetentionBody.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectDataRetentionBodyRetentionType.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectServiceAccountBody.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectServiceAccountBody.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectServiceAccountBodyRole.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectGroupRoleAssignmentsClient.RetrieveProjectGroupRole.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectGroupsClient.RetrieveProjectGroup.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectUserRoleAssignmentsClient.RetrieveProjectUserRole.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.UpdateProjectServiceAccount.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.RolesClient.RetrieveOrganizationRole.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.RolesClient.RetrieveProjectRole.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.CreateOrganizationSpendAlert.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.CreateProjectSpendAlert.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.DeleteOrganizationSpendAlert.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.DeleteProjectSpendAlert.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.ListOrganizationSpendAlerts.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.ListProjectSpendAlerts.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.UpdateOrganizationSpendAlert.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.UpdateProjectSpendAlert.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UserOrganizationRoleAssignmentsClient.RetrieveUserOrganizationRole.g.cs diff --git a/.claude/skills/tryagi-openai/SKILL.md b/.claude/skills/tryagi-openai/SKILL.md index 9023f9a40..11825ffc2 100644 --- a/.claude/skills/tryagi-openai/SKILL.md +++ b/.claude/skills/tryagi-openai/SKILL.md @@ -33,30 +33,32 @@ dnx tryAGI.OpenAI.CLI --help | `chat` | 6 | Given a list of messages comprising a conversation, the model will return a response. | | `completion` | 1 | Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position. | | `conversation` | 8 | Manage conversations and conversation items. | +| `data-retention` | 4 | | | `embedding` | 1 | Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. | | `eval` | 12 | Manage and run evals in the OpenAI platform. | | `file` | 5 | Files are used to upload documents that can be used with features like Assistants and Fine-tuning. | | `fine-tuning` | 13 | Manage fine-tuning jobs to tailor a model to your specific training data. | -| `group` | 4 | | -| `group-organization-role-assignment` | 3 | | -| `group-user` | 3 | | +| `group` | 5 | | +| `group-organization-role-assignment` | 4 | | +| `group-user` | 4 | | | `hosted-tool` | 2 | | | `image` | 3 | Given a prompt and/or an input image, the model will generate a new image. | | `invite` | 4 | | | `model` | 3 | List and describe the various models available in the API. | | `moderation` | 1 | Given text and/or image inputs, classifies if those inputs are potentially harmful. | -| `project` | 22 | | -| `project-group` | 3 | | -| `project-group-role-assignment` | 3 | | -| `project-user-role-assignment` | 3 | | +| `project` | 23 | | +| `project-group` | 4 | | +| `project-group-role-assignment` | 4 | | +| `project-user-role-assignment` | 4 | | | `realtime` | 9 | | | `response` | 5 | | -| `role` | 8 | | +| `role` | 10 | | | `skill` | 11 | | +| `spend-alert` | 8 | | | `upload` | 4 | Use Uploads to upload large files in multiple parts. | | `usage` | 11 | | | `user` | 4 | | -| `user-organization-role-assignment` | 3 | | +| `user-organization-role-assignment` | 4 | | | `vector-store` | 16 | | | `video` | 10 | | | `default` | 21 | | diff --git a/.claude/skills/tryagi-openai/commands.md b/.claude/skills/tryagi-openai/commands.md index f325e0f24..aa40b5ba8 100644 --- a/.claude/skills/tryagi-openai/commands.md +++ b/.claude/skills/tryagi-openai/commands.md @@ -113,6 +113,15 @@ Manage conversations and conversation items. | `retrieve-an-item` | `GET /conversations/{conversation_id}/items/{item_id}` | Get a single item from a conversation with the given IDs. | | `update-aconversation` | `POST /conversations/{conversation_id}` | Update a conversation | +## `data-retention` + +| Command | Route | Description | +|---------|-------|-------------| +| `retrieve-organization-data-retention` | `GET /organization/data_retention` | Retrieves organization data retention controls. | +| `retrieve-project-data-retention` | `GET /organization/projects/{project_id}/data_retention` | Retrieves project data retention controls. | +| `update-organization-data-retention` | `POST /organization/data_retention` | Updates organization data retention controls. | +| `update-project-data-retention` | `POST /organization/projects/{project_id}/data_retention` | Updates project data retention controls. | + ## `embedding` Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. @@ -179,6 +188,7 @@ Manage fine-tuning jobs to tailor a model to your specific training data. | `create-group` | `POST /organization/groups` | Creates a new group in the organization. | | `delete-group` | `DELETE /organization/groups/{group_id}` | Deletes a group from the organization. | | `list-groups` | `GET /organization/groups` | Lists all groups in the organization. | +| `retrieve-group` | `GET /organization/groups/{group_id}` | Retrieves a group. | | `update-group` | `POST /organization/groups/{group_id}` | Updates a group's information. | ## `group-organization-role-assignment` @@ -187,6 +197,7 @@ Manage fine-tuning jobs to tailor a model to your specific training data. |---------|-------|-------------| | `assign-organization-role-to-group` | `POST /organization/groups/{group_id}/roles` | Assigns an organization role to a group within the organization. | | `list-group-organization-role-assignments` | `GET /organization/groups/{group_id}/roles` | Lists the organization roles assigned to a group within the organization. | +| `retrieve-group-organization-role` | `GET /organization/groups/{group_id}/roles/{role_id}` | Retrieves an organization role assigned to a group. | | `unassign-organization-role-from-group` | `DELETE /organization/groups/{group_id}/roles/{role_id}` | Unassigns an organization role from a group within the organization. | ## `group-user` @@ -196,6 +207,7 @@ Manage fine-tuning jobs to tailor a model to your specific training data. | `add-group-user` | `POST /organization/groups/{group_id}/users` | Adds a user to a group. | | `list-group-users` | `GET /organization/groups/{group_id}/users` | Lists the users assigned to a group. | | `remove-group-user` | `DELETE /organization/groups/{group_id}/users/{user_id}` | Removes a user from a group. | +| `retrieve-group-user` | `GET /organization/groups/{group_id}/users/{user_id}` | Retrieves a user in a group. | ## `hosted-tool` @@ -267,6 +279,7 @@ Given text and/or image inputs, classifies if those inputs are potentially harmf | `retrieve-project-model-permissions` | `GET /organization/projects/{project_id}/model_permissions` | Returns model permissions for a project. | | `retrieve-project-service-account` | `GET /organization/projects/{project_id}/service_accounts/{service_account_id}` | Retrieves a service account in the project. | | `retrieve-project-user` | `GET /organization/projects/{project_id}/users/{user_id}` | Retrieves a user in the project. | +| `update-project-service-account` | `POST /organization/projects/{project_id}/service_accounts/{service_account_id}` | Updates a service account in the project. | ## `project-group` @@ -275,6 +288,7 @@ Given text and/or image inputs, classifies if those inputs are potentially harmf | `add-project-group` | `POST /organization/projects/{project_id}/groups` | Grants a group access to a project. | | `list-project-groups` | `GET /organization/projects/{project_id}/groups` | Lists the groups that have access to a project. | | `remove-project-group` | `DELETE /organization/projects/{project_id}/groups/{group_id}` | Revokes a group's access to a project. | +| `retrieve-project-group` | `GET /organization/projects/{project_id}/groups/{group_id}` | Retrieves a project's group. | ## `project-group-role-assignment` @@ -282,6 +296,7 @@ Given text and/or image inputs, classifies if those inputs are potentially harmf |---------|-------|-------------| | `assign-project-role-to-group` | `POST /projects/{project_id}/groups/{group_id}/roles` | Assigns a project role to a group within a project. | | `list-project-group-role-assignments` | `GET /projects/{project_id}/groups/{group_id}/roles` | Lists the project roles assigned to a group within a project. | +| `retrieve-project-group-role` | `GET /projects/{project_id}/groups/{group_id}/roles/{role_id}` | Retrieves a project role assigned to a group. | | `unassign-project-role-from-group` | `DELETE /projects/{project_id}/groups/{group_id}/roles/{role_id}` | Unassigns a project role from a group within a project. | ## `project-user-role-assignment` @@ -290,6 +305,7 @@ Given text and/or image inputs, classifies if those inputs are potentially harmf |---------|-------|-------------| | `assign-project-role-to-user` | `POST /projects/{project_id}/users/{user_id}/roles` | Assigns a project role to a user within a project. | | `list-project-user-role-assignments` | `GET /projects/{project_id}/users/{user_id}/roles` | Lists the project roles assigned to a user within a project. | +| `retrieve-project-user-role` | `GET /projects/{project_id}/users/{user_id}/roles/{role_id}` | Retrieves a project role assigned to a user. | | `unassign-project-role-from-user` | `DELETE /projects/{project_id}/users/{user_id}/roles/{role_id}` | Unassigns a project role from a user within a project. | ## `realtime` @@ -326,6 +342,8 @@ Given text and/or image inputs, classifies if those inputs are potentially harmf | `delete-project-role` | `DELETE /projects/{project_id}/roles/{role_id}` | Deletes a custom role from a project. | | `list-organization-roles` | `GET /organization/roles` | Lists the roles configured for the organization. | | `list-project-roles` | `GET /projects/{project_id}/roles` | Lists the roles configured for a project. | +| `retrieve-organization-role` | `GET /organization/roles/{role_id}` | Retrieves an organization role. | +| `retrieve-project-role` | `GET /projects/{project_id}/roles/{role_id}` | Retrieves a project role. | | `update-organization-role` | `POST /organization/roles/{role_id}` | Updates an existing organization role. | | `update-project-role` | `POST /projects/{project_id}/roles/{role_id}` | Updates an existing project role. | @@ -345,6 +363,19 @@ Given text and/or image inputs, classifies if those inputs are potentially harmf | `list-skills` | `GET /skills` | List all skills for the current project. | | `update-skill-default-version` | `POST /skills/{skill_id}` | Update the default version pointer for a skill. | +## `spend-alert` + +| Command | Route | Description | +|---------|-------|-------------| +| `create-organization-spend-alert` | `POST /organization/spend_alerts` | Creates an organization spend alert. | +| `create-project-spend-alert` | `POST /organization/projects/{project_id}/spend_alerts` | Creates a project spend alert. | +| `delete-organization-spend-alert` | `DELETE /organization/spend_alerts/{alert_id}` | Deletes an organization spend alert. | +| `delete-project-spend-alert` | `DELETE /organization/projects/{project_id}/spend_alerts/{alert_id}` | Deletes a project spend alert. | +| `list-organization-spend-alerts` | `GET /organization/spend_alerts` | Lists organization spend alerts. | +| `list-project-spend-alerts` | `GET /organization/projects/{project_id}/spend_alerts` | Lists project spend alerts. | +| `update-organization-spend-alert` | `POST /organization/spend_alerts/{alert_id}` | Updates an organization spend alert. | +| `update-project-spend-alert` | `POST /organization/projects/{project_id}/spend_alerts/{alert_id}` | Updates a project spend alert. | + ## `upload` Use Uploads to upload large files in multiple parts. @@ -387,6 +418,7 @@ Use Uploads to upload large files in multiple parts. |---------|-------|-------------| | `assign-organization-role-to-user` | `POST /organization/users/{user_id}/roles` | Assigns an organization role to a user within the organization. | | `list-user-organization-role-assignments` | `GET /organization/users/{user_id}/roles` | Lists the organization roles assigned to a user within the organization. | +| `retrieve-user-organization-role` | `GET /organization/users/{user_id}/roles/{role_id}` | Retrieves an organization role assigned to a user. | | `unassign-organization-role-from-user` | `DELETE /organization/users/{user_id}/roles/{role_id}` | Unassigns an organization role from a user within the organization. | ## `vector-store` diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.RetrieveOrganizationDataRetention.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.RetrieveOrganizationDataRetention.g.cs new file mode 100644 index 000000000..3036ebe0a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.RetrieveOrganizationDataRetention.g.cs @@ -0,0 +1,421 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class DataRetentionClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_RetrieveOrganizationDataRetentionSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_RetrieveOrganizationDataRetentionSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_RetrieveOrganizationDataRetentionSecurityRequirement0, + }; + partial void PrepareRetrieveOrganizationDataRetentionArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareRetrieveOrganizationDataRetentionRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessRetrieveOrganizationDataRetentionResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessRetrieveOrganizationDataRetentionResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Retrieves organization data retention controls. + /// + /// 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 RetrieveOrganizationDataRetentionAsync( + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await RetrieveOrganizationDataRetentionAsResponseAsync( + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Retrieves organization data retention controls. + /// + /// 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> RetrieveOrganizationDataRetentionAsResponseAsync( + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareRetrieveOrganizationDataRetentionArguments( + httpClient: HttpClient); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_RetrieveOrganizationDataRetentionSecurityRequirements, + operationName: "RetrieveOrganizationDataRetentionAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: "/organization/data_retention", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareRetrieveOrganizationDataRetentionRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveOrganizationDataRetention", + methodName: "RetrieveOrganizationDataRetentionAsync", + pathTemplate: "\"/organization/data_retention\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveOrganizationDataRetention", + methodName: "RetrieveOrganizationDataRetentionAsync", + pathTemplate: "\"/organization/data_retention\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveOrganizationDataRetention", + methodName: "RetrieveOrganizationDataRetentionAsync", + pathTemplate: "\"/organization/data_retention\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessRetrieveOrganizationDataRetentionResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveOrganizationDataRetention", + methodName: "RetrieveOrganizationDataRetentionAsync", + pathTemplate: "\"/organization/data_retention\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveOrganizationDataRetention", + methodName: "RetrieveOrganizationDataRetentionAsync", + pathTemplate: "\"/organization/data_retention\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessRetrieveOrganizationDataRetentionResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.OrganizationDataRetention.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.OrganizationDataRetention.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.RetrieveProjectDataRetention.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.RetrieveProjectDataRetention.g.cs new file mode 100644 index 000000000..6ae1e3e79 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.RetrieveProjectDataRetention.g.cs @@ -0,0 +1,430 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class DataRetentionClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_RetrieveProjectDataRetentionSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_RetrieveProjectDataRetentionSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_RetrieveProjectDataRetentionSecurityRequirement0, + }; + partial void PrepareRetrieveProjectDataRetentionArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId); + partial void PrepareRetrieveProjectDataRetentionRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId); + partial void ProcessRetrieveProjectDataRetentionResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessRetrieveProjectDataRetentionResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Retrieves project data retention controls. + /// + /// + /// 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 RetrieveProjectDataRetentionAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await RetrieveProjectDataRetentionAsResponseAsync( + projectId: projectId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Retrieves project data retention controls. + /// + /// + /// 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> RetrieveProjectDataRetentionAsResponseAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareRetrieveProjectDataRetentionArguments( + httpClient: HttpClient, + projectId: ref projectId); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_RetrieveProjectDataRetentionSecurityRequirements, + operationName: "RetrieveProjectDataRetentionAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/projects/{projectId}/data_retention", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareRetrieveProjectDataRetentionRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectDataRetention", + methodName: "RetrieveProjectDataRetentionAsync", + pathTemplate: "$\"/organization/projects/{projectId}/data_retention\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectDataRetention", + methodName: "RetrieveProjectDataRetentionAsync", + pathTemplate: "$\"/organization/projects/{projectId}/data_retention\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectDataRetention", + methodName: "RetrieveProjectDataRetentionAsync", + pathTemplate: "$\"/organization/projects/{projectId}/data_retention\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessRetrieveProjectDataRetentionResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectDataRetention", + methodName: "RetrieveProjectDataRetentionAsync", + pathTemplate: "$\"/organization/projects/{projectId}/data_retention\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectDataRetention", + methodName: "RetrieveProjectDataRetentionAsync", + pathTemplate: "$\"/organization/projects/{projectId}/data_retention\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessRetrieveProjectDataRetentionResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.ProjectDataRetention.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.ProjectDataRetention.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.UpdateOrganizationDataRetention.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.UpdateOrganizationDataRetention.g.cs new file mode 100644 index 000000000..4ac619137 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.UpdateOrganizationDataRetention.g.cs @@ -0,0 +1,465 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class DataRetentionClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_UpdateOrganizationDataRetentionSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_UpdateOrganizationDataRetentionSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_UpdateOrganizationDataRetentionSecurityRequirement0, + }; + partial void PrepareUpdateOrganizationDataRetentionArguments( + global::System.Net.Http.HttpClient httpClient, + global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody request); + partial void PrepareUpdateOrganizationDataRetentionRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody request); + partial void ProcessUpdateOrganizationDataRetentionResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateOrganizationDataRetentionResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Updates organization data retention controls. + /// + /// + /// 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 UpdateOrganizationDataRetentionAsync( + + global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await UpdateOrganizationDataRetentionAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Updates organization data retention controls. + /// + /// + /// 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> UpdateOrganizationDataRetentionAsResponseAsync( + + global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareUpdateOrganizationDataRetentionArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_UpdateOrganizationDataRetentionSecurityRequirements, + operationName: "UpdateOrganizationDataRetentionAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: "/organization/data_retention", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareUpdateOrganizationDataRetentionRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateOrganizationDataRetention", + methodName: "UpdateOrganizationDataRetentionAsync", + pathTemplate: "\"/organization/data_retention\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateOrganizationDataRetention", + methodName: "UpdateOrganizationDataRetentionAsync", + pathTemplate: "\"/organization/data_retention\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateOrganizationDataRetention", + methodName: "UpdateOrganizationDataRetentionAsync", + pathTemplate: "\"/organization/data_retention\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessUpdateOrganizationDataRetentionResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateOrganizationDataRetention", + methodName: "UpdateOrganizationDataRetentionAsync", + pathTemplate: "\"/organization/data_retention\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateOrganizationDataRetention", + methodName: "UpdateOrganizationDataRetentionAsync", + pathTemplate: "\"/organization/data_retention\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessUpdateOrganizationDataRetentionResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.OrganizationDataRetention.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.OrganizationDataRetention.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Updates organization data retention controls. + /// + /// + /// The desired organization data retention type. + /// + /// 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 UpdateOrganizationDataRetentionAsync( + global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionType retentionType, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody + { + RetentionType = retentionType, + }; + + return await UpdateOrganizationDataRetentionAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.UpdateProjectDataRetention.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.UpdateProjectDataRetention.g.cs new file mode 100644 index 000000000..17e4e9906 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.UpdateProjectDataRetention.g.cs @@ -0,0 +1,477 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class DataRetentionClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_UpdateProjectDataRetentionSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_UpdateProjectDataRetentionSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_UpdateProjectDataRetentionSecurityRequirement0, + }; + partial void PrepareUpdateProjectDataRetentionArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + global::tryAGI.OpenAI.UpdateProjectDataRetentionBody request); + partial void PrepareUpdateProjectDataRetentionRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + global::tryAGI.OpenAI.UpdateProjectDataRetentionBody request); + partial void ProcessUpdateProjectDataRetentionResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateProjectDataRetentionResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Updates project data retention controls. + /// + /// + /// + /// 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 UpdateProjectDataRetentionAsync( + string projectId, + + global::tryAGI.OpenAI.UpdateProjectDataRetentionBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await UpdateProjectDataRetentionAsResponseAsync( + projectId: projectId, + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Updates project data retention controls. + /// + /// + /// + /// 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> UpdateProjectDataRetentionAsResponseAsync( + string projectId, + + global::tryAGI.OpenAI.UpdateProjectDataRetentionBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareUpdateProjectDataRetentionArguments( + httpClient: HttpClient, + projectId: ref projectId, + request: request); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_UpdateProjectDataRetentionSecurityRequirements, + operationName: "UpdateProjectDataRetentionAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/projects/{projectId}/data_retention", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareUpdateProjectDataRetentionRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!, + request: request); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectDataRetention", + methodName: "UpdateProjectDataRetentionAsync", + pathTemplate: "$\"/organization/projects/{projectId}/data_retention\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectDataRetention", + methodName: "UpdateProjectDataRetentionAsync", + pathTemplate: "$\"/organization/projects/{projectId}/data_retention\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectDataRetention", + methodName: "UpdateProjectDataRetentionAsync", + pathTemplate: "$\"/organization/projects/{projectId}/data_retention\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessUpdateProjectDataRetentionResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectDataRetention", + methodName: "UpdateProjectDataRetentionAsync", + pathTemplate: "$\"/organization/projects/{projectId}/data_retention\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectDataRetention", + methodName: "UpdateProjectDataRetentionAsync", + pathTemplate: "$\"/organization/projects/{projectId}/data_retention\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessUpdateProjectDataRetentionResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.ProjectDataRetention.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.ProjectDataRetention.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Updates project data retention controls. + /// + /// + /// + /// The desired project data retention type. + /// + /// 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 UpdateProjectDataRetentionAsync( + string projectId, + global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionType retentionType, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::tryAGI.OpenAI.UpdateProjectDataRetentionBody + { + RetentionType = retentionType, + }; + + return await UpdateProjectDataRetentionAsync( + projectId: projectId, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.g.cs new file mode 100644 index 000000000..502ddbe3e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.DataRetentionClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class DataRetentionClient : global::tryAGI.OpenAI.IDataRetentionClient, global::System.IDisposable + { + /// + /// + /// + public const string DefaultBaseUrl = "https://api.openai.com/v1"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => HttpClient.BaseAddress; + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + + /// + public global::tryAGI.OpenAI.AutoSDKClientOptions Options { get; } + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::tryAGI.OpenAI.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the DataRetentionClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public DataRetentionClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this( + httpClient, + baseUri, + authorizations, + options: null, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the DataRetentionClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public DataRetentionClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::tryAGI.OpenAI.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the DataRetentionClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public DataRetentionClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::tryAGI.OpenAI.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::tryAGI.OpenAI.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.GroupOrganizationRoleAssignmentsClient.RetrieveGroupOrganizationRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.GroupOrganizationRoleAssignmentsClient.RetrieveGroupOrganizationRole.g.cs new file mode 100644 index 000000000..60e1a9fba --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.GroupOrganizationRoleAssignmentsClient.RetrieveGroupOrganizationRole.g.cs @@ -0,0 +1,439 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class GroupOrganizationRoleAssignmentsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_RetrieveGroupOrganizationRoleSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_RetrieveGroupOrganizationRoleSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_RetrieveGroupOrganizationRoleSecurityRequirement0, + }; + partial void PrepareRetrieveGroupOrganizationRoleArguments( + global::System.Net.Http.HttpClient httpClient, + ref string groupId, + ref string roleId); + partial void PrepareRetrieveGroupOrganizationRoleRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string groupId, + string roleId); + partial void ProcessRetrieveGroupOrganizationRoleResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessRetrieveGroupOrganizationRoleResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Retrieves an organization role assigned to a group. + /// + /// + /// + /// 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 RetrieveGroupOrganizationRoleAsync( + string groupId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await RetrieveGroupOrganizationRoleAsResponseAsync( + groupId: groupId, + roleId: roleId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Retrieves an organization role assigned to a group. + /// + /// + /// + /// 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> RetrieveGroupOrganizationRoleAsResponseAsync( + string groupId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareRetrieveGroupOrganizationRoleArguments( + httpClient: HttpClient, + groupId: ref groupId, + roleId: ref roleId); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_RetrieveGroupOrganizationRoleSecurityRequirements, + operationName: "RetrieveGroupOrganizationRoleAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/groups/{groupId}/roles/{roleId}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareRetrieveGroupOrganizationRoleRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + groupId: groupId!, + roleId: roleId!); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroupOrganizationRole", + methodName: "RetrieveGroupOrganizationRoleAsync", + pathTemplate: "$\"/organization/groups/{groupId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroupOrganizationRole", + methodName: "RetrieveGroupOrganizationRoleAsync", + pathTemplate: "$\"/organization/groups/{groupId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroupOrganizationRole", + methodName: "RetrieveGroupOrganizationRoleAsync", + pathTemplate: "$\"/organization/groups/{groupId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessRetrieveGroupOrganizationRoleResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroupOrganizationRole", + methodName: "RetrieveGroupOrganizationRoleAsync", + pathTemplate: "$\"/organization/groups/{groupId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroupOrganizationRole", + methodName: "RetrieveGroupOrganizationRoleAsync", + pathTemplate: "$\"/organization/groups/{groupId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessRetrieveGroupOrganizationRoleResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.AssignedRoleDetails.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.AssignedRoleDetails.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.GroupUsersClient.RetrieveGroupUser.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.GroupUsersClient.RetrieveGroupUser.g.cs new file mode 100644 index 000000000..b7a471c12 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.GroupUsersClient.RetrieveGroupUser.g.cs @@ -0,0 +1,439 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class GroupUsersClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_RetrieveGroupUserSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_RetrieveGroupUserSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_RetrieveGroupUserSecurityRequirement0, + }; + partial void PrepareRetrieveGroupUserArguments( + global::System.Net.Http.HttpClient httpClient, + ref string groupId, + ref string userId); + partial void PrepareRetrieveGroupUserRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string groupId, + string userId); + partial void ProcessRetrieveGroupUserResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessRetrieveGroupUserResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Retrieves a user in a group. + /// + /// + /// + /// 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 RetrieveGroupUserAsync( + string groupId, + string userId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await RetrieveGroupUserAsResponseAsync( + groupId: groupId, + userId: userId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Retrieves a user in a group. + /// + /// + /// + /// 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> RetrieveGroupUserAsResponseAsync( + string groupId, + string userId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareRetrieveGroupUserArguments( + httpClient: HttpClient, + groupId: ref groupId, + userId: ref userId); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_RetrieveGroupUserSecurityRequirements, + operationName: "RetrieveGroupUserAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/groups/{groupId}/users/{userId}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareRetrieveGroupUserRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + groupId: groupId!, + userId: userId!); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroupUser", + methodName: "RetrieveGroupUserAsync", + pathTemplate: "$\"/organization/groups/{groupId}/users/{userId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroupUser", + methodName: "RetrieveGroupUserAsync", + pathTemplate: "$\"/organization/groups/{groupId}/users/{userId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroupUser", + methodName: "RetrieveGroupUserAsync", + pathTemplate: "$\"/organization/groups/{groupId}/users/{userId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessRetrieveGroupUserResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroupUser", + methodName: "RetrieveGroupUserAsync", + pathTemplate: "$\"/organization/groups/{groupId}/users/{userId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroupUser", + methodName: "RetrieveGroupUserAsync", + pathTemplate: "$\"/organization/groups/{groupId}/users/{userId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessRetrieveGroupUserResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.GroupMemberUser.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.GroupMemberUser.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.GroupsClient.RetrieveGroup.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.GroupsClient.RetrieveGroup.g.cs new file mode 100644 index 000000000..c729e36dd --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.GroupsClient.RetrieveGroup.g.cs @@ -0,0 +1,430 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class GroupsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_RetrieveGroupSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_RetrieveGroupSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_RetrieveGroupSecurityRequirement0, + }; + partial void PrepareRetrieveGroupArguments( + global::System.Net.Http.HttpClient httpClient, + ref string groupId); + partial void PrepareRetrieveGroupRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string groupId); + partial void ProcessRetrieveGroupResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessRetrieveGroupResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Retrieves a group. + /// + /// + /// 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 RetrieveGroupAsync( + string groupId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await RetrieveGroupAsResponseAsync( + groupId: groupId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Retrieves a group. + /// + /// + /// 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> RetrieveGroupAsResponseAsync( + string groupId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareRetrieveGroupArguments( + httpClient: HttpClient, + groupId: ref groupId); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_RetrieveGroupSecurityRequirements, + operationName: "RetrieveGroupAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/groups/{groupId}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareRetrieveGroupRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + groupId: groupId!); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroup", + methodName: "RetrieveGroupAsync", + pathTemplate: "$\"/organization/groups/{groupId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroup", + methodName: "RetrieveGroupAsync", + pathTemplate: "$\"/organization/groups/{groupId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroup", + methodName: "RetrieveGroupAsync", + pathTemplate: "$\"/organization/groups/{groupId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessRetrieveGroupResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroup", + methodName: "RetrieveGroupAsync", + pathTemplate: "$\"/organization/groups/{groupId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveGroup", + methodName: "RetrieveGroupAsync", + pathTemplate: "$\"/organization/groups/{groupId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessRetrieveGroupResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.GroupResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.GroupResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.RetrieveOrganizationDataRetention.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.RetrieveOrganizationDataRetention.g.cs new file mode 100644 index 000000000..20b01ab19 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.RetrieveOrganizationDataRetention.g.cs @@ -0,0 +1,26 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IDataRetentionClient + { + /// + /// Retrieves organization data retention controls. + /// + /// 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 RetrieveOrganizationDataRetentionAsync( + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Retrieves organization data retention controls. + /// + /// 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> RetrieveOrganizationDataRetentionAsResponseAsync( + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.RetrieveProjectDataRetention.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.RetrieveProjectDataRetention.g.cs new file mode 100644 index 000000000..2a2800968 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.RetrieveProjectDataRetention.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IDataRetentionClient + { + /// + /// Retrieves project data retention controls. + /// + /// + /// 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 RetrieveProjectDataRetentionAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Retrieves project data retention controls. + /// + /// + /// 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> RetrieveProjectDataRetentionAsResponseAsync( + string projectId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.UpdateOrganizationDataRetention.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.UpdateOrganizationDataRetention.g.cs new file mode 100644 index 000000000..27a323200 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.UpdateOrganizationDataRetention.g.cs @@ -0,0 +1,45 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IDataRetentionClient + { + /// + /// Updates organization data retention controls. + /// + /// + /// 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 UpdateOrganizationDataRetentionAsync( + + global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Updates organization data retention controls. + /// + /// + /// 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> UpdateOrganizationDataRetentionAsResponseAsync( + + global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Updates organization data retention controls. + /// + /// + /// The desired organization data retention type. + /// + /// 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 UpdateOrganizationDataRetentionAsync( + global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionType retentionType, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.UpdateProjectDataRetention.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.UpdateProjectDataRetention.g.cs new file mode 100644 index 000000000..afb2187ff --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.UpdateProjectDataRetention.g.cs @@ -0,0 +1,51 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IDataRetentionClient + { + /// + /// Updates project data retention controls. + /// + /// + /// + /// 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 UpdateProjectDataRetentionAsync( + string projectId, + + global::tryAGI.OpenAI.UpdateProjectDataRetentionBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Updates project data retention controls. + /// + /// + /// + /// 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> UpdateProjectDataRetentionAsResponseAsync( + string projectId, + + global::tryAGI.OpenAI.UpdateProjectDataRetentionBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Updates project data retention controls. + /// + /// + /// + /// The desired project data retention type. + /// + /// 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 UpdateProjectDataRetentionAsync( + string projectId, + global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionType retentionType, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.g.cs new file mode 100644 index 000000000..9d450c80f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IDataRetentionClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDataRetentionClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + /// + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// + public global::tryAGI.OpenAI.AutoSDKClientOptions Options { get; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IGroupOrganizationRoleAssignmentsClient.RetrieveGroupOrganizationRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IGroupOrganizationRoleAssignmentsClient.RetrieveGroupOrganizationRole.g.cs new file mode 100644 index 000000000..2cba68b0c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IGroupOrganizationRoleAssignmentsClient.RetrieveGroupOrganizationRole.g.cs @@ -0,0 +1,34 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IGroupOrganizationRoleAssignmentsClient + { + /// + /// Retrieves an organization role assigned to a group. + /// + /// + /// + /// 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 RetrieveGroupOrganizationRoleAsync( + string groupId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Retrieves an organization role assigned to a group. + /// + /// + /// + /// 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> RetrieveGroupOrganizationRoleAsResponseAsync( + string groupId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IGroupUsersClient.RetrieveGroupUser.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IGroupUsersClient.RetrieveGroupUser.g.cs new file mode 100644 index 000000000..eb4eb633b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IGroupUsersClient.RetrieveGroupUser.g.cs @@ -0,0 +1,34 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IGroupUsersClient + { + /// + /// Retrieves a user in a group. + /// + /// + /// + /// 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 RetrieveGroupUserAsync( + string groupId, + string userId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Retrieves a user in a group. + /// + /// + /// + /// 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> RetrieveGroupUserAsResponseAsync( + string groupId, + string userId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IGroupsClient.RetrieveGroup.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IGroupsClient.RetrieveGroup.g.cs new file mode 100644 index 000000000..154fc81fb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IGroupsClient.RetrieveGroup.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IGroupsClient + { + /// + /// Retrieves a group. + /// + /// + /// 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 RetrieveGroupAsync( + string groupId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Retrieves a group. + /// + /// + /// 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> RetrieveGroupAsResponseAsync( + string groupId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.g.cs index e7d2f342e..94c1f0b0d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.g.cs @@ -85,6 +85,11 @@ public partial interface IOpenAiClient : global::System.IDisposable /// public ConversationsClient Conversations { get; } + /// + /// + /// + public DataRetentionClient DataRetention { get; } + /// /// Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. /// @@ -185,6 +190,11 @@ public partial interface IOpenAiClient : global::System.IDisposable /// public SkillsClient Skills { get; } + /// + /// + /// + public SpendAlertsClient SpendAlerts { get; } + /// /// Use Uploads to upload large files in multiple parts. /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectGroupRoleAssignmentsClient.RetrieveProjectGroupRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectGroupRoleAssignmentsClient.RetrieveProjectGroupRole.g.cs new file mode 100644 index 000000000..84453a7f3 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectGroupRoleAssignmentsClient.RetrieveProjectGroupRole.g.cs @@ -0,0 +1,38 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IProjectGroupRoleAssignmentsClient + { + /// + /// Retrieves a project role assigned to a group. + /// + /// + /// + /// + /// 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 RetrieveProjectGroupRoleAsync( + string projectId, + string groupId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Retrieves a project role assigned to a group. + /// + /// + /// + /// + /// 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> RetrieveProjectGroupRoleAsResponseAsync( + string projectId, + string groupId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectGroupsClient.RetrieveProjectGroup.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectGroupsClient.RetrieveProjectGroup.g.cs new file mode 100644 index 000000000..de61a2dda --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectGroupsClient.RetrieveProjectGroup.g.cs @@ -0,0 +1,42 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IProjectGroupsClient + { + /// + /// Retrieves a project's group. + /// + /// + /// + /// + /// Default Value: group + /// + /// 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 RetrieveProjectGroupAsync( + string projectId, + string groupId, + global::tryAGI.OpenAI.RetrieveProjectGroupGroupType? groupType = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Retrieves a project's group. + /// + /// + /// + /// + /// Default Value: group + /// + /// 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> RetrieveProjectGroupAsResponseAsync( + string projectId, + string groupId, + global::tryAGI.OpenAI.RetrieveProjectGroupGroupType? groupType = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectUserRoleAssignmentsClient.RetrieveProjectUserRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectUserRoleAssignmentsClient.RetrieveProjectUserRole.g.cs new file mode 100644 index 000000000..c80298b9e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectUserRoleAssignmentsClient.RetrieveProjectUserRole.g.cs @@ -0,0 +1,38 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IProjectUserRoleAssignmentsClient + { + /// + /// Retrieves a project role assigned to a user. + /// + /// + /// + /// + /// 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 RetrieveProjectUserRoleAsync( + string projectId, + string userId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Retrieves a project role assigned to a user. + /// + /// + /// + /// + /// 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> RetrieveProjectUserRoleAsResponseAsync( + string projectId, + string userId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.UpdateProjectServiceAccount.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.UpdateProjectServiceAccount.g.cs new file mode 100644 index 000000000..c585178f9 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IProjectsClient.UpdateProjectServiceAccount.g.cs @@ -0,0 +1,61 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IProjectsClient + { + /// + /// Updates a service account 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 UpdateProjectServiceAccountAsync( + string projectId, + string serviceAccountId, + + global::tryAGI.OpenAI.UpdateProjectServiceAccountBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Updates a service account 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> UpdateProjectServiceAccountAsResponseAsync( + string projectId, + string serviceAccountId, + + global::tryAGI.OpenAI.UpdateProjectServiceAccountBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Updates a service account in the project. + /// + /// + /// + /// + /// The updated service account name. + /// + /// + /// The updated service account role. + /// + /// 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 UpdateProjectServiceAccountAsync( + string projectId, + string serviceAccountId, + string? name = default, + global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRole? role = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IRolesClient.RetrieveOrganizationRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IRolesClient.RetrieveOrganizationRole.g.cs new file mode 100644 index 000000000..5d68bedce --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IRolesClient.RetrieveOrganizationRole.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IRolesClient + { + /// + /// Retrieves an organization role. + /// + /// + /// 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 RetrieveOrganizationRoleAsync( + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Retrieves an organization role. + /// + /// + /// 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> RetrieveOrganizationRoleAsResponseAsync( + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IRolesClient.RetrieveProjectRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IRolesClient.RetrieveProjectRole.g.cs new file mode 100644 index 000000000..e9aadc9c7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IRolesClient.RetrieveProjectRole.g.cs @@ -0,0 +1,34 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IRolesClient + { + /// + /// Retrieves a project role. + /// + /// + /// + /// 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 RetrieveProjectRoleAsync( + string projectId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Retrieves a project role. + /// + /// + /// + /// 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> RetrieveProjectRoleAsResponseAsync( + string projectId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.CreateOrganizationSpendAlert.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.CreateOrganizationSpendAlert.g.cs new file mode 100644 index 000000000..33b9ebf5d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.CreateOrganizationSpendAlert.g.cs @@ -0,0 +1,57 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface ISpendAlertsClient + { + /// + /// Creates an organization spend alert. + /// + /// + /// 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 CreateOrganizationSpendAlertAsync( + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Creates an organization spend alert. + /// + /// + /// 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> CreateOrganizationSpendAlertAsResponseAsync( + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Creates an organization spend alert. + /// + /// + /// The alert threshold amount, in cents. + /// + /// + /// The currency for the threshold amount. + /// + /// + /// The time interval for evaluating spend against the threshold. + /// + /// + /// Email notification settings for a spend alert. + /// + /// 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 CreateOrganizationSpendAlertAsync( + int thresholdAmount, + global::tryAGI.OpenAI.SpendAlertNotificationChannel notificationChannel, + global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency currency = default, + global::tryAGI.OpenAI.CreateSpendAlertBodyInterval interval = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.CreateProjectSpendAlert.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.CreateProjectSpendAlert.g.cs new file mode 100644 index 000000000..0efe8c132 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.CreateProjectSpendAlert.g.cs @@ -0,0 +1,63 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface ISpendAlertsClient + { + /// + /// Creates a project spend alert. + /// + /// + /// + /// 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 CreateProjectSpendAlertAsync( + string projectId, + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Creates a project spend alert. + /// + /// + /// + /// 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> CreateProjectSpendAlertAsResponseAsync( + string projectId, + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Creates a project spend alert. + /// + /// + /// + /// The alert threshold amount, in cents. + /// + /// + /// The currency for the threshold amount. + /// + /// + /// The time interval for evaluating spend against the threshold. + /// + /// + /// Email notification settings for a spend alert. + /// + /// 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 CreateProjectSpendAlertAsync( + string projectId, + int thresholdAmount, + global::tryAGI.OpenAI.SpendAlertNotificationChannel notificationChannel, + global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency currency = default, + global::tryAGI.OpenAI.CreateSpendAlertBodyInterval interval = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.DeleteOrganizationSpendAlert.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.DeleteOrganizationSpendAlert.g.cs new file mode 100644 index 000000000..229fd4d49 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.DeleteOrganizationSpendAlert.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface ISpendAlertsClient + { + /// + /// Deletes an organization spend alert. + /// + /// + /// 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 DeleteOrganizationSpendAlertAsync( + string alertId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Deletes an organization spend alert. + /// + /// + /// 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> DeleteOrganizationSpendAlertAsResponseAsync( + string alertId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.DeleteProjectSpendAlert.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.DeleteProjectSpendAlert.g.cs new file mode 100644 index 000000000..8fd367a08 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.DeleteProjectSpendAlert.g.cs @@ -0,0 +1,34 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface ISpendAlertsClient + { + /// + /// Deletes a project spend alert. + /// + /// + /// + /// 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 DeleteProjectSpendAlertAsync( + string projectId, + string alertId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Deletes a project spend alert. + /// + /// + /// + /// 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> DeleteProjectSpendAlertAsResponseAsync( + string projectId, + string alertId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.ListOrganizationSpendAlerts.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.ListOrganizationSpendAlerts.g.cs new file mode 100644 index 000000000..e3762a20f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.ListOrganizationSpendAlerts.g.cs @@ -0,0 +1,46 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface ISpendAlertsClient + { + /// + /// Lists organization spend alerts. + /// + /// + /// + /// Default Value: asc + /// + /// + /// + /// 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 ListOrganizationSpendAlertsAsync( + int? limit = default, + global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder? order = default, + string? after = default, + string? before = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Lists organization spend alerts. + /// + /// + /// + /// Default Value: asc + /// + /// + /// + /// 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> ListOrganizationSpendAlertsAsResponseAsync( + int? limit = default, + global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder? order = default, + string? after = default, + string? before = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.ListProjectSpendAlerts.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.ListProjectSpendAlerts.g.cs new file mode 100644 index 000000000..555cd5a84 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.ListProjectSpendAlerts.g.cs @@ -0,0 +1,50 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface ISpendAlertsClient + { + /// + /// Lists project spend alerts. + /// + /// + /// + /// + /// Default Value: asc + /// + /// + /// + /// 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 ListProjectSpendAlertsAsync( + string projectId, + int? limit = default, + global::tryAGI.OpenAI.ListProjectSpendAlertsOrder? order = default, + string? after = default, + string? before = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Lists project spend alerts. + /// + /// + /// + /// + /// Default Value: asc + /// + /// + /// + /// 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> ListProjectSpendAlertsAsResponseAsync( + string projectId, + int? limit = default, + global::tryAGI.OpenAI.ListProjectSpendAlertsOrder? order = default, + string? after = default, + string? before = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.UpdateOrganizationSpendAlert.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.UpdateOrganizationSpendAlert.g.cs new file mode 100644 index 000000000..ff6bc51ba --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.UpdateOrganizationSpendAlert.g.cs @@ -0,0 +1,63 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface ISpendAlertsClient + { + /// + /// Updates an organization spend alert. + /// + /// + /// + /// 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 UpdateOrganizationSpendAlertAsync( + string alertId, + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Updates an organization spend alert. + /// + /// + /// + /// 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> UpdateOrganizationSpendAlertAsResponseAsync( + string alertId, + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Updates an organization spend alert. + /// + /// + /// + /// The alert threshold amount, in cents. + /// + /// + /// The currency for the threshold amount. + /// + /// + /// The time interval for evaluating spend against the threshold. + /// + /// + /// Email notification settings for a spend alert. + /// + /// 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 UpdateOrganizationSpendAlertAsync( + string alertId, + int thresholdAmount, + global::tryAGI.OpenAI.SpendAlertNotificationChannel notificationChannel, + global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency currency = default, + global::tryAGI.OpenAI.CreateSpendAlertBodyInterval interval = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.UpdateProjectSpendAlert.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.UpdateProjectSpendAlert.g.cs new file mode 100644 index 000000000..8a58a67b7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.UpdateProjectSpendAlert.g.cs @@ -0,0 +1,69 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface ISpendAlertsClient + { + /// + /// Updates a project spend alert. + /// + /// + /// + /// + /// 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 UpdateProjectSpendAlertAsync( + string projectId, + string alertId, + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Updates a project spend alert. + /// + /// + /// + /// + /// 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> UpdateProjectSpendAlertAsResponseAsync( + string projectId, + string alertId, + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Updates a project spend alert. + /// + /// + /// + /// + /// The alert threshold amount, in cents. + /// + /// + /// The currency for the threshold amount. + /// + /// + /// The time interval for evaluating spend against the threshold. + /// + /// + /// Email notification settings for a spend alert. + /// + /// 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 UpdateProjectSpendAlertAsync( + string projectId, + string alertId, + int thresholdAmount, + global::tryAGI.OpenAI.SpendAlertNotificationChannel notificationChannel, + global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency currency = default, + global::tryAGI.OpenAI.CreateSpendAlertBodyInterval interval = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.g.cs new file mode 100644 index 000000000..74a42c949 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ISpendAlertsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISpendAlertsClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + /// + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// + public global::tryAGI.OpenAI.AutoSDKClientOptions Options { get; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUserOrganizationRoleAssignmentsClient.RetrieveUserOrganizationRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUserOrganizationRoleAssignmentsClient.RetrieveUserOrganizationRole.g.cs new file mode 100644 index 000000000..fefe32146 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUserOrganizationRoleAssignmentsClient.RetrieveUserOrganizationRole.g.cs @@ -0,0 +1,34 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial interface IUserOrganizationRoleAssignmentsClient + { + /// + /// Retrieves an organization role assigned to a user. + /// + /// + /// + /// 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 RetrieveUserOrganizationRoleAsync( + string userId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Retrieves an organization role assigned to a user. + /// + /// + /// + /// 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> RetrieveUserOrganizationRoleAsResponseAsync( + string userId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrency.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrency.g.cs new file mode 100644 index 000000000..e9888b4c1 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrency.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CreateSpendAlertBodyCurrencyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency 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.CreateSpendAlertBodyCurrencyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.CreateSpendAlertBodyCurrencyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyNullable.g.cs new file mode 100644 index 000000000..8d5e7f394 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CreateSpendAlertBodyCurrencyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency? 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.CreateSpendAlertBodyCurrencyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency? 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.CreateSpendAlertBodyCurrencyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyInterval.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyInterval.g.cs new file mode 100644 index 000000000..5e2b2d575 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyInterval.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CreateSpendAlertBodyIntervalJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CreateSpendAlertBodyInterval 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.CreateSpendAlertBodyIntervalExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CreateSpendAlertBodyInterval)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CreateSpendAlertBodyInterval); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CreateSpendAlertBodyInterval value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.CreateSpendAlertBodyIntervalExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalNullable.g.cs new file mode 100644 index 000000000..c2f4180bb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CreateSpendAlertBodyIntervalNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CreateSpendAlertBodyInterval? 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.CreateSpendAlertBodyIntervalExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CreateSpendAlertBodyInterval)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CreateSpendAlertBodyInterval?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CreateSpendAlertBodyInterval? 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.CreateSpendAlertBodyIntervalExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupMemberUserUserType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupMemberUserUserType.g.cs new file mode 100644 index 000000000..f453143f0 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupMemberUserUserType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class GroupMemberUserUserTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.GroupMemberUserUserType 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.GroupMemberUserUserTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.GroupMemberUserUserType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.GroupMemberUserUserType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.GroupMemberUserUserType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.GroupMemberUserUserTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeNullable.g.cs new file mode 100644 index 000000000..f03debfb8 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class GroupMemberUserUserTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.GroupMemberUserUserType? 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.GroupMemberUserUserTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.GroupMemberUserUserType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.GroupMemberUserUserType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.GroupMemberUserUserType? 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.GroupMemberUserUserTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupResponseGroupType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupResponseGroupType.g.cs new file mode 100644 index 000000000..410cb402a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupResponseGroupType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class GroupResponseGroupTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.GroupResponseGroupType 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.GroupResponseGroupTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.GroupResponseGroupType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.GroupResponseGroupType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.GroupResponseGroupType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.GroupResponseGroupTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeNullable.g.cs new file mode 100644 index 000000000..91bb9c7a9 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class GroupResponseGroupTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.GroupResponseGroupType? 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.GroupResponseGroupTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.GroupResponseGroupType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.GroupResponseGroupType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.GroupResponseGroupType? 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.GroupResponseGroupTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrder.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrder.g.cs new file mode 100644 index 000000000..067ee0baf --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrder.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ListOrganizationSpendAlertsOrderJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder 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.ListOrganizationSpendAlertsOrderExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrderExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderNullable.g.cs new file mode 100644 index 000000000..50b209eac --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ListOrganizationSpendAlertsOrderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder? 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.ListOrganizationSpendAlertsOrderExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder? 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.ListOrganizationSpendAlertsOrderExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrder.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrder.g.cs new file mode 100644 index 000000000..7d2210b59 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrder.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ListProjectSpendAlertsOrderJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ListProjectSpendAlertsOrder 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.ListProjectSpendAlertsOrderExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ListProjectSpendAlertsOrder)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ListProjectSpendAlertsOrder); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ListProjectSpendAlertsOrder value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ListProjectSpendAlertsOrderExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderNullable.g.cs new file mode 100644 index 000000000..b55f718d0 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ListProjectSpendAlertsOrderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ListProjectSpendAlertsOrder? 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.ListProjectSpendAlertsOrderExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ListProjectSpendAlertsOrder)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ListProjectSpendAlertsOrder?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ListProjectSpendAlertsOrder? 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.ListProjectSpendAlertsOrderExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObject.g.cs new file mode 100644 index 000000000..972074f90 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObject.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class OrganizationDataRetentionObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.OrganizationDataRetentionObject 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.OrganizationDataRetentionObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.OrganizationDataRetentionObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.OrganizationDataRetentionObject); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.OrganizationDataRetentionObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.OrganizationDataRetentionObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectNullable.g.cs new file mode 100644 index 000000000..132319a6d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class OrganizationDataRetentionObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.OrganizationDataRetentionObject? 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.OrganizationDataRetentionObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.OrganizationDataRetentionObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.OrganizationDataRetentionObject?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.OrganizationDataRetentionObject? 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.OrganizationDataRetentionObjectExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionType.g.cs new file mode 100644 index 000000000..eec4fe6af --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class OrganizationDataRetentionTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.OrganizationDataRetentionType 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.OrganizationDataRetentionTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.OrganizationDataRetentionType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.OrganizationDataRetentionType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.OrganizationDataRetentionType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.OrganizationDataRetentionTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeNullable.g.cs new file mode 100644 index 000000000..43accd338 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class OrganizationDataRetentionTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.OrganizationDataRetentionType? 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.OrganizationDataRetentionTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.OrganizationDataRetentionType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.OrganizationDataRetentionType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.OrganizationDataRetentionType? 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.OrganizationDataRetentionTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrency.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrency.g.cs new file mode 100644 index 000000000..311121976 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrency.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class OrganizationSpendAlertCurrencyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.OrganizationSpendAlertCurrency 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.OrganizationSpendAlertCurrencyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.OrganizationSpendAlertCurrency)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.OrganizationSpendAlertCurrency); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.OrganizationSpendAlertCurrency value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.OrganizationSpendAlertCurrencyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyNullable.g.cs new file mode 100644 index 000000000..2a4fda426 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class OrganizationSpendAlertCurrencyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.OrganizationSpendAlertCurrency? 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.OrganizationSpendAlertCurrencyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.OrganizationSpendAlertCurrency)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.OrganizationSpendAlertCurrency?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.OrganizationSpendAlertCurrency? 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.OrganizationSpendAlertCurrencyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObject.g.cs new file mode 100644 index 000000000..89fc0ac1f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObject.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class OrganizationSpendAlertDeletedResourceObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResourceObject 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.OrganizationSpendAlertDeletedResourceObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResourceObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResourceObject); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResourceObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResourceObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectNullable.g.cs new file mode 100644 index 000000000..062316963 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class OrganizationSpendAlertDeletedResourceObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResourceObject? 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.OrganizationSpendAlertDeletedResourceObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResourceObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResourceObject?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResourceObject? 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.OrganizationSpendAlertDeletedResourceObjectExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertInterval.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertInterval.g.cs new file mode 100644 index 000000000..cfab74484 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertInterval.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class OrganizationSpendAlertIntervalJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.OrganizationSpendAlertInterval 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.OrganizationSpendAlertIntervalExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.OrganizationSpendAlertInterval)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.OrganizationSpendAlertInterval); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.OrganizationSpendAlertInterval value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.OrganizationSpendAlertIntervalExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalNullable.g.cs new file mode 100644 index 000000000..7787c42ac --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class OrganizationSpendAlertIntervalNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.OrganizationSpendAlertInterval? 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.OrganizationSpendAlertIntervalExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.OrganizationSpendAlertInterval)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.OrganizationSpendAlertInterval?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.OrganizationSpendAlertInterval? 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.OrganizationSpendAlertIntervalExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObject.g.cs new file mode 100644 index 000000000..c7f8d214c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObject.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class OrganizationSpendAlertListResourceObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.OrganizationSpendAlertListResourceObject 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.OrganizationSpendAlertListResourceObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.OrganizationSpendAlertListResourceObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.OrganizationSpendAlertListResourceObject); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.OrganizationSpendAlertListResourceObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.OrganizationSpendAlertListResourceObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectNullable.g.cs new file mode 100644 index 000000000..887ebc740 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class OrganizationSpendAlertListResourceObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.OrganizationSpendAlertListResourceObject? 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.OrganizationSpendAlertListResourceObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.OrganizationSpendAlertListResourceObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.OrganizationSpendAlertListResourceObject?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.OrganizationSpendAlertListResourceObject? 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.OrganizationSpendAlertListResourceObjectExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObject.g.cs new file mode 100644 index 000000000..208345b13 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObject.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class OrganizationSpendAlertObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.OrganizationSpendAlertObject 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.OrganizationSpendAlertObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.OrganizationSpendAlertObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.OrganizationSpendAlertObject); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.OrganizationSpendAlertObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.OrganizationSpendAlertObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectNullable.g.cs new file mode 100644 index 000000000..6593e4bf6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class OrganizationSpendAlertObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.OrganizationSpendAlertObject? 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.OrganizationSpendAlertObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.OrganizationSpendAlertObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.OrganizationSpendAlertObject?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.OrganizationSpendAlertObject? 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.OrganizationSpendAlertObjectExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObject.g.cs new file mode 100644 index 000000000..4e98dfb97 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObject.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectDataRetentionObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectDataRetentionObject 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.ProjectDataRetentionObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectDataRetentionObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectDataRetentionObject); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectDataRetentionObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ProjectDataRetentionObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectNullable.g.cs new file mode 100644 index 000000000..e27f37b3d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectDataRetentionObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectDataRetentionObject? 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.ProjectDataRetentionObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectDataRetentionObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectDataRetentionObject?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectDataRetentionObject? 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.ProjectDataRetentionObjectExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionType.g.cs new file mode 100644 index 000000000..6e41acef1 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectDataRetentionTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectDataRetentionType 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.ProjectDataRetentionTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectDataRetentionType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectDataRetentionType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectDataRetentionType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ProjectDataRetentionTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeNullable.g.cs new file mode 100644 index 000000000..9f0ac2177 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectDataRetentionTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectDataRetentionType? 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.ProjectDataRetentionTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectDataRetentionType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectDataRetentionType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectDataRetentionType? 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.ProjectDataRetentionTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectGroupGroupType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectGroupGroupType.g.cs new file mode 100644 index 000000000..b607a2db2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectGroupGroupType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectGroupGroupTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectGroupGroupType 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.ProjectGroupGroupTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectGroupGroupType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectGroupGroupType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectGroupGroupType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ProjectGroupGroupTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeNullable.g.cs new file mode 100644 index 000000000..7f5b5ffa5 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectGroupGroupTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectGroupGroupType? 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.ProjectGroupGroupTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectGroupGroupType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectGroupGroupType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectGroupGroupType? 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.ProjectGroupGroupTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrency.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrency.g.cs new file mode 100644 index 000000000..a2b21224b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrency.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectSpendAlertCurrencyJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectSpendAlertCurrency 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.ProjectSpendAlertCurrencyExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectSpendAlertCurrency)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectSpendAlertCurrency); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectSpendAlertCurrency value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ProjectSpendAlertCurrencyExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyNullable.g.cs new file mode 100644 index 000000000..8d47d5c18 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectSpendAlertCurrencyNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectSpendAlertCurrency? 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.ProjectSpendAlertCurrencyExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectSpendAlertCurrency)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectSpendAlertCurrency?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectSpendAlertCurrency? 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.ProjectSpendAlertCurrencyExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObject.g.cs new file mode 100644 index 000000000..1b6e4369a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObject.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectSpendAlertDeletedResourceObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectSpendAlertDeletedResourceObject 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.ProjectSpendAlertDeletedResourceObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectSpendAlertDeletedResourceObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectSpendAlertDeletedResourceObject); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectSpendAlertDeletedResourceObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ProjectSpendAlertDeletedResourceObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectNullable.g.cs new file mode 100644 index 000000000..52527425d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectSpendAlertDeletedResourceObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectSpendAlertDeletedResourceObject? 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.ProjectSpendAlertDeletedResourceObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectSpendAlertDeletedResourceObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectSpendAlertDeletedResourceObject?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectSpendAlertDeletedResourceObject? 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.ProjectSpendAlertDeletedResourceObjectExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertInterval.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertInterval.g.cs new file mode 100644 index 000000000..c84f8db44 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertInterval.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectSpendAlertIntervalJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectSpendAlertInterval 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.ProjectSpendAlertIntervalExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectSpendAlertInterval)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectSpendAlertInterval); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectSpendAlertInterval value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ProjectSpendAlertIntervalExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalNullable.g.cs new file mode 100644 index 000000000..ea56665df --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectSpendAlertIntervalNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectSpendAlertInterval? 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.ProjectSpendAlertIntervalExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectSpendAlertInterval)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectSpendAlertInterval?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectSpendAlertInterval? 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.ProjectSpendAlertIntervalExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObject.g.cs new file mode 100644 index 000000000..a30c677bf --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObject.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectSpendAlertListResourceObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectSpendAlertListResourceObject 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.ProjectSpendAlertListResourceObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectSpendAlertListResourceObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectSpendAlertListResourceObject); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectSpendAlertListResourceObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ProjectSpendAlertListResourceObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectNullable.g.cs new file mode 100644 index 000000000..0fb42bf03 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectSpendAlertListResourceObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectSpendAlertListResourceObject? 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.ProjectSpendAlertListResourceObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectSpendAlertListResourceObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectSpendAlertListResourceObject?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectSpendAlertListResourceObject? 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.ProjectSpendAlertListResourceObjectExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObject.g.cs new file mode 100644 index 000000000..f6b7cca6a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObject.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectSpendAlertObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectSpendAlertObject 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.ProjectSpendAlertObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectSpendAlertObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectSpendAlertObject); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectSpendAlertObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.ProjectSpendAlertObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectNullable.g.cs new file mode 100644 index 000000000..2b4f68a15 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class ProjectSpendAlertObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.ProjectSpendAlertObject? 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.ProjectSpendAlertObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.ProjectSpendAlertObject)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.ProjectSpendAlertObject?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.ProjectSpendAlertObject? 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.ProjectSpendAlertObjectExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupType.g.cs new file mode 100644 index 000000000..330bc9ee3 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class RetrieveProjectGroupGroupTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.RetrieveProjectGroupGroupType 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.RetrieveProjectGroupGroupTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.RetrieveProjectGroupGroupType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.RetrieveProjectGroupGroupType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.RetrieveProjectGroupGroupType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.RetrieveProjectGroupGroupTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeNullable.g.cs new file mode 100644 index 000000000..52ec6fc6f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class RetrieveProjectGroupGroupTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.RetrieveProjectGroupGroupType? 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.RetrieveProjectGroupGroupTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.RetrieveProjectGroupGroupType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.RetrieveProjectGroupGroupType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.RetrieveProjectGroupGroupType? 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.RetrieveProjectGroupGroupTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelType.g.cs new file mode 100644 index 000000000..899f82c6e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class SpendAlertNotificationChannelTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.SpendAlertNotificationChannelType 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.SpendAlertNotificationChannelTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.SpendAlertNotificationChannelType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.SpendAlertNotificationChannelType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.SpendAlertNotificationChannelType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.SpendAlertNotificationChannelTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeNullable.g.cs new file mode 100644 index 000000000..82d48fc2b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class SpendAlertNotificationChannelTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.SpendAlertNotificationChannelType? 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.SpendAlertNotificationChannelTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.SpendAlertNotificationChannelType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.SpendAlertNotificationChannelType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.SpendAlertNotificationChannelType? 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.SpendAlertNotificationChannelTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionType.g.cs new file mode 100644 index 000000000..a4b303273 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UpdateOrganizationDataRetentionBodyRetentionTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionType 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.UpdateOrganizationDataRetentionBodyRetentionTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeNullable.g.cs new file mode 100644 index 000000000..52c431874 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UpdateOrganizationDataRetentionBodyRetentionTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionType? 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.UpdateOrganizationDataRetentionBodyRetentionTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionType? 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.UpdateOrganizationDataRetentionBodyRetentionTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionType.g.cs new file mode 100644 index 000000000..0c482730e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UpdateProjectDataRetentionBodyRetentionTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionType 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.UpdateProjectDataRetentionBodyRetentionTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeNullable.g.cs new file mode 100644 index 000000000..a6b649f84 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UpdateProjectDataRetentionBodyRetentionTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionType? 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.UpdateProjectDataRetentionBodyRetentionTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionType? 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.UpdateProjectDataRetentionBodyRetentionTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRole.g.cs new file mode 100644 index 000000000..5536f4866 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRole.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UpdateProjectServiceAccountBodyRoleJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRole 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.UpdateProjectServiceAccountBodyRoleExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRole)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRole); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRole value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRoleExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleNullable.g.cs new file mode 100644 index 000000000..f0653b039 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class UpdateProjectServiceAccountBodyRoleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRole? 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.UpdateProjectServiceAccountBodyRoleExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRole)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRole?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRole? 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.UpdateProjectServiceAccountBodyRoleExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs index 2d7f7d2ac..7e783edc4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContext.g.cs @@ -629,6 +629,14 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEventDiscriminatorTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelNullableJsonConverter), @@ -1041,6 +1049,14 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.GroupListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectNullableJsonConverter), @@ -1505,6 +1521,14 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectNullableJsonConverter), @@ -1517,6 +1541,26 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeNullableJsonConverter), @@ -1573,10 +1617,22 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.ProjectApiKeyListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectNullableJsonConverter), @@ -1641,6 +1697,26 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.ProjectServiceAccountListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectNullableJsonConverter), @@ -3093,6 +3169,10 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeNullableJsonConverter), @@ -3181,6 +3261,18 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.TruncationObjectTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UploadStatusJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UploadStatusNullableJsonConverter), @@ -4373,10 +4465,22 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectGroupsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListRolesOrderJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ListRolesOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthNullableJsonConverter), @@ -5127,7 +5231,8 @@ namespace tryAGI.OpenAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AssignedRoleDetails))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(long))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AssignedRoleDetailsAssignmentSourcesVariant1Item))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AssistantObject))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AssistantObjectObject), TypeInfoPropertyName = "AssistantObjectObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] @@ -5220,6 +5325,7 @@ namespace tryAGI.OpenAI [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogProjectDeleted))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogRateLimitUpdated))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogRateLimitUpdatedChangesRequested))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(long))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogRateLimitDeleted))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogRoleCreated))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AuditLogRoleUpdated))] @@ -5585,8 +5691,6 @@ 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.Embedding))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEmbeddingResponseObject), TypeInfoPropertyName = "CreateEmbeddingResponseObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEmbeddingResponseUsage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSource))] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -6214,6 +6318,14 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEventDiscriminatorTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelNullableJsonConverter), @@ -6626,6 +6738,14 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.GroupListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectNullableJsonConverter), @@ -7090,6 +7210,14 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectNullableJsonConverter), @@ -7102,6 +7230,26 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeNullableJsonConverter), @@ -7158,10 +7306,22 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectApiKeyListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectNullableJsonConverter), @@ -7226,6 +7386,26 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectServiceAccountListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectNullableJsonConverter), @@ -8678,6 +8858,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeNullableJsonConverter), @@ -8766,6 +8950,18 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.TruncationObjectTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UploadStatusJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UploadStatusNullableJsonConverter), @@ -9958,10 +10154,22 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectGroupsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListRolesOrderJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ListRolesOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthNullableJsonConverter), @@ -10695,6 +10903,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEmbeddingResponseUsage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceType), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessages))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessagesType), TypeInfoPropertyName = "CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessagesType2")] @@ -10880,6 +11090,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SpeechAudioDoneEvent))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateSpeechResponseStreamEventDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateSpeechResponseStreamEventDiscriminatorType), TypeInfoPropertyName = "CreateSpeechResponseStreamEventDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateSpendAlertBody))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency), TypeInfoPropertyName = "CreateSpendAlertBodyCurrency2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateSpendAlertBodyInterval), TypeInfoPropertyName = "CreateSpendAlertBodyInterval2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SpendAlertNotificationChannel))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateThreadAndRunRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.CreateThreadRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AnyOf), TypeInfoPropertyName = "AnyOfStringCreateThreadAndRunRequestModel2")] @@ -11166,12 +11380,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderScoreModelType), TypeInfoPropertyName = "GraderScoreModelType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderScoreModelSamplingParams))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderStringCheckType), TypeInfoPropertyName = "GraderStringCheckType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderStringCheckOperation), TypeInfoPropertyName = "GraderStringCheckOperation2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderTextSimilarityType), TypeInfoPropertyName = "GraderTextSimilarityType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderTextSimilarityEvaluationMetric), TypeInfoPropertyName = "GraderTextSimilarityEvaluationMetric2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Group))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupObject), TypeInfoPropertyName = "GroupObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupDeletedResource))] internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -11799,6 +12007,14 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEventDiscriminatorTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelNullableJsonConverter), @@ -12211,6 +12427,14 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.GroupListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectNullableJsonConverter), @@ -12675,6 +12899,14 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectNullableJsonConverter), @@ -12687,6 +12919,26 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeNullableJsonConverter), @@ -12743,10 +12995,22 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectApiKeyListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectNullableJsonConverter), @@ -12811,6 +13075,26 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectServiceAccountListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectNullableJsonConverter), @@ -14263,6 +14547,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeNullableJsonConverter), @@ -14351,6 +14639,18 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.TruncationObjectTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UploadStatusJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UploadStatusNullableJsonConverter), @@ -15543,10 +15843,22 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectGroupsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListRolesOrderJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ListRolesOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthNullableJsonConverter), @@ -16280,12 +16592,21 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderStringCheckOperation), TypeInfoPropertyName = "GraderStringCheckOperation2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderTextSimilarityType), TypeInfoPropertyName = "GraderTextSimilarityType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GraderTextSimilarityEvaluationMetric), TypeInfoPropertyName = "GraderTextSimilarityEvaluationMetric2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Group))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupObject), TypeInfoPropertyName = "GroupObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupDeletedResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupDeletedResourceObject), TypeInfoPropertyName = "GroupDeletedResourceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupListResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupListResourceObject), TypeInfoPropertyName = "GroupListResourceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupMemberUser))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupMemberUserUserType), TypeInfoPropertyName = "GroupMemberUserUserType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupResourceWithSuccess))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.GroupResponseGroupType), TypeInfoPropertyName = "GroupResponseGroupType2")] [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))] @@ -16566,12 +16887,24 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [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.OrganizationDataRetention))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationDataRetentionObject), TypeInfoPropertyName = "OrganizationDataRetentionObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationDataRetentionType), TypeInfoPropertyName = "OrganizationDataRetentionType2")] [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.OrganizationSpendAlert))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationSpendAlertObject), TypeInfoPropertyName = "OrganizationSpendAlertObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationSpendAlertCurrency), TypeInfoPropertyName = "OrganizationSpendAlertCurrency2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationSpendAlertInterval), TypeInfoPropertyName = "OrganizationSpendAlertInterval2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResourceObject), TypeInfoPropertyName = "OrganizationSpendAlertDeletedResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationSpendAlertListResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OrganizationSpendAlertListResourceObject), TypeInfoPropertyName = "OrganizationSpendAlertListResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [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))] @@ -16606,8 +16939,12 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectApiKeyListResponseObject), TypeInfoPropertyName = "ProjectApiKeyListResponseObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectCreateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectDataRetention))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectDataRetentionObject), TypeInfoPropertyName = "ProjectDataRetentionObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectDataRetentionType), TypeInfoPropertyName = "ProjectDataRetentionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectGroup))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectGroupObject), TypeInfoPropertyName = "ProjectGroupObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectGroupGroupType), TypeInfoPropertyName = "ProjectGroupGroupType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectGroupDeletedResource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectGroupDeletedResourceObject), TypeInfoPropertyName = "ProjectGroupDeletedResourceObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectGroupListResource))] @@ -16645,6 +16982,15 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectServiceAccountListResponse))] [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.ProjectSpendAlert))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectSpendAlertObject), TypeInfoPropertyName = "ProjectSpendAlertObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectSpendAlertCurrency), TypeInfoPropertyName = "ProjectSpendAlertCurrency2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectSpendAlertInterval), TypeInfoPropertyName = "ProjectSpendAlertInterval2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectSpendAlertDeletedResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectSpendAlertDeletedResourceObject), TypeInfoPropertyName = "ProjectSpendAlertDeletedResourceObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectSpendAlertListResource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ProjectSpendAlertListResourceObject), TypeInfoPropertyName = "ProjectSpendAlertListResourceObject2")] + [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")] @@ -16723,40 +17069,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfToolChoiceOptionsToolChoiceFunctionToolChoiceMCP2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolChoiceOptions), TypeInfoPropertyName = "ToolChoiceOptions2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolChoiceFunction))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolChoiceMCP))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfInt32RealtimeBetaResponseCreateParamsMaxOutputTokens2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsMaxOutputTokens), TypeInfoPropertyName = "RealtimeBetaResponseCreateParamsMaxOutputTokens2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfStringRealtimeBetaResponseCreateParamsConversation2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsConversation), TypeInfoPropertyName = "RealtimeBetaResponseCreateParamsConversation2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemCreated))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemCreatedType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemCreatedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemDeleted))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemDeletedType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemDeletedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDeltaType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemInputAudioTranscriptionDeltaType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedError))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegmentType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegmentType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemRetrieved))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemRetrievedType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemRetrievedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemTruncated))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemTruncatedType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemTruncatedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventError))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventErrorType), TypeInfoPropertyName = "RealtimeBetaServerEventErrorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventErrorError))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCleared))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferClearedType), TypeInfoPropertyName = "RealtimeBetaServerEventInputAudioBufferClearedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCommitted))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCommittedType), TypeInfoPropertyName = "RealtimeBetaServerEventInputAudioBufferCommittedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStarted))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStartedType), TypeInfoPropertyName = "RealtimeBetaServerEventInputAudioBufferSpeechStartedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStopped))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStoppedType), TypeInfoPropertyName = "RealtimeBetaServerEventInputAudioBufferSpeechStoppedType2")] internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -17384,6 +17696,14 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEventDiscriminatorTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelNullableJsonConverter), @@ -17796,6 +18116,14 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.GroupListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectNullableJsonConverter), @@ -18260,6 +18588,14 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectNullableJsonConverter), @@ -18272,6 +18608,26 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeNullableJsonConverter), @@ -18328,10 +18684,22 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectApiKeyListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectNullableJsonConverter), @@ -18396,6 +18764,26 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectServiceAccountListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectNullableJsonConverter), @@ -19848,6 +20236,10 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeNullableJsonConverter), @@ -19936,6 +20328,18 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.TruncationObjectTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UploadStatusJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UploadStatusNullableJsonConverter), @@ -21128,10 +21532,22 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectGroupsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListRolesOrderJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ListRolesOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthNullableJsonConverter), @@ -21865,6 +22281,40 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ToolChoiceMCP))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfInt32RealtimeBetaResponseCreateParamsMaxOutputTokens2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsMaxOutputTokens), TypeInfoPropertyName = "RealtimeBetaResponseCreateParamsMaxOutputTokens2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf), TypeInfoPropertyName = "OneOfStringRealtimeBetaResponseCreateParamsConversation2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsConversation), TypeInfoPropertyName = "RealtimeBetaResponseCreateParamsConversation2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemCreated))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemCreatedType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemCreatedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemDeleted))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemDeletedType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemDeletedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDeltaType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemInputAudioTranscriptionDeltaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedError))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegmentType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegmentType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemRetrieved))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemRetrievedType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemRetrievedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemTruncated))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemTruncatedType), TypeInfoPropertyName = "RealtimeBetaServerEventConversationItemTruncatedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventError))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventErrorType), TypeInfoPropertyName = "RealtimeBetaServerEventErrorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventErrorError))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCleared))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferClearedType), TypeInfoPropertyName = "RealtimeBetaServerEventInputAudioBufferClearedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCommitted))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCommittedType), TypeInfoPropertyName = "RealtimeBetaServerEventInputAudioBufferCommittedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStarted))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStartedType), TypeInfoPropertyName = "RealtimeBetaServerEventInputAudioBufferSpeechStartedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStopped))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStoppedType), TypeInfoPropertyName = "RealtimeBetaServerEventInputAudioBufferSpeechStoppedType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompleted))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompletedType), TypeInfoPropertyName = "RealtimeBetaServerEventMCPListToolsCompletedType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailed))] @@ -22308,40 +22758,6 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInputTranscription2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInputNoiseReduction2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionAudioOutput))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudio))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInput))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInputTranscription2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInputNoiseReduction2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioOutput))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudio))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInput))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInputTranscription2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInputNoiseReduction2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioOutput))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTruncationEnum), TypeInfoPropertyName = "RealtimeTruncationEnum2_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTruncationEnum2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTruncationEnumType), TypeInfoPropertyName = "RealtimeTruncationEnumType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTruncationEnumTokenLimits))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1ServerVad))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVad))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness), TypeInfoPropertyName = "RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1Discriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1DiscriminatorType), TypeInfoPropertyName = "RealtimeTurnDetectionRealtimeTurnDetection1DiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Reasoning))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningSummary2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningGenerateSummary2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningItemType), TypeInfoPropertyName = "ReasoningItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SummaryTextContent))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningItemStatus), TypeInfoPropertyName = "ReasoningItemStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Response), TypeInfoPropertyName = "Response2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseVariant3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseVariant3Object), TypeInfoPropertyName = "ResponseVariant3Object2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseVariant3Status), TypeInfoPropertyName = "ResponseVariant3Status2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseErrorVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseVariant3IncompleteDetails2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseVariant3IncompleteDetailsReason), TypeInfoPropertyName = "ResponseVariant3IncompleteDetailsReason2")] internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -22969,6 +23385,14 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEventDiscriminatorTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelNullableJsonConverter), @@ -23381,6 +23805,14 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.GroupListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectNullableJsonConverter), @@ -23845,6 +24277,14 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectNullableJsonConverter), @@ -23857,6 +24297,26 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeNullableJsonConverter), @@ -23913,10 +24373,22 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectApiKeyListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectNullableJsonConverter), @@ -23981,6 +24453,26 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectServiceAccountListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectNullableJsonConverter), @@ -25433,6 +25925,10 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeNullableJsonConverter), @@ -25521,6 +26017,18 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.TruncationObjectTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UploadStatusJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UploadStatusNullableJsonConverter), @@ -26713,10 +27221,22 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectGroupsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListRolesOrderJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ListRolesOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthNullableJsonConverter), @@ -27450,6 +27970,40 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudio))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInput))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInputTranscription2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInputNoiseReduction2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioOutput))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudio))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInput))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInputTranscription2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInputNoiseReduction2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioOutput))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTruncationEnum), TypeInfoPropertyName = "RealtimeTruncationEnum2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTruncationEnum2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTruncationEnumType), TypeInfoPropertyName = "RealtimeTruncationEnumType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTruncationEnumTokenLimits))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1ServerVad))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVad))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness), TypeInfoPropertyName = "RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1Discriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1DiscriminatorType), TypeInfoPropertyName = "RealtimeTurnDetectionRealtimeTurnDetection1DiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Reasoning))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningSummary2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningGenerateSummary2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningItemType), TypeInfoPropertyName = "ReasoningItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SummaryTextContent))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ReasoningItemStatus), TypeInfoPropertyName = "ReasoningItemStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.Response), TypeInfoPropertyName = "Response2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseVariant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseVariant3Object), TypeInfoPropertyName = "ResponseVariant3Object2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseVariant3Status), TypeInfoPropertyName = "ResponseVariant3Status2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseErrorVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseVariant3IncompleteDetails2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseVariant3IncompleteDetailsReason), TypeInfoPropertyName = "ResponseVariant3IncompleteDetailsReason2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ResponseUsage))] @@ -27719,6 +28273,7 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SpeechAudioDeltaEventType), TypeInfoPropertyName = "SpeechAudioDeltaEventType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SpeechAudioDoneEventType), TypeInfoPropertyName = "SpeechAudioDoneEventType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SpeechAudioDoneEventUsage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.SpendAlertNotificationChannelType), TypeInfoPropertyName = "SpendAlertNotificationChannelType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.StaticChunkingStrategy))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.StaticChunkingStrategyRequestParamType), TypeInfoPropertyName = "StaticChunkingStrategyRequestParamType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.StaticChunkingStrategyResponseParam))] @@ -27776,6 +28331,12 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.TranscriptionDiarizedSegmentType), TypeInfoPropertyName = "TranscriptionDiarizedSegmentType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.TruncationObjectType), TypeInfoPropertyName = "TruncationObjectType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateGroupBody))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionType), TypeInfoPropertyName = "UpdateOrganizationDataRetentionBodyRetentionType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateProjectDataRetentionBody))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionType), TypeInfoPropertyName = "UpdateProjectDataRetentionBodyRetentionType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateProjectServiceAccountBody))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRole), TypeInfoPropertyName = "UpdateProjectServiceAccountBodyRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateVectorStoreFileAttributesRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UpdateVectorStoreRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AllOf), TypeInfoPropertyName = "AllOfVectorStoreExpirationAfterObject2")] @@ -27886,47 +28447,6 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionSearch))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionSearchType), TypeInfoPropertyName = "WebSearchActionSearchType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionSearchSource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionSearchSourceType), TypeInfoPropertyName = "WebSearchActionSearchSourceType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchApproximateLocationWebSearchApproximateLocation1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchApproximateLocationWebSearchApproximateLocation1Type), TypeInfoPropertyName = "WebSearchApproximateLocationWebSearchApproximateLocation1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolType), TypeInfoPropertyName = "WebSearchToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolFilters2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolSearchContextSize), TypeInfoPropertyName = "WebSearchToolSearchContextSize2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallType), TypeInfoPropertyName = "WebSearchToolCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallStatus), TypeInfoPropertyName = "WebSearchToolCallStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallAction), TypeInfoPropertyName = "WebSearchToolCallAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminatorType), TypeInfoPropertyName = "WebSearchToolCallActionDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCancelled))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCancelledData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCancelledObject), TypeInfoPropertyName = "WebhookBatchCancelledObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCancelledType), TypeInfoPropertyName = "WebhookBatchCancelledType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCompleted))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCompletedData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCompletedObject), TypeInfoPropertyName = "WebhookBatchCompletedObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCompletedType), TypeInfoPropertyName = "WebhookBatchCompletedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchExpired))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchExpiredData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchExpiredObject), TypeInfoPropertyName = "WebhookBatchExpiredObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchExpiredType), TypeInfoPropertyName = "WebhookBatchExpiredType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchFailed))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchFailedData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchFailedObject), TypeInfoPropertyName = "WebhookBatchFailedObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchFailedType), TypeInfoPropertyName = "WebhookBatchFailedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunCanceled))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunCanceledData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunCanceledObject), TypeInfoPropertyName = "WebhookEvalRunCanceledObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunCanceledType), TypeInfoPropertyName = "WebhookEvalRunCanceledType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunFailed))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunFailedData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunFailedObject), TypeInfoPropertyName = "WebhookEvalRunFailedObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunFailedType), TypeInfoPropertyName = "WebhookEvalRunFailedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunSucceeded))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunSucceededData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunSucceededObject), TypeInfoPropertyName = "WebhookEvalRunSucceededObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunSucceededType), TypeInfoPropertyName = "WebhookEvalRunSucceededType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobCancelled))] internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -28554,6 +29074,14 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEventDiscriminatorTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelNullableJsonConverter), @@ -28966,6 +29494,14 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.GroupListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectNullableJsonConverter), @@ -29430,6 +29966,14 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectNullableJsonConverter), @@ -29442,6 +29986,26 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeNullableJsonConverter), @@ -29498,10 +30062,22 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectApiKeyListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectNullableJsonConverter), @@ -29566,6 +30142,26 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectServiceAccountListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectNullableJsonConverter), @@ -31018,6 +31614,10 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeNullableJsonConverter), @@ -31106,6 +31706,18 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.TruncationObjectTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UploadStatusJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UploadStatusNullableJsonConverter), @@ -32298,10 +32910,22 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectGroupsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListRolesOrderJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ListRolesOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthNullableJsonConverter), @@ -33035,6 +33659,47 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionSearchSource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchActionSearchSourceType), TypeInfoPropertyName = "WebSearchActionSearchSourceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchApproximateLocationWebSearchApproximateLocation1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchApproximateLocationWebSearchApproximateLocation1Type), TypeInfoPropertyName = "WebSearchApproximateLocationWebSearchApproximateLocation1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolType), TypeInfoPropertyName = "WebSearchToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolFilters2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolSearchContextSize), TypeInfoPropertyName = "WebSearchToolSearchContextSize2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallType), TypeInfoPropertyName = "WebSearchToolCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallStatus), TypeInfoPropertyName = "WebSearchToolCallStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallAction), TypeInfoPropertyName = "WebSearchToolCallAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminatorType), TypeInfoPropertyName = "WebSearchToolCallActionDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCancelled))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCancelledData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCancelledObject), TypeInfoPropertyName = "WebhookBatchCancelledObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCancelledType), TypeInfoPropertyName = "WebhookBatchCancelledType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCompleted))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCompletedData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCompletedObject), TypeInfoPropertyName = "WebhookBatchCompletedObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchCompletedType), TypeInfoPropertyName = "WebhookBatchCompletedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchExpired))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchExpiredData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchExpiredObject), TypeInfoPropertyName = "WebhookBatchExpiredObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchExpiredType), TypeInfoPropertyName = "WebhookBatchExpiredType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchFailed))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchFailedData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchFailedObject), TypeInfoPropertyName = "WebhookBatchFailedObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookBatchFailedType), TypeInfoPropertyName = "WebhookBatchFailedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunCanceled))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunCanceledData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunCanceledObject), TypeInfoPropertyName = "WebhookEvalRunCanceledObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunCanceledType), TypeInfoPropertyName = "WebhookEvalRunCanceledType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunFailed))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunFailedData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunFailedObject), TypeInfoPropertyName = "WebhookEvalRunFailedObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunFailedType), TypeInfoPropertyName = "WebhookEvalRunFailedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunSucceeded))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunSucceededData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunSucceededObject), TypeInfoPropertyName = "WebhookEvalRunSucceededObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookEvalRunSucceededType), TypeInfoPropertyName = "WebhookEvalRunSucceededType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobCancelled))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobCancelledData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobCancelledObject), TypeInfoPropertyName = "WebhookFineTuningJobCancelledObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.WebhookFineTuningJobCancelledType), TypeInfoPropertyName = "WebhookFineTuningJobCancelledType2")] @@ -33471,47 +34136,6 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListGroupRoleAssignmentsOrder), TypeInfoPropertyName = "ListGroupRoleAssignmentsOrder2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListGroupUsersOrder), TypeInfoPropertyName = "ListGroupUsersOrder2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectCertificatesOrder), TypeInfoPropertyName = "ListProjectCertificatesOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectGroupsOrder), TypeInfoPropertyName = "ListProjectGroupsOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListRolesOrder), TypeInfoPropertyName = "ListRolesOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth), TypeInfoPropertyName = "UsageAudioSpeechesBucketWidth2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem), TypeInfoPropertyName = "UsageAudioSpeechesGroupByItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth), TypeInfoPropertyName = "UsageAudioTranscriptionsBucketWidth2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem), TypeInfoPropertyName = "UsageAudioTranscriptionsGroupByItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth), TypeInfoPropertyName = "UsageCodeInterpreterSessionsBucketWidth2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem), TypeInfoPropertyName = "UsageCodeInterpreterSessionsGroupByItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageCompletionsBucketWidth), TypeInfoPropertyName = "UsageCompletionsBucketWidth2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageCompletionsGroupByItem), TypeInfoPropertyName = "UsageCompletionsGroupByItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth), TypeInfoPropertyName = "UsageEmbeddingsBucketWidth2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem), TypeInfoPropertyName = "UsageEmbeddingsGroupByItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth), TypeInfoPropertyName = "UsageFileSearchCallsBucketWidth2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem), TypeInfoPropertyName = "UsageFileSearchCallsGroupByItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageImagesBucketWidth), TypeInfoPropertyName = "UsageImagesBucketWidth2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageImagesSource), TypeInfoPropertyName = "UsageImagesSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageImagesSize), TypeInfoPropertyName = "UsageImagesSize2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageImagesGroupByItem), TypeInfoPropertyName = "UsageImagesGroupByItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageModerationsBucketWidth), TypeInfoPropertyName = "UsageModerationsBucketWidth2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageModerationsGroupByItem), TypeInfoPropertyName = "UsageModerationsGroupByItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageVectorStoresBucketWidth), TypeInfoPropertyName = "UsageVectorStoresBucketWidth2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageVectorStoresGroupByItem), TypeInfoPropertyName = "UsageVectorStoresGroupByItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth), TypeInfoPropertyName = "UsageWebSearchCallsBucketWidth2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel), TypeInfoPropertyName = "UsageWebSearchCallsContextLevel2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem), TypeInfoPropertyName = "UsageWebSearchCallsGroupByItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListUserRoleAssignmentsOrder), TypeInfoPropertyName = "ListUserRoleAssignmentsOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectGroupRoleAssignmentsOrder), TypeInfoPropertyName = "ListProjectGroupRoleAssignmentsOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectRolesOrder), TypeInfoPropertyName = "ListProjectRolesOrder2")] internal sealed partial class SourceGenerationContextChunk5 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -34139,6 +34763,14 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEventDiscriminatorTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelNullableJsonConverter), @@ -34551,6 +35183,14 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.GroupListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectNullableJsonConverter), @@ -35015,6 +35655,14 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectNullableJsonConverter), @@ -35027,6 +35675,26 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeNullableJsonConverter), @@ -35083,10 +35751,22 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectApiKeyListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectNullableJsonConverter), @@ -35151,6 +35831,26 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ProjectServiceAccountListResponseObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectNullableJsonConverter), @@ -36603,6 +37303,10 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeNullableJsonConverter), @@ -36691,6 +37395,18 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.TruncationObjectTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UploadStatusJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UploadStatusNullableJsonConverter), @@ -37883,10 +38599,22 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectGroupsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeNullableJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListRolesOrderJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ListRolesOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderJsonConverter), + + typeof(global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthNullableJsonConverter), @@ -38620,6 +39348,50 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List>>), TypeInfoPropertyName = "CreateModerationRequestInputVariant3ItemVariant2_82fca1e83967e178")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessageDeltaContentImageUrlObject_9c7d436e0b6fe539")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "RunStepDeltaStepDetailsToolCallsFunctionObject_5640d9ed7ecfcd45")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectGroupsOrder), TypeInfoPropertyName = "ListProjectGroupsOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.RetrieveProjectGroupGroupType), TypeInfoPropertyName = "RetrieveProjectGroupGroupType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectSpendAlertsOrder), TypeInfoPropertyName = "ListProjectSpendAlertsOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListRolesOrder), TypeInfoPropertyName = "ListRolesOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder), TypeInfoPropertyName = "ListOrganizationSpendAlertsOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth), TypeInfoPropertyName = "UsageAudioSpeechesBucketWidth2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem), TypeInfoPropertyName = "UsageAudioSpeechesGroupByItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth), TypeInfoPropertyName = "UsageAudioTranscriptionsBucketWidth2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem), TypeInfoPropertyName = "UsageAudioTranscriptionsGroupByItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth), TypeInfoPropertyName = "UsageCodeInterpreterSessionsBucketWidth2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem), TypeInfoPropertyName = "UsageCodeInterpreterSessionsGroupByItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageCompletionsBucketWidth), TypeInfoPropertyName = "UsageCompletionsBucketWidth2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageCompletionsGroupByItem), TypeInfoPropertyName = "UsageCompletionsGroupByItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth), TypeInfoPropertyName = "UsageEmbeddingsBucketWidth2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem), TypeInfoPropertyName = "UsageEmbeddingsGroupByItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth), TypeInfoPropertyName = "UsageFileSearchCallsBucketWidth2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem), TypeInfoPropertyName = "UsageFileSearchCallsGroupByItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageImagesBucketWidth), TypeInfoPropertyName = "UsageImagesBucketWidth2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageImagesSource), TypeInfoPropertyName = "UsageImagesSource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageImagesSize), TypeInfoPropertyName = "UsageImagesSize2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageImagesGroupByItem), TypeInfoPropertyName = "UsageImagesGroupByItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageModerationsBucketWidth), TypeInfoPropertyName = "UsageModerationsBucketWidth2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageModerationsGroupByItem), TypeInfoPropertyName = "UsageModerationsGroupByItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageVectorStoresBucketWidth), TypeInfoPropertyName = "UsageVectorStoresBucketWidth2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageVectorStoresGroupByItem), TypeInfoPropertyName = "UsageVectorStoresGroupByItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth), TypeInfoPropertyName = "UsageWebSearchCallsBucketWidth2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel), TypeInfoPropertyName = "UsageWebSearchCallsContextLevel2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem), TypeInfoPropertyName = "UsageWebSearchCallsGroupByItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListUserRoleAssignmentsOrder), TypeInfoPropertyName = "ListUserRoleAssignmentsOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectGroupRoleAssignmentsOrder), TypeInfoPropertyName = "ListProjectGroupRoleAssignmentsOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectRolesOrder), TypeInfoPropertyName = "ListProjectRolesOrder2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListProjectUserRoleAssignmentsOrder), TypeInfoPropertyName = "ListProjectUserRoleAssignmentsOrder2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListInputItemsOrder), TypeInfoPropertyName = "ListInputItemsOrder2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.ListMessagesOrder), TypeInfoPropertyName = "ListMessagesOrder2")] @@ -38644,6 +39416,7 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject), TypeInfoPropertyName = "AdminApiKeysDeleteResponseObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -38783,12 +39556,14 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -39254,6 +40029,10 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CreateSpeechRequestStreamFormatNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEventDiscriminatorTypeJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEventDiscriminatorTypeNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CreateThreadAndRunRequestModelNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyAutoChunkingStrategyTypeJsonConverter()); @@ -39460,6 +40239,10 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.GroupDeletedResourceObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.GroupListResourceObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.GroupListResourceObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.GroupRoleAssignmentObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.GroupUserAssignmentObjectJsonConverter()); @@ -39692,12 +40475,26 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateActivationResponseObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationCertificateDeactivationResponseObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateActivationResponseObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateActivationResponseObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationProjectCertificateDeactivationResponseObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OtherChunkingStrategyResponseParamTypeNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.OutputAudioTypeJsonConverter()); @@ -39726,8 +40523,14 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectApiKeyDeleteResponseObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectApiKeyListResponseObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectApiKeyListResponseObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectGroupObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectGroupDeletedResourceObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectGroupListResourceObjectJsonConverter()); @@ -39760,6 +40563,16 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectServiceAccountDeleteResponseObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectServiceAccountListResponseObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectServiceAccountListResponseObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectUserObjectNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ProjectUserDeleteResponseObjectJsonConverter()); @@ -40486,6 +41299,8 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.SpeechAudioDeltaEventTypeNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyRequestParamTypeNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.StaticChunkingStrategyResponseParamTypeJsonConverter()); @@ -40530,6 +41345,12 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.TranscriptionIncludeNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.TruncationObjectTypeJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.TruncationObjectTypeNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UploadStatusJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UploadStatusNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UploadObjectJsonConverter()); @@ -41126,8 +41947,14 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ListProjectCertificatesOrderNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ListProjectGroupsOrderJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ListProjectGroupsOrderNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.RetrieveProjectGroupGroupTypeNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ListProjectSpendAlertsOrderNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ListRolesOrderJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ListRolesOrderNullableJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderJsonConverter()); + options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.ListOrganizationSpendAlertsOrderNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesBucketWidthNullableJsonConverter()); options.Converters.Add(new global::tryAGI.OpenAI.JsonConverters.UsageAudioSpeechesGroupByItemJsonConverter()); 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 e1b4b0ee8..971278e5c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs @@ -92,11443 +92,11619 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public long? Type16 { get; set; } + public global::System.Collections.Generic.IList? Type16 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantObject? Type17 { get; set; } + public global::tryAGI.OpenAI.AssignedRoleDetailsAssignmentSourcesVariant1Item? Type17 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantObjectObject? Type18 { get; set; } + public global::tryAGI.OpenAI.AssistantObject? Type18 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type19 { get; set; } + public global::tryAGI.OpenAI.AssistantObjectObject? Type19 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type20 { get; set; } + public global::System.Collections.Generic.IList>? Type20 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantToolsCode? Type21 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type21 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantToolsFileSearch? Type22 { get; set; } + public global::tryAGI.OpenAI.AssistantToolsCode? Type22 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantToolsFunction? Type23 { get; set; } + public global::tryAGI.OpenAI.AssistantToolsFileSearch? Type23 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantObjectToolResources2? Type24 { get; set; } + public global::tryAGI.OpenAI.AssistantToolsFunction? Type24 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantObjectToolResourcesCodeInterpreter? Type25 { get; set; } + public global::tryAGI.OpenAI.AssistantObjectToolResources2? Type25 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantObjectToolResourcesFileSearch? Type26 { get; set; } + public global::tryAGI.OpenAI.AssistantObjectToolResourcesCodeInterpreter? Type26 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type27 { get; set; } + public global::tryAGI.OpenAI.AssistantObjectToolResourcesFileSearch? Type27 { get; set; } /// /// /// - public double? Type28 { get; set; } + public global::System.Collections.Generic.Dictionary? Type28 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? Type29 { get; set; } + public double? Type29 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEvent? Type30 { get; set; } + public global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? Type30 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadStreamEvent? Type31 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEvent? Type31 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEvent? Type32 { get; set; } + public global::tryAGI.OpenAI.ThreadStreamEvent? Type32 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEvent? Type33 { get; set; } + public global::tryAGI.OpenAI.RunStreamEvent? Type33 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEvent? Type34 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEvent? Type34 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ErrorEvent? Type35 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEvent? Type35 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoneEvent? Type36 { get; set; } + public global::tryAGI.OpenAI.ErrorEvent? Type36 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantSupportedModels? Type37 { get; set; } + public global::tryAGI.OpenAI.DoneEvent? Type37 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantToolsCodeType? Type38 { get; set; } + public global::tryAGI.OpenAI.AssistantSupportedModels? Type38 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantToolsFileSearchType? Type39 { get; set; } + public global::tryAGI.OpenAI.AssistantToolsCodeType? Type39 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantToolsFileSearchFileSearch? Type40 { get; set; } + public global::tryAGI.OpenAI.AssistantToolsFileSearchType? Type40 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchRankingOptions? Type41 { get; set; } + public global::tryAGI.OpenAI.AssistantToolsFileSearchFileSearch? Type41 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnly? Type42 { get; set; } + public global::tryAGI.OpenAI.FileSearchRankingOptions? Type42 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnlyType? Type43 { get; set; } + public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnly? Type43 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantToolsFunctionType? Type44 { get; set; } + public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnlyType? Type44 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionObject? Type45 { get; set; } + public global::tryAGI.OpenAI.AssistantToolsFunctionType? Type45 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsApiResponseFormatOptionEnum? Type46 { get; set; } + public global::tryAGI.OpenAI.FunctionObject? Type46 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatText? Type47 { get; set; } + public global::tryAGI.OpenAI.AssistantsApiResponseFormatOptionEnum? Type47 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonObject? Type48 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatText? Type48 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonSchema? Type49 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonObject? Type49 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? Type50 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonSchema? Type50 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsApiToolChoiceOptionEnum? Type51 { get; set; } + public global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? Type51 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsNamedToolChoice? Type52 { get; set; } + public global::tryAGI.OpenAI.AssistantsApiToolChoiceOptionEnum? Type52 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsNamedToolChoiceType? Type53 { get; set; } + public global::tryAGI.OpenAI.AssistantsNamedToolChoice? Type53 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsNamedToolChoiceFunction? Type54 { get; set; } + public global::tryAGI.OpenAI.AssistantsNamedToolChoiceType? Type54 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AudioResponseFormat? Type55 { get; set; } + public global::tryAGI.OpenAI.AssistantsNamedToolChoiceFunction? Type55 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AudioTranscription? Type56 { get; set; } + public global::tryAGI.OpenAI.AudioResponseFormat? Type56 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type57 { get; set; } + public global::tryAGI.OpenAI.AudioTranscription? Type57 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AudioTranscriptionModel? Type58 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type58 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AudioTranscriptionDelay? Type59 { get; set; } + public global::tryAGI.OpenAI.AudioTranscriptionModel? Type59 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AudioTranscriptionResponse? Type60 { get; set; } + public global::tryAGI.OpenAI.AudioTranscriptionDelay? Type60 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type61 { get; set; } + public global::tryAGI.OpenAI.AudioTranscriptionResponse? Type61 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AudioTranscriptionResponseModel? Type62 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type62 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLog? Type63 { get; set; } + public global::tryAGI.OpenAI.AudioTranscriptionResponseModel? Type63 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogEventType? Type64 { get; set; } + public global::tryAGI.OpenAI.AuditLog? Type64 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProject? Type65 { get; set; } + public global::tryAGI.OpenAI.AuditLogEventType? Type65 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActor2? Type66 { get; set; } + public global::tryAGI.OpenAI.AuditLogProject? Type66 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyCreated? Type67 { get; set; } + public global::tryAGI.OpenAI.AuditLogActor2? Type67 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyCreatedData? Type68 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyCreated? Type68 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyUpdated? Type69 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyCreatedData? Type69 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyUpdatedChangesRequested? Type70 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyUpdated? Type70 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyDeleted? Type71 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyUpdatedChangesRequested? Type71 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogCheckpointPermissionCreated? Type72 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyDeleted? Type72 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogCheckpointPermissionCreatedData? Type73 { get; set; } + public global::tryAGI.OpenAI.AuditLogCheckpointPermissionCreated? Type73 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogCheckpointPermissionDeleted? Type74 { get; set; } + public global::tryAGI.OpenAI.AuditLogCheckpointPermissionCreatedData? Type74 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogExternalKeyRegistered? Type75 { get; set; } + public global::tryAGI.OpenAI.AuditLogCheckpointPermissionDeleted? Type75 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogExternalKeyRemoved? Type76 { get; set; } + public global::tryAGI.OpenAI.AuditLogExternalKeyRegistered? Type76 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogGroupCreated? Type77 { get; set; } + public global::tryAGI.OpenAI.AuditLogExternalKeyRemoved? Type77 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogGroupCreatedData? Type78 { get; set; } + public global::tryAGI.OpenAI.AuditLogGroupCreated? Type78 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogGroupUpdated? Type79 { get; set; } + public global::tryAGI.OpenAI.AuditLogGroupCreatedData? Type79 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogGroupUpdatedChangesRequested? Type80 { get; set; } + public global::tryAGI.OpenAI.AuditLogGroupUpdated? Type80 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogGroupDeleted? Type81 { get; set; } + public global::tryAGI.OpenAI.AuditLogGroupUpdatedChangesRequested? Type81 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogScimEnabled? Type82 { get; set; } + public global::tryAGI.OpenAI.AuditLogGroupDeleted? Type82 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogScimDisabled? Type83 { get; set; } + public global::tryAGI.OpenAI.AuditLogScimEnabled? Type83 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogInviteSent? Type84 { get; set; } + public global::tryAGI.OpenAI.AuditLogScimDisabled? Type84 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogInviteSentData? Type85 { get; set; } + public global::tryAGI.OpenAI.AuditLogInviteSent? Type85 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogInviteAccepted? Type86 { get; set; } + public global::tryAGI.OpenAI.AuditLogInviteSentData? Type86 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogInviteDeleted? Type87 { get; set; } + public global::tryAGI.OpenAI.AuditLogInviteAccepted? Type87 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogIpAllowlistCreated? Type88 { get; set; } + public global::tryAGI.OpenAI.AuditLogInviteDeleted? Type88 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogIpAllowlistUpdated? Type89 { get; set; } + public global::tryAGI.OpenAI.AuditLogIpAllowlistCreated? Type89 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogIpAllowlistDeleted? Type90 { get; set; } + public global::tryAGI.OpenAI.AuditLogIpAllowlistUpdated? Type90 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigActivated? Type91 { get; set; } + public global::tryAGI.OpenAI.AuditLogIpAllowlistDeleted? Type91 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type92 { get; set; } + public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigActivated? Type92 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigActivatedConfig? Type93 { get; set; } + public global::System.Collections.Generic.IList? Type93 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigDeactivated? Type94 { get; set; } + public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigActivatedConfig? Type94 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type95 { get; set; } + public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigDeactivated? Type95 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigDeactivatedConfig? Type96 { get; set; } + public global::System.Collections.Generic.IList? Type96 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogLoginFailed? Type97 { get; set; } + public global::tryAGI.OpenAI.AuditLogIpAllowlistConfigDeactivatedConfig? Type97 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogLogoutFailed? Type98 { get; set; } + public global::tryAGI.OpenAI.AuditLogLoginFailed? Type98 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogOrganizationUpdated? Type99 { get; set; } + public global::tryAGI.OpenAI.AuditLogLogoutFailed? Type99 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogOrganizationUpdatedChangesRequested? Type100 { get; set; } + public global::tryAGI.OpenAI.AuditLogOrganizationUpdated? Type100 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectCreated? Type101 { get; set; } + public global::tryAGI.OpenAI.AuditLogOrganizationUpdatedChangesRequested? Type101 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectCreatedData? Type102 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectCreated? Type102 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectUpdated? Type103 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectCreatedData? Type103 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectUpdatedChangesRequested? Type104 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectUpdated? Type104 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectArchived? Type105 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectUpdatedChangesRequested? Type105 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectDeleted? Type106 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectArchived? Type106 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRateLimitUpdated? Type107 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectDeleted? Type107 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRateLimitUpdatedChangesRequested? Type108 { get; set; } + public global::tryAGI.OpenAI.AuditLogRateLimitUpdated? Type108 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRateLimitDeleted? Type109 { get; set; } + public global::tryAGI.OpenAI.AuditLogRateLimitUpdatedChangesRequested? Type109 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRoleCreated? Type110 { get; set; } + public long? Type110 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRoleUpdated? Type111 { get; set; } + public global::tryAGI.OpenAI.AuditLogRateLimitDeleted? Type111 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRoleUpdatedChangesRequested? Type112 { get; set; } + public global::tryAGI.OpenAI.AuditLogRoleCreated? Type112 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRoleDeleted? Type113 { get; set; } + public global::tryAGI.OpenAI.AuditLogRoleUpdated? Type113 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRoleAssignmentCreated? Type114 { get; set; } + public global::tryAGI.OpenAI.AuditLogRoleUpdatedChangesRequested? Type114 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRoleAssignmentDeleted? Type115 { get; set; } + public global::tryAGI.OpenAI.AuditLogRoleDeleted? Type115 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountCreated? Type116 { get; set; } + public global::tryAGI.OpenAI.AuditLogRoleAssignmentCreated? Type116 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountCreatedData? Type117 { get; set; } + public global::tryAGI.OpenAI.AuditLogRoleAssignmentDeleted? Type117 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountUpdated? Type118 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountCreated? Type118 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountUpdatedChangesRequested? Type119 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountCreatedData? Type119 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountDeleted? Type120 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountUpdated? Type120 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserAdded? Type121 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountUpdatedChangesRequested? Type121 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserAddedData? Type122 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountDeleted? Type122 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserUpdated? Type123 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserAdded? Type123 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserUpdatedChangesRequested? Type124 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserAddedData? Type124 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserDeleted? Type125 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserUpdated? Type125 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogCertificateCreated? Type126 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserUpdatedChangesRequested? Type126 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogCertificateUpdated? Type127 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserDeleted? Type127 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogCertificateDeleted? Type128 { get; set; } + public global::tryAGI.OpenAI.AuditLogCertificateCreated? Type128 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogCertificatesActivated? Type129 { get; set; } + public global::tryAGI.OpenAI.AuditLogCertificateUpdated? Type129 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type130 { get; set; } + public global::tryAGI.OpenAI.AuditLogCertificateDeleted? Type130 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogCertificatesActivatedCertificate? Type131 { get; set; } + public global::tryAGI.OpenAI.AuditLogCertificatesActivated? Type131 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogCertificatesDeactivated? Type132 { get; set; } + public global::System.Collections.Generic.IList? Type132 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type133 { get; set; } + public global::tryAGI.OpenAI.AuditLogCertificatesActivatedCertificate? Type133 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogCertificatesDeactivatedCertificate? Type134 { get; set; } + public global::tryAGI.OpenAI.AuditLogCertificatesDeactivated? Type134 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorType? Type135 { get; set; } + public global::System.Collections.Generic.IList? Type135 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorSession? Type136 { get; set; } + public global::tryAGI.OpenAI.AuditLogCertificatesDeactivatedCertificate? Type136 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorApiKey? Type137 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorType? Type137 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorApiKeyType? Type138 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorSession? Type138 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorUser? Type139 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorApiKey? Type139 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorServiceAccount? Type140 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorApiKeyType? Type140 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParam? Type141 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorUser? Type141 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParamType? Type142 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorServiceAccount? Type142 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Batch? Type143 { get; set; } + public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParam? Type143 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchObject? Type144 { get; set; } + public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParamType? Type144 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchErrors? Type145 { get; set; } + public global::tryAGI.OpenAI.Batch? Type145 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type146 { get; set; } + public global::tryAGI.OpenAI.BatchObject? Type146 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchErrorsDataItem? Type147 { get; set; } + public global::tryAGI.OpenAI.BatchErrors? Type147 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchStatus? Type148 { get; set; } + public global::System.Collections.Generic.IList? Type148 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchRequestCounts? Type149 { get; set; } + public global::tryAGI.OpenAI.BatchErrorsDataItem? Type149 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchUsage? Type150 { get; set; } + public global::tryAGI.OpenAI.BatchStatus? Type150 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchUsageInputTokensDetails? Type151 { get; set; } + public global::tryAGI.OpenAI.BatchRequestCounts? Type151 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchUsageOutputTokensDetails? Type152 { get; set; } + public global::tryAGI.OpenAI.BatchUsage? Type152 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchFileExpirationAfter? Type153 { get; set; } + public global::tryAGI.OpenAI.BatchUsageInputTokensDetails? Type153 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchFileExpirationAfterAnchor? Type154 { get; set; } + public global::tryAGI.OpenAI.BatchUsageOutputTokensDetails? Type154 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Certificate? Type155 { get; set; } + public global::tryAGI.OpenAI.BatchFileExpirationAfter? Type155 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CertificateObject? Type156 { get; set; } + public global::tryAGI.OpenAI.BatchFileExpirationAfterAnchor? Type156 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CertificateCertificateDetails? Type157 { get; set; } + public global::tryAGI.OpenAI.Certificate? Type157 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionAllowedTools? Type158 { get; set; } + public global::tryAGI.OpenAI.CertificateObject? Type158 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionAllowedToolsMode? Type159 { get; set; } + public global::tryAGI.OpenAI.CertificateCertificateDetails? Type159 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type160 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionAllowedTools? Type160 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionAllowedToolsChoice? Type161 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionAllowedToolsMode? Type161 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionAllowedToolsChoiceType? Type162 { get; set; } + public global::System.Collections.Generic.IList? Type162 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionDeleted? Type163 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionAllowedToolsChoice? Type163 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionDeletedObject? Type164 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionAllowedToolsChoiceType? Type164 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionFunctionCallOption? Type165 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionDeleted? Type165 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionFunctions? Type166 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionDeletedObject? Type166 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionParameters? Type167 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionFunctionCallOption? Type167 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionList? Type168 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionFunctions? Type168 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionListObject? Type169 { get; set; } + public global::tryAGI.OpenAI.FunctionParameters? Type169 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type170 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionList? Type170 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionResponse? Type171 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionListObject? Type171 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageCustomToolCall? Type172 { get; set; } + public global::System.Collections.Generic.IList? Type172 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageCustomToolCallType? Type173 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionResponse? Type173 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageCustomToolCallCustom? Type174 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageCustomToolCall? Type174 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageList? Type175 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageCustomToolCallType? Type175 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageListObject? Type176 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageCustomToolCallCustom? Type176 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type177 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageList? Type177 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type178 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageListObject? Type178 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessage? Type179 { get; set; } + public global::System.Collections.Generic.IList>? Type179 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageListDataItem? Type180 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type181 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessage? Type181 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type182 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageListDataItem? Type182 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartText? Type183 { get; set; } + public global::System.Collections.Generic.IList>? Type183 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImage? Type184 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type184 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCall? Type185 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartText? Type185 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallType? Type186 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImage? Type186 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallFunction? Type187 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCall? Type187 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunk? Type188 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallType? Type188 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunkType? Type189 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallFunction? Type189 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunkFunction? Type190 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunk? Type190 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type191 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunkType? Type191 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallsItem? Type192 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunkFunction? Type192 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallDiscriminator? Type193 { get; set; } + public global::System.Collections.Generic.IList? Type193 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallDiscriminatorType? Type194 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallsItem? Type194 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type195 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallDiscriminator? Type195 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionModalitiesVariant1Item? Type196 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallDiscriminatorType? Type196 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionNamedToolChoice? Type197 { get; set; } + public global::System.Collections.Generic.IList? Type197 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceType? Type198 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionModalitiesVariant1Item? Type198 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceFunction? Type199 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionNamedToolChoice? Type199 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceCustom? Type200 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceType? Type200 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceCustomType? Type201 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceFunction? Type201 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceCustomCustom? Type202 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceCustom? Type202 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessage? Type203 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceCustomType? Type203 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type204 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceCustomCustom? Type204 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type205 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessage? Type205 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPart? Type206 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type206 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageRole? Type207 { get; set; } + public global::System.Collections.Generic.IList? Type207 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageAudio2? Type208 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPart? Type208 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageFunctionCall2? Type209 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageRole? Type209 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartRefusal? Type210 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageAudio2? Type210 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminator? Type211 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageFunctionCall2? Type211 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminatorType? Type212 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartRefusal? Type212 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestDeveloperMessage? Type213 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminator? Type213 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type214 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminatorType? Type214 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type215 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestDeveloperMessage? Type215 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestDeveloperMessageRole? Type216 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type216 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestFunctionMessage? Type217 { get; set; } + public global::System.Collections.Generic.IList? Type217 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestFunctionMessageRole? Type218 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestDeveloperMessageRole? Type218 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessage? Type219 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestFunctionMessage? Type219 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessage? Type220 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestFunctionMessageRole? Type220 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestUserMessage? Type221 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessage? Type221 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestToolMessage? Type222 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessage? Type222 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageDiscriminator? Type223 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestUserMessage? Type223 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageDiscriminatorRole? Type224 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestToolMessage? Type224 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudio? Type225 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageDiscriminator? Type225 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioType? Type226 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageDiscriminatorRole? Type226 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudio? Type227 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudio? Type227 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudioFormat? Type228 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioType? Type228 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartFile? Type229 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudio? Type229 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartFileType? Type230 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudioFormat? Type230 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartFileFile? Type231 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartFile? Type231 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageType? Type232 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartFileType? Type232 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageImageUrl? Type233 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartFileFile? Type233 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageImageUrlDetail? Type234 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageType? Type234 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartRefusalType? Type235 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageImageUrl? Type235 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartTextType? Type236 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageImageUrlDetail? Type236 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type237 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartRefusalType? Type237 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type238 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartTextType? Type238 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessageContentPart? Type239 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type239 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessageRole? Type240 { get; set; } + public global::System.Collections.Generic.IList? Type240 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestToolMessageRole? Type241 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessageContentPart? Type241 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type242 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessageRole? Type242 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type243 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestToolMessageRole? Type243 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestToolMessageContentPart? Type244 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type244 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type245 { get; set; } + public global::System.Collections.Generic.IList? Type245 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type246 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestToolMessageContentPart? Type246 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPart? Type247 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type247 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageRole? Type248 { get; set; } + public global::System.Collections.Generic.IList? Type248 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type249 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPart? Type249 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessageAnnotation? Type250 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageRole? Type250 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessageAnnotationType? Type251 { get; set; } + public global::System.Collections.Generic.IList? Type251 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessageAnnotationUrlCitation? Type252 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessageAnnotation? Type252 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessageRole? Type253 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessageAnnotationType? Type253 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessageFunctionCall? Type254 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessageAnnotationUrlCitation? Type254 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessageAudio2? Type255 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessageRole? Type255 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRole? Type256 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessageFunctionCall? Type256 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionStreamOptionsVariant1? Type257 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessageAudio2? Type257 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionStreamResponseDelta? Type258 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRole? Type258 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionStreamResponseDeltaFunctionCall? Type259 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionStreamOptionsVariant1? Type259 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type260 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionStreamResponseDelta? Type260 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionStreamResponseDeltaRole? Type261 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionStreamResponseDeltaFunctionCall? Type261 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionTokenLogprob? Type262 { get; set; } + public global::System.Collections.Generic.IList? Type262 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type263 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionStreamResponseDeltaRole? Type263 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type264 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionTokenLogprob? Type264 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionTokenLogprobTopLogprob? Type265 { get; set; } + public global::System.Collections.Generic.IList? Type265 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionTool? Type266 { get; set; } + public global::System.Collections.Generic.IList? Type266 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionToolType? Type267 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionTokenLogprobTopLogprob? Type267 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionToolChoiceOption? Type268 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionTool? Type268 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionToolChoiceOptionEnum? Type269 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionToolType? Type269 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChunkingStrategyRequestParam? Type270 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionToolChoiceOption? Type270 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyRequestParam? Type271 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionToolChoiceOptionEnum? Type271 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChunkingStrategyRequestParamDiscriminator? Type272 { get; set; } + public global::tryAGI.OpenAI.ChunkingStrategyRequestParam? Type272 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChunkingStrategyRequestParamDiscriminatorType? Type273 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyRequestParam? Type273 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterFileOutput? Type274 { get; set; } + public global::tryAGI.OpenAI.ChunkingStrategyRequestParamDiscriminator? Type274 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterFileOutputType? Type275 { get; set; } + public global::tryAGI.OpenAI.ChunkingStrategyRequestParamDiscriminatorType? Type275 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type276 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterFileOutput? Type276 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterFileOutputFile? Type277 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterFileOutputType? Type277 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterTextOutput? Type278 { get; set; } + public global::System.Collections.Generic.IList? Type278 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterTextOutputType? Type279 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterFileOutputFile? Type279 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterTool? Type280 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterTextOutput? Type280 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolType? Type281 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterTextOutputType? Type281 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type282 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterTool? Type282 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoCodeInterpreterToolParam? Type283 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterToolType? Type283 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolCall? Type284 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type284 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolCallType? Type285 { get; set; } + public global::tryAGI.OpenAI.AutoCodeInterpreterToolParam? Type285 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolCallStatus? Type286 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterToolCall? Type286 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type287 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterToolCallType? Type287 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputsVariant1Item? Type288 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterToolCallStatus? Type288 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterOutputLogs? Type289 { get; set; } + public global::System.Collections.Generic.IList? Type289 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterOutputImage? Type290 { get; set; } + public global::tryAGI.OpenAI.OutputsVariant1Item? Type290 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolCallOutputsVariant1ItemDiscriminator? Type291 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterOutputLogs? Type291 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolCallOutputsVariant1ItemDiscriminatorType? Type292 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterOutputImage? Type292 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComparisonFilter? Type293 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterToolCallOutputsVariant1ItemDiscriminator? Type293 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComparisonFilterType? Type294 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterToolCallOutputsVariant1ItemDiscriminatorType? Type294 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>>? Type295 { get; set; } + public global::tryAGI.OpenAI.ComparisonFilter? Type295 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type296 { get; set; } + public global::tryAGI.OpenAI.ComparisonFilterType? Type296 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type297 { get; set; } + public global::tryAGI.OpenAI.OneOf>>? Type297 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompleteUploadRequest? Type298 { get; set; } + public global::System.Collections.Generic.IList>? Type298 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompletionUsage? Type299 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type299 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompletionUsageCompletionTokensDetails? Type300 { get; set; } + public global::tryAGI.OpenAI.CompleteUploadRequest? Type300 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompletionUsagePromptTokensDetails? Type301 { get; set; } + public global::tryAGI.OpenAI.CompletionUsage? Type301 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompoundFilter? Type302 { get; set; } + public global::tryAGI.OpenAI.CompletionUsageCompletionTokensDetails? Type302 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompoundFilterType? Type303 { get; set; } + public global::tryAGI.OpenAI.CompletionUsagePromptTokensDetails? Type303 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type304 { get; set; } + public global::tryAGI.OpenAI.CompoundFilter? Type304 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FiltersItem? Type305 { get; set; } + public global::tryAGI.OpenAI.CompoundFilterType? Type305 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompoundFilterFilterDiscriminator? Type306 { get; set; } + public global::System.Collections.Generic.IList? Type306 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerAction? Type307 { get; set; } + public global::tryAGI.OpenAI.FiltersItem? Type307 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClickParam? Type308 { get; set; } + public global::tryAGI.OpenAI.CompoundFilterFilterDiscriminator? Type308 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoubleClickAction? Type309 { get; set; } + public global::tryAGI.OpenAI.ComputerAction? Type309 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DragParam? Type310 { get; set; } + public global::tryAGI.OpenAI.ClickParam? Type310 { get; set; } /// /// /// - public global::tryAGI.OpenAI.KeyPressAction? Type311 { get; set; } + public global::tryAGI.OpenAI.DoubleClickAction? Type311 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MoveParam? Type312 { get; set; } + public global::tryAGI.OpenAI.DragParam? Type312 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ScreenshotParam? Type313 { get; set; } + public global::tryAGI.OpenAI.KeyPressAction? Type313 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ScrollParam? Type314 { get; set; } + public global::tryAGI.OpenAI.MoveParam? Type314 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TypeParam? Type315 { get; set; } + public global::tryAGI.OpenAI.ScreenshotParam? Type315 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WaitParam? Type316 { get; set; } + public global::tryAGI.OpenAI.ScrollParam? Type316 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerActionDiscriminator? Type317 { get; set; } + public global::tryAGI.OpenAI.TypeParam? Type317 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerActionDiscriminatorType? Type318 { get; set; } + public global::tryAGI.OpenAI.WaitParam? Type318 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type319 { get; set; } + public global::tryAGI.OpenAI.ComputerActionDiscriminator? Type319 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerScreenshotImage? Type320 { get; set; } + public global::tryAGI.OpenAI.ComputerActionDiscriminatorType? Type320 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerScreenshotImageType? Type321 { get; set; } + public global::System.Collections.Generic.IList? Type321 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCall? Type322 { get; set; } + public global::tryAGI.OpenAI.ComputerScreenshotImage? Type322 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallType? Type323 { get; set; } + public global::tryAGI.OpenAI.ComputerScreenshotImageType? Type323 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type324 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCall? Type324 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerCallSafetyCheckParam? Type325 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallType? Type325 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallStatus? Type326 { get; set; } + public global::System.Collections.Generic.IList? Type326 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallOutput? Type327 { get; set; } + public global::tryAGI.OpenAI.ComputerCallSafetyCheckParam? Type327 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallOutputType? Type328 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallStatus? Type328 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallOutputStatus? Type329 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallOutput? Type329 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallOutputResource? Type330 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallOutputType? Type330 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallOutputResourceVariant2? Type331 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallOutputStatus? Type331 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerCallOutputStatus? Type332 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallOutputResource? Type332 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileListResource? Type333 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallOutputResourceVariant2? Type333 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileListResourceObject? Type334 { get; set; } + public global::tryAGI.OpenAI.ComputerCallOutputStatus? Type334 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type335 { get; set; } + public global::tryAGI.OpenAI.ContainerFileListResource? Type335 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileResource? Type336 { get; set; } + public global::tryAGI.OpenAI.ContainerFileListResourceObject? Type336 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerListResource? Type337 { get; set; } + public global::System.Collections.Generic.IList? Type337 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerListResourceObject? Type338 { get; set; } + public global::tryAGI.OpenAI.ContainerFileResource? Type338 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type339 { get; set; } + public global::tryAGI.OpenAI.ContainerListResource? Type339 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerResource? Type340 { get; set; } + public global::tryAGI.OpenAI.ContainerListResourceObject? Type340 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerResourceExpiresAfter? Type341 { get; set; } + public global::System.Collections.Generic.IList? Type341 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerResourceExpiresAfterAnchor? Type342 { get; set; } + public global::tryAGI.OpenAI.ContainerResource? Type342 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerResourceMemoryLimit? Type343 { get; set; } + public global::tryAGI.OpenAI.ContainerResourceExpiresAfter? Type343 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerResourceNetworkPolicy? Type344 { get; set; } + public global::tryAGI.OpenAI.ContainerResourceExpiresAfterAnchor? Type344 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerResourceNetworkPolicyType? Type345 { get; set; } + public global::tryAGI.OpenAI.ContainerResourceMemoryLimit? Type345 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Content5? Type346 { get; set; } + public global::tryAGI.OpenAI.ContainerResourceNetworkPolicy? Type346 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContent? Type347 { get; set; } + public global::tryAGI.OpenAI.ContainerResourceNetworkPolicyType? Type347 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputContent? Type348 { get; set; } + public global::tryAGI.OpenAI.Content5? Type348 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ConversationItem? Type349 { get; set; } + public global::tryAGI.OpenAI.InputContent? Type349 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Message? Type350 { get; set; } + public global::tryAGI.OpenAI.OutputContent? Type350 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallResource? Type351 { get; set; } + public global::tryAGI.OpenAI.ConversationItem? Type351 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallOutputResource? Type352 { get; set; } + public global::tryAGI.OpenAI.Message? Type352 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchToolCall? Type353 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallResource? Type353 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolCall? Type354 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallOutputResource? Type354 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolCall? Type355 { get; set; } + public global::tryAGI.OpenAI.FileSearchToolCall? Type355 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchCall? Type356 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolCall? Type356 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchOutput? Type357 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolCall? Type357 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningItem? Type358 { get; set; } + public global::tryAGI.OpenAI.ToolSearchCall? Type358 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactionBody? Type359 { get; set; } + public global::tryAGI.OpenAI.ToolSearchOutput? Type359 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCall? Type360 { get; set; } + public global::tryAGI.OpenAI.ReasoningItem? Type360 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCallOutput? Type361 { get; set; } + public global::tryAGI.OpenAI.CompactionBody? Type361 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCall? Type362 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCall? Type362 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutput? Type363 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCallOutput? Type363 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCall? Type364 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCall? Type364 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOutput? Type365 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutput? Type365 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPListTools? Type366 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCall? Type366 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalRequest? Type367 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOutput? Type367 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalResponseResource? Type368 { get; set; } + public global::tryAGI.OpenAI.MCPListTools? Type368 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolCall? Type369 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalRequest? Type369 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolCall? Type370 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalResponseResource? Type370 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolCallOutput? Type371 { get; set; } + public global::tryAGI.OpenAI.MCPToolCall? Type371 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ConversationItemDiscriminator? Type372 { get; set; } + public global::tryAGI.OpenAI.CustomToolCall? Type372 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ConversationItemDiscriminatorType? Type373 { get; set; } + public global::tryAGI.OpenAI.CustomToolCallOutput? Type373 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ConversationItemList? Type374 { get; set; } + public global::tryAGI.OpenAI.ConversationItemDiscriminator? Type374 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ConversationItemListObject? Type375 { get; set; } + public global::tryAGI.OpenAI.ConversationItemDiscriminatorType? Type375 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type376 { get; set; } + public global::tryAGI.OpenAI.ConversationItemList? Type376 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ConversationParam? Type377 { get; set; } + public global::tryAGI.OpenAI.ConversationItemListObject? Type377 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ConversationParam2? Type378 { get; set; } + public global::System.Collections.Generic.IList? Type378 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CostsResult? Type379 { get; set; } + public global::tryAGI.OpenAI.ConversationParam? Type379 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CostsResultObject? Type380 { get; set; } + public global::tryAGI.OpenAI.ConversationParam2? Type380 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CostsResultAmount? Type381 { get; set; } + public global::tryAGI.OpenAI.CostsResult? Type381 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequest? Type382 { get; set; } + public global::tryAGI.OpenAI.CostsResultObject? Type382 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type383 { get; set; } + public global::tryAGI.OpenAI.CostsResultAmount? Type383 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningEffortEnum? Type384 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequest? Type384 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResources2? Type385 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type385 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesCodeInterpreter? Type386 { get; set; } + public global::tryAGI.OpenAI.ReasoningEffortEnum? Type386 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearch? Type387 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResources2? Type387 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type388 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesCodeInterpreter? Type388 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStore? Type389 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearch? Type389 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyAutoChunkingStrategy? Type390 { get; set; } + public global::System.Collections.Generic.IList? Type390 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyAutoChunkingStrategyType? Type391 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStore? Type391 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy? Type392 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyAutoChunkingStrategy? Type392 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyType? Type393 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyAutoChunkingStrategyType? Type393 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyStatic? Type394 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy? Type394 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequest? Type395 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyType? Type395 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModelResponseProperties? Type396 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyStatic? Type396 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2? Type397 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequest? Type397 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type398 { get; set; } + public global::tryAGI.OpenAI.CreateModelResponseProperties? Type398 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIdsShared? Type399 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2? Type399 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type400 { get; set; } + public global::System.Collections.Generic.IList? Type400 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VerbosityEnum? Type401 { get; set; } + public global::tryAGI.OpenAI.ModelIdsShared? Type401 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptions? Type402 { get; set; } + public global::System.Collections.Generic.IList? Type402 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocation? Type403 { get; set; } + public global::tryAGI.OpenAI.VerbosityEnum? Type403 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocationType? Type404 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptions? Type404 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchLocation? Type405 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocation? Type405 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchContextSize? Type406 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocationType? Type406 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormat? Type407 { get; set; } + public global::tryAGI.OpenAI.WebSearchLocation? Type407 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2ResponseFormatDiscriminator? Type408 { get; set; } + public global::tryAGI.OpenAI.WebSearchContextSize? Type408 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2ResponseFormatDiscriminatorType? Type409 { get; set; } + public global::tryAGI.OpenAI.ResponseFormat? Type409 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2Audio? Type410 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2ResponseFormatDiscriminator? Type410 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceIdsOrCustomVoice? Type411 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2ResponseFormatDiscriminatorType? Type411 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2AudioFormat? Type412 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2Audio? Type412 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StopConfiguration? Type413 { get; set; } + public global::tryAGI.OpenAI.VoiceIdsOrCustomVoice? Type413 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type414 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2AudioFormat? Type414 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PredictionContent? Type415 { get; set; } + public global::tryAGI.OpenAI.StopConfiguration? Type415 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type416 { get; set; } + public global::System.Collections.Generic.Dictionary? Type416 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type417 { get; set; } + public global::tryAGI.OpenAI.PredictionContent? Type417 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolChatCompletions? Type418 { get; set; } + public global::System.Collections.Generic.IList>? Type418 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type419 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type419 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2FunctionCall? Type420 { get; set; } + public global::tryAGI.OpenAI.CustomToolChatCompletions? Type420 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type421 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type421 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type422 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2FunctionCall? Type422 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionResponseChoice? Type423 { get; set; } + public global::System.Collections.Generic.IList? Type423 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionResponseChoiceFinishReason? Type424 { get; set; } + public global::System.Collections.Generic.IList? Type424 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionResponseChoiceLogprobs2? Type425 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionResponseChoice? Type425 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type426 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionResponseChoiceFinishReason? Type426 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ServiceTierEnum? Type427 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionResponseChoiceLogprobs2? Type427 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionResponseObject? Type428 { get; set; } + public global::System.Collections.Generic.IList? Type428 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponse? Type429 { get; set; } + public global::tryAGI.OpenAI.ServiceTierEnum? Type429 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type430 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionResponseObject? Type430 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoice? Type431 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponse? Type431 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoiceLogprobs? Type432 { get; set; } + public global::System.Collections.Generic.IList? Type432 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoiceFinishReason? Type433 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoice? Type433 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseObject? Type434 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoiceLogprobs? Type434 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionRequest? Type435 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoiceFinishReason? Type435 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type436 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseObject? Type436 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionRequestModel? Type437 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionRequest? Type437 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>>? Type438 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type438 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type439 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionRequestModel? Type439 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type440 { get; set; } + public global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>>? Type440 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponse? Type441 { get; set; } + public global::System.Collections.Generic.IList? Type441 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type442 { get; set; } + public global::System.Collections.Generic.IList>? Type442 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponseChoice? Type443 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponse? Type443 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponseChoiceFinishReason? Type444 { get; set; } + public global::System.Collections.Generic.IList? Type444 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponseChoiceLogprobs2? Type445 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponseChoice? Type445 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type446 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponseChoiceFinishReason? Type446 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type447 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponseChoiceLogprobs2? Type447 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type448 { get; set; } + public global::System.Collections.Generic.IList? Type448 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponseObject? Type449 { get; set; } + public global::System.Collections.Generic.IList>? Type449 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateContainerBody? Type450 { get; set; } + public global::System.Collections.Generic.Dictionary? Type450 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateContainerBodyExpiresAfter? Type451 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponseObject? Type451 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateContainerBodyExpiresAfterAnchor? Type452 { get; set; } + public global::tryAGI.OpenAI.CreateContainerBody? Type452 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type453 { get; set; } + public global::tryAGI.OpenAI.CreateContainerBodyExpiresAfter? Type453 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillsItem? Type454 { get; set; } + public global::tryAGI.OpenAI.CreateContainerBodyExpiresAfterAnchor? Type454 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillReferenceParam? Type455 { get; set; } + public global::System.Collections.Generic.IList? Type455 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineSkillParam? Type456 { get; set; } + public global::tryAGI.OpenAI.SkillsItem? Type456 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateContainerBodySkillDiscriminator? Type457 { get; set; } + public global::tryAGI.OpenAI.SkillReferenceParam? Type457 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateContainerBodySkillDiscriminatorType? Type458 { get; set; } + public global::tryAGI.OpenAI.InlineSkillParam? Type458 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateContainerBodyMemoryLimit? Type459 { get; set; } + public global::tryAGI.OpenAI.CreateContainerBodySkillDiscriminator? Type459 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NetworkPolicy? Type460 { get; set; } + public global::tryAGI.OpenAI.CreateContainerBodySkillDiscriminatorType? Type460 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerNetworkPolicyDisabledParam? Type461 { get; set; } + public global::tryAGI.OpenAI.CreateContainerBodyMemoryLimit? Type461 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerNetworkPolicyAllowlistParam? Type462 { get; set; } + public global::tryAGI.OpenAI.NetworkPolicy? Type462 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateContainerBodyNetworkPolicyDiscriminator? Type463 { get; set; } + public global::tryAGI.OpenAI.ContainerNetworkPolicyDisabledParam? Type463 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateContainerBodyNetworkPolicyDiscriminatorType? Type464 { get; set; } + public global::tryAGI.OpenAI.ContainerNetworkPolicyAllowlistParam? Type464 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateContainerFileBody? Type465 { get; set; } + public global::tryAGI.OpenAI.CreateContainerBodyNetworkPolicyDiscriminator? Type465 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingRequest? Type466 { get; set; } + public global::tryAGI.OpenAI.CreateContainerBodyNetworkPolicyDiscriminatorType? Type466 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type467 { get; set; } + public global::tryAGI.OpenAI.CreateContainerFileBody? Type467 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingRequestModel? Type468 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingRequest? Type468 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingRequestEncodingFormat? Type469 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type469 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingResponse? Type470 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingRequestModel? Type470 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type471 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingRequestEncodingFormat? Type471 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Embedding? Type472 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingResponse? Type472 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingResponseObject? Type473 { get; set; } + public global::System.Collections.Generic.IList? Type473 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingResponseUsage? Type474 { get; set; } + public global::tryAGI.OpenAI.Embedding? Type474 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSource? Type475 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingResponseObject? Type475 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceType? Type476 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingResponseUsage? Type476 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessages? Type477 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSource? Type477 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessagesType? Type478 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceType? Type478 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type479 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessages? Type479 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type480 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessagesType? Type480 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EasyInputMessage? Type481 { get; set; } + public global::System.Collections.Generic.IList>? Type481 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalItem? Type482 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type482 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages? Type483 { get; set; } + public global::tryAGI.OpenAI.EasyInputMessage? Type483 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessagesType? Type484 { get; set; } + public global::tryAGI.OpenAI.EvalItem? Type484 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceSamplingParams? Type485 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages? Type485 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type486 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessagesType? Type486 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type487 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceSamplingParams? Type487 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type488 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type488 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalJsonlFileContentSource? Type489 { get; set; } + public global::System.Collections.Generic.IList? Type489 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalJsonlFileIdSource? Type490 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type490 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalStoredCompletionsSource? Type491 { get; set; } + public global::tryAGI.OpenAI.EvalJsonlFileContentSource? Type491 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCustomDataSourceConfig? Type492 { get; set; } + public global::tryAGI.OpenAI.EvalJsonlFileIdSource? Type492 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCustomDataSourceConfigType? Type493 { get; set; } + public global::tryAGI.OpenAI.EvalStoredCompletionsSource? Type493 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalItem? Type494 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCustomDataSourceConfig? Type494 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalItemSimpleInputMessage? Type495 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCustomDataSourceConfigType? Type495 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalJsonlRunDataSource? Type496 { get; set; } + public global::tryAGI.OpenAI.CreateEvalItem? Type496 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalJsonlRunDataSourceType? Type497 { get; set; } + public global::tryAGI.OpenAI.CreateEvalItemSimpleInputMessage? Type497 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type498 { get; set; } + public global::tryAGI.OpenAI.CreateEvalJsonlRunDataSource? Type498 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalLabelModelGrader? Type499 { get; set; } + public global::tryAGI.OpenAI.CreateEvalJsonlRunDataSourceType? Type499 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalLabelModelGraderType? Type500 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type500 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type501 { get; set; } + public global::tryAGI.OpenAI.CreateEvalLabelModelGrader? Type501 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalLogsDataSourceConfig? Type502 { get; set; } + public global::tryAGI.OpenAI.CreateEvalLabelModelGraderType? Type502 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalLogsDataSourceConfigType? Type503 { get; set; } + public global::System.Collections.Generic.IList? Type503 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalRequest? Type504 { get; set; } + public global::tryAGI.OpenAI.CreateEvalLogsDataSourceConfig? Type504 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type505 { get; set; } + public global::tryAGI.OpenAI.CreateEvalLogsDataSourceConfigType? Type505 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalStoredCompletionsDataSourceConfig? Type506 { get; set; } + public global::tryAGI.OpenAI.CreateEvalRequest? Type506 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type507 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type507 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderStringCheck? Type508 { get; set; } + public global::tryAGI.OpenAI.CreateEvalStoredCompletionsDataSourceConfig? Type508 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderTextSimilarity? Type509 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type509 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderPython? Type510 { get; set; } + public global::tryAGI.OpenAI.EvalGraderStringCheck? Type510 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderScoreModel? Type511 { get; set; } + public global::tryAGI.OpenAI.EvalGraderTextSimilarity? Type511 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSource? Type512 { get; set; } + public global::tryAGI.OpenAI.EvalGraderPython? Type512 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceType? Type513 { get; set; } + public global::tryAGI.OpenAI.EvalGraderScoreModel? Type513 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplate? Type514 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSource? Type514 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplateType? Type515 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceType? Type515 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type516 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplate? Type516 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type517 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplateType? Type517 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplateTemplateItem? Type518 { get; set; } + public global::System.Collections.Generic.IList>? Type518 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference? Type519 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type519 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReferenceType? Type520 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplateTemplateItem? Type520 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceSamplingParams? Type521 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference? Type521 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type522 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReferenceType? Type522 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Tool? Type523 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceSamplingParams? Type523 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceSamplingParamsText? Type524 { get; set; } + public global::System.Collections.Generic.IList? Type524 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextResponseFormatConfiguration? Type525 { get; set; } + public global::tryAGI.OpenAI.Tool? Type525 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type526 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceSamplingParamsText? Type526 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalResponsesSource? Type527 { get; set; } + public global::tryAGI.OpenAI.TextResponseFormatConfiguration? Type527 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalRunRequest? Type528 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type528 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type529 { get; set; } + public global::tryAGI.OpenAI.EvalResponsesSource? Type529 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalStoredCompletionsDataSourceConfigType? Type530 { get; set; } + public global::tryAGI.OpenAI.CreateEvalRunRequest? Type530 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFileRequest? Type531 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type531 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFileRequestPurpose? Type532 { get; set; } + public global::tryAGI.OpenAI.CreateEvalStoredCompletionsDataSourceConfigType? Type532 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileExpirationAfter? Type533 { get; set; } + public global::tryAGI.OpenAI.CreateFileRequest? Type533 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningCheckpointPermissionRequest? Type534 { get; set; } + public global::tryAGI.OpenAI.CreateFileRequestPurpose? Type534 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequest? Type535 { get; set; } + public global::tryAGI.OpenAI.FileExpirationAfter? Type535 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type536 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningCheckpointPermissionRequest? Type536 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestModel? Type537 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequest? Type537 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparameters? Type538 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type538 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type539 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestModel? Type539 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersBatchSize? Type540 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparameters? Type540 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type541 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type541 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersLearningRateMultiplier? Type542 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersBatchSize? Type542 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type543 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type543 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersNEpochs? Type544 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersLearningRateMultiplier? Type544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type545 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type545 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegration? Type546 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersNEpochs? Type546 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationType? Type547 { get; set; } + public global::System.Collections.Generic.IList? Type547 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationWandb? Type548 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegration? Type548 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneMethod? Type549 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationType? Type549 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateGroupBody? Type550 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationWandb? Type550 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateGroupUserBody? Type551 { get; set; } + public global::tryAGI.OpenAI.FineTuneMethod? Type551 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequest? Type552 { get; set; } + public global::tryAGI.OpenAI.CreateGroupBody? Type552 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf>? Type553 { get; set; } + public global::tryAGI.OpenAI.CreateGroupUserBody? Type553 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type554 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequest? Type554 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestBackground? Type555 { get; set; } + public global::tryAGI.OpenAI.AnyOf>? Type555 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type556 { get; set; } + public global::System.Collections.Generic.IList? Type556 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestModel? Type557 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestBackground? Type557 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type558 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type558 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestSize? Type559 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestModel? Type559 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestResponseFormat? Type560 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type560 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestOutputFormat? Type561 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestSize? Type561 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputFidelity? Type562 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestResponseFormat? Type562 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestQuality? Type563 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestOutputFormat? Type563 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequest? Type564 { get; set; } + public global::tryAGI.OpenAI.InputFidelity? Type564 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type565 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestQuality? Type565 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestModel? Type566 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequest? Type566 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestQuality? Type567 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type567 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestResponseFormat? Type568 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestModel? Type568 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestOutputFormat? Type569 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestQuality? Type569 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type570 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestResponseFormat? Type570 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestSize? Type571 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestOutputFormat? Type571 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestModeration? Type572 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type572 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestBackground? Type573 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestSize? Type573 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestStyle? Type574 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestModeration? Type574 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageVariationRequest? Type575 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestBackground? Type575 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type576 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestStyle? Type576 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageVariationRequestModel? Type577 { get; set; } + public global::tryAGI.OpenAI.CreateImageVariationRequest? Type577 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageVariationRequestResponseFormat? Type578 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type578 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageVariationRequestSize? Type579 { get; set; } + public global::tryAGI.OpenAI.CreateImageVariationRequestModel? Type579 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMessageRequest? Type580 { get; set; } + public global::tryAGI.OpenAI.CreateImageVariationRequestResponseFormat? Type580 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMessageRequestRole? Type581 { get; set; } + public global::tryAGI.OpenAI.CreateImageVariationRequestSize? Type581 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>>? Type582 { get; set; } + public global::tryAGI.OpenAI.CreateMessageRequest? Type582 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type583 { get; set; } + public global::tryAGI.OpenAI.CreateMessageRequestRole? Type583 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type584 { get; set; } + public global::tryAGI.OpenAI.OneOf>>? Type584 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObject? Type585 { get; set; } + public global::System.Collections.Generic.IList>? Type585 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObject? Type586 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type586 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageRequestContentTextObject? Type587 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObject? Type587 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type588 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObject? Type588 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMessageRequestAttachmentsVariant1Item? Type589 { get; set; } + public global::tryAGI.OpenAI.MessageRequestContentTextObject? Type589 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type590 { get; set; } + public global::System.Collections.Generic.IList? Type590 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type591 { get; set; } + public global::tryAGI.OpenAI.CreateMessageRequestAttachmentsVariant1Item? Type591 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelResponseProperties? Type592 { get; set; } + public global::System.Collections.Generic.IList>? Type592 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModelResponsePropertiesVariant2? Type593 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type593 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequest? Type594 { get; set; } + public global::tryAGI.OpenAI.ModelResponseProperties? Type594 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type595 { get; set; } + public global::tryAGI.OpenAI.CreateModelResponsePropertiesVariant2? Type595 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type596 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequest? Type596 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1? Type597 { get; set; } + public global::System.Collections.Generic.IList>? Type597 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1Type? Type598 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type598 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1ImageUrl? Type599 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1? Type599 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant2? Type600 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1Type? Type600 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant2Type? Type601 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1ImageUrl? Type601 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type602 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant2? Type602 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestModel? Type603 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant2Type? Type603 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponse? Type604 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type604 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type605 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestModel? Type605 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResult? Type606 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponse? Type606 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategories? Type607 { get; set; } + public global::System.Collections.Generic.IList? Type607 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryScores? Type608 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResult? Type608 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypes? Type609 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategories? Type609 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type610 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryScores? Type610 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateItem? Type611 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypes? Type611 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type612 { get; set; } + public global::System.Collections.Generic.IList? Type612 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateThreateningItem? Type613 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateItem? Type613 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type614 { get; set; } + public global::System.Collections.Generic.IList? Type614 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentItem? Type615 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateThreateningItem? Type615 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type616 { get; set; } + public global::System.Collections.Generic.IList? Type616 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentThreateningItem? Type617 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentItem? Type617 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type618 { get; set; } + public global::System.Collections.Generic.IList? Type618 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitItem? Type619 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentThreateningItem? Type619 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type620 { get; set; } + public global::System.Collections.Generic.IList? Type620 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitViolentItem? Type621 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitItem? Type621 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type622 { get; set; } + public global::System.Collections.Generic.IList? Type622 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem? Type623 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitViolentItem? Type623 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type624 { get; set; } + public global::System.Collections.Generic.IList? Type624 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem? Type625 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem? Type625 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type626 { get; set; } + public global::System.Collections.Generic.IList? Type626 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction? Type627 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem? Type627 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type628 { get; set; } + public global::System.Collections.Generic.IList? Type628 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualItem? Type629 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction? Type629 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type630 { get; set; } + public global::System.Collections.Generic.IList? Type630 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualMinor? Type631 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualItem? Type631 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type632 { get; set; } + public global::System.Collections.Generic.IList? Type632 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem? Type633 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualMinor? Type633 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type634 { get; set; } + public global::System.Collections.Generic.IList? Type634 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem? Type635 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem? Type635 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateResponse? Type636 { get; set; } + public global::System.Collections.Generic.IList? Type636 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseProperties? Type637 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem? Type637 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateResponseVariant3? Type638 { get; set; } + public global::tryAGI.OpenAI.CreateResponse? Type638 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputParam? Type639 { get; set; } + public global::tryAGI.OpenAI.ResponseProperties? Type639 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type640 { get; set; } + public global::tryAGI.OpenAI.CreateResponseVariant3? Type640 { get; set; } /// /// /// - public global::tryAGI.OpenAI.IncludeEnum? Type641 { get; set; } + public global::tryAGI.OpenAI.InputParam? Type641 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseStreamOptionsVariant1? Type642 { get; set; } + public global::System.Collections.Generic.IList? Type642 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type643 { get; set; } + public global::tryAGI.OpenAI.IncludeEnum? Type643 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContextManagementParam? Type644 { get; set; } + public global::tryAGI.OpenAI.ResponseStreamOptionsVariant1? Type644 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateRunRequest? Type645 { get; set; } + public global::System.Collections.Generic.IList? Type645 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type646 { get; set; } + public global::tryAGI.OpenAI.ContextManagementParam? Type646 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type647 { get; set; } + public global::tryAGI.OpenAI.CreateRunRequest? Type647 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TruncationObject? Type648 { get; set; } + public global::System.Collections.Generic.IList? Type648 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type649 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type649 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSpeechRequest? Type650 { get; set; } + public global::tryAGI.OpenAI.TruncationObject? Type650 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type651 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type651 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSpeechRequestModel? Type652 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechRequest? Type652 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSpeechRequestResponseFormat? Type653 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type653 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat? Type654 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechRequestModel? Type654 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSpeechResponseStreamEvent? Type655 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechRequestResponseFormat? Type655 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpeechAudioDeltaEvent? Type656 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat? Type656 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpeechAudioDoneEvent? Type657 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechResponseStreamEvent? Type657 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSpeechResponseStreamEventDiscriminator? Type658 { get; set; } + public global::tryAGI.OpenAI.SpeechAudioDeltaEvent? Type658 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSpeechResponseStreamEventDiscriminatorType? Type659 { get; set; } + public global::tryAGI.OpenAI.SpeechAudioDoneEvent? Type659 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequest? Type660 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechResponseStreamEventDiscriminator? Type660 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequest? Type661 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechResponseStreamEventDiscriminatorType? Type661 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type662 { get; set; } + public global::tryAGI.OpenAI.CreateSpendAlertBody? Type662 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequestModel? Type663 { get; set; } + public global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency? Type663 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResources? Type664 { get; set; } + public global::tryAGI.OpenAI.CreateSpendAlertBodyInterval? Type664 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResourcesCodeInterpreter? Type665 { get; set; } + public global::tryAGI.OpenAI.SpendAlertNotificationChannel? Type665 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResourcesFileSearch? Type666 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequest? Type666 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResources2? Type667 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequest? Type667 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesCodeInterpreter? Type668 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type668 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearch? Type669 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequestModel? Type669 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type670 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResources? Type670 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStore? Type671 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResourcesCodeInterpreter? Type671 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyAutoChunkingStrategy? Type672 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResourcesFileSearch? Type672 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyAutoChunkingStrategyType? Type673 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResources2? Type673 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy? Type674 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesCodeInterpreter? Type674 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyType? Type675 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearch? Type675 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyStatic? Type676 { get; set; } + public global::System.Collections.Generic.IList? Type676 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionRequest? Type677 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStore? Type677 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type678 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyAutoChunkingStrategy? Type678 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionRequestModel? Type679 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyAutoChunkingStrategyType? Type679 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type680 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy? Type680 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionInclude? Type681 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyType? Type681 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type682 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyStatic? Type682 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionRequestTimestampGranularitie? Type683 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionRequest? Type683 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type684 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type684 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionRequestChunkingStrategyVariant1? Type685 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionRequestModel? Type685 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VadConfig? Type686 { get; set; } + public global::System.Collections.Generic.IList? Type686 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseDiarizedJson? Type687 { get; set; } + public global::tryAGI.OpenAI.TranscriptionInclude? Type687 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseDiarizedJsonTask? Type688 { get; set; } + public global::System.Collections.Generic.IList? Type688 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type689 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionRequestTimestampGranularitie? Type689 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionDiarizedSegment? Type690 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type690 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseDiarizedJsonUsage? Type691 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionRequestChunkingStrategyVariant1? Type691 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextUsageTokens? Type692 { get; set; } + public global::tryAGI.OpenAI.VadConfig? Type692 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextUsageDuration? Type693 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseDiarizedJson? Type693 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseDiarizedJsonUsageDiscriminator? Type694 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseDiarizedJsonTask? Type694 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseDiarizedJsonUsageDiscriminatorType? Type695 { get; set; } + public global::System.Collections.Generic.IList? Type695 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseJson? Type696 { get; set; } + public global::tryAGI.OpenAI.TranscriptionDiarizedSegment? Type696 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type697 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseDiarizedJsonUsage? Type697 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseJsonLogprob? Type698 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextUsageTokens? Type698 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type699 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextUsageDuration? Type699 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseStreamEvent? Type700 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseDiarizedJsonUsageDiscriminator? Type700 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextSegmentEvent? Type701 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseDiarizedJsonUsageDiscriminatorType? Type701 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDeltaEvent? Type702 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseJson? Type702 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDoneEvent? Type703 { get; set; } + public global::System.Collections.Generic.IList? Type703 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseStreamEventDiscriminator? Type704 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseJsonLogprob? Type704 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseStreamEventDiscriminatorType? Type705 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type705 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseVerboseJson? Type706 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseStreamEvent? Type706 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type707 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextSegmentEvent? Type707 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionWord? Type708 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDeltaEvent? Type708 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type709 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDoneEvent? Type709 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionSegment? Type710 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseStreamEventDiscriminator? Type710 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranslationRequest? Type711 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseStreamEventDiscriminatorType? Type711 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type712 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseVerboseJson? Type712 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranslationRequestModel? Type713 { get; set; } + public global::System.Collections.Generic.IList? Type713 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranslationRequestResponseFormat? Type714 { get; set; } + public global::tryAGI.OpenAI.TranscriptionWord? Type714 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranslationResponseJson? Type715 { get; set; } + public global::System.Collections.Generic.IList? Type715 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranslationResponseVerboseJson? Type716 { get; set; } + public global::tryAGI.OpenAI.TranscriptionSegment? Type716 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateUploadRequest? Type717 { get; set; } + public global::tryAGI.OpenAI.CreateTranslationRequest? Type717 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateUploadRequestPurpose? Type718 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type718 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVectorStoreFileBatchRequest? Type719 { get; set; } + public global::tryAGI.OpenAI.CreateTranslationRequestModel? Type719 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type720 { get; set; } + public global::tryAGI.OpenAI.CreateTranslationRequestResponseFormat? Type720 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVectorStoreFileRequest? Type721 { get; set; } + public global::tryAGI.OpenAI.CreateTranslationResponseJson? Type721 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVectorStoreRequest? Type722 { get; set; } + public global::tryAGI.OpenAI.CreateTranslationResponseVerboseJson? Type722 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreExpirationAfter? Type723 { get; set; } + public global::tryAGI.OpenAI.CreateUploadRequest? Type723 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type724 { get; set; } + public global::tryAGI.OpenAI.CreateUploadRequestPurpose? Type724 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVoiceConsentRequest? Type725 { get; set; } + public global::tryAGI.OpenAI.CreateVectorStoreFileBatchRequest? Type725 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVoiceRequest? Type726 { get; set; } + public global::System.Collections.Generic.IList? Type726 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolCallType? Type727 { get; set; } + public global::tryAGI.OpenAI.CreateVectorStoreFileRequest? Type727 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolCallOutputType? Type728 { get; set; } + public global::tryAGI.OpenAI.CreateVectorStoreRequest? Type728 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type729 { get; set; } + public global::tryAGI.OpenAI.VectorStoreExpirationAfter? Type729 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type730 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type730 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionAndCustomToolCallOutput? Type731 { get; set; } + public global::tryAGI.OpenAI.CreateVoiceConsentRequest? Type731 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolCallOutputResource? Type732 { get; set; } + public global::tryAGI.OpenAI.CreateVoiceRequest? Type732 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolCallOutputResourceVariant2? Type733 { get; set; } + public global::tryAGI.OpenAI.CustomToolCallType? Type733 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputStatusEnum? Type734 { get; set; } + public global::tryAGI.OpenAI.CustomToolCallOutputType? Type734 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolCallResource? Type735 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type735 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolCallResourceVariant2? Type736 { get; set; } + public global::System.Collections.Generic.IList? Type736 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallStatus? Type737 { get; set; } + public global::tryAGI.OpenAI.FunctionAndCustomToolCallOutput? Type737 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolChatCompletionsType? Type738 { get; set; } + public global::tryAGI.OpenAI.CustomToolCallOutputResource? Type738 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolChatCompletionsCustom? Type739 { get; set; } + public global::tryAGI.OpenAI.CustomToolCallOutputResourceVariant2? Type739 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type740 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputStatusEnum? Type740 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatTextFormat? Type741 { get; set; } + public global::tryAGI.OpenAI.CustomToolCallResource? Type741 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatTextFormatType? Type742 { get; set; } + public global::tryAGI.OpenAI.CustomToolCallResourceVariant2? Type742 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatGrammarFormat? Type743 { get; set; } + public global::tryAGI.OpenAI.FunctionCallStatus? Type743 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatGrammarFormatType? Type744 { get; set; } + public global::tryAGI.OpenAI.CustomToolChatCompletionsType? Type744 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatGrammarFormatGrammar? Type745 { get; set; } + public global::tryAGI.OpenAI.CustomToolChatCompletionsCustom? Type745 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatGrammarFormatGrammarSyntax? Type746 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type746 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteAssistantResponse? Type747 { get; set; } + public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatTextFormat? Type747 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteAssistantResponseObject? Type748 { get; set; } + public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatTextFormatType? Type748 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteCertificateResponse? Type749 { get; set; } + public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatGrammarFormat? Type749 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteCertificateResponseObject? Type750 { get; set; } + public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatGrammarFormatType? Type750 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteFileResponse? Type751 { get; set; } + public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatGrammarFormatGrammar? Type751 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteFileResponseObject? Type752 { get; set; } + public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatGrammarFormatGrammarSyntax? Type752 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteFineTuningCheckpointPermissionResponse? Type753 { get; set; } + public global::tryAGI.OpenAI.DeleteAssistantResponse? Type753 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteFineTuningCheckpointPermissionResponseObject? Type754 { get; set; } + public global::tryAGI.OpenAI.DeleteAssistantResponseObject? Type754 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteMessageResponse? Type755 { get; set; } + public global::tryAGI.OpenAI.DeleteCertificateResponse? Type755 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteMessageResponseObject? Type756 { get; set; } + public global::tryAGI.OpenAI.DeleteCertificateResponseObject? Type756 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteModelResponse? Type757 { get; set; } + public global::tryAGI.OpenAI.DeleteFileResponse? Type757 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteThreadResponse? Type758 { get; set; } + public global::tryAGI.OpenAI.DeleteFileResponseObject? Type758 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteThreadResponseObject? Type759 { get; set; } + public global::tryAGI.OpenAI.DeleteFineTuningCheckpointPermissionResponse? Type759 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteVectorStoreFileResponse? Type760 { get; set; } + public global::tryAGI.OpenAI.DeleteFineTuningCheckpointPermissionResponseObject? Type760 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteVectorStoreFileResponseObject? Type761 { get; set; } + public global::tryAGI.OpenAI.DeleteMessageResponse? Type761 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteVectorStoreResponse? Type762 { get; set; } + public global::tryAGI.OpenAI.DeleteMessageResponseObject? Type762 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteVectorStoreResponseObject? Type763 { get; set; } + public global::tryAGI.OpenAI.DeleteModelResponse? Type763 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedConversation? Type764 { get; set; } + public global::tryAGI.OpenAI.DeleteThreadResponse? Type764 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedConversationResource? Type765 { get; set; } + public global::tryAGI.OpenAI.DeleteThreadResponseObject? Type765 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedRoleAssignmentResource? Type766 { get; set; } + public global::tryAGI.OpenAI.DeleteVectorStoreFileResponse? Type766 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoneEventEvent? Type767 { get; set; } + public global::tryAGI.OpenAI.DeleteVectorStoreFileResponseObject? Type767 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoneEventData? Type768 { get; set; } + public global::tryAGI.OpenAI.DeleteVectorStoreResponse? Type768 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EasyInputMessageRole? Type769 { get; set; } + public global::tryAGI.OpenAI.DeleteVectorStoreResponseObject? Type769 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type770 { get; set; } + public global::tryAGI.OpenAI.DeletedConversation? Type770 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type771 { get; set; } + public global::tryAGI.OpenAI.DeletedConversationResource? Type771 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessagePhase? Type772 { get; set; } + public global::tryAGI.OpenAI.DeletedRoleAssignmentResource? Type772 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EasyInputMessageType? Type773 { get; set; } + public global::tryAGI.OpenAI.DoneEventEvent? Type773 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EditImageBodyJsonParam? Type774 { get; set; } + public global::tryAGI.OpenAI.DoneEventData? Type774 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type775 { get; set; } + public global::tryAGI.OpenAI.EasyInputMessageRole? Type775 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EditImageBodyJsonParamModel? Type776 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type776 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type777 { get; set; } + public global::System.Collections.Generic.IList? Type777 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageRefParam? Type778 { get; set; } + public global::tryAGI.OpenAI.MessagePhase? Type778 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EditImageBodyJsonParamQuality2? Type779 { get; set; } + public global::tryAGI.OpenAI.EasyInputMessageType? Type779 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EditImageBodyJsonParamInputFidelity2? Type780 { get; set; } + public global::tryAGI.OpenAI.EditImageBodyJsonParam? Type780 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EditImageBodyJsonParamSize2? Type781 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type781 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EditImageBodyJsonParamOutputFormat2? Type782 { get; set; } + public global::tryAGI.OpenAI.EditImageBodyJsonParamModel? Type782 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EditImageBodyJsonParamModeration2? Type783 { get; set; } + public global::System.Collections.Generic.IList? Type783 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EditImageBodyJsonParamBackground2? Type784 { get; set; } + public global::tryAGI.OpenAI.ImageRefParam? Type784 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type785 { get; set; } + public global::tryAGI.OpenAI.EditImageBodyJsonParamQuality2? Type785 { get; set; } /// /// /// - public float? Type786 { get; set; } + public global::tryAGI.OpenAI.EditImageBodyJsonParamInputFidelity2? Type786 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EmbeddingObject? Type787 { get; set; } + public global::tryAGI.OpenAI.EditImageBodyJsonParamSize2? Type787 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Error? Type788 { get; set; } + public global::tryAGI.OpenAI.EditImageBodyJsonParamOutputFormat2? Type788 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ErrorEventEvent? Type789 { get; set; } + public global::tryAGI.OpenAI.EditImageBodyJsonParamModeration2? Type789 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ErrorResponse? Type790 { get; set; } + public global::tryAGI.OpenAI.EditImageBodyJsonParamBackground2? Type790 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Eval? Type791 { get; set; } + public global::System.Collections.Generic.IList? Type791 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalObject? Type792 { get; set; } + public float? Type792 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type793 { get; set; } + public global::tryAGI.OpenAI.EmbeddingObject? Type793 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalCustomDataSourceConfig? Type794 { get; set; } + public global::tryAGI.OpenAI.Error? Type794 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalLogsDataSourceConfig? Type795 { get; set; } + public global::tryAGI.OpenAI.ErrorEventEvent? Type795 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalStoredCompletionsDataSourceConfig? Type796 { get; set; } + public global::tryAGI.OpenAI.ErrorResponse? Type796 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type797 { get; set; } + public global::tryAGI.OpenAI.Eval? Type797 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type798 { get; set; } + public global::tryAGI.OpenAI.EvalObject? Type798 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderLabelModel? Type799 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type799 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalApiError? Type800 { get; set; } + public global::tryAGI.OpenAI.EvalCustomDataSourceConfig? Type800 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalCustomDataSourceConfigType? Type801 { get; set; } + public global::tryAGI.OpenAI.EvalLogsDataSourceConfig? Type801 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderLabelModel? Type802 { get; set; } + public global::tryAGI.OpenAI.EvalStoredCompletionsDataSourceConfig? Type802 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderPython? Type803 { get; set; } + public global::System.Collections.Generic.IList>? Type803 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderPythonVariant2? Type804 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type804 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderScoreModel? Type805 { get; set; } + public global::tryAGI.OpenAI.EvalGraderLabelModel? Type805 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderScoreModelVariant2? Type806 { get; set; } + public global::tryAGI.OpenAI.EvalApiError? Type806 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderStringCheck? Type807 { get; set; } + public global::tryAGI.OpenAI.EvalCustomDataSourceConfigType? Type807 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderTextSimilarity? Type808 { get; set; } + public global::tryAGI.OpenAI.GraderLabelModel? Type808 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderTextSimilarityVariant2? Type809 { get; set; } + public global::tryAGI.OpenAI.GraderPython? Type809 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalItemRole? Type810 { get; set; } + public global::tryAGI.OpenAI.EvalGraderPythonVariant2? Type810 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalItemContent? Type811 { get; set; } + public global::tryAGI.OpenAI.GraderScoreModel? Type811 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalItemType? Type812 { get; set; } + public global::tryAGI.OpenAI.EvalGraderScoreModelVariant2? Type812 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalItemContentItem? Type813 { get; set; } + public global::tryAGI.OpenAI.GraderStringCheck? Type813 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type814 { get; set; } + public global::tryAGI.OpenAI.GraderTextSimilarity? Type814 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputTextContent? Type815 { get; set; } + public global::tryAGI.OpenAI.EvalGraderTextSimilarityVariant2? Type815 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalItemContentOutputText? Type816 { get; set; } + public global::tryAGI.OpenAI.EvalItemRole? Type816 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalItemInputImage? Type817 { get; set; } + public global::tryAGI.OpenAI.EvalItemContent? Type817 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputAudio? Type818 { get; set; } + public global::tryAGI.OpenAI.EvalItemType? Type818 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalItemContentOutputTextType? Type819 { get; set; } + public global::tryAGI.OpenAI.EvalItemContentItem? Type819 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalItemInputImageType? Type820 { get; set; } + public global::System.Collections.Generic.IList? Type820 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalJsonlFileContentSourceType? Type821 { get; set; } + public global::tryAGI.OpenAI.InputTextContent? Type821 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type822 { get; set; } + public global::tryAGI.OpenAI.EvalItemContentOutputText? Type822 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalJsonlFileContentSourceContentItem? Type823 { get; set; } + public global::tryAGI.OpenAI.EvalItemInputImage? Type823 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalJsonlFileIdSourceType? Type824 { get; set; } + public global::tryAGI.OpenAI.InputAudio? Type824 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalList? Type825 { get; set; } + public global::tryAGI.OpenAI.EvalItemContentOutputTextType? Type825 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalListObject? Type826 { get; set; } + public global::tryAGI.OpenAI.EvalItemInputImageType? Type826 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type827 { get; set; } + public global::tryAGI.OpenAI.EvalJsonlFileContentSourceType? Type827 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalLogsDataSourceConfigType? Type828 { get; set; } + public global::System.Collections.Generic.IList? Type828 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalResponsesSourceType? Type829 { get; set; } + public global::tryAGI.OpenAI.EvalJsonlFileContentSourceContentItem? Type829 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRun? Type830 { get; set; } + public global::tryAGI.OpenAI.EvalJsonlFileIdSourceType? Type830 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunObject? Type831 { get; set; } + public global::tryAGI.OpenAI.EvalList? Type831 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunResultCounts? Type832 { get; set; } + public global::tryAGI.OpenAI.EvalListObject? Type832 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type833 { get; set; } + public global::System.Collections.Generic.IList? Type833 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunPerModelUsageItem? Type834 { get; set; } + public global::tryAGI.OpenAI.EvalLogsDataSourceConfigType? Type834 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type835 { get; set; } + public global::tryAGI.OpenAI.EvalResponsesSourceType? Type835 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunPerTestingCriteriaResult? Type836 { get; set; } + public global::tryAGI.OpenAI.EvalRun? Type836 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunList? Type837 { get; set; } + public global::tryAGI.OpenAI.EvalRunObject? Type837 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunListObject? Type838 { get; set; } + public global::tryAGI.OpenAI.EvalRunResultCounts? Type838 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type839 { get; set; } + public global::System.Collections.Generic.IList? Type839 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItem? Type840 { get; set; } + public global::tryAGI.OpenAI.EvalRunPerModelUsageItem? Type840 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemObject? Type841 { get; set; } + public global::System.Collections.Generic.IList? Type841 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type842 { get; set; } + public global::tryAGI.OpenAI.EvalRunPerTestingCriteriaResult? Type842 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemResult? Type843 { get; set; } + public global::tryAGI.OpenAI.EvalRunList? Type843 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemSample? Type844 { get; set; } + public global::tryAGI.OpenAI.EvalRunListObject? Type844 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type845 { get; set; } + public global::System.Collections.Generic.IList? Type845 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemSampleInputItem? Type846 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItem? Type846 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type847 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemObject? Type847 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemSampleOutputItem? Type848 { get; set; } + public global::System.Collections.Generic.IList? Type848 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemSampleUsage? Type849 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemResult? Type849 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemList? Type850 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemSample? Type850 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemListObject? Type851 { get; set; } + public global::System.Collections.Generic.IList? Type851 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type852 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemSampleInputItem? Type852 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalStoredCompletionsDataSourceConfigType? Type853 { get; set; } + public global::System.Collections.Generic.IList? Type853 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalStoredCompletionsSourceType? Type854 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemSampleOutputItem? Type854 { get; set; } /// /// /// - public global::System.DateTimeOffset? Type855 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemSampleUsage? Type855 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileExpirationAfterAnchor? Type856 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemList? Type856 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FilePath? Type857 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemListObject? Type857 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FilePathType? Type858 { get; set; } + public global::System.Collections.Generic.IList? Type858 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchRanker? Type859 { get; set; } + public global::tryAGI.OpenAI.EvalStoredCompletionsDataSourceConfigType? Type859 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchToolCallType? Type860 { get; set; } + public global::tryAGI.OpenAI.EvalStoredCompletionsSourceType? Type860 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchToolCallStatus? Type861 { get; set; } + public global::System.DateTimeOffset? Type861 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type862 { get; set; } + public global::tryAGI.OpenAI.FileExpirationAfterAnchor? Type862 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchToolCallResultsVariant1Item? Type863 { get; set; } + public global::tryAGI.OpenAI.FilePath? Type863 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneChatCompletionRequestAssistantMessage? Type864 { get; set; } + public global::tryAGI.OpenAI.FilePathType? Type864 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneChatCompletionRequestAssistantMessageAssistantMessage? Type865 { get; set; } + public global::tryAGI.OpenAI.FileSearchRanker? Type865 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOHyperparameters? Type866 { get; set; } + public global::tryAGI.OpenAI.FileSearchToolCallType? Type866 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type867 { get; set; } + public global::tryAGI.OpenAI.FileSearchToolCallStatus? Type867 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOHyperparametersBeta? Type868 { get; set; } + public global::System.Collections.Generic.IList? Type868 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type869 { get; set; } + public global::tryAGI.OpenAI.FileSearchToolCallResultsVariant1Item? Type869 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOHyperparametersBatchSize? Type870 { get; set; } + public global::tryAGI.OpenAI.FineTuneChatCompletionRequestAssistantMessage? Type870 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type871 { get; set; } + public global::tryAGI.OpenAI.FineTuneChatCompletionRequestAssistantMessageAssistantMessage? Type871 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOHyperparametersLearningRateMultiplier? Type872 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOHyperparameters? Type872 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type873 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type873 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOHyperparametersNEpochs? Type874 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOHyperparametersBeta? Type874 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOMethod? Type875 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type875 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneMethodType? Type876 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOHyperparametersBatchSize? Type876 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedMethod? Type877 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type877 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementMethod? Type878 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOHyperparametersLearningRateMultiplier? Type878 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparameters? Type879 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type879 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type880 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOHyperparametersNEpochs? Type880 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersBatchSize? Type881 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOMethod? Type881 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type882 { get; set; } + public global::tryAGI.OpenAI.FineTuneMethodType? Type882 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersLearningRateMultiplier? Type883 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedMethod? Type883 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type884 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementMethod? Type884 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersNEpochs? Type885 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparameters? Type885 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersReasoningEffort? Type886 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type886 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type887 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersBatchSize? Type887 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersComputeMultiplier? Type888 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type888 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type889 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersLearningRateMultiplier? Type889 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersEvalInterval? Type890 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type890 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type891 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersNEpochs? Type891 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersEvalSamples? Type892 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersReasoningEffort? Type892 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type893 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type893 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderMulti? Type894 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersComputeMultiplier? Type894 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedHyperparameters? Type895 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type895 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type896 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersEvalInterval? Type896 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedHyperparametersBatchSize? Type897 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type897 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type898 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersEvalSamples? Type898 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedHyperparametersLearningRateMultiplier? Type899 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type899 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type900 { get; set; } + public global::tryAGI.OpenAI.GraderMulti? Type900 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedHyperparametersNEpochs? Type901 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedHyperparameters? Type901 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningCheckpointPermission? Type902 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type902 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningCheckpointPermissionObject? Type903 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedHyperparametersBatchSize? Type903 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningIntegration? Type904 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type904 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningIntegrationType? Type905 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedHyperparametersLearningRateMultiplier? Type905 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningIntegrationWandb? Type906 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type906 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJob? Type907 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedHyperparametersNEpochs? Type907 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobError2? Type908 { get; set; } + public global::tryAGI.OpenAI.FineTuningCheckpointPermission? Type908 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobHyperparameters? Type909 { get; set; } + public global::tryAGI.OpenAI.FineTuningCheckpointPermissionObject? Type909 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type910 { get; set; } + public global::tryAGI.OpenAI.FineTuningIntegration? Type910 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobHyperparametersBatchSizeVariant1? Type911 { get; set; } + public global::tryAGI.OpenAI.FineTuningIntegrationType? Type911 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type912 { get; set; } + public global::tryAGI.OpenAI.FineTuningIntegrationWandb? Type912 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobHyperparametersLearningRateMultiplier? Type913 { get; set; } + public global::tryAGI.OpenAI.FineTuningJob? Type913 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type914 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobError2? Type914 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobHyperparametersNEpochs? Type915 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobHyperparameters? Type915 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobObject? Type916 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type916 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobStatus? Type917 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobHyperparametersBatchSizeVariant1? Type917 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type918 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type918 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobCheckpoint? Type919 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobHyperparametersLearningRateMultiplier? Type919 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobCheckpointMetrics? Type920 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type920 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobCheckpointObject? Type921 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobHyperparametersNEpochs? Type921 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobEvent? Type922 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobObject? Type922 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobEventObject? Type923 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobStatus? Type923 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobEventLevel? Type924 { get; set; } + public global::System.Collections.Generic.IList? Type924 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobEventType? Type925 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobCheckpoint? Type925 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputImageContent? Type926 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobCheckpointMetrics? Type926 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputFileContent? Type927 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobCheckpointObject? Type927 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionAndCustomToolCallOutputDiscriminator? Type928 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobEvent? Type928 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionAndCustomToolCallOutputDiscriminatorType? Type929 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobEventObject? Type929 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCall? Type930 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobEventLevel? Type930 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallType? Type931 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobEventType? Type931 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallStatus? Type932 { get; set; } + public global::tryAGI.OpenAI.InputImageContent? Type932 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallOutput? Type933 { get; set; } + public global::tryAGI.OpenAI.InputFileContent? Type933 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallOutputType? Type934 { get; set; } + public global::tryAGI.OpenAI.FunctionAndCustomToolCallOutputDiscriminator? Type934 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallOutputStatus? Type935 { get; set; } + public global::tryAGI.OpenAI.FunctionAndCustomToolCallOutputDiscriminatorType? Type935 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallOutputResourceVariant2? Type936 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCall? Type936 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallResourceVariant2? Type937 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallType? Type937 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderLabelModelType? Type938 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallStatus? Type938 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type939 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallOutput? Type939 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderMultiType? Type940 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallOutputType? Type940 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type941 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallOutputStatus? Type941 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderPythonType? Type942 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallOutputResourceVariant2? Type942 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderScoreModelType? Type943 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallResourceVariant2? Type943 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderScoreModelSamplingParams? Type944 { get; set; } + public global::tryAGI.OpenAI.GraderLabelModelType? Type944 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderStringCheckType? Type945 { get; set; } + public global::System.Collections.Generic.IList? Type945 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderStringCheckOperation? Type946 { get; set; } + public global::tryAGI.OpenAI.GraderMultiType? Type946 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderTextSimilarityType? Type947 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type947 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderTextSimilarityEvaluationMetric? Type948 { get; set; } + public global::tryAGI.OpenAI.GraderPythonType? Type948 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Group? Type949 { get; set; } + public global::tryAGI.OpenAI.GraderScoreModelType? Type949 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GroupObject? Type950 { get; set; } + public global::tryAGI.OpenAI.GraderScoreModelSamplingParams? Type950 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GroupDeletedResource? Type951 { get; set; } + public global::tryAGI.OpenAI.GraderStringCheckType? Type951 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GroupDeletedResourceObject? Type952 { get; set; } + public global::tryAGI.OpenAI.GraderStringCheckOperation? Type952 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GroupListResource? Type953 { get; set; } + public global::tryAGI.OpenAI.GraderTextSimilarityType? Type953 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GroupListResourceObject? Type954 { get; set; } + public global::tryAGI.OpenAI.GraderTextSimilarityEvaluationMetric? Type954 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type955 { get; set; } + public global::tryAGI.OpenAI.Group? Type955 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GroupResponse? Type956 { get; set; } + public global::tryAGI.OpenAI.GroupObject? Type956 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GroupResourceWithSuccess? Type957 { get; set; } + public global::tryAGI.OpenAI.GroupDeletedResource? Type957 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GroupRoleAssignment? Type958 { get; set; } + public global::tryAGI.OpenAI.GroupDeletedResourceObject? Type958 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GroupRoleAssignmentObject? Type959 { get; set; } + public global::tryAGI.OpenAI.GroupListResource? Type959 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Role? Type960 { get; set; } + public global::tryAGI.OpenAI.GroupListResourceObject? Type960 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GroupUser? Type961 { get; set; } + public global::System.Collections.Generic.IList? Type961 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GroupUserAssignment? Type962 { get; set; } + public global::tryAGI.OpenAI.GroupResponse? Type962 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GroupUserAssignmentObject? Type963 { get; set; } + public global::tryAGI.OpenAI.GroupMemberUser? Type963 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GroupUserDeletedResource? Type964 { get; set; } + public global::tryAGI.OpenAI.GroupMemberUserUserType? Type964 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GroupUserDeletedResourceObject? Type965 { get; set; } + public global::tryAGI.OpenAI.GroupResourceWithSuccess? Type965 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedToolPermission? Type966 { get; set; } + public global::tryAGI.OpenAI.GroupResponseGroupType? Type966 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HostedToolPermissionUpdate? Type967 { get; set; } + public global::tryAGI.OpenAI.GroupRoleAssignment? Type967 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Image2? Type968 { get; set; } + public global::tryAGI.OpenAI.GroupRoleAssignmentObject? Type968 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditCompletedEvent? Type969 { get; set; } + public global::tryAGI.OpenAI.Role? Type969 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditCompletedEventType? Type970 { get; set; } + public global::tryAGI.OpenAI.GroupUser? Type970 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditCompletedEventSize? Type971 { get; set; } + public global::tryAGI.OpenAI.GroupUserAssignment? Type971 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditCompletedEventQuality? Type972 { get; set; } + public global::tryAGI.OpenAI.GroupUserAssignmentObject? Type972 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditCompletedEventBackground? Type973 { get; set; } + public global::tryAGI.OpenAI.GroupUserDeletedResource? Type973 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditCompletedEventOutputFormat? Type974 { get; set; } + public global::tryAGI.OpenAI.GroupUserDeletedResourceObject? Type974 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesUsage? Type975 { get; set; } + public global::tryAGI.OpenAI.HostedToolPermission? Type975 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditPartialImageEvent? Type976 { get; set; } + public global::tryAGI.OpenAI.HostedToolPermissionUpdate? Type976 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditPartialImageEventType? Type977 { get; set; } + public global::tryAGI.OpenAI.Image2? Type977 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditPartialImageEventSize? Type978 { get; set; } + public global::tryAGI.OpenAI.ImageEditCompletedEvent? Type978 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditPartialImageEventQuality? Type979 { get; set; } + public global::tryAGI.OpenAI.ImageEditCompletedEventType? Type979 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditPartialImageEventBackground? Type980 { get; set; } + public global::tryAGI.OpenAI.ImageEditCompletedEventSize? Type980 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditPartialImageEventOutputFormat? Type981 { get; set; } + public global::tryAGI.OpenAI.ImageEditCompletedEventQuality? Type981 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditStreamEvent? Type982 { get; set; } + public global::tryAGI.OpenAI.ImageEditCompletedEventBackground? Type982 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditStreamEventDiscriminator? Type983 { get; set; } + public global::tryAGI.OpenAI.ImageEditCompletedEventOutputFormat? Type983 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageEditStreamEventDiscriminatorType? Type984 { get; set; } + public global::tryAGI.OpenAI.ImagesUsage? Type984 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenCompletedEvent? Type985 { get; set; } + public global::tryAGI.OpenAI.ImageEditPartialImageEvent? Type985 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenCompletedEventType? Type986 { get; set; } + public global::tryAGI.OpenAI.ImageEditPartialImageEventType? Type986 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenCompletedEventSize? Type987 { get; set; } + public global::tryAGI.OpenAI.ImageEditPartialImageEventSize? Type987 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenCompletedEventQuality? Type988 { get; set; } + public global::tryAGI.OpenAI.ImageEditPartialImageEventQuality? Type988 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenCompletedEventBackground? Type989 { get; set; } + public global::tryAGI.OpenAI.ImageEditPartialImageEventBackground? Type989 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenCompletedEventOutputFormat? Type990 { get; set; } + public global::tryAGI.OpenAI.ImageEditPartialImageEventOutputFormat? Type990 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenPartialImageEvent? Type991 { get; set; } + public global::tryAGI.OpenAI.ImageEditStreamEvent? Type991 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenPartialImageEventType? Type992 { get; set; } + public global::tryAGI.OpenAI.ImageEditStreamEventDiscriminator? Type992 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenPartialImageEventSize? Type993 { get; set; } + public global::tryAGI.OpenAI.ImageEditStreamEventDiscriminatorType? Type993 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenPartialImageEventQuality? Type994 { get; set; } + public global::tryAGI.OpenAI.ImageGenCompletedEvent? Type994 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenPartialImageEventBackground? Type995 { get; set; } + public global::tryAGI.OpenAI.ImageGenCompletedEventType? Type995 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenPartialImageEventOutputFormat? Type996 { get; set; } + public global::tryAGI.OpenAI.ImageGenCompletedEventSize? Type996 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenStreamEvent? Type997 { get; set; } + public global::tryAGI.OpenAI.ImageGenCompletedEventQuality? Type997 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenStreamEventDiscriminator? Type998 { get; set; } + public global::tryAGI.OpenAI.ImageGenCompletedEventBackground? Type998 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenStreamEventDiscriminatorType? Type999 { get; set; } + public global::tryAGI.OpenAI.ImageGenCompletedEventOutputFormat? Type999 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenTool? Type1000 { get; set; } + public global::tryAGI.OpenAI.ImageGenPartialImageEvent? Type1000 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolType? Type1001 { get; set; } + public global::tryAGI.OpenAI.ImageGenPartialImageEventType? Type1001 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type1002 { get; set; } + public global::tryAGI.OpenAI.ImageGenPartialImageEventSize? Type1002 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolModel? Type1003 { get; set; } + public global::tryAGI.OpenAI.ImageGenPartialImageEventQuality? Type1003 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolQuality? Type1004 { get; set; } + public global::tryAGI.OpenAI.ImageGenPartialImageEventBackground? Type1004 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type1005 { get; set; } + public global::tryAGI.OpenAI.ImageGenPartialImageEventOutputFormat? Type1005 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolSize? Type1006 { get; set; } + public global::tryAGI.OpenAI.ImageGenStreamEvent? Type1006 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolOutputFormat? Type1007 { get; set; } + public global::tryAGI.OpenAI.ImageGenStreamEventDiscriminator? Type1007 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolModeration? Type1008 { get; set; } + public global::tryAGI.OpenAI.ImageGenStreamEventDiscriminatorType? Type1008 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolBackground? Type1009 { get; set; } + public global::tryAGI.OpenAI.ImageGenTool? Type1009 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolInputImageMask? Type1010 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolType? Type1010 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenActionEnum? Type1011 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type1011 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolCallType? Type1012 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolModel? Type1012 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolCallStatus? Type1013 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolQuality? Type1013 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesResponse? Type1014 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type1014 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1015 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolSize? Type1015 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesResponseBackground? Type1016 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolOutputFormat? Type1016 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesResponseOutputFormat? Type1017 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolModeration? Type1017 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesResponseSize? Type1018 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolBackground? Type1018 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesResponseQuality? Type1019 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolInputImageMask? Type1019 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenUsage? Type1020 { get; set; } + public global::tryAGI.OpenAI.ImageGenActionEnum? Type1020 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesUsageInputTokensDetails? Type1021 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolCallType? Type1021 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputAudioType? Type1022 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolCallStatus? Type1022 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputAudioInputAudio1? Type1023 { get; set; } + public global::tryAGI.OpenAI.ImagesResponse? Type1023 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputAudioInputAudio1Format? Type1024 { get; set; } + public global::System.Collections.Generic.IList? Type1024 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentDiscriminator? Type1025 { get; set; } + public global::tryAGI.OpenAI.ImagesResponseBackground? Type1025 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContentDiscriminatorType? Type1026 { get; set; } + public global::tryAGI.OpenAI.ImagesResponseOutputFormat? Type1026 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputItem? Type1027 { get; set; } + public global::tryAGI.OpenAI.ImagesResponseSize? Type1027 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Item? Type1028 { get; set; } + public global::tryAGI.OpenAI.ImagesResponseQuality? Type1028 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactionTriggerItemParam? Type1029 { get; set; } + public global::tryAGI.OpenAI.ImageGenUsage? Type1029 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemReferenceParam? Type1030 { get; set; } + public global::tryAGI.OpenAI.ImagesUsageInputTokensDetails? Type1030 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputItemDiscriminator? Type1031 { get; set; } + public global::tryAGI.OpenAI.InputAudioType? Type1031 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputItemDiscriminatorType? Type1032 { get; set; } + public global::tryAGI.OpenAI.InputAudioInputAudio1? Type1032 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessage? Type1033 { get; set; } + public global::tryAGI.OpenAI.InputAudioInputAudio1Format? Type1033 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageType? Type1034 { get; set; } + public global::tryAGI.OpenAI.InputContentDiscriminator? Type1034 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageRole? Type1035 { get; set; } + public global::tryAGI.OpenAI.InputContentDiscriminatorType? Type1035 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageStatus? Type1036 { get; set; } + public global::tryAGI.OpenAI.InputItem? Type1036 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageResource? Type1037 { get; set; } + public global::tryAGI.OpenAI.Item? Type1037 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageResourceVariant2? Type1038 { get; set; } + public global::tryAGI.OpenAI.CompactionTriggerItemParam? Type1038 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1039 { get; set; } + public global::tryAGI.OpenAI.ItemReferenceParam? Type1039 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Invite? Type1040 { get; set; } + public global::tryAGI.OpenAI.InputItemDiscriminator? Type1040 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteObject? Type1041 { get; set; } + public global::tryAGI.OpenAI.InputItemDiscriminatorType? Type1041 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRole? Type1042 { get; set; } + public global::tryAGI.OpenAI.InputMessage? Type1042 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteStatus? Type1043 { get; set; } + public global::tryAGI.OpenAI.InputMessageType? Type1043 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1044 { get; set; } + public global::tryAGI.OpenAI.InputMessageRole? Type1044 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteProject? Type1045 { get; set; } + public global::tryAGI.OpenAI.InputMessageStatus? Type1045 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteProjectRole? Type1046 { get; set; } + public global::tryAGI.OpenAI.InputMessageResource? Type1046 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteDeleteResponse? Type1047 { get; set; } + public global::tryAGI.OpenAI.InputMessageResourceVariant2? Type1047 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteDeleteResponseObject? Type1048 { get; set; } + public global::System.Collections.Generic.IList? Type1048 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteListResponse? Type1049 { get; set; } + public global::tryAGI.OpenAI.Invite? Type1049 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteListResponseObject? Type1050 { get; set; } + public global::tryAGI.OpenAI.InviteObject? Type1050 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1051 { get; set; } + public global::tryAGI.OpenAI.InviteRole? Type1051 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteProjectGroupBody? Type1052 { get; set; } + public global::tryAGI.OpenAI.InviteStatus? Type1052 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequest? Type1053 { get; set; } + public global::System.Collections.Generic.IList? Type1053 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequestRole? Type1054 { get; set; } + public global::tryAGI.OpenAI.InviteProject? Type1054 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1055 { get; set; } + public global::tryAGI.OpenAI.InviteProjectRole? Type1055 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequestProject? Type1056 { get; set; } + public global::tryAGI.OpenAI.InviteDeleteResponse? Type1056 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequestProjectRole? Type1057 { get; set; } + public global::tryAGI.OpenAI.InviteDeleteResponseObject? Type1057 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessage? Type1058 { get; set; } + public global::tryAGI.OpenAI.InviteListResponse? Type1058 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerCallOutputItemParam? Type1059 { get; set; } + public global::tryAGI.OpenAI.InviteListResponseObject? Type1059 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemParam? Type1060 { get; set; } + public global::System.Collections.Generic.IList? Type1060 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchCallItemParam? Type1061 { get; set; } + public global::tryAGI.OpenAI.InviteProjectGroupBody? Type1061 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchOutputItemParam? Type1062 { get; set; } + public global::tryAGI.OpenAI.InviteRequest? Type1062 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactionSummaryItemParam? Type1063 { get; set; } + public global::tryAGI.OpenAI.InviteRequestRole? Type1063 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallItemParam? Type1064 { get; set; } + public global::System.Collections.Generic.IList? Type1064 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputItemParam? Type1065 { get; set; } + public global::tryAGI.OpenAI.InviteRequestProject? Type1065 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallItemParam? Type1066 { get; set; } + public global::tryAGI.OpenAI.InviteRequestProjectRole? Type1066 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParam? Type1067 { get; set; } + public global::tryAGI.OpenAI.OutputMessage? Type1067 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalResponse? Type1068 { get; set; } + public global::tryAGI.OpenAI.ComputerCallOutputItemParam? Type1068 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemDiscriminator? Type1069 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemParam? Type1069 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemDiscriminatorType? Type1070 { get; set; } + public global::tryAGI.OpenAI.ToolSearchCallItemParam? Type1070 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemResource? Type1071 { get; set; } + public global::tryAGI.OpenAI.ToolSearchOutputItemParam? Type1071 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemResourceDiscriminator? Type1072 { get; set; } + public global::tryAGI.OpenAI.CompactionSummaryItemParam? Type1072 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemResourceDiscriminatorType? Type1073 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallItemParam? Type1073 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAssistantsResponse? Type1074 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputItemParam? Type1074 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1075 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallItemParam? Type1075 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsResponse? Type1076 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParam? Type1076 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsResponseObject? Type1077 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalResponse? Type1077 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1078 { get; set; } + public global::tryAGI.OpenAI.ItemDiscriminator? Type1078 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListBatchesResponse? Type1079 { get; set; } + public global::tryAGI.OpenAI.ItemDiscriminatorType? Type1079 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1080 { get; set; } + public global::tryAGI.OpenAI.ItemResource? Type1080 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListBatchesResponseObject? Type1081 { get; set; } + public global::tryAGI.OpenAI.ItemResourceDiscriminator? Type1081 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListCertificatesResponse? Type1082 { get; set; } + public global::tryAGI.OpenAI.ItemResourceDiscriminatorType? Type1082 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1083 { get; set; } + public global::tryAGI.OpenAI.ListAssistantsResponse? Type1083 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationCertificate? Type1084 { get; set; } + public global::System.Collections.Generic.IList? Type1084 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListCertificatesResponseObject? Type1085 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsResponse? Type1085 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesResponse? Type1086 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsResponseObject? Type1086 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1087 { get; set; } + public global::System.Collections.Generic.IList? Type1087 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFile? Type1088 { get; set; } + public global::tryAGI.OpenAI.ListBatchesResponse? Type1088 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionResponse? Type1089 { get; set; } + public global::System.Collections.Generic.IList? Type1089 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1090 { get; set; } + public global::tryAGI.OpenAI.ListBatchesResponseObject? Type1090 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionResponseObject? Type1091 { get; set; } + public global::tryAGI.OpenAI.ListCertificatesResponse? Type1091 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponse? Type1092 { get; set; } + public global::System.Collections.Generic.IList? Type1092 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1093 { get; set; } + public global::tryAGI.OpenAI.OrganizationCertificate? Type1093 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponseObject? Type1094 { get; set; } + public global::tryAGI.OpenAI.ListCertificatesResponseObject? Type1094 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobEventsResponse? Type1095 { get; set; } + public global::tryAGI.OpenAI.ListFilesResponse? Type1095 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1096 { get; set; } + public global::System.Collections.Generic.IList? Type1096 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobEventsResponseObject? Type1097 { get; set; } + public global::tryAGI.OpenAI.OpenAIFile? Type1097 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListMessagesResponse? Type1098 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionResponse? Type1098 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1099 { get; set; } + public global::System.Collections.Generic.IList? Type1099 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObject? Type1100 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionResponseObject? Type1100 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListModelsResponse? Type1101 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponse? Type1101 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListModelsResponseObject? Type1102 { get; set; } + public global::System.Collections.Generic.IList? Type1102 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1103 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponseObject? Type1103 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Model18? Type1104 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobEventsResponse? Type1104 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponse? Type1105 { get; set; } + public global::System.Collections.Generic.IList? Type1105 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1106 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobEventsResponseObject? Type1106 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponseObject? Type1107 { get; set; } + public global::tryAGI.OpenAI.ListMessagesResponse? Type1107 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectCertificatesResponse? Type1108 { get; set; } + public global::System.Collections.Generic.IList? Type1108 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1109 { get; set; } + public global::tryAGI.OpenAI.MessageObject? Type1109 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationProjectCertificate? Type1110 { get; set; } + public global::tryAGI.OpenAI.ListModelsResponse? Type1110 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectCertificatesResponseObject? Type1111 { get; set; } + public global::tryAGI.OpenAI.ListModelsResponseObject? Type1111 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsResponse? Type1112 { get; set; } + public global::System.Collections.Generic.IList? Type1112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1113 { get; set; } + public global::tryAGI.OpenAI.Model18? Type1113 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObject? Type1114 { get; set; } + public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponse? Type1114 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunsResponse? Type1115 { get; set; } + public global::System.Collections.Generic.IList? Type1115 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1116 { get; set; } + public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponseObject? Type1116 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObject? Type1117 { get; set; } + public global::tryAGI.OpenAI.ListProjectCertificatesResponse? Type1117 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesResponse? Type1118 { get; set; } + public global::System.Collections.Generic.IList? Type1118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1119 { get; set; } + public global::tryAGI.OpenAI.OrganizationProjectCertificate? Type1119 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObject? Type1120 { get; set; } + public global::tryAGI.OpenAI.ListProjectCertificatesResponseObject? Type1120 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoresResponse? Type1121 { get; set; } + public global::tryAGI.OpenAI.ListRunStepsResponse? Type1121 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1122 { get; set; } + public global::System.Collections.Generic.IList? Type1122 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObject? Type1123 { get; set; } + public global::tryAGI.OpenAI.RunStepObject? Type1123 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCallType? Type1124 { get; set; } + public global::tryAGI.OpenAI.ListRunsResponse? Type1124 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellExecAction? Type1125 { get; set; } + public global::System.Collections.Generic.IList? Type1125 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCallStatus? Type1126 { get; set; } + public global::tryAGI.OpenAI.RunObject? Type1126 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCallOutputType? Type1127 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoreFilesResponse? Type1127 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCallOutputStatus2? Type1128 { get; set; } + public global::System.Collections.Generic.IList? Type1128 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LogProbProperties? Type1129 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObject? Type1129 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalRequestType? Type1130 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoresResponse? Type1130 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalResponseType? Type1131 { get; set; } + public global::System.Collections.Generic.IList? Type1131 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalResponseResourceType? Type1132 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObject? Type1132 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPListToolsType? Type1133 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCallType? Type1133 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1134 { get; set; } + public global::tryAGI.OpenAI.LocalShellExecAction? Type1134 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPListToolsTool? Type1135 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCallStatus? Type1135 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPTool? Type1136 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCallOutputType? Type1136 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolType? Type1137 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCallOutputStatus2? Type1137 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolConnectorId? Type1138 { get; set; } + public global::tryAGI.OpenAI.LogProbProperties? Type1138 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, global::tryAGI.OpenAI.MCPToolFilter>? Type1139 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalRequestType? Type1139 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolFilter? Type1140 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalResponseType? Type1140 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1141 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalResponseResourceType? Type1141 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolRequireApprovalVariant1Enum? Type1142 { get; set; } + public global::tryAGI.OpenAI.MCPListToolsType? Type1142 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolRequireApprovalVariant1Enum2? Type1143 { get; set; } + public global::System.Collections.Generic.IList? Type1143 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolCallType? Type1144 { get; set; } + public global::tryAGI.OpenAI.MCPListToolsTool? Type1144 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolCallStatus? Type1145 { get; set; } + public global::tryAGI.OpenAI.MCPTool? Type1145 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObjectType? Type1146 { get; set; } + public global::tryAGI.OpenAI.MCPToolType? Type1146 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFile? Type1147 { get; set; } + public global::tryAGI.OpenAI.MCPToolConnectorId? Type1147 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFileDetail? Type1148 { get; set; } + public global::tryAGI.OpenAI.OneOf, global::tryAGI.OpenAI.MCPToolFilter>? Type1148 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObjectType? Type1149 { get; set; } + public global::tryAGI.OpenAI.MCPToolFilter? Type1149 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrl? Type1150 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1150 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrlDetail? Type1151 { get; set; } + public global::tryAGI.OpenAI.MCPToolRequireApprovalVariant1Enum? Type1151 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentRefusalObject? Type1152 { get; set; } + public global::tryAGI.OpenAI.MCPToolRequireApprovalVariant1Enum2? Type1152 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentRefusalObjectType? Type1153 { get; set; } + public global::tryAGI.OpenAI.MCPToolCallType? Type1153 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObject? Type1154 { get; set; } + public global::tryAGI.OpenAI.MCPToolCallStatus? Type1154 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectType? Type1155 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObjectType? Type1155 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectFileCitation? Type1156 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFile? Type1156 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObject? Type1157 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFileDetail? Type1157 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectType? Type1158 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObjectType? Type1158 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectFilePath? Type1159 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrl? Type1159 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObject? Type1160 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrlDetail? Type1160 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObjectType? Type1161 { get; set; } + public global::tryAGI.OpenAI.MessageContentRefusalObject? Type1161 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObjectText? Type1162 { get; set; } + public global::tryAGI.OpenAI.MessageContentRefusalObjectType? Type1162 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1163 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObject? Type1163 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1164 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectType? Type1164 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObject? Type1165 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectFileCitation? Type1165 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectType? Type1166 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObject? Type1166 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFile? Type1167 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectType? Type1167 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFileDetail? Type1168 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectFilePath? Type1168 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObject? Type1169 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObject? Type1169 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectType? Type1170 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObjectType? Type1170 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrl? Type1171 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObjectText? Type1171 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrlDetail? Type1172 { get; set; } + public global::System.Collections.Generic.IList>? Type1172 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentRefusalObject? Type1173 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1173 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentRefusalObjectType? Type1174 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObject? Type1174 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject? Type1175 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectType? Type1175 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectType? Type1176 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFile? Type1176 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation? Type1177 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFileDetail? Type1177 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObject? Type1178 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObject? Type1178 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectType? Type1179 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectType? Type1179 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectFilePath? Type1180 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrl? Type1180 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObject? Type1181 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrlDetail? Type1181 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObjectType? Type1182 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentRefusalObject? Type1182 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObjectText? Type1183 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentRefusalObjectType? Type1183 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1184 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject? Type1184 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1185 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectType? Type1185 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObject? Type1186 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation? Type1186 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectObject? Type1187 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObject? Type1187 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectDelta? Type1188 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectType? Type1188 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectDeltaRole? Type1189 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectFilePath? Type1189 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectObject? Type1190 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObject? Type1190 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectStatus? Type1191 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObjectType? Type1191 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectIncompleteDetails2? Type1192 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObjectText? Type1192 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectIncompleteDetailsReason? Type1193 { get; set; } + public global::System.Collections.Generic.IList>? Type1193 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectRole? Type1194 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1194 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1195 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObject? Type1195 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectAttachmentsVariant1Item? Type1196 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectObject? Type1196 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageRequestContentTextObjectType? Type1197 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectDelta? Type1197 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant1? Type1198 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectDeltaRole? Type1198 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant1Event? Type1199 { get; set; } + public global::tryAGI.OpenAI.MessageObjectObject? Type1199 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant2? Type1200 { get; set; } + public global::tryAGI.OpenAI.MessageObjectStatus? Type1200 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant2Event? Type1201 { get; set; } + public global::tryAGI.OpenAI.MessageObjectIncompleteDetails2? Type1201 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant3? Type1202 { get; set; } + public global::tryAGI.OpenAI.MessageObjectIncompleteDetailsReason? Type1202 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant3Event? Type1203 { get; set; } + public global::tryAGI.OpenAI.MessageObjectRole? Type1203 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant4? Type1204 { get; set; } + public global::System.Collections.Generic.IList? Type1204 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant4Event? Type1205 { get; set; } + public global::tryAGI.OpenAI.MessageObjectAttachmentsVariant1Item? Type1205 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant5? Type1206 { get; set; } + public global::tryAGI.OpenAI.MessageRequestContentTextObjectType? Type1206 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStreamEventVariant5Event? Type1207 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant1? Type1207 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelObject? Type1208 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant1Event? Type1208 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIds? Type1209 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant2? Type1209 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIdsResponses? Type1210 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant2Event? Type1210 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIdsCompaction? Type1211 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant3? Type1211 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIdsResponsesEnum? Type1212 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant3Event? Type1212 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIdsSharedEnum? Type1213 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant4? Type1213 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelResponsePropertiesPromptCacheRetention2? Type1214 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant4Event? Type1214 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequest? Type1215 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant5? Type1215 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequestToolResources2? Type1216 { get; set; } + public global::tryAGI.OpenAI.MessageStreamEventVariant5Event? Type1216 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesCodeInterpreter? Type1217 { get; set; } + public global::tryAGI.OpenAI.ModelObject? Type1217 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesFileSearch? Type1218 { get; set; } + public global::tryAGI.OpenAI.ModelIds? Type1218 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyCertificateRequest? Type1219 { get; set; } + public global::tryAGI.OpenAI.ModelIdsResponses? Type1219 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyMessageRequest? Type1220 { get; set; } + public global::tryAGI.OpenAI.ModelIdsCompaction? Type1220 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyRunRequest? Type1221 { get; set; } + public global::tryAGI.OpenAI.ModelIdsResponsesEnum? Type1221 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequest? Type1222 { get; set; } + public global::tryAGI.OpenAI.ModelIdsSharedEnum? Type1222 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequestToolResources2? Type1223 { get; set; } + public global::tryAGI.OpenAI.ModelResponsePropertiesPromptCacheRetention2? Type1223 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesCodeInterpreter? Type1224 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequest? Type1224 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesFileSearch? Type1225 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequestToolResources2? Type1225 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NoiseReductionType? Type1226 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesCodeInterpreter? Type1226 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFileObject? Type1227 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesFileSearch? Type1227 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFilePurpose? Type1228 { get; set; } + public global::tryAGI.OpenAI.ModifyCertificateRequest? Type1228 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFileStatus? Type1229 { get; set; } + public global::tryAGI.OpenAI.ModifyMessageRequest? Type1229 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationCertificateObject? Type1230 { get; set; } + public global::tryAGI.OpenAI.ModifyRunRequest? Type1230 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationCertificateCertificateDetails? Type1231 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequest? Type1231 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationCertificateActivationResponse? Type1232 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequestToolResources2? Type1232 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationCertificateActivationResponseObject? Type1233 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesCodeInterpreter? Type1233 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponse? Type1234 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesFileSearch? Type1234 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponseObject? Type1235 { get; set; } + public global::tryAGI.OpenAI.NoiseReductionType? Type1235 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationProjectCertificateObject? Type1236 { get; set; } + public global::tryAGI.OpenAI.OpenAIFileObject? Type1236 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationProjectCertificateCertificateDetails? Type1237 { get; set; } + public global::tryAGI.OpenAI.OpenAIFilePurpose? Type1237 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponse? Type1238 { get; set; } + public global::tryAGI.OpenAI.OpenAIFileStatus? Type1238 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponseObject? Type1239 { get; set; } + public global::tryAGI.OpenAI.OrganizationCertificateObject? Type1239 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponse? Type1240 { get; set; } + public global::tryAGI.OpenAI.OrganizationCertificateCertificateDetails? Type1240 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponseObject? Type1241 { get; set; } + public global::tryAGI.OpenAI.OrganizationCertificateActivationResponse? Type1241 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParam? Type1242 { get; set; } + public global::tryAGI.OpenAI.OrganizationCertificateActivationResponseObject? Type1242 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParamType? Type1243 { get; set; } + public global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponse? Type1243 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputAudio? Type1244 { get; set; } + public global::tryAGI.OpenAI.OrganizationCertificateDeactivationResponseObject? Type1244 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputAudioType? Type1245 { get; set; } + public global::tryAGI.OpenAI.OrganizationDataRetention? Type1245 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputTextContent? Type1246 { get; set; } + public global::tryAGI.OpenAI.OrganizationDataRetentionObject? Type1246 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RefusalContent? Type1247 { get; set; } + public global::tryAGI.OpenAI.OrganizationDataRetentionType? Type1247 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningTextContent? Type1248 { get; set; } + public global::tryAGI.OpenAI.OrganizationProjectCertificateObject? Type1248 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputContentDiscriminator? Type1249 { get; set; } + public global::tryAGI.OpenAI.OrganizationProjectCertificateCertificateDetails? Type1249 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputContentDiscriminatorType? Type1250 { get; set; } + public global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponse? Type1250 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputItem? Type1251 { get; set; } + public global::tryAGI.OpenAI.OrganizationProjectCertificateActivationResponseObject? Type1251 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputItemDiscriminator? Type1252 { get; set; } + public global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponse? Type1252 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputItemDiscriminatorType? Type1253 { get; set; } + public global::tryAGI.OpenAI.OrganizationProjectCertificateDeactivationResponseObject? Type1253 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageType? Type1254 { get; set; } + public global::tryAGI.OpenAI.OrganizationSpendAlert? Type1254 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageRole? Type1255 { get; set; } + public global::tryAGI.OpenAI.OrganizationSpendAlertObject? Type1255 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1256 { get; set; } + public global::tryAGI.OpenAI.OrganizationSpendAlertCurrency? Type1256 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageContent? Type1257 { get; set; } + public global::tryAGI.OpenAI.OrganizationSpendAlertInterval? Type1257 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageStatus? Type1258 { get; set; } + public global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResource? Type1258 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageContentDiscriminator? Type1259 { get; set; } + public global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResourceObject? Type1259 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageContentDiscriminatorType? Type1260 { get; set; } + public global::tryAGI.OpenAI.OrganizationSpendAlertListResource? Type1260 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PredictionContentType? Type1261 { get; set; } + public global::tryAGI.OpenAI.OrganizationSpendAlertListResourceObject? Type1261 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Project? Type1262 { get; set; } + public global::System.Collections.Generic.IList? Type1262 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectObject? Type1263 { get; set; } + public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParam? Type1263 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKey? Type1264 { get; set; } + public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParamType? Type1264 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyObject? Type1265 { get; set; } + public global::tryAGI.OpenAI.OutputAudio? Type1265 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyOwner? Type1266 { get; set; } + public global::tryAGI.OpenAI.OutputAudioType? Type1266 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyOwnerType? Type1267 { get; set; } + public global::tryAGI.OpenAI.OutputTextContent? Type1267 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyOwnerUser? Type1268 { get; set; } + public global::tryAGI.OpenAI.RefusalContent? Type1268 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyOwnerServiceAccount? Type1269 { get; set; } + public global::tryAGI.OpenAI.ReasoningTextContent? Type1269 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponse? Type1270 { get; set; } + public global::tryAGI.OpenAI.OutputContentDiscriminator? Type1270 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponseObject? Type1271 { get; set; } + public global::tryAGI.OpenAI.OutputContentDiscriminatorType? Type1271 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyListResponse? Type1272 { get; set; } + public global::tryAGI.OpenAI.OutputItem? Type1272 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyListResponseObject? Type1273 { get; set; } + public global::tryAGI.OpenAI.OutputItemDiscriminator? Type1273 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1274 { get; set; } + public global::tryAGI.OpenAI.OutputItemDiscriminatorType? Type1274 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectCreateRequest? Type1275 { get; set; } + public global::tryAGI.OpenAI.OutputMessageType? Type1275 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectGroup? Type1276 { get; set; } + public global::tryAGI.OpenAI.OutputMessageRole? Type1276 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectGroupObject? Type1277 { get; set; } + public global::System.Collections.Generic.IList? Type1277 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectGroupDeletedResource? Type1278 { get; set; } + public global::tryAGI.OpenAI.OutputMessageContent? Type1278 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectGroupDeletedResourceObject? Type1279 { get; set; } + public global::tryAGI.OpenAI.OutputMessageStatus? Type1279 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectGroupListResource? Type1280 { get; set; } + public global::tryAGI.OpenAI.OutputMessageContentDiscriminator? Type1280 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectGroupListResourceObject? Type1281 { get; set; } + public global::tryAGI.OpenAI.OutputMessageContentDiscriminatorType? Type1281 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1282 { get; set; } + public global::tryAGI.OpenAI.PredictionContentType? Type1282 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectHostedToolPermissions? Type1283 { get; set; } + public global::tryAGI.OpenAI.Project? Type1283 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequest? Type1284 { get; set; } + public global::tryAGI.OpenAI.ProjectObject? Type1284 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectListResponse? Type1285 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKey? Type1285 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectListResponseObject? Type1286 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyObject? Type1286 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1287 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyOwner? Type1287 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectModelPermissions? Type1288 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyOwnerType? Type1288 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectModelPermissionsObject? Type1289 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyOwnerUser? Type1289 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectModelPermissionsMode? Type1290 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyOwnerServiceAccount? Type1290 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponse? Type1291 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponse? Type1291 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObject? Type1292 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponseObject? Type1292 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequest? Type1293 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyListResponse? Type1293 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode? Type1294 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyListResponseObject? Type1294 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimit? Type1295 { get; set; } + public global::System.Collections.Generic.IList? Type1295 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitObject? Type1296 { get; set; } + public global::tryAGI.OpenAI.ProjectCreateRequest? Type1296 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitListResponse? Type1297 { get; set; } + public global::tryAGI.OpenAI.ProjectDataRetention? Type1297 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitListResponseObject? Type1298 { get; set; } + public global::tryAGI.OpenAI.ProjectDataRetentionObject? Type1298 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1299 { get; set; } + public global::tryAGI.OpenAI.ProjectDataRetentionType? Type1299 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitUpdateRequest? Type1300 { get; set; } + public global::tryAGI.OpenAI.ProjectGroup? Type1300 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccount? Type1301 { get; set; } + public global::tryAGI.OpenAI.ProjectGroupObject? Type1301 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountObject? Type1302 { get; set; } + public global::tryAGI.OpenAI.ProjectGroupGroupType? Type1302 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountRole? Type1303 { get; set; } + public global::tryAGI.OpenAI.ProjectGroupDeletedResource? Type1303 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountApiKey? Type1304 { get; set; } + public global::tryAGI.OpenAI.ProjectGroupDeletedResourceObject? Type1304 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountApiKeyObject? Type1305 { get; set; } + public global::tryAGI.OpenAI.ProjectGroupListResource? Type1305 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateRequest? Type1306 { get; set; } + public global::tryAGI.OpenAI.ProjectGroupListResourceObject? Type1306 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponse? Type1307 { get; set; } + public global::System.Collections.Generic.IList? Type1307 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseObject? Type1308 { get; set; } + public global::tryAGI.OpenAI.ProjectHostedToolPermissions? Type1308 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseRole? Type1309 { get; set; } + public global::tryAGI.OpenAI.ProjectHostedToolPermissionsUpdateRequest? Type1309 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponse? Type1310 { get; set; } + public global::tryAGI.OpenAI.ProjectListResponse? Type1310 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponseObject? Type1311 { get; set; } + public global::tryAGI.OpenAI.ProjectListResponseObject? Type1311 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountListResponse? Type1312 { get; set; } + public global::System.Collections.Generic.IList? Type1312 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountListResponseObject? Type1313 { get; set; } + public global::tryAGI.OpenAI.ProjectModelPermissions? Type1313 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1314 { get; set; } + public global::tryAGI.OpenAI.ProjectModelPermissionsObject? Type1314 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUpdateRequest? Type1315 { get; set; } + public global::tryAGI.OpenAI.ProjectModelPermissionsMode? Type1315 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUser? Type1316 { get; set; } + public global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponse? Type1316 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserObject? Type1317 { get; set; } + public global::tryAGI.OpenAI.ProjectModelPermissionsDeleteResponseObject? Type1317 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserCreateRequest? Type1318 { get; set; } + public global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequest? Type1318 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserDeleteResponse? Type1319 { get; set; } + public global::tryAGI.OpenAI.ProjectModelPermissionsUpdateRequestMode? Type1319 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserDeleteResponseObject? Type1320 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimit? Type1320 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserListResponse? Type1321 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitObject? Type1321 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1322 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitListResponse? Type1322 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserUpdateRequest? Type1323 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitListResponseObject? Type1323 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptVariant1? Type1324 { get; set; } + public global::System.Collections.Generic.IList? Type1324 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicAssignOrganizationGroupRoleBody? Type1325 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitUpdateRequest? Type1325 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicCreateOrganizationRoleBody? Type1326 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccount? Type1326 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicRoleListResource? Type1327 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountObject? Type1327 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicRoleListResourceObject? Type1328 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountRole? Type1328 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1329 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountApiKey? Type1329 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PublicUpdateOrganizationRoleBody? Type1330 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountApiKeyObject? Type1330 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormats? Type1331 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateRequest? Type1331 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmAudioFormat? Type1332 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponse? Type1332 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmAudioFormatType? Type1333 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseObject? Type1333 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmuAudioFormat? Type1334 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseRole? Type1334 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmuAudioFormatType? Type1335 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponse? Type1335 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmaAudioFormat? Type1336 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponseObject? Type1336 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmaAudioFormatType? Type1337 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountListResponse? Type1337 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemCreate? Type1338 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountListResponseObject? Type1338 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemCreateType? Type1339 { get; set; } + public global::System.Collections.Generic.IList? Type1339 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItem? Type1340 { get; set; } + public global::tryAGI.OpenAI.ProjectSpendAlert? Type1340 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemDelete? Type1341 { get; set; } + public global::tryAGI.OpenAI.ProjectSpendAlertObject? Type1341 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemDeleteType? Type1342 { get; set; } + public global::tryAGI.OpenAI.ProjectSpendAlertCurrency? Type1342 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemRetrieve? Type1343 { get; set; } + public global::tryAGI.OpenAI.ProjectSpendAlertInterval? Type1343 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemRetrieveType? Type1344 { get; set; } + public global::tryAGI.OpenAI.ProjectSpendAlertDeletedResource? Type1344 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemTruncate? Type1345 { get; set; } + public global::tryAGI.OpenAI.ProjectSpendAlertDeletedResourceObject? Type1345 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemTruncateType? Type1346 { get; set; } + public global::tryAGI.OpenAI.ProjectSpendAlertListResource? Type1346 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferAppend? Type1347 { get; set; } + public global::tryAGI.OpenAI.ProjectSpendAlertListResourceObject? Type1347 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferAppendType? Type1348 { get; set; } + public global::System.Collections.Generic.IList? Type1348 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferClear? Type1349 { get; set; } + public global::tryAGI.OpenAI.ProjectUpdateRequest? Type1349 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferClearType? Type1350 { get; set; } + public global::tryAGI.OpenAI.ProjectUser? Type1350 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferCommit? Type1351 { get; set; } + public global::tryAGI.OpenAI.ProjectUserObject? Type1351 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferCommitType? Type1352 { get; set; } + public global::tryAGI.OpenAI.ProjectUserCreateRequest? Type1352 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventOutputAudioBufferClear? Type1353 { get; set; } + public global::tryAGI.OpenAI.ProjectUserDeleteResponse? Type1353 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventOutputAudioBufferClearType? Type1354 { get; set; } + public global::tryAGI.OpenAI.ProjectUserDeleteResponseObject? Type1354 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCancel? Type1355 { get; set; } + public global::tryAGI.OpenAI.ProjectUserListResponse? Type1355 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCancelType? Type1356 { get; set; } + public global::System.Collections.Generic.IList? Type1356 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCreate? Type1357 { get; set; } + public global::tryAGI.OpenAI.ProjectUserUpdateRequest? Type1357 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCreateType? Type1358 { get; set; } + public global::tryAGI.OpenAI.PromptVariant1? Type1358 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParams? Type1359 { get; set; } + public global::tryAGI.OpenAI.PublicAssignOrganizationGroupRoleBody? Type1359 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventSessionUpdate? Type1360 { get; set; } + public global::tryAGI.OpenAI.PublicCreateOrganizationRoleBody? Type1360 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventSessionUpdateType? Type1361 { get; set; } + public global::tryAGI.OpenAI.PublicRoleListResource? Type1361 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequest? Type1362 { get; set; } + public global::tryAGI.OpenAI.PublicRoleListResourceObject? Type1362 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventTranscriptionSessionUpdate? Type1363 { get; set; } + public global::System.Collections.Generic.IList? Type1363 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaClientEventTranscriptionSessionUpdateType? Type1364 { get; set; } + public global::tryAGI.OpenAI.PublicUpdateOrganizationRoleBody? Type1364 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequest? Type1365 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormats? Type1365 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponse? Type1366 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmAudioFormat? Type1366 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseObject? Type1367 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmAudioFormatType? Type1367 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseStatus? Type1368 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmuAudioFormat? Type1368 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetails? Type1369 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmuAudioFormatType? Type1369 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetailsType? Type1370 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmaAudioFormat? Type1370 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetailsReason? Type1371 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormatsPcmaAudioFormatType? Type1371 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetailsError? Type1372 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemCreate? Type1372 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1373 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemCreateType? Type1373 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseUsage? Type1374 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItem? Type1374 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseUsageInputTokenDetails? Type1375 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemDelete? Type1375 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseUsageInputTokenDetailsCachedTokensDetails? Type1376 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemDeleteType? Type1376 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseUsageOutputTokenDetails? Type1377 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemRetrieve? Type1377 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceIdsShared? Type1378 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemRetrieveType? Type1378 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1379 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemTruncate? Type1379 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseModalitie? Type1380 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemTruncateType? Type1380 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseOutputAudioFormat? Type1381 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferAppend? Type1381 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1382 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferAppendType? Type1382 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseMaxOutputTokens? Type1383 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferClear? Type1383 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1384 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferClearType? Type1384 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsModalitie? Type1385 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferCommit? Type1385 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsOutputAudioFormat? Type1386 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferCommitType? Type1386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1387 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventOutputAudioBufferClear? Type1387 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsTool? Type1388 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventOutputAudioBufferClearType? Type1388 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsToolType? Type1389 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCancel? Type1389 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1390 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCancelType? Type1390 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceOptions? Type1391 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCreate? Type1391 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceFunction? Type1392 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventResponseCreateType? Type1392 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceMCP? Type1393 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParams? Type1393 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1394 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventSessionUpdate? Type1394 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsMaxOutputTokens? Type1395 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventSessionUpdateType? Type1395 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1396 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequest? Type1396 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsConversation? Type1397 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventTranscriptionSessionUpdate? Type1397 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemCreated? Type1398 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaClientEventTranscriptionSessionUpdateType? Type1398 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemCreatedType? Type1399 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequest? Type1399 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemDeleted? Type1400 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponse? Type1400 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemDeletedType? Type1401 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseObject? Type1401 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted? Type1402 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseStatus? Type1402 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedType? Type1403 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetails? Type1403 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1404 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetailsType? Type1404 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta? Type1405 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetailsReason? Type1405 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDeltaType? Type1406 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseStatusDetailsError? Type1406 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed? Type1407 { get; set; } + public global::System.Collections.Generic.IList? Type1407 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedType? Type1408 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseUsage? Type1408 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedError? Type1409 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseUsageInputTokenDetails? Type1409 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment? Type1410 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseUsageInputTokenDetailsCachedTokensDetails? Type1410 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegmentType? Type1411 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseUsageOutputTokenDetails? Type1411 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemRetrieved? Type1412 { get; set; } + public global::tryAGI.OpenAI.VoiceIdsShared? Type1412 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemRetrievedType? Type1413 { get; set; } + public global::System.Collections.Generic.IList? Type1413 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemTruncated? Type1414 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseModalitie? Type1414 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemTruncatedType? Type1415 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseOutputAudioFormat? Type1415 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventError? Type1416 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1416 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventErrorType? Type1417 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseMaxOutputTokens? Type1417 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventErrorError? Type1418 { get; set; } + public global::System.Collections.Generic.IList? Type1418 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCleared? Type1419 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsModalitie? Type1419 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferClearedType? Type1420 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsOutputAudioFormat? Type1420 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCommitted? Type1421 { get; set; } + public global::System.Collections.Generic.IList? Type1421 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCommittedType? Type1422 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsTool? Type1422 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStarted? Type1423 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsToolType? Type1423 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStartedType? Type1424 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1424 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStopped? Type1425 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceOptions? Type1425 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStoppedType? Type1426 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceFunction? Type1426 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompleted? Type1427 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceMCP? Type1427 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompletedType? Type1428 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1428 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailed? Type1429 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsMaxOutputTokens? Type1429 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailedType? Type1430 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1430 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsInProgress? Type1431 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaResponseCreateParamsConversation? Type1431 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsInProgressType? Type1432 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemCreated? Type1432 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdated? Type1433 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemCreatedType? Type1433 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedType? Type1434 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemDeleted? Type1434 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1435 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemDeletedType? Type1435 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedRateLimit? Type1436 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted? Type1436 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedRateLimitName? Type1437 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompletedType? Type1437 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDelta? Type1438 { get; set; } + public global::System.Collections.Generic.IList? Type1438 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDeltaType? Type1439 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta? Type1439 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDone? Type1440 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDeltaType? Type1440 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDoneType? Type1441 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed? Type1441 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDelta? Type1442 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedType? Type1442 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDeltaType? Type1443 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedError? Type1443 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDone? Type1444 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment? Type1444 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDoneType? Type1445 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegmentType? Type1445 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAdded? Type1446 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemRetrieved? Type1446 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAddedType? Type1447 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemRetrievedType? Type1447 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAddedPart? Type1448 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemTruncated? Type1448 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAddedPartType? Type1449 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemTruncatedType? Type1449 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDone? Type1450 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventError? Type1450 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDoneType? Type1451 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventErrorType? Type1451 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDonePart? Type1452 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventErrorError? Type1452 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDonePartType? Type1453 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCleared? Type1453 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseCreated? Type1454 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferClearedType? Type1454 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseCreatedType? Type1455 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCommitted? Type1455 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseDone? Type1456 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferCommittedType? Type1456 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseDoneType? Type1457 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStarted? Type1457 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDelta? Type1458 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStartedType? Type1458 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDeltaType? Type1459 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStopped? Type1459 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDone? Type1460 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStoppedType? Type1460 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDoneType? Type1461 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompleted? Type1461 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDelta? Type1462 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompletedType? Type1462 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDeltaType? Type1463 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailed? Type1463 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDone? Type1464 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailedType? Type1464 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDoneType? Type1465 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsInProgress? Type1465 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallCompleted? Type1466 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsInProgressType? Type1466 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallCompletedType? Type1467 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdated? Type1467 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallFailed? Type1468 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedType? Type1468 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallFailedType? Type1469 { get; set; } + public global::System.Collections.Generic.IList? Type1469 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallInProgress? Type1470 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedRateLimit? Type1470 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallInProgressType? Type1471 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedRateLimitName? Type1471 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemAdded? Type1472 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDelta? Type1472 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemAddedType? Type1473 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDeltaType? Type1473 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemDone? Type1474 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDone? Type1474 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemDoneType? Type1475 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDoneType? Type1475 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDelta? Type1476 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDelta? Type1476 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDeltaType? Type1477 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDeltaType? Type1477 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDone? Type1478 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDone? Type1478 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDoneType? Type1479 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDoneType? Type1479 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionCreated? Type1480 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAdded? Type1480 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionCreatedType? Type1481 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAddedType? Type1481 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSession? Type1482 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAddedPart? Type1482 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionUpdated? Type1483 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAddedPartType? Type1483 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionUpdatedType? Type1484 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDone? Type1484 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionCreated? Type1485 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDoneType? Type1485 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionCreatedType? Type1486 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDonePart? Type1486 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponse? Type1487 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDonePartType? Type1487 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionUpdated? Type1488 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseCreated? Type1488 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionUpdatedType? Type1489 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseCreatedType? Type1489 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCallCreateRequest? Type1490 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseDone? Type1490 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGA? Type1491 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseDoneType? Type1491 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCallReferRequest? Type1492 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDelta? Type1492 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCallRejectRequest? Type1493 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDeltaType? Type1493 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEvent? Type1494 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDone? Type1494 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreate? Type1495 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDoneType? Type1495 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDelete? Type1496 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDelta? Type1496 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemRetrieve? Type1497 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDeltaType? Type1497 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncate? Type1498 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDone? Type1498 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppend? Type1499 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDoneType? Type1499 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClear? Type1500 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallCompleted? Type1500 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventOutputAudioBufferClear? Type1501 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallCompletedType? Type1501 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommit? Type1502 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallFailed? Type1502 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCancel? Type1503 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallFailedType? Type1503 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCreate? Type1504 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallInProgress? Type1504 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdate? Type1505 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallInProgressType? Type1505 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventDiscriminator? Type1506 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemAdded? Type1506 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventDiscriminatorType? Type1507 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemAddedType? Type1507 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreateType? Type1508 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemDone? Type1508 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDeleteType? Type1509 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemDoneType? Type1509 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemRetrieveType? Type1510 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDelta? Type1510 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncateType? Type1511 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDeltaType? Type1511 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppendType? Type1512 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDone? Type1512 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClearType? Type1513 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDoneType? Type1513 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommitType? Type1514 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionCreated? Type1514 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventOutputAudioBufferClearType? Type1515 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionCreatedType? Type1515 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCancelType? Type1516 { get; set; } + public global::tryAGI.OpenAI.RealtimeSession? Type1516 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCreateType? Type1517 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionUpdated? Type1517 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParams? Type1518 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventSessionUpdatedType? Type1518 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdateType? Type1519 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionCreated? Type1519 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1520 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionCreatedType? Type1520 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGA? Type1521 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponse? Type1521 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventTranscriptionSessionUpdate? Type1522 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionUpdated? Type1522 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventTranscriptionSessionUpdateType? Type1523 { get; set; } + public global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionUpdatedType? Type1523 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystem? Type1524 { get; set; } + public global::tryAGI.OpenAI.RealtimeCallCreateRequest? Type1524 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUser? Type1525 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGA? Type1525 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistant? Type1526 { get; set; } + public global::tryAGI.OpenAI.RealtimeCallReferRequest? Type1526 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCall? Type1527 { get; set; } + public global::tryAGI.OpenAI.RealtimeCallRejectRequest? Type1527 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutput? Type1528 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEvent? Type1528 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPApprovalResponse? Type1529 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreate? Type1529 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPListTools? Type1530 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDelete? Type1530 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPToolCall? Type1531 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemRetrieve? Type1531 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPApprovalRequest? Type1532 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncate? Type1532 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemDiscriminator? Type1533 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppend? Type1533 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemDiscriminatorType? Type1534 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClear? Type1534 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallObject? Type1535 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventOutputAudioBufferClear? Type1535 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallType? Type1536 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommit? Type1536 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallStatus? Type1537 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCancel? Type1537 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutputObject? Type1538 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCreate? Type1538 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutputType? Type1539 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdate? Type1539 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutputStatus? Type1540 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventDiscriminator? Type1540 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantObject? Type1541 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventDiscriminatorType? Type1541 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantType? Type1542 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreateType? Type1542 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantStatus? Type1543 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDeleteType? Type1543 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantRole? Type1544 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemRetrieveType? Type1544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1545 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncateType? Type1545 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantContentItem? Type1546 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppendType? Type1546 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantContentItemType? Type1547 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClearType? Type1547 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemObject? Type1548 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommitType? Type1548 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemType? Type1549 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventOutputAudioBufferClearType? Type1549 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemStatus? Type1550 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCancelType? Type1550 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemRole? Type1551 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCreateType? Type1551 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1552 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParams? Type1552 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemContentItem? Type1553 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdateType? Type1553 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemContentItemType? Type1554 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1554 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserObject? Type1555 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGA? Type1555 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserType? Type1556 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventTranscriptionSessionUpdate? Type1556 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserStatus? Type1557 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventTranscriptionSessionUpdateType? Type1557 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserRole? Type1558 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystem? Type1558 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1559 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUser? Type1559 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserContentItem? Type1560 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistant? Type1560 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserContentItemType? Type1561 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCall? Type1561 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserContentItemDetail? Type1562 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutput? Type1562 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReference? Type1563 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPApprovalResponse? Type1563 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType? Type1564 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPListTools? Type1564 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject? Type1565 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPToolCall? Type1565 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus? Type1566 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPApprovalRequest? Type1566 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole? Type1567 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemDiscriminator? Type1567 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1568 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemDiscriminatorType? Type1568 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItem? Type1569 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallObject? Type1569 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType? Type1570 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallType? Type1570 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCreateClientSecretRequest? Type1571 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallStatus? Type1571 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCreateClientSecretRequestExpiresAfter? Type1572 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutputObject? Type1572 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCreateClientSecretRequestExpiresAfterAnchor? Type1573 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutputType? Type1573 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCreateClientSecretResponse? Type1574 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutputStatus? Type1574 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Session2? Type1575 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantObject? Type1575 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGA? Type1576 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantType? Type1576 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGA? Type1577 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantStatus? Type1577 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCreateClientSecretResponseSessionDiscriminator? Type1578 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantRole? Type1578 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeCreateClientSecretResponseSessionDiscriminatorType? Type1579 { get; set; } + public global::System.Collections.Generic.IList? Type1579 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeFunctionTool? Type1580 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantContentItem? Type1580 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeFunctionToolType? Type1581 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantContentItemType? Type1581 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPApprovalRequestType? Type1582 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemObject? Type1582 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPApprovalResponseType? Type1583 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemType? Type1583 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPHTTPError? Type1584 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemStatus? Type1584 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPHTTPErrorType? Type1585 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemRole? Type1585 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPListToolsType? Type1586 { get; set; } + public global::System.Collections.Generic.IList? Type1586 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPProtocolError? Type1587 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemContentItem? Type1587 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPProtocolErrorType? Type1588 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemContentItemType? Type1588 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPToolCallType? Type1589 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserObject? Type1589 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1590 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserType? Type1590 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPToolExecutionError? Type1591 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserStatus? Type1591 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeMCPToolExecutionErrorType? Type1592 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserRole? Type1592 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeReasoning? Type1593 { get; set; } + public global::System.Collections.Generic.IList? Type1593 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeReasoningEffort? Type1594 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserContentItem? Type1594 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponse? Type1595 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserContentItemType? Type1595 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseObject? Type1596 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemMessageUserContentItemDetail? Type1596 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseStatus? Type1597 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReference? Type1597 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseStatusDetails? Type1598 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType? Type1598 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseStatusDetailsType? Type1599 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject? Type1599 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseStatusDetailsReason? Type1600 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus? Type1600 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseStatusDetailsError? Type1601 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole? Type1601 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudio? Type1602 { get; set; } + public global::System.Collections.Generic.IList? Type1602 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioOutput? Type1603 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItem? Type1603 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseUsage? Type1604 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType? Type1604 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseUsageInputTokenDetails? Type1605 { get; set; } + public global::tryAGI.OpenAI.RealtimeCreateClientSecretRequest? Type1605 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseUsageInputTokenDetailsCachedTokensDetails? Type1606 { get; set; } + public global::tryAGI.OpenAI.RealtimeCreateClientSecretRequestExpiresAfter? Type1606 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseUsageOutputTokenDetails? Type1607 { get; set; } + public global::tryAGI.OpenAI.RealtimeCreateClientSecretRequestExpiresAfterAnchor? Type1607 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1608 { get; set; } + public global::tryAGI.OpenAI.RealtimeCreateClientSecretResponse? Type1608 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseOutputModalitie? Type1609 { get; set; } + public global::tryAGI.OpenAI.Session2? Type1609 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1610 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGA? Type1610 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseMaxOutputTokens? Type1611 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGA? Type1611 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1612 { get; set; } + public global::tryAGI.OpenAI.RealtimeCreateClientSecretResponseSessionDiscriminator? Type1612 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsOutputModalitie? Type1613 { get; set; } + public global::tryAGI.OpenAI.RealtimeCreateClientSecretResponseSessionDiscriminatorType? Type1613 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsAudio? Type1614 { get; set; } + public global::tryAGI.OpenAI.RealtimeFunctionTool? Type1614 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsAudioOutput? Type1615 { get; set; } + public global::tryAGI.OpenAI.RealtimeFunctionToolType? Type1615 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1616 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPApprovalRequestType? Type1616 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1617 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPApprovalResponseType? Type1617 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1618 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPHTTPError? Type1618 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsMaxOutputTokens? Type1619 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPHTTPErrorType? Type1619 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1620 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPListToolsType? Type1620 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsConversation? Type1621 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPProtocolError? Type1621 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEvent? Type1622 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPProtocolErrorType? Type1622 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationCreated? Type1623 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPToolCallType? Type1623 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreated? Type1624 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1624 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeleted? Type1625 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPToolExecutionError? Type1625 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted? Type1626 { get; set; } + public global::tryAGI.OpenAI.RealtimeMCPToolExecutionErrorType? Type1626 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta? Type1627 { get; set; } + public global::tryAGI.OpenAI.RealtimeReasoning? Type1627 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailed? Type1628 { get; set; } + public global::tryAGI.OpenAI.RealtimeReasoningEffort? Type1628 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemRetrieved? Type1629 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponse? Type1629 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncated? Type1630 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseObject? Type1630 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventError? Type1631 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseStatus? Type1631 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCleared? Type1632 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseStatusDetails? Type1632 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommitted? Type1633 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseStatusDetailsType? Type1633 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferDtmfEventReceived? Type1634 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseStatusDetailsReason? Type1634 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStarted? Type1635 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseStatusDetailsError? Type1635 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStopped? Type1636 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudio? Type1636 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdated? Type1637 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioOutput? Type1637 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDelta? Type1638 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseUsage? Type1638 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDone? Type1639 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseUsageInputTokenDetails? Type1639 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDelta? Type1640 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseUsageInputTokenDetailsCachedTokensDetails? Type1640 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDone? Type1641 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseUsageOutputTokenDetails? Type1641 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAdded? Type1642 { get; set; } + public global::System.Collections.Generic.IList? Type1642 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDone? Type1643 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseOutputModalitie? Type1643 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseCreated? Type1644 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1644 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseDone? Type1645 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseMaxOutputTokens? Type1645 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta? Type1646 { get; set; } + public global::System.Collections.Generic.IList? Type1646 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone? Type1647 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsOutputModalitie? Type1647 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAdded? Type1648 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsAudio? Type1648 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDone? Type1649 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsAudioOutput? Type1649 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDelta? Type1650 { get; set; } + public global::System.Collections.Generic.IList>? Type1650 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDone? Type1651 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1651 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionCreated? Type1652 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1652 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdated? Type1653 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsMaxOutputTokens? Type1653 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStarted? Type1654 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1654 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStopped? Type1655 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsConversation? Type1655 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferCleared? Type1656 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEvent? Type1656 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemAdded? Type1657 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationCreated? Type1657 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDone? Type1658 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreated? Type1658 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferTimeoutTriggered? Type1659 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeleted? Type1659 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionSegment? Type1660 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted? Type1660 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsInProgress? Type1661 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta? Type1661 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsCompleted? Type1662 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailed? Type1662 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsFailed? Type1663 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemRetrieved? Type1663 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDelta? Type1664 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncated? Type1664 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDone? Type1665 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventError? Type1665 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallInProgress? Type1666 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCleared? Type1666 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallCompleted? Type1667 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommitted? Type1667 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallFailed? Type1668 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferDtmfEventReceived? Type1668 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventDiscriminator? Type1669 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStarted? Type1669 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventDiscriminatorType? Type1670 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStopped? Type1670 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedType? Type1671 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdated? Type1671 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedConversation? Type1672 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDelta? Type1672 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemAddedType? Type1673 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDone? Type1673 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreatedType? Type1674 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDelta? Type1674 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeletedType? Type1675 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDone? Type1675 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDoneType? Type1676 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAdded? Type1676 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompletedType? Type1677 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDone? Type1677 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDeltaType? Type1678 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseCreated? Type1678 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedType? Type1679 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseDone? Type1679 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedError? Type1680 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta? Type1680 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionSegmentType? Type1681 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone? Type1681 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemRetrievedType? Type1682 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAdded? Type1682 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncatedType? Type1683 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDone? Type1683 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventErrorType? Type1684 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDelta? Type1684 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventErrorError? Type1685 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDone? Type1685 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferClearedType? Type1686 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionCreated? Type1686 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommittedType? Type1687 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdated? Type1687 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferDtmfEventReceivedType? Type1688 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStarted? Type1688 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStartedType? Type1689 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStopped? Type1689 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStoppedType? Type1690 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferCleared? Type1690 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferTimeoutTriggeredType? Type1691 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemAdded? Type1691 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsCompletedType? Type1692 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDone? Type1692 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsFailedType? Type1693 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferTimeoutTriggered? Type1693 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsInProgressType? Type1694 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionSegment? Type1694 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferClearedType? Type1695 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsInProgress? Type1695 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStartedType? Type1696 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsCompleted? Type1696 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStoppedType? Type1697 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsFailed? Type1697 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedType? Type1698 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDelta? Type1698 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1699 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDone? Type1699 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimit? Type1700 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallInProgress? Type1700 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitName? Type1701 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallCompleted? Type1701 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDeltaType? Type1702 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallFailed? Type1702 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDoneType? Type1703 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventDiscriminator? Type1703 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDeltaType? Type1704 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventDiscriminatorType? Type1704 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDoneType? Type1705 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedType? Type1705 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedType? Type1706 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedConversation? Type1706 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPart? Type1707 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemAddedType? Type1707 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPartType? Type1708 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreatedType? Type1708 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDoneType? Type1709 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeletedType? Type1709 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePart? Type1710 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDoneType? Type1710 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePartType? Type1711 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompletedType? Type1711 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseCreatedType? Type1712 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDeltaType? Type1712 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseDoneType? Type1713 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedType? Type1713 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDeltaType? Type1714 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedError? Type1714 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDoneType? Type1715 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionSegmentType? Type1715 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDeltaType? Type1716 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemRetrievedType? Type1716 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDoneType? Type1717 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncatedType? Type1717 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallCompletedType? Type1718 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventErrorType? Type1718 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallFailedType? Type1719 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventErrorError? Type1719 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallInProgressType? Type1720 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferClearedType? Type1720 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAddedType? Type1721 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommittedType? Type1721 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDoneType? Type1722 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferDtmfEventReceivedType? Type1722 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDeltaType? Type1723 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStartedType? Type1723 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDoneType? Type1724 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStoppedType? Type1724 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionCreatedType? Type1725 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferTimeoutTriggeredType? Type1725 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1726 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsCompletedType? Type1726 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdatedType? Type1727 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsFailedType? Type1727 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventTranscriptionSessionUpdated? Type1728 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsInProgressType? Type1728 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventTranscriptionSessionUpdatedType? Type1729 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferClearedType? Type1729 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionObject? Type1730 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStartedType? Type1730 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1731 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStoppedType? Type1731 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionModalitie? Type1732 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedType? Type1732 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type1733 { get; set; } + public global::System.Collections.Generic.IList? Type1733 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionModel? Type1734 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimit? Type1734 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionInputAudioFormat? Type1735 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitName? Type1735 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionOutputAudioFormat? Type1736 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDeltaType? Type1736 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1? Type1737 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDoneType? Type1737 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionInputAudioNoiseReduction? Type1738 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDeltaType? Type1738 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1739 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDoneType? Type1739 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionTracingTracingConfigurationEnum? Type1740 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedType? Type1740 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionTracingTracingConfigurationEnum2? Type1741 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPart? Type1741 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1742 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPartType? Type1742 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1743 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDoneType? Type1743 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionMaxResponseOutputTokens? Type1744 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePart? Type1744 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1745 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePartType? Type1745 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionIncludeVariant1Item? Type1746 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseCreatedType? Type1746 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecret? Type1747 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseDoneType? Type1747 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1748 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDeltaType? Type1748 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModalitie? Type1749 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDoneType? Type1749 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioTranscription? Type1750 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDeltaType? Type1750 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1751 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDoneType? Type1751 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTracingEnum? Type1752 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallCompletedType? Type1752 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTracingEnum2? Type1753 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallFailedType? Type1753 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTurnDetection? Type1754 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallInProgressType? Type1754 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1755 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAddedType? Type1755 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTool? Type1756 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDoneType? Type1756 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestToolType? Type1757 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDeltaType? Type1757 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1758 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDoneType? Type1758 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestMaxResponseOutputTokens? Type1759 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionCreatedType? Type1759 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTruncation? Type1760 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1760 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAType? Type1761 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdatedType? Type1761 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1762 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventTranscriptionSessionUpdated? Type1762 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAOutputModalitie? Type1763 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventTranscriptionSessionUpdatedType? Type1763 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type1764 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionObject? Type1764 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAModel? Type1765 { get; set; } + public global::System.Collections.Generic.IList? Type1765 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudio? Type1766 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionModalitie? Type1766 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudioInput? Type1767 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type1767 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudioInputNoiseReduction? Type1768 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionModel? Type1768 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudioOutput? Type1769 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionInputAudioFormat? Type1769 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1770 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionOutputAudioFormat? Type1770 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAIncludeItem? Type1771 { get; set; } + public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1? Type1771 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1772 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionInputAudioNoiseReduction? Type1772 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGATracingEnum? Type1773 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1773 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGATracingEnum2? Type1774 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionTracingTracingConfigurationEnum? Type1774 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1775 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionTracingTracingConfigurationEnum2? Type1775 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAMaxOutputTokens? Type1776 { get; set; } + public global::System.Collections.Generic.IList? Type1776 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponse? Type1777 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1777 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1778 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionMaxResponseOutputTokens? Type1778 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseIncludeItem? Type1779 { get; set; } + public global::System.Collections.Generic.IList? Type1779 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1780 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionIncludeVariant1Item? Type1780 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseOutputModalitie? Type1781 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecret? Type1781 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudio? Type1782 { get; set; } + public global::System.Collections.Generic.IList? Type1782 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioInput? Type1783 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModalitie? Type1783 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioInputNoiseReduction? Type1784 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioTranscription? Type1784 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioInputTurnDetection? Type1785 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1785 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioOutput? Type1786 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTracingEnum? Type1786 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1787 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTracingEnum2? Type1787 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTracingEnum? Type1788 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTurnDetection? Type1788 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTracingEnum2? Type1789 { get; set; } + public global::System.Collections.Generic.IList? Type1789 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTurnDetection? Type1790 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTool? Type1790 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1791 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestToolType? Type1791 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseMaxOutputTokens? Type1792 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1792 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAType? Type1793 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestMaxResponseOutputTokens? Type1793 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAObject? Type1794 { get; set; } + public global::tryAGI.OpenAI.RealtimeTruncation? Type1794 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1795 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAType? Type1795 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAOutputModalitie? Type1796 { get; set; } + public global::System.Collections.Generic.IList? Type1796 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type1797 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAOutputModalitie? Type1797 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAModel? Type1798 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type1798 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudio? Type1799 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAModel? Type1799 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudioInput? Type1800 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudio? Type1800 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudioInputNoiseReduction? Type1801 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudioInput? Type1801 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudioOutput? Type1802 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudioInputNoiseReduction? Type1802 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1803 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAAudioOutput? Type1803 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAIncludeItem? Type1804 { get; set; } + public global::System.Collections.Generic.IList? Type1804 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGATracingTracingConfigurationEnum? Type1805 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAIncludeItem? Type1805 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2? Type1806 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1806 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1807 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGATracingEnum? Type1807 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAMaxOutputTokens? Type1808 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGATracingEnum2? Type1808 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestTurnDetection? Type1809 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1809 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestTurnDetectionType? Type1810 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestGAMaxOutputTokens? Type1810 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction? Type1811 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponse? Type1811 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioFormat? Type1812 { get; set; } + public global::System.Collections.Generic.IList? Type1812 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1813 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseIncludeItem? Type1813 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestIncludeItem? Type1814 { get; set; } + public global::System.Collections.Generic.IList? Type1814 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAType? Type1815 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseOutputModalitie? Type1815 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAAudio? Type1816 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudio? Type1816 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAAudioInput? Type1817 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioInput? Type1817 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAAudioInputNoiseReduction? Type1818 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioInputNoiseReduction? Type1818 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1819 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioInputTurnDetection? Type1819 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAIncludeItem? Type1820 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseAudioOutput? Type1820 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseClientSecret? Type1821 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1821 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1822 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTracingEnum? Type1822 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseModalitie? Type1823 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTracingEnum2? Type1823 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseTurnDetection? Type1824 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTurnDetection? Type1824 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAType? Type1825 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1825 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1826 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseMaxOutputTokens? Type1826 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAIncludeItem? Type1827 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAType? Type1827 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudio? Type1828 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAObject? Type1828 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudioInput? Type1829 { get; set; } + public global::System.Collections.Generic.IList? Type1829 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudioInputNoiseReduction? Type1830 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAOutputModalitie? Type1830 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudioInputTurnDetection2? Type1831 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type1831 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEvent? Type1832 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAModel? Type1832 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionUpdate? Type1833 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudio? Type1833 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventInputAudioBufferAppend? Type1834 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudioInput? Type1834 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionClose? Type1835 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudioInputNoiseReduction? Type1835 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventDiscriminator? Type1836 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAAudioOutput? Type1836 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventDiscriminatorType? Type1837 { get; set; } + public global::System.Collections.Generic.IList? Type1837 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventInputAudioBufferAppendType? Type1838 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAIncludeItem? Type1838 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionCloseType? Type1839 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGATracingTracingConfigurationEnum? Type1839 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionUpdateType? Type1840 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGATracingTracingConfigurationEnum2? Type1840 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequest? Type1841 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1841 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateRequest? Type1842 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseGAMaxOutputTokens? Type1842 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateRequestExpiresAfter? Type1843 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestTurnDetection? Type1843 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateRequestExpiresAfterAnchor? Type1844 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestTurnDetectionType? Type1844 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequest? Type1845 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction? Type1845 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateResponse? Type1846 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioFormat? Type1846 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSession? Type1847 { get; set; } + public global::System.Collections.Generic.IList? Type1847 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEvent? Type1848 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestIncludeItem? Type1848 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionCreated? Type1849 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAType? Type1849 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionUpdated? Type1850 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAAudio? Type1850 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionClosed? Type1851 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAAudioInput? Type1851 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDelta? Type1852 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAAudioInputNoiseReduction? Type1852 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDelta? Type1853 { get; set; } + public global::System.Collections.Generic.IList? Type1853 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDelta? Type1854 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestGAIncludeItem? Type1854 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventDiscriminator? Type1855 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseClientSecret? Type1855 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventDiscriminatorType? Type1856 { get; set; } + public global::System.Collections.Generic.IList? Type1856 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionClosedType? Type1857 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseModalitie? Type1857 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionCreatedType? Type1858 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseTurnDetection? Type1858 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDeltaType? Type1859 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAType? Type1859 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaType? Type1860 { get; set; } + public global::System.Collections.Generic.IList? Type1860 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaFormat? Type1861 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAIncludeItem? Type1861 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDeltaType? Type1862 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudio? Type1862 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionUpdatedType? Type1863 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudioInput? Type1863 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionType? Type1864 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudioInputNoiseReduction? Type1864 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionAudio? Type1865 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudioInputTurnDetection2? Type1865 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInput? Type1866 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEvent? Type1866 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInputTranscription2? Type1867 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionUpdate? Type1867 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInputNoiseReduction2? Type1868 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventInputAudioBufferAppend? Type1868 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioOutput? Type1869 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionClose? Type1869 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudio? Type1870 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventDiscriminator? Type1870 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInput? Type1871 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventDiscriminatorType? Type1871 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInputTranscription2? Type1872 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventInputAudioBufferAppendType? Type1872 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInputNoiseReduction2? Type1873 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionCloseType? Type1873 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioOutput? Type1874 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientEventSessionUpdateType? Type1874 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudio? Type1875 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequest? Type1875 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInput? Type1876 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateRequest? Type1876 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInputTranscription2? Type1877 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateRequestExpiresAfter? Type1877 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInputNoiseReduction2? Type1878 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateRequestExpiresAfterAnchor? Type1878 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioOutput? Type1879 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequest? Type1879 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTruncationEnum? Type1880 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationClientSecretCreateResponse? Type1880 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTruncationEnum2? Type1881 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSession? Type1881 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTruncationEnumType? Type1882 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEvent? Type1882 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTruncationEnumTokenLimits? Type1883 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionCreated? Type1883 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1ServerVad? Type1884 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionUpdated? Type1884 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVad? Type1885 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionClosed? Type1885 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness? Type1886 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDelta? Type1886 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1Discriminator? Type1887 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDelta? Type1887 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1DiscriminatorType? Type1888 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDelta? Type1888 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Reasoning? Type1889 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventDiscriminator? Type1889 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningSummary2? Type1890 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventDiscriminatorType? Type1890 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningGenerateSummary2? Type1891 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionClosedType? Type1891 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningItemType? Type1892 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionCreatedType? Type1892 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1893 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionInputTranscriptDeltaType? Type1893 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SummaryTextContent? Type1894 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaType? Type1894 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1895 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputAudioDeltaFormat? Type1895 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningItemStatus? Type1896 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionOutputTranscriptDeltaType? Type1896 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Response? Type1897 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationServerEventSessionUpdatedType? Type1897 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3? Type1898 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionType? Type1898 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3Object? Type1899 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionAudio? Type1899 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3Status? Type1900 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInput? Type1900 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseErrorVariant1? Type1901 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInputTranscription2? Type1901 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3IncompleteDetails2? Type1902 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioInputNoiseReduction2? Type1902 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3IncompleteDetailsReason? Type1903 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionAudioOutput? Type1903 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1904 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudio? Type1904 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type1905 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInput? Type1905 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseUsage? Type1906 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInputTranscription2? Type1906 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Conversation22? Type1907 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioInputNoiseReduction2? Type1907 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioDeltaEvent? Type1908 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionCreateRequestAudioOutput? Type1908 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioDeltaEventType? Type1909 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudio? Type1909 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioDoneEvent? Type1910 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInput? Type1910 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioDoneEventType? Type1911 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInputTranscription2? Type1911 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEvent? Type1912 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioInputNoiseReduction2? Type1912 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEventType? Type1913 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranslationSessionUpdateRequestAudioOutput? Type1913 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEvent? Type1914 { get; set; } + public global::tryAGI.OpenAI.RealtimeTruncationEnum? Type1914 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEventType? Type1915 { get; set; } + public global::tryAGI.OpenAI.RealtimeTruncationEnum2? Type1915 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent? Type1916 { get; set; } + public global::tryAGI.OpenAI.RealtimeTruncationEnumType? Type1916 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEventType? Type1917 { get; set; } + public global::tryAGI.OpenAI.RealtimeTruncationEnumTokenLimits? Type1917 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEvent? Type1918 { get; set; } + public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1ServerVad? Type1918 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEventType? Type1919 { get; set; } + public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVad? Type1919 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEvent? Type1920 { get; set; } + public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVadEagerness? Type1920 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEventType? Type1921 { get; set; } + public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1Discriminator? Type1921 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEvent? Type1922 { get; set; } + public global::tryAGI.OpenAI.RealtimeTurnDetectionRealtimeTurnDetection1DiscriminatorType? Type1922 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEventType? Type1923 { get; set; } + public global::tryAGI.OpenAI.Reasoning? Type1923 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEvent? Type1924 { get; set; } + public global::tryAGI.OpenAI.ReasoningSummary2? Type1924 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEventType? Type1925 { get; set; } + public global::tryAGI.OpenAI.ReasoningGenerateSummary2? Type1925 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCompletedEvent? Type1926 { get; set; } + public global::tryAGI.OpenAI.ReasoningItemType? Type1926 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCompletedEventType? Type1927 { get; set; } + public global::System.Collections.Generic.IList? Type1927 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseContentPartAddedEvent? Type1928 { get; set; } + public global::tryAGI.OpenAI.SummaryTextContent? Type1928 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseContentPartAddedEventType? Type1929 { get; set; } + public global::System.Collections.Generic.IList? Type1929 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseContentPartDoneEvent? Type1930 { get; set; } + public global::tryAGI.OpenAI.ReasoningItemStatus? Type1930 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseContentPartDoneEventType? Type1931 { get; set; } + public global::tryAGI.OpenAI.Response? Type1931 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCreatedEvent? Type1932 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3? Type1932 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCreatedEventType? Type1933 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3Object? Type1933 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCustomToolCallInputDeltaEvent? Type1934 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3Status? Type1934 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCustomToolCallInputDeltaEventType? Type1935 { get; set; } + public global::tryAGI.OpenAI.ResponseErrorVariant1? Type1935 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCustomToolCallInputDoneEvent? Type1936 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3IncompleteDetails2? Type1936 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCustomToolCallInputDoneEventType? Type1937 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3IncompleteDetailsReason? Type1937 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseErrorCode? Type1938 { get; set; } + public global::System.Collections.Generic.IList? Type1938 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseErrorEvent? Type1939 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type1939 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseErrorEventType? Type1940 { get; set; } + public global::tryAGI.OpenAI.ResponseUsage? Type1940 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFailedEvent? Type1941 { get; set; } + public global::tryAGI.OpenAI.Conversation22? Type1941 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFailedEventType? Type1942 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioDeltaEvent? Type1942 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallCompletedEvent? Type1943 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioDeltaEventType? Type1943 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallCompletedEventType? Type1944 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioDoneEvent? Type1944 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallInProgressEvent? Type1945 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioDoneEventType? Type1945 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallInProgressEventType? Type1946 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEvent? Type1946 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallSearchingEvent? Type1947 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEventType? Type1947 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallSearchingEventType? Type1948 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEvent? Type1948 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonObjectType? Type1949 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEventType? Type1949 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonSchemaType? Type1950 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent? Type1950 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonSchemaJsonSchema? Type1951 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEventType? Type1951 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonSchemaSchema? Type1952 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEvent? Type1952 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatTextType? Type1953 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEventType? Type1953 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatTextGrammar? Type1954 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEvent? Type1954 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatTextGrammarType? Type1955 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEventType? Type1955 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatTextPython? Type1956 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEvent? Type1956 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatTextPythonType? Type1957 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEventType? Type1957 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDeltaEvent? Type1958 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEvent? Type1958 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDeltaEventType? Type1959 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEventType? Type1959 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDoneEvent? Type1960 { get; set; } + public global::tryAGI.OpenAI.ResponseCompletedEvent? Type1960 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDoneEventType? Type1961 { get; set; } + public global::tryAGI.OpenAI.ResponseCompletedEventType? Type1961 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallCompletedEvent? Type1962 { get; set; } + public global::tryAGI.OpenAI.ResponseContentPartAddedEvent? Type1962 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallCompletedEventType? Type1963 { get; set; } + public global::tryAGI.OpenAI.ResponseContentPartAddedEventType? Type1963 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallGeneratingEvent? Type1964 { get; set; } + public global::tryAGI.OpenAI.ResponseContentPartDoneEvent? Type1964 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallGeneratingEventType? Type1965 { get; set; } + public global::tryAGI.OpenAI.ResponseContentPartDoneEventType? Type1965 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallInProgressEvent? Type1966 { get; set; } + public global::tryAGI.OpenAI.ResponseCreatedEvent? Type1966 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallInProgressEventType? Type1967 { get; set; } + public global::tryAGI.OpenAI.ResponseCreatedEventType? Type1967 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallPartialImageEvent? Type1968 { get; set; } + public global::tryAGI.OpenAI.ResponseCustomToolCallInputDeltaEvent? Type1968 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallPartialImageEventType? Type1969 { get; set; } + public global::tryAGI.OpenAI.ResponseCustomToolCallInputDeltaEventType? Type1969 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseInProgressEvent? Type1970 { get; set; } + public global::tryAGI.OpenAI.ResponseCustomToolCallInputDoneEvent? Type1970 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseInProgressEventType? Type1971 { get; set; } + public global::tryAGI.OpenAI.ResponseCustomToolCallInputDoneEventType? Type1971 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseIncompleteEvent? Type1972 { get; set; } + public global::tryAGI.OpenAI.ResponseErrorCode? Type1972 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseIncompleteEventType? Type1973 { get; set; } + public global::tryAGI.OpenAI.ResponseErrorEvent? Type1973 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseItemList? Type1974 { get; set; } + public global::tryAGI.OpenAI.ResponseErrorEventType? Type1974 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseItemListObject? Type1975 { get; set; } + public global::tryAGI.OpenAI.ResponseFailedEvent? Type1975 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1976 { get; set; } + public global::tryAGI.OpenAI.ResponseFailedEventType? Type1976 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseLogProb? Type1977 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallCompletedEvent? Type1977 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1978 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallCompletedEventType? Type1978 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseLogProbTopLogprob? Type1979 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallInProgressEvent? Type1979 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDeltaEvent? Type1980 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallInProgressEventType? Type1980 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDeltaEventType? Type1981 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallSearchingEvent? Type1981 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDoneEvent? Type1982 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallSearchingEventType? Type1982 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDoneEventType? Type1983 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonObjectType? Type1983 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallCompletedEvent? Type1984 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonSchemaType? Type1984 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallCompletedEventType? Type1985 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonSchemaJsonSchema? Type1985 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallFailedEvent? Type1986 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonSchemaSchema? Type1986 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallFailedEventType? Type1987 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatTextType? Type1987 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallInProgressEvent? Type1988 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatTextGrammar? Type1988 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallInProgressEventType? Type1989 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatTextGrammarType? Type1989 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsCompletedEvent? Type1990 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatTextPython? Type1990 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsCompletedEventType? Type1991 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatTextPythonType? Type1991 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsFailedEvent? Type1992 { get; set; } + public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDeltaEvent? Type1992 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsFailedEventType? Type1993 { get; set; } + public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDeltaEventType? Type1993 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsInProgressEvent? Type1994 { get; set; } + public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDoneEvent? Type1994 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsInProgressEventType? Type1995 { get; set; } + public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDoneEventType? Type1995 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseModalitiesVariant1Item? Type1996 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallCompletedEvent? Type1996 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputItemAddedEvent? Type1997 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallCompletedEventType? Type1997 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputItemAddedEventType? Type1998 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallGeneratingEvent? Type1998 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputItemDoneEvent? Type1999 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallGeneratingEventType? Type1999 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputItemDoneEventType? Type2000 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallInProgressEvent? Type2000 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationAddedEvent? Type2001 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallInProgressEventType? Type2001 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationAddedEventType? Type2002 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallPartialImageEvent? Type2002 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2003 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallPartialImageEventType? Type2003 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseTextParam? Type2004 { get; set; } + public global::tryAGI.OpenAI.ResponseInProgressEvent? Type2004 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceParam? Type2005 { get; set; } + public global::tryAGI.OpenAI.ResponseInProgressEventType? Type2005 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsePropertiesTruncation2? Type2006 { get; set; } + public global::tryAGI.OpenAI.ResponseIncompleteEvent? Type2006 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseQueuedEvent? Type2007 { get; set; } + public global::tryAGI.OpenAI.ResponseIncompleteEventType? Type2007 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseQueuedEventType? Type2008 { get; set; } + public global::tryAGI.OpenAI.ResponseItemList? Type2008 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEvent? Type2009 { get; set; } + public global::tryAGI.OpenAI.ResponseItemListObject? Type2009 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventType? Type2010 { get; set; } + public global::System.Collections.Generic.IList? Type2010 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPart? Type2011 { get; set; } + public global::tryAGI.OpenAI.ResponseLogProb? Type2011 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPartType? Type2012 { get; set; } + public global::System.Collections.Generic.IList? Type2012 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEvent? Type2013 { get; set; } + public global::tryAGI.OpenAI.ResponseLogProbTopLogprob? Type2013 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventType? Type2014 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDeltaEvent? Type2014 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPart? Type2015 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDeltaEventType? Type2015 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPartType? Type2016 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDoneEvent? Type2016 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDeltaEvent? Type2017 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDoneEventType? Type2017 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDeltaEventType? Type2018 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallCompletedEvent? Type2018 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDoneEvent? Type2019 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallCompletedEventType? Type2019 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDoneEventType? Type2020 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallFailedEvent? Type2020 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningTextDeltaEvent? Type2021 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallFailedEventType? Type2021 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningTextDeltaEventType? Type2022 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallInProgressEvent? Type2022 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningTextDoneEvent? Type2023 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallInProgressEventType? Type2023 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningTextDoneEventType? Type2024 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsCompletedEvent? Type2024 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseRefusalDeltaEvent? Type2025 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsCompletedEventType? Type2025 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseRefusalDeltaEventType? Type2026 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsFailedEvent? Type2026 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseRefusalDoneEvent? Type2027 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsFailedEventType? Type2027 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseRefusalDoneEventType? Type2028 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsInProgressEvent? Type2028 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseStreamEvent? Type2029 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsInProgressEventType? Type2029 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseTextDeltaEvent? Type2030 { get; set; } + public global::tryAGI.OpenAI.ResponseModalitiesVariant1Item? Type2030 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseTextDoneEvent? Type2031 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputItemAddedEvent? Type2031 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallCompletedEvent? Type2032 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputItemAddedEventType? Type2032 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallInProgressEvent? Type2033 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputItemDoneEvent? Type2033 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallSearchingEvent? Type2034 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputItemDoneEventType? Type2034 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseStreamEventDiscriminator? Type2035 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationAddedEvent? Type2035 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseStreamEventDiscriminatorType? Type2036 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationAddedEventType? Type2036 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseTextDeltaEventType? Type2037 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2037 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2038 { get; set; } + public global::tryAGI.OpenAI.ResponseTextParam? Type2038 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseTextDoneEventType? Type2039 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceParam? Type2039 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseUsageInputTokensDetails? Type2040 { get; set; } + public global::tryAGI.OpenAI.ResponsePropertiesTruncation2? Type2040 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseUsageOutputTokensDetails? Type2041 { get; set; } + public global::tryAGI.OpenAI.ResponseQueuedEvent? Type2041 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallCompletedEventType? Type2042 { get; set; } + public global::tryAGI.OpenAI.ResponseQueuedEventType? Type2042 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallInProgressEventType? Type2043 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEvent? Type2043 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallSearchingEventType? Type2044 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventType? Type2044 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsesClientEvent? Type2045 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPart? Type2045 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsesClientEventResponseCreate? Type2046 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPartType? Type2046 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsesClientEventDiscriminator? Type2047 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEvent? Type2047 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsesClientEventResponseCreateVariant1? Type2048 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventType? Type2048 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsesClientEventResponseCreateVariant1Type? Type2049 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPart? Type2049 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsesServerEvent? Type2050 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPartType? Type2050 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsesServerEventDiscriminator? Type2051 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDeltaEvent? Type2051 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RoleObject? Type2052 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDeltaEventType? Type2052 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RoleDeletedResource? Type2053 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDoneEvent? Type2053 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RoleDeletedResourceObject? Type2054 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDoneEventType? Type2054 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RoleListResource? Type2055 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningTextDeltaEvent? Type2055 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RoleListResourceObject? Type2056 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningTextDeltaEventType? Type2056 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2057 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningTextDoneEvent? Type2057 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunCompletionUsageVariant1? Type2058 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningTextDoneEventType? Type2058 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunGraderRequest? Type2059 { get; set; } + public global::tryAGI.OpenAI.ResponseRefusalDeltaEvent? Type2059 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunGraderResponse? Type2060 { get; set; } + public global::tryAGI.OpenAI.ResponseRefusalDeltaEventType? Type2060 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunGraderResponseMetadata? Type2061 { get; set; } + public global::tryAGI.OpenAI.ResponseRefusalDoneEvent? Type2061 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunGraderResponseMetadataErrors? Type2062 { get; set; } + public global::tryAGI.OpenAI.ResponseRefusalDoneEventType? Type2062 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectObject? Type2063 { get; set; } + public global::tryAGI.OpenAI.ResponseStreamEvent? Type2063 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectStatus? Type2064 { get; set; } + public global::tryAGI.OpenAI.ResponseTextDeltaEvent? Type2064 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectRequiredAction? Type2065 { get; set; } + public global::tryAGI.OpenAI.ResponseTextDoneEvent? Type2065 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectRequiredActionType? Type2066 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallCompletedEvent? Type2066 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectRequiredActionSubmitToolOutputs? Type2067 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallInProgressEvent? Type2067 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2068 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallSearchingEvent? Type2068 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunToolCallObject? Type2069 { get; set; } + public global::tryAGI.OpenAI.ResponseStreamEventDiscriminator? Type2069 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectLastError? Type2070 { get; set; } + public global::tryAGI.OpenAI.ResponseStreamEventDiscriminatorType? Type2070 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectLastErrorCode? Type2071 { get; set; } + public global::tryAGI.OpenAI.ResponseTextDeltaEventType? Type2071 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectIncompleteDetails? Type2072 { get; set; } + public global::System.Collections.Generic.IList? Type2072 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectIncompleteDetailsReason? Type2073 { get; set; } + public global::tryAGI.OpenAI.ResponseTextDoneEventType? Type2073 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepCompletionUsageVariant1? Type2074 { get; set; } + public global::tryAGI.OpenAI.ResponseUsageInputTokensDetails? Type2074 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObject? Type2075 { get; set; } + public global::tryAGI.OpenAI.ResponseUsageOutputTokensDetails? Type2075 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObjectObject? Type2076 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallCompletedEventType? Type2076 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObjectDelta? Type2077 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallInProgressEventType? Type2077 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2078 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallSearchingEventType? Type2078 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObject? Type2079 { get; set; } + public global::tryAGI.OpenAI.ResponsesClientEvent? Type2079 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObject? Type2080 { get; set; } + public global::tryAGI.OpenAI.ResponsesClientEventResponseCreate? Type2080 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectType? Type2081 { get; set; } + public global::tryAGI.OpenAI.ResponsesClientEventDiscriminator? Type2081 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectMessageCreation? Type2082 { get; set; } + public global::tryAGI.OpenAI.ResponsesClientEventResponseCreateVariant1? Type2082 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObject? Type2083 { get; set; } + public global::tryAGI.OpenAI.ResponsesClientEventResponseCreateVariant1Type? Type2083 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectType? Type2084 { get; set; } + public global::tryAGI.OpenAI.ResponsesServerEvent? Type2084 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter? Type2085 { get; set; } + public global::tryAGI.OpenAI.ResponsesServerEventDiscriminator? Type2085 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2086 { get; set; } + public global::tryAGI.OpenAI.RoleObject? Type2086 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject? Type2087 { get; set; } + public global::tryAGI.OpenAI.RoleDeletedResource? Type2087 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObject? Type2088 { get; set; } + public global::tryAGI.OpenAI.RoleDeletedResourceObject? Type2088 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectType? Type2089 { get; set; } + public global::tryAGI.OpenAI.RoleListResource? Type2089 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage? Type2090 { get; set; } + public global::tryAGI.OpenAI.RoleListResourceObject? Type2090 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObjectType? Type2091 { get; set; } + public global::System.Collections.Generic.IList? Type2091 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObject? Type2092 { get; set; } + public global::tryAGI.OpenAI.RunCompletionUsageVariant1? Type2092 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObjectType? Type2093 { get; set; } + public global::tryAGI.OpenAI.RunGraderRequest? Type2093 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject? Type2094 { get; set; } + public global::tryAGI.OpenAI.RunGraderResponse? Type2094 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectType? Type2095 { get; set; } + public global::tryAGI.OpenAI.RunGraderResponseMetadata? Type2095 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectFunction? Type2096 { get; set; } + public global::tryAGI.OpenAI.RunGraderResponseMetadataErrors? Type2096 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectType? Type2097 { get; set; } + public global::tryAGI.OpenAI.RunObjectObject? Type2097 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObject? Type2098 { get; set; } + public global::tryAGI.OpenAI.RunObjectStatus? Type2098 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectType? Type2099 { get; set; } + public global::tryAGI.OpenAI.RunObjectRequiredAction? Type2099 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectMessageCreation? Type2100 { get; set; } + public global::tryAGI.OpenAI.RunObjectRequiredActionType? Type2100 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObject? Type2101 { get; set; } + public global::tryAGI.OpenAI.RunObjectRequiredActionSubmitToolOutputs? Type2101 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectType? Type2102 { get; set; } + public global::System.Collections.Generic.IList? Type2102 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreter? Type2103 { get; set; } + public global::tryAGI.OpenAI.RunToolCallObject? Type2103 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2104 { get; set; } + public global::tryAGI.OpenAI.RunObjectLastError? Type2104 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2105 { get; set; } + public global::tryAGI.OpenAI.RunObjectLastErrorCode? Type2105 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObject? Type2106 { get; set; } + public global::tryAGI.OpenAI.RunObjectIncompleteDetails? Type2106 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObject? Type2107 { get; set; } + public global::tryAGI.OpenAI.RunObjectIncompleteDetailsReason? Type2107 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectType? Type2108 { get; set; } + public global::tryAGI.OpenAI.RunStepCompletionUsageVariant1? Type2108 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectImage? Type2109 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObject? Type2109 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObjectType? Type2110 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObjectObject? Type2110 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObject? Type2111 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObjectDelta? Type2111 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectType? Type2112 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2112 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectFileSearch? Type2113 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObject? Type2113 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchRankingOptionsObject? Type2114 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObject? Type2114 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2115 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectType? Type2115 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObject? Type2116 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectMessageCreation? Type2116 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2117 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObject? Type2117 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItem? Type2118 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectType? Type2118 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItemType? Type2119 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter? Type2119 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObject? Type2120 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2120 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectType? Type2121 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject? Type2121 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectFunction? Type2122 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObject? Type2122 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsObject? Type2123 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectType? Type2123 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectType? Type2124 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage? Type2124 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectObject? Type2125 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObjectType? Type2125 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectType? Type2126 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObject? Type2126 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectStatus? Type2127 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObjectType? Type2127 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2128 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject? Type2128 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectLastError2? Type2129 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectType? Type2129 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectLastErrorCode? Type2130 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectFunction? Type2130 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant1? Type2131 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectType? Type2131 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant1Event? Type2132 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObject? Type2132 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant2? Type2133 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectType? Type2133 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant2Event? Type2134 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectMessageCreation? Type2134 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant3? Type2135 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObject? Type2135 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant3Event? Type2136 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectType? Type2136 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant4? Type2137 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreter? Type2137 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant4Event? Type2138 { get; set; } + public global::System.Collections.Generic.IList>? Type2138 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant5? Type2139 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2139 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant5Event? Type2140 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObject? Type2140 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant6? Type2141 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObject? Type2141 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant6Event? Type2142 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectType? Type2142 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant7? Type2143 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectImage? Type2143 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepStreamEventVariant7Event? Type2144 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObjectType? Type2144 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant1? Type2145 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObject? Type2145 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant1Event? Type2146 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectType? Type2146 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant2? Type2147 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectFileSearch? Type2147 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant2Event? Type2148 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchRankingOptionsObject? Type2148 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant3? Type2149 { get; set; } + public global::System.Collections.Generic.IList? Type2149 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant3Event? Type2150 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObject? Type2150 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant4? Type2151 { get; set; } + public global::System.Collections.Generic.IList? Type2151 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant4Event? Type2152 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItem? Type2152 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant5? Type2153 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItemType? Type2153 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant5Event? Type2154 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObject? Type2154 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant6? Type2155 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectType? Type2155 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant6Event? Type2156 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectFunction? Type2156 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant7? Type2157 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsObject? Type2157 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant7Event? Type2158 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectType? Type2158 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant8? Type2159 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectObject? Type2159 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant8Event? Type2160 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectType? Type2160 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant9? Type2161 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectStatus? Type2161 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant9Event? Type2162 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2162 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant10? Type2163 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectLastError2? Type2163 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStreamEventVariant10Event? Type2164 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectLastErrorCode? Type2164 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunToolCallObjectType? Type2165 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant1? Type2165 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunToolCallObjectFunction? Type2166 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant1Event? Type2166 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpeechAudioDeltaEventType? Type2167 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant2? Type2167 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpeechAudioDoneEventType? Type2168 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant2Event? Type2168 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpeechAudioDoneEventUsage? Type2169 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant3? Type2169 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategy? Type2170 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant3Event? Type2170 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyRequestParamType? Type2171 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant4? Type2171 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParam? Type2172 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant4Event? Type2172 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParamType? Type2173 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant5? Type2173 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SubmitToolOutputsRunRequest? Type2174 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant5Event? Type2174 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2175 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant6? Type2175 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SubmitToolOutputsRunRequestToolOutput? Type2176 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant6Event? Type2176 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextResponseFormatJsonSchema? Type2177 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant7? Type2177 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextResponseFormatJsonSchemaType? Type2178 { get; set; } + public global::tryAGI.OpenAI.RunStepStreamEventVariant7Event? Type2178 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObject? Type2179 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant1? Type2179 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectObject? Type2180 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant1Event? Type2180 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectToolResources2? Type2181 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant2? Type2181 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectToolResourcesCodeInterpreter? Type2182 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant2Event? Type2182 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectToolResourcesFileSearch? Type2183 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant3? Type2183 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadStreamEventVariant1? Type2184 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant3Event? Type2184 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadStreamEventVariant1Event? Type2185 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant4? Type2185 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToggleCertificatesRequest? Type2186 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant4Event? Type2186 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionTool? Type2187 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant5? Type2187 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchTool? Type2188 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant5Event? Type2188 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerTool? Type2189 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant6? Type2189 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUsePreviewTool? Type2190 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant6Event? Type2190 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchTool? Type2191 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant7? Type2191 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolParam? Type2192 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant7Event? Type2192 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellToolParam? Type2193 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant8? Type2193 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolParam? Type2194 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant8Event? Type2194 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NamespaceToolParam? Type2195 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant9? Type2195 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchToolParam? Type2196 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant9Event? Type2196 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchPreviewTool? Type2197 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant10? Type2197 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolParam? Type2198 { get; set; } + public global::tryAGI.OpenAI.RunStreamEventVariant10Event? Type2198 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolDiscriminator? Type2199 { get; set; } + public global::tryAGI.OpenAI.RunToolCallObjectType? Type2199 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolDiscriminatorType? Type2200 { get; set; } + public global::tryAGI.OpenAI.RunToolCallObjectFunction? Type2200 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceAllowed? Type2201 { get; set; } + public global::tryAGI.OpenAI.SpeechAudioDeltaEventType? Type2201 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceAllowedType? Type2202 { get; set; } + public global::tryAGI.OpenAI.SpeechAudioDoneEventType? Type2202 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceAllowedMode? Type2203 { get; set; } + public global::tryAGI.OpenAI.SpeechAudioDoneEventUsage? Type2203 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceCustom? Type2204 { get; set; } + public global::tryAGI.OpenAI.SpendAlertNotificationChannelType? Type2204 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceCustomType? Type2205 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategy? Type2205 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceFunctionType? Type2206 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyRequestParamType? Type2206 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceMCPType? Type2207 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParam? Type2207 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceTypes? Type2208 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParamType? Type2208 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpecificApplyPatchParam? Type2209 { get; set; } + public global::tryAGI.OpenAI.SubmitToolOutputsRunRequest? Type2209 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpecificFunctionShellParam? Type2210 { get; set; } + public global::System.Collections.Generic.IList? Type2210 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceTypesType? Type2211 { get; set; } + public global::tryAGI.OpenAI.SubmitToolOutputsRunRequestToolOutput? Type2211 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDeltaEventType? Type2212 { get; set; } + public global::tryAGI.OpenAI.TextResponseFormatJsonSchema? Type2212 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2213 { get; set; } + public global::tryAGI.OpenAI.TextResponseFormatJsonSchemaType? Type2213 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDeltaEventLogprob? Type2214 { get; set; } + public global::tryAGI.OpenAI.ThreadObject? Type2214 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDoneEventType? Type2215 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectObject? Type2215 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2216 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectToolResources2? Type2216 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDoneEventLogprob? Type2217 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectToolResourcesCodeInterpreter? Type2217 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextSegmentEventType? Type2218 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectToolResourcesFileSearch? Type2218 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextUsageDurationType? Type2219 { get; set; } + public global::tryAGI.OpenAI.ThreadStreamEventVariant1? Type2219 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextUsageTokensType? Type2220 { get; set; } + public global::tryAGI.OpenAI.ThreadStreamEventVariant1Event? Type2220 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextUsageTokensInputTokenDetails? Type2221 { get; set; } + public global::tryAGI.OpenAI.ToggleCertificatesRequest? Type2221 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionChunkingStrategy? Type2222 { get; set; } + public global::tryAGI.OpenAI.FunctionTool? Type2222 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionChunkingStrategyEnum? Type2223 { get; set; } + public global::tryAGI.OpenAI.FileSearchTool? Type2223 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionDiarizedSegmentType? Type2224 { get; set; } + public global::tryAGI.OpenAI.ComputerTool? Type2224 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TruncationObjectType? Type2225 { get; set; } + public global::tryAGI.OpenAI.ComputerUsePreviewTool? Type2225 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateGroupBody? Type2226 { get; set; } + public global::tryAGI.OpenAI.WebSearchTool? Type2226 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateVectorStoreFileAttributesRequest? Type2227 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolParam? Type2227 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateVectorStoreRequest? Type2228 { get; set; } + public global::tryAGI.OpenAI.FunctionShellToolParam? Type2228 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type2229 { get; set; } + public global::tryAGI.OpenAI.CustomToolParam? Type2229 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateVoiceConsentRequest? Type2230 { get; set; } + public global::tryAGI.OpenAI.NamespaceToolParam? Type2230 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Upload? Type2231 { get; set; } + public global::tryAGI.OpenAI.ToolSearchToolParam? Type2231 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadStatus? Type2232 { get; set; } + public global::tryAGI.OpenAI.WebSearchPreviewTool? Type2232 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadObject? Type2233 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolParam? Type2233 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type2234 { get; set; } + public global::tryAGI.OpenAI.ToolDiscriminator? Type2234 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadCertificateRequest? Type2235 { get; set; } + public global::tryAGI.OpenAI.ToolDiscriminatorType? Type2235 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadPart? Type2236 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceAllowed? Type2236 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadPartObject? Type2237 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceAllowedType? Type2237 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesResult? Type2238 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceAllowedMode? Type2238 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesResultObject? Type2239 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceCustom? Type2239 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsResult? Type2240 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceCustomType? Type2240 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsResultObject? Type2241 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceFunctionType? Type2241 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult? Type2242 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceMCPType? Type2242 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResultObject? Type2243 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceTypes? Type2243 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsResult? Type2244 { get; set; } + public global::tryAGI.OpenAI.SpecificApplyPatchParam? Type2244 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsResultObject? Type2245 { get; set; } + public global::tryAGI.OpenAI.SpecificFunctionShellParam? Type2245 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsResult? Type2246 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceTypesType? Type2246 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsResultObject? Type2247 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDeltaEventType? Type2247 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageFileSearchCallsResult? Type2248 { get; set; } + public global::System.Collections.Generic.IList? Type2248 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageFileSearchCallsResultObject? Type2249 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDeltaEventLogprob? Type2249 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesResult? Type2250 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDoneEventType? Type2250 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesResultObject? Type2251 { get; set; } + public global::System.Collections.Generic.IList? Type2251 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsResult? Type2252 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDoneEventLogprob? Type2252 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsResultObject? Type2253 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextSegmentEventType? Type2253 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageResponse? Type2254 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextUsageDurationType? Type2254 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageResponseObject? Type2255 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextUsageTokensType? Type2255 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2256 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextUsageTokensInputTokenDetails? Type2256 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageTimeBucket? Type2257 { get; set; } + public global::tryAGI.OpenAI.TranscriptionChunkingStrategy? Type2257 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageTimeBucketObject? Type2258 { get; set; } + public global::tryAGI.OpenAI.TranscriptionChunkingStrategyEnum? Type2258 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2259 { get; set; } + public global::tryAGI.OpenAI.TranscriptionDiarizedSegmentType? Type2259 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResultsItem? Type2260 { get; set; } + public global::tryAGI.OpenAI.TruncationObjectType? Type2260 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresResult? Type2261 { get; set; } + public global::tryAGI.OpenAI.UpdateGroupBody? Type2261 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageWebSearchCallsResult? Type2262 { get; set; } + public global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody? Type2262 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageTimeBucketResultDiscriminator? Type2263 { get; set; } + public global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionType? Type2263 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageTimeBucketResultDiscriminatorObject? Type2264 { get; set; } + public global::tryAGI.OpenAI.UpdateProjectDataRetentionBody? Type2264 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresResultObject? Type2265 { get; set; } + public global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionType? Type2265 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageWebSearchCallsResultObject? Type2266 { get; set; } + public global::tryAGI.OpenAI.UpdateProjectServiceAccountBody? Type2266 { get; set; } /// /// /// - public global::tryAGI.OpenAI.User? Type2267 { get; set; } + public global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRole? Type2267 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserObject? Type2268 { get; set; } + public global::tryAGI.OpenAI.UpdateVectorStoreFileAttributesRequest? Type2268 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserUser1? Type2269 { get; set; } + public global::tryAGI.OpenAI.UpdateVectorStoreRequest? Type2269 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserUser1Object? Type2270 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type2270 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserProjects2? Type2271 { get; set; } + public global::tryAGI.OpenAI.UpdateVoiceConsentRequest? Type2271 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserProjectsObject? Type2272 { get; set; } + public global::tryAGI.OpenAI.Upload? Type2272 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2273 { get; set; } + public global::tryAGI.OpenAI.UploadStatus? Type2273 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserProjectsDataItem? Type2274 { get; set; } + public global::tryAGI.OpenAI.UploadObject? Type2274 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserDeleteResponse? Type2275 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type2275 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserDeleteResponseObject? Type2276 { get; set; } + public global::tryAGI.OpenAI.UploadCertificateRequest? Type2276 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserListResource? Type2277 { get; set; } + public global::tryAGI.OpenAI.UploadPart? Type2277 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserListResourceObject? Type2278 { get; set; } + public global::tryAGI.OpenAI.UploadPartObject? Type2278 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2279 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesResult? Type2279 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserListResponse? Type2280 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesResultObject? Type2280 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserListResponseObject? Type2281 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsResult? Type2281 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2282 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsResultObject? Type2282 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserRoleAssignment? Type2283 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult? Type2283 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserRoleAssignmentObject? Type2284 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResultObject? Type2284 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserRoleUpdateRequest? Type2285 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsResult? Type2285 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VadConfigType? Type2286 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsResultObject? Type2286 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ValidateGraderRequest? Type2287 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsResult? Type2287 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ValidateGraderResponse? Type2288 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsResultObject? Type2288 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreExpirationAfterAnchor? Type2289 { get; set; } + public global::tryAGI.OpenAI.UsageFileSearchCallsResult? Type2289 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2290 { get; set; } + public global::tryAGI.OpenAI.UsageFileSearchCallsResultObject? Type2290 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObject? Type2291 { get; set; } + public global::tryAGI.OpenAI.UsageImagesResult? Type2291 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObjectObject? Type2292 { get; set; } + public global::tryAGI.OpenAI.UsageImagesResultObject? Type2292 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObjectStatus? Type2293 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsResult? Type2293 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObjectFileCounts? Type2294 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsResultObject? Type2294 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileContentResponse? Type2295 { get; set; } + public global::tryAGI.OpenAI.UsageResponse? Type2295 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileContentResponseObject? Type2296 { get; set; } + public global::tryAGI.OpenAI.UsageResponseObject? Type2296 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2297 { get; set; } + public global::System.Collections.Generic.IList? Type2297 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileContentResponseDataItem? Type2298 { get; set; } + public global::tryAGI.OpenAI.UsageTimeBucket? Type2298 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectObject? Type2299 { get; set; } + public global::tryAGI.OpenAI.UsageTimeBucketObject? Type2299 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectStatus? Type2300 { get; set; } + public global::System.Collections.Generic.IList? Type2300 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectLastError2? Type2301 { get; set; } + public global::tryAGI.OpenAI.ResultsItem? Type2301 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectLastErrorCode? Type2302 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresResult? Type2302 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2303 { get; set; } + public global::tryAGI.OpenAI.UsageWebSearchCallsResult? Type2303 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObjectObject? Type2304 { get; set; } + public global::tryAGI.OpenAI.UsageTimeBucketResultDiscriminator? Type2304 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObjectFileCounts? Type2305 { get; set; } + public global::tryAGI.OpenAI.UsageTimeBucketResultDiscriminatorObject? Type2305 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObjectStatus? Type2306 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresResultObject? Type2306 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchRequest? Type2307 { get; set; } + public global::tryAGI.OpenAI.UsageWebSearchCallsResultObject? Type2307 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type2308 { get; set; } + public global::tryAGI.OpenAI.User? Type2308 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2309 { get; set; } + public global::tryAGI.OpenAI.UserObject? Type2309 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchRequestRankingOptions? Type2310 { get; set; } + public global::tryAGI.OpenAI.UserUser1? Type2310 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchRequestRankingOptionsRanker? Type2311 { get; set; } + public global::tryAGI.OpenAI.UserUser1Object? Type2311 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultContentObject? Type2312 { get; set; } + public global::tryAGI.OpenAI.UserProjects2? Type2312 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultContentObjectType? Type2313 { get; set; } + public global::tryAGI.OpenAI.UserProjectsObject? Type2313 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultItem? Type2314 { get; set; } + public global::System.Collections.Generic.IList? Type2314 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2315 { get; set; } + public global::tryAGI.OpenAI.UserProjectsDataItem? Type2315 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultsPage? Type2316 { get; set; } + public global::tryAGI.OpenAI.UserDeleteResponse? Type2316 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultsPageObject? Type2317 { get; set; } + public global::tryAGI.OpenAI.UserDeleteResponseObject? Type2317 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2318 { get; set; } + public global::tryAGI.OpenAI.UserListResource? Type2318 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceConsentDeletedResource? Type2319 { get; set; } + public global::tryAGI.OpenAI.UserListResourceObject? Type2319 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceConsentDeletedResourceObject? Type2320 { get; set; } + public global::System.Collections.Generic.IList? Type2320 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceConsentListResource? Type2321 { get; set; } + public global::tryAGI.OpenAI.UserListResponse? Type2321 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceConsentListResourceObject? Type2322 { get; set; } + public global::tryAGI.OpenAI.UserListResponseObject? Type2322 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2323 { get; set; } + public global::System.Collections.Generic.IList? Type2323 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceConsentResource? Type2324 { get; set; } + public global::tryAGI.OpenAI.UserRoleAssignment? Type2324 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceConsentResourceObject? Type2325 { get; set; } + public global::tryAGI.OpenAI.UserRoleAssignmentObject? Type2325 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceIdsOrCustomVoiceVariant2? Type2326 { get; set; } + public global::tryAGI.OpenAI.UserRoleUpdateRequest? Type2326 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceIdsSharedEnum? Type2327 { get; set; } + public global::tryAGI.OpenAI.VadConfigType? Type2327 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceResource? Type2328 { get; set; } + public global::tryAGI.OpenAI.ValidateGraderRequest? Type2328 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceResourceObject? Type2329 { get; set; } + public global::tryAGI.OpenAI.ValidateGraderResponse? Type2329 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionFind? Type2330 { get; set; } + public global::tryAGI.OpenAI.VectorStoreExpirationAfterAnchor? Type2330 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionFindType? Type2331 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2331 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionOpenPage? Type2332 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObject? Type2332 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionOpenPageType? Type2333 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObjectObject? Type2333 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionSearch? Type2334 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObjectStatus? Type2334 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionSearchType? Type2335 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObjectFileCounts? Type2335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2336 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileContentResponse? Type2336 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionSearchSource? Type2337 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileContentResponseObject? Type2337 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchActionSearchSourceType? Type2338 { get; set; } + public global::System.Collections.Generic.IList? Type2338 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchApproximateLocationWebSearchApproximateLocation1? Type2339 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileContentResponseDataItem? Type2339 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchApproximateLocationWebSearchApproximateLocation1Type? Type2340 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectObject? Type2340 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolType? Type2341 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectStatus? Type2341 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolFilters2? Type2342 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectLastError2? Type2342 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolSearchContextSize? Type2343 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectLastErrorCode? Type2343 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolCallType? Type2344 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2344 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolCallStatus? Type2345 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObjectObject? Type2345 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolCallAction? Type2346 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObjectFileCounts? Type2346 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminator? Type2347 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObjectStatus? Type2347 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminatorType? Type2348 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchRequest? Type2348 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCancelled? Type2349 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type2349 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCancelledData? Type2350 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2350 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCancelledObject? Type2351 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchRequestRankingOptions? Type2351 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCancelledType? Type2352 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchRequestRankingOptionsRanker? Type2352 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCompleted? Type2353 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultContentObject? Type2353 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCompletedData? Type2354 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultContentObjectType? Type2354 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCompletedObject? Type2355 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultItem? Type2355 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchCompletedType? Type2356 { get; set; } + public global::System.Collections.Generic.IList? Type2356 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchExpired? Type2357 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultsPage? Type2357 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchExpiredData? Type2358 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultsPageObject? Type2358 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchExpiredObject? Type2359 { get; set; } + public global::System.Collections.Generic.IList? Type2359 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchExpiredType? Type2360 { get; set; } + public global::tryAGI.OpenAI.VoiceConsentDeletedResource? Type2360 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchFailed? Type2361 { get; set; } + public global::tryAGI.OpenAI.VoiceConsentDeletedResourceObject? Type2361 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchFailedData? Type2362 { get; set; } + public global::tryAGI.OpenAI.VoiceConsentListResource? Type2362 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchFailedObject? Type2363 { get; set; } + public global::tryAGI.OpenAI.VoiceConsentListResourceObject? Type2363 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookBatchFailedType? Type2364 { get; set; } + public global::System.Collections.Generic.IList? Type2364 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunCanceled? Type2365 { get; set; } + public global::tryAGI.OpenAI.VoiceConsentResource? Type2365 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunCanceledData? Type2366 { get; set; } + public global::tryAGI.OpenAI.VoiceConsentResourceObject? Type2366 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunCanceledObject? Type2367 { get; set; } + public global::tryAGI.OpenAI.VoiceIdsOrCustomVoiceVariant2? Type2367 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunCanceledType? Type2368 { get; set; } + public global::tryAGI.OpenAI.VoiceIdsSharedEnum? Type2368 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunFailed? Type2369 { get; set; } + public global::tryAGI.OpenAI.VoiceResource? Type2369 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunFailedData? Type2370 { get; set; } + public global::tryAGI.OpenAI.VoiceResourceObject? Type2370 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunFailedObject? Type2371 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionFind? Type2371 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunFailedType? Type2372 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionFindType? Type2372 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunSucceeded? Type2373 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionOpenPage? Type2373 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunSucceededData? Type2374 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionOpenPageType? Type2374 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunSucceededObject? Type2375 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionSearch? Type2375 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookEvalRunSucceededType? Type2376 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionSearchType? Type2376 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobCancelled? Type2377 { get; set; } + public global::System.Collections.Generic.IList? Type2377 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledData? Type2378 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionSearchSource? Type2378 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledObject? Type2379 { get; set; } + public global::tryAGI.OpenAI.WebSearchActionSearchSourceType? Type2379 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledType? Type2380 { get; set; } + public global::tryAGI.OpenAI.WebSearchApproximateLocationWebSearchApproximateLocation1? Type2380 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobFailed? Type2381 { get; set; } + public global::tryAGI.OpenAI.WebSearchApproximateLocationWebSearchApproximateLocation1Type? Type2381 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobFailedData? Type2382 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolType? Type2382 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobFailedObject? Type2383 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolFilters2? Type2383 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobFailedType? Type2384 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolSearchContextSize? Type2384 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobSucceeded? Type2385 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolCallType? Type2385 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededData? Type2386 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolCallStatus? Type2386 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededObject? Type2387 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolCallAction? Type2387 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededType? Type2388 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminator? Type2388 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncoming? Type2389 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolCallActionDiscriminatorType? Type2389 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingData? Type2390 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCancelled? Type2390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2391 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCancelledData? Type2391 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingDataSipHeader? Type2392 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCancelledObject? Type2392 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingObject? Type2393 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCancelledType? Type2393 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingType? Type2394 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCompleted? Type2394 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCancelled? Type2395 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCompletedData? Type2395 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCancelledData? Type2396 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCompletedObject? Type2396 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCancelledObject? Type2397 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchCompletedType? Type2397 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCancelledType? Type2398 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchExpired? Type2398 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCompleted? Type2399 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchExpiredData? Type2399 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCompletedData? Type2400 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchExpiredObject? Type2400 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCompletedObject? Type2401 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchExpiredType? Type2401 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseCompletedType? Type2402 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchFailed? Type2402 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseFailed? Type2403 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchFailedData? Type2403 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseFailedData? Type2404 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchFailedObject? Type2404 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseFailedObject? Type2405 { get; set; } + public global::tryAGI.OpenAI.WebhookBatchFailedType? Type2405 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseFailedType? Type2406 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunCanceled? Type2406 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseIncomplete? Type2407 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunCanceledData? Type2407 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseIncompleteData? Type2408 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunCanceledObject? Type2408 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseIncompleteObject? Type2409 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunCanceledType? Type2409 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebhookResponseIncompleteType? Type2410 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunFailed? Type2410 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillReferenceParamType? Type2411 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunFailedData? Type2411 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineSkillSourceParam? Type2412 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunFailedObject? Type2412 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineSkillSourceParamType? Type2413 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunFailedType? Type2413 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineSkillSourceParamMediaType? Type2414 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunSucceeded? Type2414 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InlineSkillParamType? Type2415 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunSucceededData? Type2415 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerNetworkPolicyDisabledParamType? Type2416 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunSucceededObject? Type2416 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerNetworkPolicyDomainSecretParam? Type2417 { get; set; } + public global::tryAGI.OpenAI.WebhookEvalRunSucceededType? Type2417 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerNetworkPolicyAllowlistParamType? Type2418 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobCancelled? Type2418 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2419 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledData? Type2419 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageStatus? Type2420 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledObject? Type2420 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageRole? Type2421 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobCancelledType? Type2421 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputTextContentType? Type2422 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobFailed? Type2422 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileCitationBody? Type2423 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobFailedData? Type2423 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileCitationBodyType? Type2424 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobFailedObject? Type2424 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlCitationBody? Type2425 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobFailedType? Type2425 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlCitationBodyType? Type2426 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobSucceeded? Type2426 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileCitationBody? Type2427 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededData? Type2427 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileCitationBodyType? Type2428 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededObject? Type2428 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Annotation? Type2429 { get; set; } + public global::tryAGI.OpenAI.WebhookFineTuningJobSucceededType? Type2429 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationDiscriminator? Type2430 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncoming? Type2430 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationDiscriminatorType? Type2431 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingData? Type2431 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TopLogProb? Type2432 { get; set; } + public global::System.Collections.Generic.IList? Type2432 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LogProb? Type2433 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingDataSipHeader? Type2433 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2434 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingObject? Type2434 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputTextContentType? Type2435 { get; set; } + public global::tryAGI.OpenAI.WebhookRealtimeCallIncomingType? Type2435 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2436 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCancelled? Type2436 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2437 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCancelledData? Type2437 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextContent? Type2438 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCancelledObject? Type2438 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextContentType? Type2439 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCancelledType? Type2439 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SummaryTextContentType? Type2440 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCompleted? Type2440 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningTextContentType? Type2441 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCompletedData? Type2441 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RefusalContentType? Type2442 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCompletedObject? Type2442 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageDetail? Type2443 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseCompletedType? Type2443 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputImageContentType? Type2444 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseFailed? Type2444 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerScreenshotContent? Type2445 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseFailedData? Type2445 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerScreenshotContentType? Type2446 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseFailedObject? Type2446 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileInputDetail? Type2447 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseFailedType? Type2447 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputFileContentType? Type2448 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseIncomplete? Type2448 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessagePhase2? Type2449 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseIncompleteData? Type2449 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageType? Type2450 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseIncompleteObject? Type2450 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2451 { get; set; } + public global::tryAGI.OpenAI.WebhookResponseIncompleteType? Type2451 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem3? Type2452 { get; set; } + public global::tryAGI.OpenAI.SkillReferenceParamType? Type2452 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentItemDiscriminator? Type2453 { get; set; } + public global::tryAGI.OpenAI.InlineSkillSourceParam? Type2453 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentItemDiscriminatorType? Type2454 { get; set; } + public global::tryAGI.OpenAI.InlineSkillSourceParamType? Type2454 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClickButtonType? Type2455 { get; set; } + public global::tryAGI.OpenAI.InlineSkillSourceParamMediaType? Type2455 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClickParamType? Type2456 { get; set; } + public global::tryAGI.OpenAI.InlineSkillParamType? Type2456 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoubleClickActionType? Type2457 { get; set; } + public global::tryAGI.OpenAI.ContainerNetworkPolicyDisabledParamType? Type2457 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CoordParam? Type2458 { get; set; } + public global::tryAGI.OpenAI.ContainerNetworkPolicyDomainSecretParam? Type2458 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DragParamType? Type2459 { get; set; } + public global::tryAGI.OpenAI.ContainerNetworkPolicyAllowlistParamType? Type2459 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2460 { get; set; } + public global::System.Collections.Generic.IList? Type2460 { get; set; } /// /// /// - public global::tryAGI.OpenAI.KeyPressActionType? Type2461 { get; set; } + public global::tryAGI.OpenAI.MessageStatus? Type2461 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MoveParamType? Type2462 { get; set; } + public global::tryAGI.OpenAI.MessageRole? Type2462 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ScreenshotParamType? Type2463 { get; set; } + public global::tryAGI.OpenAI.InputTextContentType? Type2463 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ScrollParamType? Type2464 { get; set; } + public global::tryAGI.OpenAI.FileCitationBody? Type2464 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TypeParamType? Type2465 { get; set; } + public global::tryAGI.OpenAI.FileCitationBodyType? Type2465 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WaitParamType? Type2466 { get; set; } + public global::tryAGI.OpenAI.UrlCitationBody? Type2466 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchExecutionType? Type2467 { get; set; } + public global::tryAGI.OpenAI.UrlCitationBodyType? Type2467 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchCallType? Type2468 { get; set; } + public global::tryAGI.OpenAI.ContainerFileCitationBody? Type2468 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolType? Type2469 { get; set; } + public global::tryAGI.OpenAI.ContainerFileCitationBodyType? Type2469 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RankerVersionType? Type2470 { get; set; } + public global::tryAGI.OpenAI.Annotation? Type2470 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HybridSearchOptions? Type2471 { get; set; } + public global::tryAGI.OpenAI.AnnotationDiscriminator? Type2471 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RankingOptions? Type2472 { get; set; } + public global::tryAGI.OpenAI.AnnotationDiscriminatorType? Type2472 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Filters2? Type2473 { get; set; } + public global::tryAGI.OpenAI.TopLogProb? Type2473 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchToolType? Type2474 { get; set; } + public global::tryAGI.OpenAI.LogProb? Type2474 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolType? Type2475 { get; set; } + public global::System.Collections.Generic.IList? Type2475 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerEnvironment? Type2476 { get; set; } + public global::tryAGI.OpenAI.OutputTextContentType? Type2476 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUsePreviewToolType? Type2477 { get; set; } + public global::System.Collections.Generic.IList? Type2477 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerMemoryLimit? Type2478 { get; set; } + public global::System.Collections.Generic.IList? Type2478 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamType? Type2479 { get; set; } + public global::tryAGI.OpenAI.TextContent? Type2479 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NetworkPolicy2? Type2480 { get; set; } + public global::tryAGI.OpenAI.TextContentType? Type2480 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamNetworkPolicyDiscriminator? Type2481 { get; set; } + public global::tryAGI.OpenAI.SummaryTextContentType? Type2481 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamNetworkPolicyDiscriminatorType? Type2482 { get; set; } + public global::tryAGI.OpenAI.ReasoningTextContentType? Type2482 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolParamType? Type2483 { get; set; } + public global::tryAGI.OpenAI.RefusalContentType? Type2483 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParam? Type2484 { get; set; } + public global::tryAGI.OpenAI.ImageDetail? Type2484 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamType? Type2485 { get; set; } + public global::tryAGI.OpenAI.InputImageContentType? Type2485 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NetworkPolicy3? Type2486 { get; set; } + public global::tryAGI.OpenAI.ComputerScreenshotContent? Type2486 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamNetworkPolicyDiscriminator? Type2487 { get; set; } + public global::tryAGI.OpenAI.ComputerScreenshotContentType? Type2487 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamNetworkPolicyDiscriminatorType? Type2488 { get; set; } + public global::tryAGI.OpenAI.FileInputDetail? Type2488 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2489 { get; set; } + public global::tryAGI.OpenAI.InputFileContentType? Type2489 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillsItem2? Type2490 { get; set; } + public global::tryAGI.OpenAI.MessagePhase2? Type2490 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamSkillDiscriminator? Type2491 { get; set; } + public global::tryAGI.OpenAI.MessageType? Type2491 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerAutoParamSkillDiscriminatorType? Type2492 { get; set; } + public global::System.Collections.Generic.IList? Type2492 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalSkillParam? Type2493 { get; set; } + public global::tryAGI.OpenAI.ContentItem3? Type2493 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalEnvironmentParam? Type2494 { get; set; } + public global::tryAGI.OpenAI.MessageContentItemDiscriminator? Type2494 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalEnvironmentParamType? Type2495 { get; set; } + public global::tryAGI.OpenAI.MessageContentItemDiscriminatorType? Type2495 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2496 { get; set; } + public global::tryAGI.OpenAI.ClickButtonType? Type2496 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerReferenceParam? Type2497 { get; set; } + public global::tryAGI.OpenAI.ClickParamType? Type2497 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerReferenceParamType? Type2498 { get; set; } + public global::tryAGI.OpenAI.DoubleClickActionType? Type2498 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellToolParamType? Type2499 { get; set; } + public global::tryAGI.OpenAI.CoordParam? Type2499 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentVariant1? Type2500 { get; set; } + public global::tryAGI.OpenAI.DragParamType? Type2500 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellToolParamEnvironmentVariant1Discriminator? Type2501 { get; set; } + public global::System.Collections.Generic.IList? Type2501 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellToolParamEnvironmentVariant1DiscriminatorType? Type2502 { get; set; } + public global::tryAGI.OpenAI.KeyPressActionType? Type2502 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomTextFormatParam? Type2503 { get; set; } + public global::tryAGI.OpenAI.MoveParamType? Type2503 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomTextFormatParamType? Type2504 { get; set; } + public global::tryAGI.OpenAI.ScreenshotParamType? Type2504 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GrammarSyntax1? Type2505 { get; set; } + public global::tryAGI.OpenAI.ScrollParamType? Type2505 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomGrammarFormatParam? Type2506 { get; set; } + public global::tryAGI.OpenAI.TypeParamType? Type2506 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomGrammarFormatParamType? Type2507 { get; set; } + public global::tryAGI.OpenAI.WaitParamType? Type2507 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolParamType? Type2508 { get; set; } + public global::tryAGI.OpenAI.ToolSearchExecutionType? Type2508 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Format2? Type2509 { get; set; } + public global::tryAGI.OpenAI.ToolSearchCallType? Type2509 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolParamFormatDiscriminator? Type2510 { get; set; } + public global::tryAGI.OpenAI.FunctionToolType? Type2510 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CustomToolParamFormatDiscriminatorType? Type2511 { get; set; } + public global::tryAGI.OpenAI.RankerVersionType? Type2511 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EmptyModelParam? Type2512 { get; set; } + public global::tryAGI.OpenAI.HybridSearchOptions? Type2512 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolParam? Type2513 { get; set; } + public global::tryAGI.OpenAI.RankingOptions? Type2513 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolParamType? Type2514 { get; set; } + public global::tryAGI.OpenAI.Filters2? Type2514 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NamespaceToolParamType? Type2515 { get; set; } + public global::tryAGI.OpenAI.FileSearchToolType? Type2515 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2516 { get; set; } + public global::tryAGI.OpenAI.ComputerToolType? Type2516 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem13? Type2517 { get; set; } + public global::tryAGI.OpenAI.ComputerEnvironment? Type2517 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NamespaceToolParamToolDiscriminator? Type2518 { get; set; } + public global::tryAGI.OpenAI.ComputerUsePreviewToolType? Type2518 { get; set; } /// /// /// - public global::tryAGI.OpenAI.NamespaceToolParamToolDiscriminatorType? Type2519 { get; set; } + public global::tryAGI.OpenAI.ContainerMemoryLimit? Type2519 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchToolParamType? Type2520 { get; set; } + public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamType? Type2520 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApproximateLocation? Type2521 { get; set; } + public global::tryAGI.OpenAI.NetworkPolicy2? Type2521 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApproximateLocationType? Type2522 { get; set; } + public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamNetworkPolicyDiscriminator? Type2522 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SearchContextSize? Type2523 { get; set; } + public global::tryAGI.OpenAI.AutoCodeInterpreterToolParamNetworkPolicyDiscriminatorType? Type2523 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SearchContentType? Type2524 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolParamType? Type2524 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchPreviewToolType? Type2525 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParam? Type2525 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2526 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamType? Type2526 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolParamType? Type2527 { get; set; } + public global::tryAGI.OpenAI.NetworkPolicy3? Type2527 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchOutputType? Type2528 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamNetworkPolicyDiscriminator? Type2528 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactionBodyType? Type2529 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamNetworkPolicyDiscriminatorType? Type2529 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterOutputLogsType? Type2530 { get; set; } + public global::System.Collections.Generic.IList? Type2530 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterOutputImageType? Type2531 { get; set; } + public global::tryAGI.OpenAI.SkillsItem2? Type2531 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellExecActionType? Type2532 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamSkillDiscriminator? Type2532 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellAction? Type2533 { get; set; } + public global::tryAGI.OpenAI.ContainerAutoParamSkillDiscriminatorType? Type2533 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallStatus? Type2534 { get; set; } + public global::tryAGI.OpenAI.LocalSkillParam? Type2534 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalEnvironmentResource? Type2535 { get; set; } + public global::tryAGI.OpenAI.LocalEnvironmentParam? Type2535 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalEnvironmentResourceType? Type2536 { get; set; } + public global::tryAGI.OpenAI.LocalEnvironmentParamType? Type2536 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerReferenceResource? Type2537 { get; set; } + public global::System.Collections.Generic.IList? Type2537 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerReferenceResourceType? Type2538 { get; set; } + public global::tryAGI.OpenAI.ContainerReferenceParam? Type2538 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallType? Type2539 { get; set; } + public global::tryAGI.OpenAI.ContainerReferenceParamType? Type2539 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentVariant12? Type2540 { get; set; } + public global::tryAGI.OpenAI.FunctionShellToolParamType? Type2540 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallEnvironmentVariant1Discriminator? Type2541 { get; set; } + public global::tryAGI.OpenAI.EnvironmentVariant1? Type2541 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallEnvironmentVariant1DiscriminatorType? Type2542 { get; set; } + public global::tryAGI.OpenAI.FunctionShellToolParamEnvironmentVariant1Discriminator? Type2542 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputStatusEnum? Type2543 { get; set; } + public global::tryAGI.OpenAI.FunctionShellToolParamEnvironmentVariant1DiscriminatorType? Type2543 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcome? Type2544 { get; set; } + public global::tryAGI.OpenAI.CustomTextFormatParam? Type2544 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeType? Type2545 { get; set; } + public global::tryAGI.OpenAI.CustomTextFormatParamType? Type2545 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcome? Type2546 { get; set; } + public global::tryAGI.OpenAI.GrammarSyntax1? Type2546 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeType? Type2547 { get; set; } + public global::tryAGI.OpenAI.CustomGrammarFormatParam? Type2547 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputContent? Type2548 { get; set; } + public global::tryAGI.OpenAI.CustomGrammarFormatParamType? Type2548 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Outcome? Type2549 { get; set; } + public global::tryAGI.OpenAI.CustomToolParamType? Type2549 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputContentOutcomeDiscriminator? Type2550 { get; set; } + public global::tryAGI.OpenAI.Format2? Type2550 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputContentOutcomeDiscriminatorType? Type2551 { get; set; } + public global::tryAGI.OpenAI.CustomToolParamFormatDiscriminator? Type2551 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputType? Type2552 { get; set; } + public global::tryAGI.OpenAI.CustomToolParamFormatDiscriminatorType? Type2552 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2553 { get; set; } + public global::tryAGI.OpenAI.EmptyModelParam? Type2553 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCallStatus? Type2554 { get; set; } + public global::tryAGI.OpenAI.FunctionToolParam? Type2554 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCreateFileOperation? Type2555 { get; set; } + public global::tryAGI.OpenAI.FunctionToolParamType? Type2555 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationType? Type2556 { get; set; } + public global::tryAGI.OpenAI.NamespaceToolParamType? Type2556 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperation? Type2557 { get; set; } + public global::System.Collections.Generic.IList? Type2557 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationType? Type2558 { get; set; } + public global::tryAGI.OpenAI.ToolsItem13? Type2558 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperation? Type2559 { get; set; } + public global::tryAGI.OpenAI.NamespaceToolParamToolDiscriminator? Type2559 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationType? Type2560 { get; set; } + public global::tryAGI.OpenAI.NamespaceToolParamToolDiscriminatorType? Type2560 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallType? Type2561 { get; set; } + public global::tryAGI.OpenAI.ToolSearchToolParamType? Type2561 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Operation? Type2562 { get; set; } + public global::tryAGI.OpenAI.ApproximateLocation? Type2562 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOperationDiscriminator? Type2563 { get; set; } + public global::tryAGI.OpenAI.ApproximateLocationType? Type2563 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOperationDiscriminatorType? Type2564 { get; set; } + public global::tryAGI.OpenAI.SearchContextSize? Type2564 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCallOutputStatus? Type2565 { get; set; } + public global::tryAGI.OpenAI.SearchContentType? Type2565 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOutputType? Type2566 { get; set; } + public global::tryAGI.OpenAI.WebSearchPreviewToolType? Type2566 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DetailEnum? Type2567 { get; set; } + public global::System.Collections.Generic.IList? Type2567 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallItemStatus? Type2568 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolParamType? Type2568 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerCallOutputItemParamType? Type2569 { get; set; } + public global::tryAGI.OpenAI.ToolSearchOutputType? Type2569 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputTextContentParam? Type2570 { get; set; } + public global::tryAGI.OpenAI.CompactionBodyType? Type2570 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputTextContentParamType? Type2571 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterOutputLogsType? Type2571 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputImageContentParamAutoParam? Type2572 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterOutputImageType? Type2572 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputImageContentParamAutoParamType? Type2573 { get; set; } + public global::tryAGI.OpenAI.LocalShellExecActionType? Type2573 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileDetailEnum? Type2574 { get; set; } + public global::tryAGI.OpenAI.FunctionShellAction? Type2574 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputFileContentParam? Type2575 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallStatus? Type2575 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputFileContentParamType? Type2576 { get; set; } + public global::tryAGI.OpenAI.LocalEnvironmentResource? Type2576 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemParamType? Type2577 { get; set; } + public global::tryAGI.OpenAI.LocalEnvironmentResourceType? Type2577 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type2578 { get; set; } + public global::tryAGI.OpenAI.ContainerReferenceResource? Type2578 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2579 { get; set; } + public global::tryAGI.OpenAI.ContainerReferenceResourceType? Type2579 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputVariant2Item? Type2580 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallType? Type2580 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemParamOutputVariant2ItemDiscriminator? Type2581 { get; set; } + public global::tryAGI.OpenAI.EnvironmentVariant12? Type2581 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemParamOutputVariant2ItemDiscriminatorType? Type2582 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallEnvironmentVariant1Discriminator? Type2582 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchCallItemParamType? Type2583 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallEnvironmentVariant1DiscriminatorType? Type2583 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolSearchOutputItemParamType? Type2584 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputStatusEnum? Type2584 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactionSummaryItemParamType? Type2585 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcome? Type2585 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellActionParam? Type2586 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeType? Type2586 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallItemStatus? Type2587 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcome? Type2587 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallItemParamType? Type2588 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeType? Type2588 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EnvironmentVariant13? Type2589 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputContent? Type2589 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallItemParamEnvironmentVariant1Discriminator? Type2590 { get; set; } + public global::tryAGI.OpenAI.Outcome? Type2590 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallItemParamEnvironmentVariant1DiscriminatorType? Type2591 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputContentOutcomeDiscriminator? Type2591 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeParam? Type2592 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputContentOutcomeDiscriminatorType? Type2592 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeParamType? Type2593 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputType? Type2593 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParam? Type2594 { get; set; } + public global::System.Collections.Generic.IList? Type2594 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParamType? Type2595 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCallStatus? Type2595 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParam? Type2596 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCreateFileOperation? Type2596 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParamDiscriminator? Type2597 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationType? Type2597 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParamDiscriminatorType? Type2598 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperation? Type2598 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputContentParam? Type2599 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationType? Type2599 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionShellCallOutputItemParamType? Type2600 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperation? Type2600 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2601 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationType? Type2601 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCallStatusParam? Type2602 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallType? Type2602 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParam? Type2603 { get; set; } + public global::tryAGI.OpenAI.Operation? Type2603 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParamType? Type2604 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOperationDiscriminator? Type2604 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParam? Type2605 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOperationDiscriminatorType? Type2605 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParamType? Type2606 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCallOutputStatus? Type2606 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParam? Type2607 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOutputType? Type2607 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParamType? Type2608 { get; set; } + public global::tryAGI.OpenAI.DetailEnum? Type2608 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchOperationParam? Type2609 { get; set; } + public global::tryAGI.OpenAI.FunctionCallItemStatus? Type2609 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchOperationParamDiscriminator? Type2610 { get; set; } + public global::tryAGI.OpenAI.ComputerCallOutputItemParamType? Type2610 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchOperationParamDiscriminatorType? Type2611 { get; set; } + public global::tryAGI.OpenAI.InputTextContentParam? Type2611 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallItemParamType? Type2612 { get; set; } + public global::tryAGI.OpenAI.InputTextContentParamType? Type2612 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchCallOutputStatusParam? Type2613 { get; set; } + public global::tryAGI.OpenAI.InputImageContentParamAutoParam? Type2613 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParamType? Type2614 { get; set; } + public global::tryAGI.OpenAI.InputImageContentParamAutoParamType? Type2614 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactionTriggerItemParamType? Type2615 { get; set; } + public global::tryAGI.OpenAI.FileDetailEnum? Type2615 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemReferenceParamType2? Type2616 { get; set; } + public global::tryAGI.OpenAI.InputFileContentParam? Type2616 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ConversationResource? Type2617 { get; set; } + public global::tryAGI.OpenAI.InputFileContentParamType? Type2617 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ConversationResourceObject? Type2618 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemParamType? Type2618 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenOutputTokensDetails? Type2619 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type2619 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenInputUsageDetails? Type2620 { get; set; } + public global::System.Collections.Generic.IList? Type2620 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpecificApplyPatchParamType? Type2621 { get; set; } + public global::tryAGI.OpenAI.OutputVariant2Item? Type2621 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SpecificFunctionShellParamType? Type2622 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemParamOutputVariant2ItemDiscriminator? Type2622 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateConversationBody? Type2623 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemParamOutputVariant2ItemDiscriminatorType? Type2623 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateConversationBody? Type2624 { get; set; } + public global::tryAGI.OpenAI.ToolSearchCallItemParamType? Type2624 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedConversationResourceObject? Type2625 { get; set; } + public global::tryAGI.OpenAI.ToolSearchOutputItemParamType? Type2625 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OrderEnum? Type2626 { get; set; } + public global::tryAGI.OpenAI.CompactionSummaryItemParamType? Type2626 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoModel? Type2627 { get; set; } + public global::tryAGI.OpenAI.FunctionShellActionParam? Type2627 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoModelEnum? Type2628 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallItemStatus? Type2628 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoStatus? Type2629 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallItemParamType? Type2629 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoSize? Type2630 { get; set; } + public global::tryAGI.OpenAI.EnvironmentVariant13? Type2630 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Error2? Type2631 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallItemParamEnvironmentVariant1Discriminator? Type2631 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoResource? Type2632 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallItemParamEnvironmentVariant1DiscriminatorType? Type2632 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoResourceObject? Type2633 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeParam? Type2633 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoListResource? Type2634 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputTimeoutOutcomeParamType? Type2634 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoListResourceObject? Type2635 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParam? Type2635 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2636 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParamType? Type2636 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageRefParam2? Type2637 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParam? Type2637 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoSeconds? Type2638 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParamDiscriminator? Type2638 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoMultipartBody? Type2639 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputOutcomeParamDiscriminatorType? Type2639 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2640 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputContentParam? Type2640 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoJsonBody? Type2641 { get; set; } + public global::tryAGI.OpenAI.FunctionShellCallOutputItemParamType? Type2641 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoCharacterBody? Type2642 { get; set; } + public global::System.Collections.Generic.IList? Type2642 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoCharacterResource? Type2643 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCallStatusParam? Type2643 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoReferenceInputParam? Type2644 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParam? Type2644 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoEditMultipartBody? Type2645 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParamType? Type2645 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2646 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParam? Type2646 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoEditJsonBody? Type2647 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParamType? Type2647 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoExtendMultipartBody? Type2648 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParam? Type2648 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2649 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParamType? Type2649 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoExtendJsonBody? Type2650 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchOperationParam? Type2650 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedVideoResource? Type2651 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchOperationParamDiscriminator? Type2651 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedVideoResourceObject? Type2652 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchOperationParamDiscriminatorType? Type2652 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VideoContentVariant? Type2653 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallItemParamType? Type2653 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVideoRemixBody? Type2654 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchCallOutputStatusParam? Type2654 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TruncationEnum? Type2655 { get; set; } + public global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParamType? Type2655 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TokenCountsBody? Type2656 { get; set; } + public global::tryAGI.OpenAI.CompactionTriggerItemParamType? Type2656 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TokenCountsResource? Type2657 { get; set; } + public global::tryAGI.OpenAI.ItemReferenceParamType2? Type2657 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TokenCountsResourceObject? Type2658 { get; set; } + public global::tryAGI.OpenAI.ConversationResource? Type2658 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PromptCacheRetentionEnum? Type2659 { get; set; } + public global::tryAGI.OpenAI.ConversationResourceObject? Type2659 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ServiceTierEnum2? Type2660 { get; set; } + public global::tryAGI.OpenAI.ImageGenOutputTokensDetails? Type2660 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactResponseMethodPublicBody? Type2661 { get; set; } + public global::tryAGI.OpenAI.ImageGenInputUsageDetails? Type2661 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemField? Type2662 { get; set; } + public global::tryAGI.OpenAI.SpecificApplyPatchParamType? Type2662 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemFieldDiscriminator? Type2663 { get; set; } + public global::tryAGI.OpenAI.SpecificFunctionShellParamType? Type2663 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemFieldDiscriminatorType? Type2664 { get; set; } + public global::tryAGI.OpenAI.CreateConversationBody? Type2664 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactResource? Type2665 { get; set; } + public global::tryAGI.OpenAI.UpdateConversationBody? Type2665 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompactResourceObject? Type2666 { get; set; } + public global::tryAGI.OpenAI.DeletedConversationResourceObject? Type2666 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2667 { get; set; } + public global::tryAGI.OpenAI.OrderEnum? Type2667 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillResource? Type2668 { get; set; } + public global::tryAGI.OpenAI.VideoModel? Type2668 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillResourceObject? Type2669 { get; set; } + public global::tryAGI.OpenAI.VideoModelEnum? Type2669 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillListResource? Type2670 { get; set; } + public global::tryAGI.OpenAI.VideoStatus? Type2670 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillListResourceObject? Type2671 { get; set; } + public global::tryAGI.OpenAI.VideoSize? Type2671 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2672 { get; set; } + public global::tryAGI.OpenAI.Error2? Type2672 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSkillBody? Type2673 { get; set; } + public global::tryAGI.OpenAI.VideoResource? Type2673 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, byte[]>? Type2674 { get; set; } + public global::tryAGI.OpenAI.VideoResourceObject? Type2674 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SetDefaultSkillVersionBody? Type2675 { get; set; } + public global::tryAGI.OpenAI.VideoListResource? Type2675 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillResource? Type2676 { get; set; } + public global::tryAGI.OpenAI.VideoListResourceObject? Type2676 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillResourceObject? Type2677 { get; set; } + public global::System.Collections.Generic.IList? Type2677 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionResource? Type2678 { get; set; } + public global::tryAGI.OpenAI.ImageRefParam2? Type2678 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionResourceObject? Type2679 { get; set; } + public global::tryAGI.OpenAI.VideoSeconds? Type2679 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionListResource? Type2680 { get; set; } + public global::tryAGI.OpenAI.CreateVideoMultipartBody? Type2680 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SkillVersionListResourceObject? Type2681 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2681 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2682 { get; set; } + public global::tryAGI.OpenAI.CreateVideoJsonBody? Type2682 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSkillVersionBody? Type2683 { get; set; } + public global::tryAGI.OpenAI.CreateVideoCharacterBody? Type2683 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillVersionResource? Type2684 { get; set; } + public global::tryAGI.OpenAI.VideoCharacterResource? Type2684 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedSkillVersionResourceObject? Type2685 { get; set; } + public global::tryAGI.OpenAI.VideoReferenceInputParam? Type2685 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitWorkflowTracing? Type2686 { get; set; } + public global::tryAGI.OpenAI.CreateVideoEditMultipartBody? Type2686 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitWorkflow? Type2687 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2687 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2688 { get; set; } + public global::tryAGI.OpenAI.CreateVideoEditJsonBody? Type2688 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionRateLimits? Type2689 { get; set; } + public global::tryAGI.OpenAI.CreateVideoExtendMultipartBody? Type2689 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionStatus? Type2690 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2690 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionAutomaticThreadTitling? Type2691 { get; set; } + public global::tryAGI.OpenAI.CreateVideoExtendJsonBody? Type2691 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionFileUpload? Type2692 { get; set; } + public global::tryAGI.OpenAI.DeletedVideoResource? Type2692 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionHistory? Type2693 { get; set; } + public global::tryAGI.OpenAI.DeletedVideoResourceObject? Type2693 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionChatkitConfiguration? Type2694 { get; set; } + public global::tryAGI.OpenAI.VideoContentVariant? Type2694 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionResource? Type2695 { get; set; } + public global::tryAGI.OpenAI.CreateVideoRemixBody? Type2695 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatSessionResourceObject? Type2696 { get; set; } + public global::tryAGI.OpenAI.TruncationEnum? Type2696 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WorkflowTracingParam? Type2697 { get; set; } + public global::tryAGI.OpenAI.TokenCountsBody? Type2697 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WorkflowParam? Type2698 { get; set; } + public global::tryAGI.OpenAI.TokenCountsResource? Type2698 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExpiresAfterParam? Type2699 { get; set; } + public global::tryAGI.OpenAI.TokenCountsResourceObject? Type2699 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ExpiresAfterParamAnchor? Type2700 { get; set; } + public global::tryAGI.OpenAI.PromptCacheRetentionEnum? Type2700 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RateLimitsParam? Type2701 { get; set; } + public global::tryAGI.OpenAI.ServiceTierEnum2? Type2701 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutomaticThreadTitlingParam? Type2702 { get; set; } + public global::tryAGI.OpenAI.CompactResponseMethodPublicBody? Type2702 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileUploadParam? Type2703 { get; set; } + public global::tryAGI.OpenAI.ItemField? Type2703 { get; set; } /// /// /// - public global::tryAGI.OpenAI.HistoryParam? Type2704 { get; set; } + public global::tryAGI.OpenAI.ItemFieldDiscriminator? Type2704 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatkitConfigurationParam? Type2705 { get; set; } + public global::tryAGI.OpenAI.ItemFieldDiscriminatorType? Type2705 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatSessionBody? Type2706 { get; set; } + public global::tryAGI.OpenAI.CompactResource? Type2706 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageInputText? Type2707 { get; set; } + public global::tryAGI.OpenAI.CompactResourceObject? Type2707 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageInputTextType? Type2708 { get; set; } + public global::System.Collections.Generic.IList? Type2708 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageQuotedText? Type2709 { get; set; } + public global::tryAGI.OpenAI.SkillResource? Type2709 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageQuotedTextType? Type2710 { get; set; } + public global::tryAGI.OpenAI.SkillResourceObject? Type2710 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AttachmentType? Type2711 { get; set; } + public global::tryAGI.OpenAI.SkillListResource? Type2711 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Attachment? Type2712 { get; set; } + public global::tryAGI.OpenAI.SkillListResourceObject? Type2712 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoice8? Type2713 { get; set; } + public global::System.Collections.Generic.IList? Type2713 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InferenceOptions? Type2714 { get; set; } + public global::tryAGI.OpenAI.CreateSkillBody? Type2714 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItem? Type2715 { get; set; } + public global::tryAGI.OpenAI.OneOf, byte[]>? Type2715 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemObject? Type2716 { get; set; } + public global::tryAGI.OpenAI.SetDefaultSkillVersionBody? Type2716 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemType? Type2717 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillResource? Type2717 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2718 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillResourceObject? Type2718 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem4? Type2719 { get; set; } + public global::tryAGI.OpenAI.SkillVersionResource? Type2719 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminator? Type2720 { get; set; } + public global::tryAGI.OpenAI.SkillVersionResourceObject? Type2720 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminatorType? Type2721 { get; set; } + public global::tryAGI.OpenAI.SkillVersionListResource? Type2721 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2722 { get; set; } + public global::tryAGI.OpenAI.SkillVersionListResourceObject? Type2722 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationSource? Type2723 { get; set; } + public global::System.Collections.Generic.IList? Type2723 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationSourceType? Type2724 { get; set; } + public global::tryAGI.OpenAI.CreateSkillVersionBody? Type2724 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotation? Type2725 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillVersionResource? Type2725 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileAnnotationType? Type2726 { get; set; } + public global::tryAGI.OpenAI.DeletedSkillVersionResourceObject? Type2726 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationSource? Type2727 { get; set; } + public global::tryAGI.OpenAI.ChatkitWorkflowTracing? Type2727 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationSourceType? Type2728 { get; set; } + public global::tryAGI.OpenAI.ChatkitWorkflow? Type2728 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotation? Type2729 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type2729 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlAnnotationType? Type2730 { get; set; } + public global::tryAGI.OpenAI.ChatSessionRateLimits? Type2730 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputText? Type2731 { get; set; } + public global::tryAGI.OpenAI.ChatSessionStatus? Type2731 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextType? Type2732 { get; set; } + public global::tryAGI.OpenAI.ChatSessionAutomaticThreadTitling? Type2732 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2733 { get; set; } + public global::tryAGI.OpenAI.ChatSessionFileUpload? Type2733 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationsItem3? Type2734 { get; set; } + public global::tryAGI.OpenAI.ChatSessionHistory? Type2734 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminator? Type2735 { get; set; } + public global::tryAGI.OpenAI.ChatSessionChatkitConfiguration? Type2735 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminatorType? Type2736 { get; set; } + public global::tryAGI.OpenAI.ChatSessionResource? Type2736 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItem? Type2737 { get; set; } + public global::tryAGI.OpenAI.ChatSessionResourceObject? Type2737 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemObject? Type2738 { get; set; } + public global::tryAGI.OpenAI.WorkflowTracingParam? Type2738 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantMessageItemType? Type2739 { get; set; } + public global::tryAGI.OpenAI.WorkflowParam? Type2739 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2740 { get; set; } + public global::tryAGI.OpenAI.ExpiresAfterParam? Type2740 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItem? Type2741 { get; set; } + public global::tryAGI.OpenAI.ExpiresAfterParamAnchor? Type2741 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItemObject? Type2742 { get; set; } + public global::tryAGI.OpenAI.RateLimitsParam? Type2742 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WidgetMessageItemType? Type2743 { get; set; } + public global::tryAGI.OpenAI.AutomaticThreadTitlingParam? Type2743 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallStatus? Type2744 { get; set; } + public global::tryAGI.OpenAI.FileUploadParam? Type2744 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItem? Type2745 { get; set; } + public global::tryAGI.OpenAI.HistoryParam? Type2745 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItemObject? Type2746 { get; set; } + public global::tryAGI.OpenAI.ChatkitConfigurationParam? Type2746 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClientToolCallItemType? Type2747 { get; set; } + public global::tryAGI.OpenAI.CreateChatSessionBody? Type2747 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskType? Type2748 { get; set; } + public global::tryAGI.OpenAI.UserMessageInputText? Type2748 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItem? Type2749 { get; set; } + public global::tryAGI.OpenAI.UserMessageInputTextType? Type2749 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItemObject? Type2750 { get; set; } + public global::tryAGI.OpenAI.UserMessageQuotedText? Type2750 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskItemType? Type2751 { get; set; } + public global::tryAGI.OpenAI.UserMessageQuotedTextType? Type2751 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupTask? Type2752 { get; set; } + public global::tryAGI.OpenAI.AttachmentType? Type2752 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItem? Type2753 { get; set; } + public global::tryAGI.OpenAI.Attachment? Type2753 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItemObject? Type2754 { get; set; } + public global::tryAGI.OpenAI.ToolChoice8? Type2754 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TaskGroupItemType? Type2755 { get; set; } + public global::tryAGI.OpenAI.InferenceOptions? Type2755 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2756 { get; set; } + public global::tryAGI.OpenAI.UserMessageItem? Type2756 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItem? Type2757 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemObject? Type2757 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemDiscriminator? Type2758 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemType? Type2758 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemDiscriminatorType? Type2759 { get; set; } + public global::System.Collections.Generic.IList? Type2759 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemListResource? Type2760 { get; set; } + public global::tryAGI.OpenAI.ContentItem4? Type2760 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadItemListResourceObject? Type2761 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminator? Type2761 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2762 { get; set; } + public global::tryAGI.OpenAI.UserMessageItemContentItemDiscriminatorType? Type2762 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ActiveStatus? Type2763 { get; set; } + public global::System.Collections.Generic.IList? Type2763 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ActiveStatusType? Type2764 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationSource? Type2764 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LockedStatus? Type2765 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationSourceType? Type2765 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LockedStatusType? Type2766 { get; set; } + public global::tryAGI.OpenAI.FileAnnotation? Type2766 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClosedStatus? Type2767 { get; set; } + public global::tryAGI.OpenAI.FileAnnotationType? Type2767 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ClosedStatusType? Type2768 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationSource? Type2768 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResource? Type2769 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationSourceType? Type2769 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResourceObject? Type2770 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotation? Type2770 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Status? Type2771 { get; set; } + public global::tryAGI.OpenAI.UrlAnnotationType? Type2771 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminator? Type2772 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputText? Type2772 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminatorType? Type2773 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextType? Type2773 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedThreadResource? Type2774 { get; set; } + public global::System.Collections.Generic.IList? Type2774 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeletedThreadResourceObject? Type2775 { get; set; } + public global::tryAGI.OpenAI.AnnotationsItem3? Type2775 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadListResource? Type2776 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminator? Type2776 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadListResourceObject? Type2777 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationDiscriminatorType? Type2777 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2778 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItem? Type2778 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DragPoint? Type2779 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemObject? Type2779 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequest? Type2780 { get; set; } + public global::tryAGI.OpenAI.AssistantMessageItemType? Type2780 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequestEndpoint? Type2781 { get; set; } + public global::System.Collections.Generic.IList? Type2781 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow? Type2782 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItem? Type2782 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateChatCompletionRequest? Type2783 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItemObject? Type2783 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateConversationItemsRequest? Type2784 { get; set; } + public global::tryAGI.OpenAI.WidgetMessageItemType? Type2784 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateEvalRequest? Type2785 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallStatus? Type2785 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type2786 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItem? Type2786 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAssistantsOrder? Type2787 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItemObject? Type2787 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListChatCompletionsOrder? Type2788 { get; set; } + public global::tryAGI.OpenAI.ClientToolCallItemType? Type2788 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetChatCompletionMessagesOrder? Type2789 { get; set; } + public global::tryAGI.OpenAI.TaskType? Type2789 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListContainersOrder? Type2790 { get; set; } + public global::tryAGI.OpenAI.TaskItem? Type2790 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListContainerFilesOrder? Type2791 { get; set; } + public global::tryAGI.OpenAI.TaskItemObject? Type2791 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListConversationItemsOrder? Type2792 { get; set; } + public global::tryAGI.OpenAI.TaskItemType? Type2792 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListEvalsOrder? Type2793 { get; set; } + public global::tryAGI.OpenAI.TaskGroupTask? Type2793 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListEvalsOrderBy? Type2794 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItem? Type2794 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunsOrder? Type2795 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItemObject? Type2795 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunsStatus? Type2796 { get; set; } + public global::tryAGI.OpenAI.TaskGroupItemType? Type2796 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunOutputItemsStatus? Type2797 { get; set; } + public global::System.Collections.Generic.IList? Type2797 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunOutputItemsOrder? Type2798 { get; set; } + public global::tryAGI.OpenAI.ThreadItem? Type2798 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesOrder? Type2799 { get; set; } + public global::tryAGI.OpenAI.ThreadItemDiscriminator? Type2799 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionsOrder? Type2800 { get; set; } + public global::tryAGI.OpenAI.ThreadItemDiscriminatorType? Type2800 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type2801 { get; set; } + public global::tryAGI.OpenAI.ThreadItemListResource? Type2801 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type2802 { get; set; } + public global::tryAGI.OpenAI.ThreadItemListResourceObject? Type2802 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2803 { get; set; } + public global::System.Collections.Generic.IList? Type2803 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListOrganizationCertificatesOrder? Type2804 { get; set; } + public global::tryAGI.OpenAI.ActiveStatus? Type2804 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2805 { get; set; } + public global::tryAGI.OpenAI.ActiveStatusType? Type2805 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetCertificateIncludeItem? Type2806 { get; set; } + public global::tryAGI.OpenAI.LockedStatus? Type2806 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type2807 { get; set; } + public global::tryAGI.OpenAI.LockedStatusType? Type2807 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2808 { get; set; } + public global::tryAGI.OpenAI.ClosedStatus? Type2808 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type2809 { get; set; } + public global::tryAGI.OpenAI.ClosedStatusType? Type2809 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupsOrder? Type2810 { get; set; } + public global::tryAGI.OpenAI.ThreadResource? Type2810 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupRoleAssignmentsOrder? Type2811 { get; set; } + public global::tryAGI.OpenAI.ThreadResourceObject? Type2811 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListGroupUsersOrder? Type2812 { get; set; } + public global::tryAGI.OpenAI.Status? Type2812 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectCertificatesOrder? Type2813 { get; set; } + public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminator? Type2813 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectGroupsOrder? Type2814 { get; set; } + public global::tryAGI.OpenAI.ThreadResourceStatusDiscriminatorType? Type2814 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRolesOrder? Type2815 { get; set; } + public global::tryAGI.OpenAI.DeletedThreadResource? Type2815 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type2816 { get; set; } + public global::tryAGI.OpenAI.DeletedThreadResourceObject? Type2816 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2817 { get; set; } + public global::tryAGI.OpenAI.ThreadListResource? Type2817 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type2818 { get; set; } + public global::tryAGI.OpenAI.ThreadListResourceObject? Type2818 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type2819 { get; set; } + public global::System.Collections.Generic.IList? Type2819 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2820 { get; set; } + public global::tryAGI.OpenAI.DragPoint? Type2820 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type2821 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequest? Type2821 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type2822 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequestEndpoint? Type2822 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2823 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow? Type2823 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type2824 { get; set; } + public global::tryAGI.OpenAI.UpdateChatCompletionRequest? Type2824 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type2825 { get; set; } + public global::tryAGI.OpenAI.CreateConversationItemsRequest? Type2825 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2826 { get; set; } + public global::tryAGI.OpenAI.UpdateEvalRequest? Type2826 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type2827 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type2827 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type2828 { get; set; } + public global::tryAGI.OpenAI.ListAssistantsOrder? Type2828 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2829 { get; set; } + public global::tryAGI.OpenAI.ListChatCompletionsOrder? Type2829 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type2830 { get; set; } + public global::tryAGI.OpenAI.GetChatCompletionMessagesOrder? Type2830 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth? Type2831 { get; set; } + public global::tryAGI.OpenAI.ListContainersOrder? Type2831 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2832 { get; set; } + public global::tryAGI.OpenAI.ListContainerFilesOrder? Type2832 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem? Type2833 { get; set; } + public global::tryAGI.OpenAI.ListConversationItemsOrder? Type2833 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type2834 { get; set; } + public global::tryAGI.OpenAI.ListEvalsOrder? Type2834 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2835 { get; set; } + public global::tryAGI.OpenAI.ListEvalsOrderBy? Type2835 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesSource? Type2836 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunsOrder? Type2836 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2837 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunsStatus? Type2837 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesSize? Type2838 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunOutputItemsStatus? Type2838 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2839 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunOutputItemsOrder? Type2839 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type2840 { get; set; } + public global::tryAGI.OpenAI.ListFilesOrder? Type2840 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type2841 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionsOrder? Type2841 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2842 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type2842 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type2843 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type2843 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type2844 { get; set; } + public global::System.Collections.Generic.IList? Type2844 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2845 { get; set; } + public global::tryAGI.OpenAI.ListOrganizationCertificatesOrder? Type2845 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type2846 { get; set; } + public global::System.Collections.Generic.IList? Type2846 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth? Type2847 { get; set; } + public global::tryAGI.OpenAI.GetCertificateIncludeItem? Type2847 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2848 { get; set; } + public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type2848 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel? Type2849 { get; set; } + public global::System.Collections.Generic.IList? Type2849 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2850 { get; set; } + public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type2850 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem? Type2851 { get; set; } + public global::tryAGI.OpenAI.ListGroupsOrder? Type2851 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListUserRoleAssignmentsOrder? Type2852 { get; set; } + public global::tryAGI.OpenAI.ListGroupRoleAssignmentsOrder? Type2852 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectGroupRoleAssignmentsOrder? Type2853 { get; set; } + public global::tryAGI.OpenAI.ListGroupUsersOrder? Type2853 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectRolesOrder? Type2854 { get; set; } + public global::tryAGI.OpenAI.ListProjectCertificatesOrder? Type2854 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectUserRoleAssignmentsOrder? Type2855 { get; set; } + public global::tryAGI.OpenAI.ListProjectGroupsOrder? Type2855 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListInputItemsOrder? Type2856 { get; set; } + public global::tryAGI.OpenAI.RetrieveProjectGroupGroupType? Type2856 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListMessagesOrder? Type2857 { get; set; } + public global::tryAGI.OpenAI.ListProjectSpendAlertsOrder? Type2857 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunsOrder? Type2858 { get; set; } + public global::tryAGI.OpenAI.ListRolesOrder? Type2858 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2859 { get; set; } + public global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder? Type2859 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateRunIncludeItem? Type2860 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type2860 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsOrder? Type2861 { get; set; } + public global::System.Collections.Generic.IList? Type2861 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2862 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type2862 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type2863 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type2863 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2864 { get; set; } + public global::System.Collections.Generic.IList? Type2864 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type2865 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type2865 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoresOrder? Type2866 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type2866 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type2867 { get; set; } + public global::System.Collections.Generic.IList? Type2867 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type2868 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type2868 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type2869 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type2869 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type2870 { get; set; } + public global::System.Collections.Generic.IList? Type2870 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type2871 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type2871 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteEvalResponse? Type2872 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type2872 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteEvalRunResponse? Type2873 { get; set; } + public global::System.Collections.Generic.IList? Type2873 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type2874 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type2874 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject? Type2875 { get; set; } + public global::tryAGI.OpenAI.UsageFileSearchCallsBucketWidth? Type2875 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2876 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageFileSearchCallsGroupByItem? Type2877 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type2878 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2879 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageImagesSource? Type2880 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2881 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageImagesSize? Type2882 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2883 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type2884 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type2885 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2886 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type2887 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type2888 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2889 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type2890 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageWebSearchCallsBucketWidth? Type2891 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2892 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageWebSearchCallsContextLevel? Type2893 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2894 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.UsageWebSearchCallsGroupByItem? Type2895 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListUserRoleAssignmentsOrder? Type2896 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListProjectGroupRoleAssignmentsOrder? Type2897 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListProjectRolesOrder? Type2898 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListProjectUserRoleAssignmentsOrder? Type2899 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListInputItemsOrder? Type2900 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListMessagesOrder? Type2901 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListRunsOrder? Type2902 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2903 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.CreateRunIncludeItem? Type2904 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListRunStepsOrder? Type2905 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2906 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type2907 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2908 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type2909 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListVectorStoresOrder? Type2910 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type2911 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type2912 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type2913 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type2914 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.OneOf? Type2915 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.DeleteEvalResponse? Type2916 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.DeleteEvalRunResponse? Type2917 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type2918 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.AdminApiKeysDeleteResponseObject? Type2919 { get; set; } /// /// @@ -11541,986 +11717,998 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List>? ListType2 { get; set; } + public global::System.Collections.Generic.List? ListType2 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List>? ListType3 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType4 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType5 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType3 { get; set; } + public global::System.Collections.Generic.List? ListType6 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType4 { get; set; } + public global::System.Collections.Generic.List? ListType7 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType5 { get; set; } + public global::System.Collections.Generic.List? ListType8 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType6 { get; set; } + public global::System.Collections.Generic.List? ListType9 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType7 { get; set; } + public global::System.Collections.Generic.List? ListType10 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType8 { get; set; } + public global::System.Collections.Generic.List>? ListType11 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType9 { get; set; } + public global::System.Collections.Generic.List>? ListType12 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType10 { get; set; } + public global::System.Collections.Generic.List? ListType13 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType11 { get; set; } + public global::System.Collections.Generic.List? ListType14 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType12 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType15 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType13 { get; set; } + public global::System.Collections.Generic.List? ListType16 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType14 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType17 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType15 { get; set; } + public global::System.Collections.Generic.List? ListType18 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType16 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType19 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType17 { get; set; } + public global::System.Collections.Generic.List? ListType20 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType18 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType21 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType19 { get; set; } + public global::System.Collections.Generic.List? ListType22 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType20 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType23 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType21 { get; set; } + public global::System.Collections.Generic.List? ListType24 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType22 { get; set; } + public global::System.Collections.Generic.List? ListType25 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType23 { get; set; } + public global::System.Collections.Generic.List? ListType26 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType24 { get; set; } + public global::System.Collections.Generic.List? ListType27 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType25 { get; set; } + public global::System.Collections.Generic.List? ListType28 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType26 { get; set; } + public global::System.Collections.Generic.List? ListType29 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType27 { get; set; } + public global::System.Collections.Generic.List? ListType30 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType28 { get; set; } + public global::tryAGI.OpenAI.OneOf>>? ListType31 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType29 { get; set; } + public global::System.Collections.Generic.List>? ListType32 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>>? ListType30 { get; set; } + public global::System.Collections.Generic.List? ListType33 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType31 { get; set; } + public global::System.Collections.Generic.List? ListType34 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType32 { get; set; } + public global::System.Collections.Generic.List? ListType35 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType33 { get; set; } + public global::System.Collections.Generic.List? ListType36 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType34 { get; set; } + public global::System.Collections.Generic.List? ListType37 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType35 { get; set; } + public global::System.Collections.Generic.List? ListType38 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType36 { get; set; } + public global::System.Collections.Generic.List? ListType39 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType37 { get; set; } + public global::System.Collections.Generic.List? ListType40 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType38 { get; set; } + public global::System.Collections.Generic.List? ListType41 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType39 { get; set; } + public global::System.Collections.Generic.List>? ListType42 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType40 { get; set; } + public global::System.Collections.Generic.List? ListType43 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType41 { get; set; } + public global::System.Collections.Generic.List? ListType44 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType42 { get; set; } + public global::System.Collections.Generic.List? ListType45 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType43 { get; set; } + public global::System.Collections.Generic.List? ListType46 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType44 { get; set; } + public global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List, global::System.Collections.Generic.List>>? ListType47 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType45 { get; set; } + public global::System.Collections.Generic.List? ListType48 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.List, global::System.Collections.Generic.List>>? ListType46 { get; set; } + public global::System.Collections.Generic.List>? ListType49 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType47 { get; set; } + public global::System.Collections.Generic.List? ListType50 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType48 { get; set; } + public global::System.Collections.Generic.List? ListType51 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType49 { get; set; } + public global::System.Collections.Generic.List>? ListType52 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType50 { get; set; } + public global::System.Collections.Generic.List? ListType53 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType51 { get; set; } + public global::System.Collections.Generic.List? ListType54 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType52 { get; set; } + public global::System.Collections.Generic.List>? ListType55 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType53 { get; set; } + public global::System.Collections.Generic.List? ListType56 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType54 { get; set; } + public global::System.Collections.Generic.List? ListType57 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType55 { get; set; } + public global::System.Collections.Generic.List>? ListType58 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType56 { get; set; } + public global::System.Collections.Generic.List? ListType59 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType57 { get; set; } + public global::System.Collections.Generic.List? ListType60 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType58 { get; set; } + public global::tryAGI.OpenAI.AnyOf>? ListType61 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType59 { get; set; } + public global::System.Collections.Generic.List? ListType62 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf>? ListType60 { get; set; } + public global::tryAGI.OpenAI.OneOf>>? ListType63 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType61 { get; set; } + public global::System.Collections.Generic.List>? ListType64 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>>? ListType62 { get; set; } + public global::System.Collections.Generic.List? ListType65 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType63 { get; set; } + public global::System.Collections.Generic.List>? ListType66 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType64 { get; set; } + public global::System.Collections.Generic.List>? ListType67 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType65 { get; set; } + public global::System.Collections.Generic.List? ListType68 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType66 { get; set; } + public global::System.Collections.Generic.List? ListType69 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType67 { get; set; } + public global::System.Collections.Generic.List? ListType70 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType68 { get; set; } + public global::System.Collections.Generic.List? ListType71 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType69 { get; set; } + public global::System.Collections.Generic.List? ListType72 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType70 { get; set; } + public global::System.Collections.Generic.List? ListType73 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType71 { get; set; } + public global::System.Collections.Generic.List? ListType74 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType72 { get; set; } + public global::System.Collections.Generic.List? ListType75 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType73 { get; set; } + public global::System.Collections.Generic.List? ListType76 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType74 { get; set; } + public global::System.Collections.Generic.List? ListType77 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType75 { get; set; } + public global::System.Collections.Generic.List? ListType78 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType76 { get; set; } + public global::System.Collections.Generic.List? ListType79 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType77 { get; set; } + public global::System.Collections.Generic.List? ListType80 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType78 { get; set; } + public global::System.Collections.Generic.List? ListType81 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType79 { get; set; } + public global::System.Collections.Generic.List? ListType82 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType80 { get; set; } + public global::System.Collections.Generic.List? ListType83 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType81 { get; set; } + public global::System.Collections.Generic.List? ListType84 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType82 { get; set; } + public global::System.Collections.Generic.List? ListType85 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType83 { get; set; } + public global::System.Collections.Generic.List? ListType86 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType84 { get; set; } + public global::System.Collections.Generic.List? ListType87 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType85 { get; set; } + public global::System.Collections.Generic.List? ListType88 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType86 { get; set; } + public global::System.Collections.Generic.List? ListType89 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType87 { get; set; } + public global::System.Collections.Generic.List? ListType90 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType88 { get; set; } + public global::System.Collections.Generic.List? ListType91 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType89 { get; set; } + public global::System.Collections.Generic.List? ListType92 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType90 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType93 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType91 { get; set; } + public global::System.Collections.Generic.List? ListType94 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType92 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType95 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType93 { get; set; } + public global::System.Collections.Generic.List? ListType96 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType94 { get; set; } + public global::System.Collections.Generic.List? ListType97 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType95 { get; set; } + public global::System.Collections.Generic.List? ListType98 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType96 { get; set; } + public global::System.Collections.Generic.List>? ListType99 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType97 { get; set; } + public global::System.Collections.Generic.List? ListType100 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType98 { get; set; } + public global::System.Collections.Generic.List? ListType101 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType99 { get; set; } + public global::System.Collections.Generic.List? ListType102 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType100 { get; set; } + public global::System.Collections.Generic.List? ListType103 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType101 { get; set; } + public global::System.Collections.Generic.List? ListType104 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType102 { get; set; } + public global::System.Collections.Generic.List? ListType105 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType103 { get; set; } + public global::System.Collections.Generic.List? ListType106 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType104 { get; set; } + public global::System.Collections.Generic.List? ListType107 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType105 { get; set; } + public global::System.Collections.Generic.List? ListType108 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType106 { get; set; } + public global::System.Collections.Generic.List? ListType109 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType107 { get; set; } + public global::System.Collections.Generic.List? ListType110 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType108 { get; set; } + public global::System.Collections.Generic.List? ListType111 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType109 { get; set; } + public global::System.Collections.Generic.List? ListType112 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType110 { get; set; } + public global::System.Collections.Generic.List? ListType113 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType111 { get; set; } + public global::System.Collections.Generic.List? ListType114 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType112 { get; set; } + public global::System.Collections.Generic.List? ListType115 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType113 { get; set; } + public global::System.Collections.Generic.List? ListType116 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType114 { get; set; } + public global::System.Collections.Generic.List? ListType117 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType115 { get; set; } + public global::System.Collections.Generic.List? ListType118 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType116 { get; set; } + public global::System.Collections.Generic.List? ListType119 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType117 { get; set; } + public global::System.Collections.Generic.List? ListType120 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType118 { get; set; } + public global::System.Collections.Generic.List? ListType121 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType119 { get; set; } + public global::System.Collections.Generic.List? ListType122 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType120 { get; set; } + public global::System.Collections.Generic.List? ListType123 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType121 { get; set; } + public global::System.Collections.Generic.List? ListType124 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType122 { get; set; } + public global::System.Collections.Generic.List? ListType125 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType123 { get; set; } + public global::System.Collections.Generic.List? ListType126 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType124 { get; set; } + public global::System.Collections.Generic.List? ListType127 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType125 { get; set; } + public global::System.Collections.Generic.List? ListType128 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType126 { get; set; } + public global::System.Collections.Generic.List? ListType129 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType127 { get; set; } + public global::System.Collections.Generic.List? ListType130 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType128 { get; set; } + public global::System.Collections.Generic.List? ListType131 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType129 { get; set; } + public global::System.Collections.Generic.List? ListType132 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType130 { get; set; } + public global::System.Collections.Generic.List? ListType133 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType131 { get; set; } + public global::System.Collections.Generic.List? ListType134 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType132 { get; set; } + public global::System.Collections.Generic.List? ListType135 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType133 { get; set; } + public global::tryAGI.OpenAI.OneOf, global::tryAGI.OpenAI.MCPToolFilter>? ListType136 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType134 { get; set; } + public global::System.Collections.Generic.List>? ListType137 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, global::tryAGI.OpenAI.MCPToolFilter>? ListType135 { get; set; } + public global::System.Collections.Generic.List>? ListType138 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType136 { get; set; } + public global::System.Collections.Generic.List? ListType139 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType137 { get; set; } + public global::System.Collections.Generic.List? ListType140 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType138 { get; set; } + public global::System.Collections.Generic.List? ListType141 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType139 { get; set; } + public global::System.Collections.Generic.List? ListType142 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType140 { get; set; } + public global::System.Collections.Generic.List? ListType143 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType141 { get; set; } + public global::System.Collections.Generic.List? ListType144 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType142 { get; set; } + public global::System.Collections.Generic.List? ListType145 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType143 { get; set; } + public global::System.Collections.Generic.List? ListType146 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType144 { get; set; } + public global::System.Collections.Generic.List? ListType147 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType145 { get; set; } + public global::System.Collections.Generic.List? ListType148 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType146 { get; set; } + public global::System.Collections.Generic.List? ListType149 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType147 { get; set; } + public global::System.Collections.Generic.List? ListType150 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType148 { get; set; } + public global::System.Collections.Generic.List? ListType151 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType149 { get; set; } + public global::System.Collections.Generic.List? ListType152 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType150 { get; set; } + public global::System.Collections.Generic.List? ListType153 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType151 { get; set; } + public global::System.Collections.Generic.List? ListType154 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType152 { get; set; } + public global::System.Collections.Generic.List? ListType155 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType153 { get; set; } + public global::System.Collections.Generic.List? ListType156 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType154 { get; set; } + public global::System.Collections.Generic.List? ListType157 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType155 { get; set; } + public global::System.Collections.Generic.List? ListType158 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType156 { get; set; } + public global::System.Collections.Generic.List? ListType159 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType157 { get; set; } + public global::System.Collections.Generic.List? ListType160 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType158 { get; set; } + public global::System.Collections.Generic.List? ListType161 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType159 { get; set; } + public global::System.Collections.Generic.List>? ListType162 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType160 { get; set; } + public global::System.Collections.Generic.List? ListType163 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType161 { get; set; } + public global::System.Collections.Generic.List? ListType164 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType162 { get; set; } + public global::System.Collections.Generic.List? ListType165 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType163 { get; set; } + public global::System.Collections.Generic.List? ListType166 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType164 { get; set; } + public global::System.Collections.Generic.List? ListType167 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType165 { get; set; } + public global::System.Collections.Generic.List? ListType168 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType166 { get; set; } + public global::System.Collections.Generic.List? ListType169 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType167 { get; set; } + public global::System.Collections.Generic.List? ListType170 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType168 { get; set; } + public global::System.Collections.Generic.List? ListType171 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType169 { get; set; } + public global::System.Collections.Generic.List? ListType172 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType170 { get; set; } + public global::System.Collections.Generic.List? ListType173 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType171 { get; set; } + public global::System.Collections.Generic.List? ListType174 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType172 { get; set; } + public global::System.Collections.Generic.List? ListType175 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType173 { get; set; } + public global::System.Collections.Generic.List? ListType176 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType174 { get; set; } + public global::System.Collections.Generic.List? ListType177 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType175 { get; set; } + public global::System.Collections.Generic.List? ListType178 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType176 { get; set; } + public global::System.Collections.Generic.List? ListType179 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType177 { get; set; } + public global::System.Collections.Generic.List? ListType180 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType178 { get; set; } + public global::System.Collections.Generic.List? ListType181 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType179 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType182 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType180 { get; set; } + public global::System.Collections.Generic.List? ListType183 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType181 { get; set; } + public global::System.Collections.Generic.List? ListType184 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType182 { get; set; } + public global::System.Collections.Generic.List? ListType185 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType183 { get; set; } + public global::System.Collections.Generic.List? ListType186 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType184 { get; set; } + public global::System.Collections.Generic.List? ListType187 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType185 { get; set; } + public global::System.Collections.Generic.List>? ListType188 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType186 { get; set; } + public global::System.Collections.Generic.List? ListType189 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType187 { get; set; } + public global::System.Collections.Generic.List? ListType190 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType188 { get; set; } + public global::System.Collections.Generic.List? ListType191 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType189 { get; set; } + public global::System.Collections.Generic.List? ListType192 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType190 { get; set; } + public global::System.Collections.Generic.List? ListType193 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType191 { get; set; } + public global::System.Collections.Generic.List? ListType194 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType192 { get; set; } + public global::System.Collections.Generic.List? ListType195 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType193 { get; set; } + public global::System.Collections.Generic.List? ListType196 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType194 { get; set; } + public global::System.Collections.Generic.List? ListType197 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType195 { get; set; } + public global::System.Collections.Generic.List? ListType198 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType196 { get; set; } + public global::System.Collections.Generic.List? ListType199 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType197 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType200 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType198 { get; set; } + public global::System.Collections.Generic.List? ListType201 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType199 { get; set; } + public global::System.Collections.Generic.List? ListType202 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType200 { get; set; } + public global::System.Collections.Generic.List? ListType203 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType201 { get; set; } + public global::System.Collections.Generic.List? ListType204 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType202 { get; set; } + public global::System.Collections.Generic.List? ListType205 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType203 { get; set; } + public global::System.Collections.Generic.List? ListType206 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType204 { get; set; } + public global::System.Collections.Generic.List? ListType207 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType205 { get; set; } + public global::System.Collections.Generic.List? ListType208 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType206 { get; set; } + public global::System.Collections.Generic.List? ListType209 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType207 { get; set; } + public global::System.Collections.Generic.List? ListType210 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType208 { get; set; } + public global::System.Collections.Generic.List? ListType211 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType209 { get; set; } + public global::System.Collections.Generic.List? ListType212 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType210 { get; set; } + public global::System.Collections.Generic.List? ListType213 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType211 { get; set; } + public global::System.Collections.Generic.List? ListType214 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType212 { get; set; } + public global::System.Collections.Generic.List? ListType215 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType213 { get; set; } + public global::System.Collections.Generic.List? ListType216 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? ListType214 { get; set; } + public global::tryAGI.OpenAI.OneOf>? ListType217 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType215 { get; set; } + public global::System.Collections.Generic.List? ListType218 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType216 { get; set; } + public global::System.Collections.Generic.List? ListType219 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType217 { get; set; } + public global::System.Collections.Generic.List? ListType220 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType218 { get; set; } + public global::System.Collections.Generic.List? ListType221 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType219 { get; set; } + public global::System.Collections.Generic.List? ListType222 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, byte[]>? ListType220 { get; set; } + public global::tryAGI.OpenAI.OneOf, byte[]>? ListType223 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType221 { get; set; } + public global::System.Collections.Generic.List? ListType224 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType222 { get; set; } + public global::System.Collections.Generic.List? ListType225 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType223 { get; set; } + public global::System.Collections.Generic.List? ListType226 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType224 { get; set; } + public global::System.Collections.Generic.List? ListType227 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType225 { get; set; } + public global::System.Collections.Generic.List? ListType228 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType226 { get; set; } + public global::System.Collections.Generic.List? ListType229 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType227 { get; set; } + public global::System.Collections.Generic.List? ListType230 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType228 { get; set; } + public global::System.Collections.Generic.List? ListType231 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType229 { get; set; } + public global::System.Collections.Generic.List? ListType232 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType230 { get; set; } + public global::System.Collections.Generic.List? ListType233 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType231 { get; set; } + public global::System.Collections.Generic.List? ListType234 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType232 { get; set; } + public global::System.Collections.Generic.List? ListType235 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType233 { get; set; } + public global::System.Collections.Generic.List? ListType236 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType234 { get; set; } + public global::System.Collections.Generic.List? ListType237 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType235 { get; set; } + public global::System.Collections.Generic.List? ListType238 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType236 { get; set; } + public global::System.Collections.Generic.List? ListType239 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType237 { get; set; } + public global::System.Collections.Generic.List? ListType240 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType238 { get; set; } + public global::System.Collections.Generic.List? ListType241 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType239 { get; set; } + public global::System.Collections.Generic.List? ListType242 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType240 { get; set; } + public global::System.Collections.Generic.List? ListType243 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType241 { get; set; } + public global::System.Collections.Generic.List? ListType244 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType242 { get; set; } + public global::System.Collections.Generic.List? ListType245 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType243 { get; set; } + public global::System.Collections.Generic.List? ListType246 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType244 { get; set; } + public global::System.Collections.Generic.List? ListType247 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType245 { get; set; } + public global::System.Collections.Generic.List? ListType248 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType246 { get; set; } + public global::System.Collections.Generic.List? ListType249 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType247 { get; set; } + public global::System.Collections.Generic.List? ListType250 { get; set; } } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetails.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetails.g.cs index 6704893e9..8fb149bea 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetails.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetails.g.cs @@ -59,7 +59,7 @@ public sealed partial class AssignedRoleDetails /// When the role was last updated. /// [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - public long? UpdatedAt { get; set; } + public int? UpdatedAt { get; set; } /// /// Identifier of the actor who created the role. @@ -79,6 +79,12 @@ public sealed partial class AssignedRoleDetails [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] public object? Metadata { get; set; } + /// + /// Principals from which the role assignment is inherited, when available. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assignment_sources")] + public global::System.Collections.Generic.IList? AssignmentSources { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -121,6 +127,9 @@ public sealed partial class AssignedRoleDetails /// /// Arbitrary metadata stored on the role. /// + /// + /// Principals from which the role assignment is inherited, when available. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -132,10 +141,11 @@ public AssignedRoleDetails( bool predefinedRole, string? description, int? createdAt, - long? updatedAt, + int? updatedAt, string? createdBy, object? createdByUserObj, - object? metadata) + object? metadata, + global::System.Collections.Generic.IList? assignmentSources) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); @@ -148,6 +158,7 @@ public AssignedRoleDetails( this.CreatedBy = createdBy; this.CreatedByUserObj = createdByUserObj; this.Metadata = metadata; + this.AssignmentSources = assignmentSources; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSources.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSources.Json.g.cs new file mode 100644 index 000000000..c1fdca610 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSources.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class AssignedRoleDetailsAssignmentSources + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.AssignedRoleDetailsAssignmentSources? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.AssignedRoleDetailsAssignmentSources), + jsonSerializerContext) as global::tryAGI.OpenAI.AssignedRoleDetailsAssignmentSources; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.AssignedRoleDetailsAssignmentSources? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.AssignedRoleDetailsAssignmentSources), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.AssignedRoleDetailsAssignmentSources; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSources.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSources.g.cs new file mode 100644 index 000000000..5a1c9e309 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSources.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Principals from which the role assignment is inherited, when available. + /// + public sealed partial class AssignedRoleDetailsAssignmentSources + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSourcesVariant1Item.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSourcesVariant1Item.Json.g.cs new file mode 100644 index 000000000..cc4363a09 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSourcesVariant1Item.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class AssignedRoleDetailsAssignmentSourcesVariant1Item + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.AssignedRoleDetailsAssignmentSourcesVariant1Item? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.AssignedRoleDetailsAssignmentSourcesVariant1Item), + jsonSerializerContext) as global::tryAGI.OpenAI.AssignedRoleDetailsAssignmentSourcesVariant1Item; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.AssignedRoleDetailsAssignmentSourcesVariant1Item? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.AssignedRoleDetailsAssignmentSourcesVariant1Item), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.AssignedRoleDetailsAssignmentSourcesVariant1Item; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSourcesVariant1Item.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSourcesVariant1Item.g.cs new file mode 100644 index 000000000..239536506 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssignedRoleDetailsAssignmentSourcesVariant1Item.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class AssignedRoleDetailsAssignmentSourcesVariant1Item + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("principal_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string PrincipalId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("principal_type")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string PrincipalType { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AssignedRoleDetailsAssignmentSourcesVariant1Item( + string principalId, + string principalType) + { + this.PrincipalId = principalId ?? throw new global::System.ArgumentNullException(nameof(principalId)); + this.PrincipalType = principalType ?? throw new global::System.ArgumentNullException(nameof(principalType)); + } + + /// + /// Initializes a new instance of the class. + /// + public AssignedRoleDetailsAssignmentSourcesVariant1Item() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBody.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBody.Json.g.cs new file mode 100644 index 000000000..80aa38a3b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBody.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CreateSpendAlertBody + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.CreateSpendAlertBody? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateSpendAlertBody), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateSpendAlertBody; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.CreateSpendAlertBody? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.CreateSpendAlertBody), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateSpendAlertBody; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBody.g.cs new file mode 100644 index 000000000..fa0dc619d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBody.g.cs @@ -0,0 +1,83 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Parameters for creating or updating a spend alert. + /// + public sealed partial class CreateSpendAlertBody + { + /// + /// The alert threshold amount, in cents. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("threshold_amount")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ThresholdAmount { get; set; } + + /// + /// The currency for the threshold amount. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("currency")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyCurrencyJsonConverter))] + public global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency Currency { get; set; } + + /// + /// The time interval for evaluating spend against the threshold. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("interval")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpendAlertBodyIntervalJsonConverter))] + public global::tryAGI.OpenAI.CreateSpendAlertBodyInterval Interval { get; set; } + + /// + /// Email notification settings for a spend alert. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("notification_channel")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.SpendAlertNotificationChannel NotificationChannel { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The alert threshold amount, in cents. + /// + /// + /// Email notification settings for a spend alert. + /// + /// + /// The currency for the threshold amount. + /// + /// + /// The time interval for evaluating spend against the threshold. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateSpendAlertBody( + int thresholdAmount, + global::tryAGI.OpenAI.SpendAlertNotificationChannel notificationChannel, + global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency currency, + global::tryAGI.OpenAI.CreateSpendAlertBodyInterval interval) + { + this.ThresholdAmount = thresholdAmount; + this.Currency = currency; + this.Interval = interval; + this.NotificationChannel = notificationChannel ?? throw new global::System.ArgumentNullException(nameof(notificationChannel)); + } + + /// + /// Initializes a new instance of the class. + /// + public CreateSpendAlertBody() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBodyCurrency.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBodyCurrency.g.cs new file mode 100644 index 000000000..5c82acbbb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBodyCurrency.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The currency for the threshold amount. + /// + public enum CreateSpendAlertBodyCurrency + { + /// + /// + /// + Usd, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateSpendAlertBodyCurrencyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateSpendAlertBodyCurrency value) + { + return value switch + { + CreateSpendAlertBodyCurrency.Usd => "USD", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateSpendAlertBodyCurrency? ToEnum(string value) + { + return value switch + { + "USD" => CreateSpendAlertBodyCurrency.Usd, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBodyInterval.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBodyInterval.g.cs new file mode 100644 index 000000000..eaef253f6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpendAlertBodyInterval.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The time interval for evaluating spend against the threshold. + /// + public enum CreateSpendAlertBodyInterval + { + /// + /// + /// + Month, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateSpendAlertBodyIntervalExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateSpendAlertBodyInterval value) + { + return value switch + { + CreateSpendAlertBodyInterval.Month => "month", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateSpendAlertBodyInterval? ToEnum(string value) + { + return value switch + { + "month" => CreateSpendAlertBodyInterval.Month, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUser.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUser.Json.g.cs new file mode 100644 index 000000000..fcf78b0a1 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUser.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class GroupMemberUser + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.GroupMemberUser? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.GroupMemberUser), + jsonSerializerContext) as global::tryAGI.OpenAI.GroupMemberUser; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.GroupMemberUser? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.GroupMemberUser), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.GroupMemberUser; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUser.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUser.g.cs new file mode 100644 index 000000000..1aa892630 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUser.g.cs @@ -0,0 +1,105 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Details about a user returned from an organization group membership lookup. + /// + public sealed partial class GroupMemberUser + { + /// + /// Identifier for the user. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Display name of the user. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Email address of the user, or `null` for users without an email. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + public string? Email { get; set; } + + /// + /// URL of the user's profile picture, if available. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("picture")] + public string? Picture { get; set; } + + /// + /// Whether the user is a service account. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_service_account")] + public bool? IsServiceAccount { get; set; } + + /// + /// The type of user. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.GroupMemberUserUserTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.GroupMemberUserUserType UserType { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Identifier for the user. + /// + /// + /// Display name of the user. + /// + /// + /// The type of user. + /// + /// + /// Email address of the user, or `null` for users without an email. + /// + /// + /// URL of the user's profile picture, if available. + /// + /// + /// Whether the user is a service account. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GroupMemberUser( + string id, + string name, + global::tryAGI.OpenAI.GroupMemberUserUserType userType, + string? email, + string? picture, + bool? isServiceAccount) + { + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Email = email; + this.Picture = picture; + this.IsServiceAccount = isServiceAccount; + this.UserType = userType; + } + + /// + /// Initializes a new instance of the class. + /// + public GroupMemberUser() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserEmail.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserEmail.Json.g.cs new file mode 100644 index 000000000..7d96dbe81 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserEmail.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class GroupMemberUserEmail + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.GroupMemberUserEmail? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.GroupMemberUserEmail), + jsonSerializerContext) as global::tryAGI.OpenAI.GroupMemberUserEmail; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.GroupMemberUserEmail? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.GroupMemberUserEmail), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.GroupMemberUserEmail; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserEmail.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserEmail.g.cs new file mode 100644 index 000000000..242d704bd --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserEmail.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Email address of the user, or `null` for users without an email. + /// + public sealed partial class GroupMemberUserEmail + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserIsServiceAccount.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserIsServiceAccount.Json.g.cs new file mode 100644 index 000000000..d6e3a1471 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserIsServiceAccount.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class GroupMemberUserIsServiceAccount + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.GroupMemberUserIsServiceAccount? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.GroupMemberUserIsServiceAccount), + jsonSerializerContext) as global::tryAGI.OpenAI.GroupMemberUserIsServiceAccount; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.GroupMemberUserIsServiceAccount? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.GroupMemberUserIsServiceAccount), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.GroupMemberUserIsServiceAccount; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserIsServiceAccount.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserIsServiceAccount.g.cs new file mode 100644 index 000000000..0e71e4a94 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserIsServiceAccount.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Whether the user is a service account. + /// + public sealed partial class GroupMemberUserIsServiceAccount + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserPicture.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserPicture.Json.g.cs new file mode 100644 index 000000000..a7fee2f35 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserPicture.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class GroupMemberUserPicture + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.GroupMemberUserPicture? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.GroupMemberUserPicture), + jsonSerializerContext) as global::tryAGI.OpenAI.GroupMemberUserPicture; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.GroupMemberUserPicture? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.GroupMemberUserPicture), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.GroupMemberUserPicture; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserPicture.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserPicture.g.cs new file mode 100644 index 000000000..d5b1bb47a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserPicture.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// URL of the user's profile picture, if available. + /// + public sealed partial class GroupMemberUserPicture + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserUserType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserUserType.g.cs new file mode 100644 index 000000000..9a8a223ea --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupMemberUserUserType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The type of user. + /// + public enum GroupMemberUserUserType + { + /// + /// + /// + TenantUser, + /// + /// + /// + User, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class GroupMemberUserUserTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this GroupMemberUserUserType value) + { + return value switch + { + GroupMemberUserUserType.TenantUser => "tenant_user", + GroupMemberUserUserType.User => "user", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static GroupMemberUserUserType? ToEnum(string value) + { + return value switch + { + "tenant_user" => GroupMemberUserUserType.TenantUser, + "user" => GroupMemberUserUserType.User, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupResponse.g.cs index a614b3676..ad23f9a86 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupResponse.g.cs @@ -40,8 +40,9 @@ public sealed partial class GroupResponse /// The type of the group. /// [global::System.Text.Json.Serialization.JsonPropertyName("group_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.GroupResponseGroupTypeJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required string GroupType { get; set; } + public required global::tryAGI.OpenAI.GroupResponseGroupType GroupType { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -75,13 +76,13 @@ public GroupResponse( string name, int createdAt, bool isScimManaged, - string groupType) + global::tryAGI.OpenAI.GroupResponseGroupType groupType) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.CreatedAt = createdAt; this.IsScimManaged = isScimManaged; - this.GroupType = groupType ?? throw new global::System.ArgumentNullException(nameof(groupType)); + this.GroupType = groupType; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupResponseGroupType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupResponseGroupType.g.cs new file mode 100644 index 000000000..fc5fcafdb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupResponseGroupType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The type of the group. + /// + public enum GroupResponseGroupType + { + /// + /// + /// + Group, + /// + /// + /// + TenantGroup, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class GroupResponseGroupTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this GroupResponseGroupType value) + { + return value switch + { + GroupResponseGroupType.Group => "group", + GroupResponseGroupType.TenantGroup => "tenant_group", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static GroupResponseGroupType? ToEnum(string value) + { + return value switch + { + "group" => GroupResponseGroupType.Group, + "tenant_group" => GroupResponseGroupType.TenantGroup, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListOrganizationSpendAlertsOrder.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListOrganizationSpendAlertsOrder.g.cs new file mode 100644 index 000000000..59b487bcb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListOrganizationSpendAlertsOrder.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Default Value: asc + /// + public enum ListOrganizationSpendAlertsOrder + { + /// + /// + /// + Asc, + /// + /// + /// + Desc, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ListOrganizationSpendAlertsOrderExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ListOrganizationSpendAlertsOrder value) + { + return value switch + { + ListOrganizationSpendAlertsOrder.Asc => "asc", + ListOrganizationSpendAlertsOrder.Desc => "desc", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ListOrganizationSpendAlertsOrder? ToEnum(string value) + { + return value switch + { + "asc" => ListOrganizationSpendAlertsOrder.Asc, + "desc" => ListOrganizationSpendAlertsOrder.Desc, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListProjectSpendAlertsOrder.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListProjectSpendAlertsOrder.g.cs new file mode 100644 index 000000000..60298a43e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListProjectSpendAlertsOrder.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Default Value: asc + /// + public enum ListProjectSpendAlertsOrder + { + /// + /// + /// + Asc, + /// + /// + /// + Desc, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ListProjectSpendAlertsOrderExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ListProjectSpendAlertsOrder value) + { + return value switch + { + ListProjectSpendAlertsOrder.Asc => "asc", + ListProjectSpendAlertsOrder.Desc => "desc", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ListProjectSpendAlertsOrder? ToEnum(string value) + { + return value switch + { + "asc" => ListProjectSpendAlertsOrder.Asc, + "desc" => ListProjectSpendAlertsOrder.Desc, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetention.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetention.Json.g.cs new file mode 100644 index 000000000..2fe084fd8 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetention.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class OrganizationDataRetention + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.OrganizationDataRetention? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.OrganizationDataRetention), + jsonSerializerContext) as global::tryAGI.OpenAI.OrganizationDataRetention; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.OrganizationDataRetention? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.OrganizationDataRetention), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.OrganizationDataRetention; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetention.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetention.g.cs new file mode 100644 index 000000000..ad9be1fbb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetention.g.cs @@ -0,0 +1,60 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Represents the organization's data retention control setting. + /// + public sealed partial class OrganizationDataRetention + { + /// + /// The object type, which is always `organization.data_retention`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionObjectJsonConverter))] + public global::tryAGI.OpenAI.OrganizationDataRetentionObject Object { get; set; } + + /// + /// The configured organization data retention type. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationDataRetentionTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.OrganizationDataRetentionType Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The configured organization data retention type. + /// + /// + /// The object type, which is always `organization.data_retention`. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public OrganizationDataRetention( + global::tryAGI.OpenAI.OrganizationDataRetentionType type, + global::tryAGI.OpenAI.OrganizationDataRetentionObject @object) + { + this.Object = @object; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public OrganizationDataRetention() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetentionObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetentionObject.g.cs new file mode 100644 index 000000000..8e3be9a03 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetentionObject.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The object type, which is always `organization.data_retention`. + /// + public enum OrganizationDataRetentionObject + { + /// + /// + /// + OrganizationDataRetention, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OrganizationDataRetentionObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OrganizationDataRetentionObject value) + { + return value switch + { + OrganizationDataRetentionObject.OrganizationDataRetention => "organization.data_retention", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static OrganizationDataRetentionObject? ToEnum(string value) + { + return value switch + { + "organization.data_retention" => OrganizationDataRetentionObject.OrganizationDataRetention, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetentionType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetentionType.g.cs new file mode 100644 index 000000000..5c4499e44 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationDataRetentionType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The configured organization data retention type. + /// + public enum OrganizationDataRetentionType + { + /// + /// + /// + EnhancedModifiedAbuseMonitoring, + /// + /// + /// + EnhancedZeroDataRetention, + /// + /// + /// + ModifiedAbuseMonitoring, + /// + /// + /// + ZeroDataRetention, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OrganizationDataRetentionTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OrganizationDataRetentionType value) + { + return value switch + { + OrganizationDataRetentionType.EnhancedModifiedAbuseMonitoring => "enhanced_modified_abuse_monitoring", + OrganizationDataRetentionType.EnhancedZeroDataRetention => "enhanced_zero_data_retention", + OrganizationDataRetentionType.ModifiedAbuseMonitoring => "modified_abuse_monitoring", + OrganizationDataRetentionType.ZeroDataRetention => "zero_data_retention", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static OrganizationDataRetentionType? ToEnum(string value) + { + return value switch + { + "enhanced_modified_abuse_monitoring" => OrganizationDataRetentionType.EnhancedModifiedAbuseMonitoring, + "enhanced_zero_data_retention" => OrganizationDataRetentionType.EnhancedZeroDataRetention, + "modified_abuse_monitoring" => OrganizationDataRetentionType.ModifiedAbuseMonitoring, + "zero_data_retention" => OrganizationDataRetentionType.ZeroDataRetention, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlert.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlert.Json.g.cs new file mode 100644 index 000000000..a04c1d71e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlert.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class OrganizationSpendAlert + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.OrganizationSpendAlert? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.OrganizationSpendAlert), + jsonSerializerContext) as global::tryAGI.OpenAI.OrganizationSpendAlert; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.OrganizationSpendAlert? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.OrganizationSpendAlert), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.OrganizationSpendAlert; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlert.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlert.g.cs new file mode 100644 index 000000000..9b3fa4c3a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlert.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Represents a spend alert configured at the organization level. + /// + public sealed partial class OrganizationSpendAlert + { + /// + /// The identifier, which can be referenced in API endpoints. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// The object type, which is always `organization.spend_alert`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertObjectJsonConverter))] + public global::tryAGI.OpenAI.OrganizationSpendAlertObject Object { get; set; } + + /// + /// The alert threshold amount, in cents. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("threshold_amount")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ThresholdAmount { get; set; } + + /// + /// The currency for the threshold amount. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("currency")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertCurrencyJsonConverter))] + public global::tryAGI.OpenAI.OrganizationSpendAlertCurrency Currency { get; set; } + + /// + /// The time interval for evaluating spend against the threshold. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("interval")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertIntervalJsonConverter))] + public global::tryAGI.OpenAI.OrganizationSpendAlertInterval Interval { get; set; } + + /// + /// Email notification settings for a spend alert. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("notification_channel")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.SpendAlertNotificationChannel NotificationChannel { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The identifier, which can be referenced in API endpoints. + /// + /// + /// The alert threshold amount, in cents. + /// + /// + /// Email notification settings for a spend alert. + /// + /// + /// The object type, which is always `organization.spend_alert`. + /// + /// + /// The currency for the threshold amount. + /// + /// + /// The time interval for evaluating spend against the threshold. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public OrganizationSpendAlert( + string id, + int thresholdAmount, + global::tryAGI.OpenAI.SpendAlertNotificationChannel notificationChannel, + global::tryAGI.OpenAI.OrganizationSpendAlertObject @object, + global::tryAGI.OpenAI.OrganizationSpendAlertCurrency currency, + global::tryAGI.OpenAI.OrganizationSpendAlertInterval interval) + { + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; + this.ThresholdAmount = thresholdAmount; + this.Currency = currency; + this.Interval = interval; + this.NotificationChannel = notificationChannel ?? throw new global::System.ArgumentNullException(nameof(notificationChannel)); + } + + /// + /// Initializes a new instance of the class. + /// + public OrganizationSpendAlert() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertCurrency.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertCurrency.g.cs new file mode 100644 index 000000000..1e7bf1e5e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertCurrency.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The currency for the threshold amount. + /// + public enum OrganizationSpendAlertCurrency + { + /// + /// + /// + Usd, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OrganizationSpendAlertCurrencyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OrganizationSpendAlertCurrency value) + { + return value switch + { + OrganizationSpendAlertCurrency.Usd => "USD", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static OrganizationSpendAlertCurrency? ToEnum(string value) + { + return value switch + { + "USD" => OrganizationSpendAlertCurrency.Usd, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertDeletedResource.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertDeletedResource.Json.g.cs new file mode 100644 index 000000000..1711f7510 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertDeletedResource.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class OrganizationSpendAlertDeletedResource + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResource), + jsonSerializerContext) as global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResource; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResource), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResource; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertDeletedResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertDeletedResource.g.cs new file mode 100644 index 000000000..231833990 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertDeletedResource.g.cs @@ -0,0 +1,71 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Confirmation payload returned after deleting an organization spend alert. + /// + public sealed partial class OrganizationSpendAlertDeletedResource + { + /// + /// The deleted spend alert ID. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Always `organization.spend_alert.deleted`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertDeletedResourceObjectJsonConverter))] + public global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResourceObject Object { get; set; } + + /// + /// Whether the spend alert was deleted. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Deleted { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The deleted spend alert ID. + /// + /// + /// Whether the spend alert was deleted. + /// + /// + /// Always `organization.spend_alert.deleted`. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public OrganizationSpendAlertDeletedResource( + string id, + bool deleted, + global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResourceObject @object) + { + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; + this.Deleted = deleted; + } + + /// + /// Initializes a new instance of the class. + /// + public OrganizationSpendAlertDeletedResource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertDeletedResourceObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertDeletedResourceObject.g.cs new file mode 100644 index 000000000..a0ee85338 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertDeletedResourceObject.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Always `organization.spend_alert.deleted`. + /// + public enum OrganizationSpendAlertDeletedResourceObject + { + /// + /// + /// + OrganizationSpendAlertDeleted, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OrganizationSpendAlertDeletedResourceObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OrganizationSpendAlertDeletedResourceObject value) + { + return value switch + { + OrganizationSpendAlertDeletedResourceObject.OrganizationSpendAlertDeleted => "organization.spend_alert.deleted", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static OrganizationSpendAlertDeletedResourceObject? ToEnum(string value) + { + return value switch + { + "organization.spend_alert.deleted" => OrganizationSpendAlertDeletedResourceObject.OrganizationSpendAlertDeleted, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertInterval.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertInterval.g.cs new file mode 100644 index 000000000..fe76e91ce --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertInterval.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The time interval for evaluating spend against the threshold. + /// + public enum OrganizationSpendAlertInterval + { + /// + /// + /// + Month, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OrganizationSpendAlertIntervalExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OrganizationSpendAlertInterval value) + { + return value switch + { + OrganizationSpendAlertInterval.Month => "month", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static OrganizationSpendAlertInterval? ToEnum(string value) + { + return value switch + { + "month" => OrganizationSpendAlertInterval.Month, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResource.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResource.Json.g.cs new file mode 100644 index 000000000..8bd42c41e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResource.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class OrganizationSpendAlertListResource + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.OrganizationSpendAlertListResource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.OrganizationSpendAlertListResource), + jsonSerializerContext) as global::tryAGI.OpenAI.OrganizationSpendAlertListResource; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.OrganizationSpendAlertListResource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.OrganizationSpendAlertListResource), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.OrganizationSpendAlertListResource; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResource.g.cs new file mode 100644 index 000000000..7038539f2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResource.g.cs @@ -0,0 +1,93 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Paginated list of organization spend alerts. + /// + public sealed partial class OrganizationSpendAlertListResource + { + /// + /// Always `list`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.OrganizationSpendAlertListResourceObjectJsonConverter))] + public global::tryAGI.OpenAI.OrganizationSpendAlertListResourceObject Object { get; set; } + + /// + /// Spend alerts returned in the current page. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// The ID of the first spend alert in this page. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("first_id")] + public string? FirstId { get; set; } + + /// + /// The ID of the last spend alert in this page. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("last_id")] + public string? LastId { get; set; } + + /// + /// Whether more spend alerts are available when paginating. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("has_more")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HasMore { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Spend alerts returned in the current page. + /// + /// + /// Whether more spend alerts are available when paginating. + /// + /// + /// Always `list`. + /// + /// + /// The ID of the first spend alert in this page. + /// + /// + /// The ID of the last spend alert in this page. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public OrganizationSpendAlertListResource( + global::System.Collections.Generic.IList data, + bool hasMore, + global::tryAGI.OpenAI.OrganizationSpendAlertListResourceObject @object, + string? firstId, + string? lastId) + { + this.Object = @object; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.FirstId = firstId; + this.LastId = lastId; + this.HasMore = hasMore; + } + + /// + /// Initializes a new instance of the class. + /// + public OrganizationSpendAlertListResource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceFirstId.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceFirstId.Json.g.cs new file mode 100644 index 000000000..d046fb866 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceFirstId.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class OrganizationSpendAlertListResourceFirstId + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.OrganizationSpendAlertListResourceFirstId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.OrganizationSpendAlertListResourceFirstId), + jsonSerializerContext) as global::tryAGI.OpenAI.OrganizationSpendAlertListResourceFirstId; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.OrganizationSpendAlertListResourceFirstId? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.OrganizationSpendAlertListResourceFirstId), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.OrganizationSpendAlertListResourceFirstId; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceFirstId.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceFirstId.g.cs new file mode 100644 index 000000000..1c5afe3ec --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceFirstId.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The ID of the first spend alert in this page. + /// + public sealed partial class OrganizationSpendAlertListResourceFirstId + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceLastId.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceLastId.Json.g.cs new file mode 100644 index 000000000..65ff17d9b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceLastId.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class OrganizationSpendAlertListResourceLastId + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.OrganizationSpendAlertListResourceLastId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.OrganizationSpendAlertListResourceLastId), + jsonSerializerContext) as global::tryAGI.OpenAI.OrganizationSpendAlertListResourceLastId; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.OrganizationSpendAlertListResourceLastId? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.OrganizationSpendAlertListResourceLastId), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.OrganizationSpendAlertListResourceLastId; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceLastId.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceLastId.g.cs new file mode 100644 index 000000000..d252a852c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceLastId.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The ID of the last spend alert in this page. + /// + public sealed partial class OrganizationSpendAlertListResourceLastId + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceObject.g.cs new file mode 100644 index 000000000..1a6372132 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertListResourceObject.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Always `list`. + /// + public enum OrganizationSpendAlertListResourceObject + { + /// + /// + /// + List, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OrganizationSpendAlertListResourceObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OrganizationSpendAlertListResourceObject value) + { + return value switch + { + OrganizationSpendAlertListResourceObject.List => "list", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static OrganizationSpendAlertListResourceObject? ToEnum(string value) + { + return value switch + { + "list" => OrganizationSpendAlertListResourceObject.List, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertObject.g.cs new file mode 100644 index 000000000..0615894a0 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OrganizationSpendAlertObject.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The object type, which is always `organization.spend_alert`. + /// + public enum OrganizationSpendAlertObject + { + /// + /// + /// + OrganizationSpendAlert, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OrganizationSpendAlertObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OrganizationSpendAlertObject value) + { + return value switch + { + OrganizationSpendAlertObject.OrganizationSpendAlert => "organization.spend_alert", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static OrganizationSpendAlertObject? ToEnum(string value) + { + return value switch + { + "organization.spend_alert" => OrganizationSpendAlertObject.OrganizationSpendAlert, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetention.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetention.Json.g.cs new file mode 100644 index 000000000..948b6d6ec --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetention.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectDataRetention + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.ProjectDataRetention? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectDataRetention), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectDataRetention; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.ProjectDataRetention? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.ProjectDataRetention), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectDataRetention; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetention.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetention.g.cs new file mode 100644 index 000000000..de9749b61 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetention.g.cs @@ -0,0 +1,60 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Represents a project's data retention control setting. + /// + public sealed partial class ProjectDataRetention + { + /// + /// The object type, which is always `project.data_retention`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionObjectJsonConverter))] + public global::tryAGI.OpenAI.ProjectDataRetentionObject Object { get; set; } + + /// + /// The configured project data retention type. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ProjectDataRetentionTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.ProjectDataRetentionType Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The configured project data retention type. + /// + /// + /// The object type, which is always `project.data_retention`. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ProjectDataRetention( + global::tryAGI.OpenAI.ProjectDataRetentionType type, + global::tryAGI.OpenAI.ProjectDataRetentionObject @object) + { + this.Object = @object; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ProjectDataRetention() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetentionObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetentionObject.g.cs new file mode 100644 index 000000000..795f5f58a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetentionObject.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The object type, which is always `project.data_retention`. + /// + public enum ProjectDataRetentionObject + { + /// + /// + /// + ProjectDataRetention, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectDataRetentionObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectDataRetentionObject value) + { + return value switch + { + ProjectDataRetentionObject.ProjectDataRetention => "project.data_retention", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectDataRetentionObject? ToEnum(string value) + { + return value switch + { + "project.data_retention" => ProjectDataRetentionObject.ProjectDataRetention, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetentionType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetentionType.g.cs new file mode 100644 index 000000000..c376cecd7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectDataRetentionType.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The configured project data retention type. + /// + public enum ProjectDataRetentionType + { + /// + /// + /// + EnhancedModifiedAbuseMonitoring, + /// + /// + /// + EnhancedZeroDataRetention, + /// + /// + /// + ModifiedAbuseMonitoring, + /// + /// + /// + None, + /// + /// + /// + OrganizationDefault, + /// + /// + /// + ZeroDataRetention, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectDataRetentionTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectDataRetentionType value) + { + return value switch + { + ProjectDataRetentionType.EnhancedModifiedAbuseMonitoring => "enhanced_modified_abuse_monitoring", + ProjectDataRetentionType.EnhancedZeroDataRetention => "enhanced_zero_data_retention", + ProjectDataRetentionType.ModifiedAbuseMonitoring => "modified_abuse_monitoring", + ProjectDataRetentionType.None => "none", + ProjectDataRetentionType.OrganizationDefault => "organization_default", + ProjectDataRetentionType.ZeroDataRetention => "zero_data_retention", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectDataRetentionType? ToEnum(string value) + { + return value switch + { + "enhanced_modified_abuse_monitoring" => ProjectDataRetentionType.EnhancedModifiedAbuseMonitoring, + "enhanced_zero_data_retention" => ProjectDataRetentionType.EnhancedZeroDataRetention, + "modified_abuse_monitoring" => ProjectDataRetentionType.ModifiedAbuseMonitoring, + "none" => ProjectDataRetentionType.None, + "organization_default" => ProjectDataRetentionType.OrganizationDefault, + "zero_data_retention" => ProjectDataRetentionType.ZeroDataRetention, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroup.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroup.g.cs index b45854a93..15c649b7c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroup.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroup.g.cs @@ -40,8 +40,9 @@ public sealed partial class ProjectGroup /// The type of the group. /// [global::System.Text.Json.Serialization.JsonPropertyName("group_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ProjectGroupGroupTypeJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required string GroupType { get; set; } + public required global::tryAGI.OpenAI.ProjectGroupGroupType GroupType { get; set; } /// /// Unix timestamp (in seconds) when the group was granted project access. @@ -84,7 +85,7 @@ public ProjectGroup( string projectId, string groupId, string groupName, - string groupType, + global::tryAGI.OpenAI.ProjectGroupGroupType groupType, int createdAt, global::tryAGI.OpenAI.ProjectGroupObject @object) { @@ -92,7 +93,7 @@ public ProjectGroup( this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); this.GroupId = groupId ?? throw new global::System.ArgumentNullException(nameof(groupId)); this.GroupName = groupName ?? throw new global::System.ArgumentNullException(nameof(groupName)); - this.GroupType = groupType ?? throw new global::System.ArgumentNullException(nameof(groupType)); + this.GroupType = groupType; this.CreatedAt = createdAt; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupGroupType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupGroupType.g.cs new file mode 100644 index 000000000..a3796e6ee --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupGroupType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The type of the group. + /// + public enum ProjectGroupGroupType + { + /// + /// + /// + Group, + /// + /// + /// + TenantGroup, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectGroupGroupTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectGroupGroupType value) + { + return value switch + { + ProjectGroupGroupType.Group => "group", + ProjectGroupGroupType.TenantGroup => "tenant_group", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectGroupGroupType? ToEnum(string value) + { + return value switch + { + "group" => ProjectGroupGroupType.Group, + "tenant_group" => ProjectGroupGroupType.TenantGroup, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlert.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlert.Json.g.cs new file mode 100644 index 000000000..e7e5b716f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlert.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectSpendAlert + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.ProjectSpendAlert? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectSpendAlert), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectSpendAlert; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.ProjectSpendAlert? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.ProjectSpendAlert), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectSpendAlert; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlert.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlert.g.cs new file mode 100644 index 000000000..e7895e7c8 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlert.g.cs @@ -0,0 +1,107 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Represents a spend alert configured at the project level. + /// + public sealed partial class ProjectSpendAlert + { + /// + /// The identifier, which can be referenced in API endpoints. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// The object type, which is always `project.spend_alert`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertObjectJsonConverter))] + public global::tryAGI.OpenAI.ProjectSpendAlertObject Object { get; set; } + + /// + /// The alert threshold amount, in cents. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("threshold_amount")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ThresholdAmount { get; set; } + + /// + /// The currency for the threshold amount. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("currency")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertCurrencyJsonConverter))] + public global::tryAGI.OpenAI.ProjectSpendAlertCurrency Currency { get; set; } + + /// + /// The time interval for evaluating spend against the threshold. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("interval")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertIntervalJsonConverter))] + public global::tryAGI.OpenAI.ProjectSpendAlertInterval Interval { get; set; } + + /// + /// Email notification settings for a spend alert. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("notification_channel")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.SpendAlertNotificationChannel NotificationChannel { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The identifier, which can be referenced in API endpoints. + /// + /// + /// The alert threshold amount, in cents. + /// + /// + /// Email notification settings for a spend alert. + /// + /// + /// The object type, which is always `project.spend_alert`. + /// + /// + /// The currency for the threshold amount. + /// + /// + /// The time interval for evaluating spend against the threshold. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ProjectSpendAlert( + string id, + int thresholdAmount, + global::tryAGI.OpenAI.SpendAlertNotificationChannel notificationChannel, + global::tryAGI.OpenAI.ProjectSpendAlertObject @object, + global::tryAGI.OpenAI.ProjectSpendAlertCurrency currency, + global::tryAGI.OpenAI.ProjectSpendAlertInterval interval) + { + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; + this.ThresholdAmount = thresholdAmount; + this.Currency = currency; + this.Interval = interval; + this.NotificationChannel = notificationChannel ?? throw new global::System.ArgumentNullException(nameof(notificationChannel)); + } + + /// + /// Initializes a new instance of the class. + /// + public ProjectSpendAlert() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertCurrency.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertCurrency.g.cs new file mode 100644 index 000000000..b3f445511 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertCurrency.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The currency for the threshold amount. + /// + public enum ProjectSpendAlertCurrency + { + /// + /// + /// + Usd, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectSpendAlertCurrencyExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectSpendAlertCurrency value) + { + return value switch + { + ProjectSpendAlertCurrency.Usd => "USD", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectSpendAlertCurrency? ToEnum(string value) + { + return value switch + { + "USD" => ProjectSpendAlertCurrency.Usd, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertDeletedResource.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertDeletedResource.Json.g.cs new file mode 100644 index 000000000..0e7cdfda8 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertDeletedResource.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectSpendAlertDeletedResource + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.ProjectSpendAlertDeletedResource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectSpendAlertDeletedResource), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectSpendAlertDeletedResource; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.ProjectSpendAlertDeletedResource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.ProjectSpendAlertDeletedResource), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectSpendAlertDeletedResource; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertDeletedResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertDeletedResource.g.cs new file mode 100644 index 000000000..2dfb16d2b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertDeletedResource.g.cs @@ -0,0 +1,71 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Confirmation payload returned after deleting a project spend alert. + /// + public sealed partial class ProjectSpendAlertDeletedResource + { + /// + /// The deleted spend alert ID. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Always `project.spend_alert.deleted`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertDeletedResourceObjectJsonConverter))] + public global::tryAGI.OpenAI.ProjectSpendAlertDeletedResourceObject Object { get; set; } + + /// + /// Whether the spend alert was deleted. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deleted")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Deleted { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The deleted spend alert ID. + /// + /// + /// Whether the spend alert was deleted. + /// + /// + /// Always `project.spend_alert.deleted`. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ProjectSpendAlertDeletedResource( + string id, + bool deleted, + global::tryAGI.OpenAI.ProjectSpendAlertDeletedResourceObject @object) + { + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; + this.Deleted = deleted; + } + + /// + /// Initializes a new instance of the class. + /// + public ProjectSpendAlertDeletedResource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertDeletedResourceObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertDeletedResourceObject.g.cs new file mode 100644 index 000000000..808f4445c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertDeletedResourceObject.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Always `project.spend_alert.deleted`. + /// + public enum ProjectSpendAlertDeletedResourceObject + { + /// + /// + /// + ProjectSpendAlertDeleted, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectSpendAlertDeletedResourceObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectSpendAlertDeletedResourceObject value) + { + return value switch + { + ProjectSpendAlertDeletedResourceObject.ProjectSpendAlertDeleted => "project.spend_alert.deleted", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectSpendAlertDeletedResourceObject? ToEnum(string value) + { + return value switch + { + "project.spend_alert.deleted" => ProjectSpendAlertDeletedResourceObject.ProjectSpendAlertDeleted, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertInterval.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertInterval.g.cs new file mode 100644 index 000000000..5a16a8f04 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertInterval.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The time interval for evaluating spend against the threshold. + /// + public enum ProjectSpendAlertInterval + { + /// + /// + /// + Month, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectSpendAlertIntervalExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectSpendAlertInterval value) + { + return value switch + { + ProjectSpendAlertInterval.Month => "month", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectSpendAlertInterval? ToEnum(string value) + { + return value switch + { + "month" => ProjectSpendAlertInterval.Month, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResource.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResource.Json.g.cs new file mode 100644 index 000000000..42c7ef55a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResource.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectSpendAlertListResource + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.ProjectSpendAlertListResource? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectSpendAlertListResource), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectSpendAlertListResource; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.ProjectSpendAlertListResource? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.ProjectSpendAlertListResource), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectSpendAlertListResource; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResource.g.cs new file mode 100644 index 000000000..a8baa4e6a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResource.g.cs @@ -0,0 +1,93 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Paginated list of project spend alerts. + /// + public sealed partial class ProjectSpendAlertListResource + { + /// + /// Always `list`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ProjectSpendAlertListResourceObjectJsonConverter))] + public global::tryAGI.OpenAI.ProjectSpendAlertListResourceObject Object { get; set; } + + /// + /// Spend alerts returned in the current page. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// The ID of the first spend alert in this page. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("first_id")] + public string? FirstId { get; set; } + + /// + /// The ID of the last spend alert in this page. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("last_id")] + public string? LastId { get; set; } + + /// + /// Whether more spend alerts are available when paginating. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("has_more")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HasMore { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Spend alerts returned in the current page. + /// + /// + /// Whether more spend alerts are available when paginating. + /// + /// + /// Always `list`. + /// + /// + /// The ID of the first spend alert in this page. + /// + /// + /// The ID of the last spend alert in this page. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ProjectSpendAlertListResource( + global::System.Collections.Generic.IList data, + bool hasMore, + global::tryAGI.OpenAI.ProjectSpendAlertListResourceObject @object, + string? firstId, + string? lastId) + { + this.Object = @object; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.FirstId = firstId; + this.LastId = lastId; + this.HasMore = hasMore; + } + + /// + /// Initializes a new instance of the class. + /// + public ProjectSpendAlertListResource() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceFirstId.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceFirstId.Json.g.cs new file mode 100644 index 000000000..ad3b26f63 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceFirstId.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectSpendAlertListResourceFirstId + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.ProjectSpendAlertListResourceFirstId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectSpendAlertListResourceFirstId), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectSpendAlertListResourceFirstId; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.ProjectSpendAlertListResourceFirstId? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.ProjectSpendAlertListResourceFirstId), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectSpendAlertListResourceFirstId; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceFirstId.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceFirstId.g.cs new file mode 100644 index 000000000..e4a0a6b25 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceFirstId.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The ID of the first spend alert in this page. + /// + public sealed partial class ProjectSpendAlertListResourceFirstId + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceLastId.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceLastId.Json.g.cs new file mode 100644 index 000000000..1db4654e6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceLastId.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ProjectSpendAlertListResourceLastId + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.ProjectSpendAlertListResourceLastId? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ProjectSpendAlertListResourceLastId), + jsonSerializerContext) as global::tryAGI.OpenAI.ProjectSpendAlertListResourceLastId; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.ProjectSpendAlertListResourceLastId? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.ProjectSpendAlertListResourceLastId), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ProjectSpendAlertListResourceLastId; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceLastId.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceLastId.g.cs new file mode 100644 index 000000000..3e3069d8e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceLastId.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The ID of the last spend alert in this page. + /// + public sealed partial class ProjectSpendAlertListResourceLastId + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceObject.g.cs new file mode 100644 index 000000000..c013508e7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertListResourceObject.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Always `list`. + /// + public enum ProjectSpendAlertListResourceObject + { + /// + /// + /// + List, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectSpendAlertListResourceObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectSpendAlertListResourceObject value) + { + return value switch + { + ProjectSpendAlertListResourceObject.List => "list", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectSpendAlertListResourceObject? ToEnum(string value) + { + return value switch + { + "list" => ProjectSpendAlertListResourceObject.List, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertObject.g.cs new file mode 100644 index 000000000..99046d735 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectSpendAlertObject.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The object type, which is always `project.spend_alert`. + /// + public enum ProjectSpendAlertObject + { + /// + /// + /// + ProjectSpendAlert, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectSpendAlertObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectSpendAlertObject value) + { + return value switch + { + ProjectSpendAlertObject.ProjectSpendAlert => "project.spend_alert", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectSpendAlertObject? ToEnum(string value) + { + return value switch + { + "project.spend_alert" => ProjectSpendAlertObject.ProjectSpendAlert, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RetrieveProjectGroupGroupType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RetrieveProjectGroupGroupType.g.cs new file mode 100644 index 000000000..8c624ff1c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RetrieveProjectGroupGroupType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Default Value: group + /// + public enum RetrieveProjectGroupGroupType + { + /// + /// + /// + Group, + /// + /// + /// + TenantGroup, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RetrieveProjectGroupGroupTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RetrieveProjectGroupGroupType value) + { + return value switch + { + RetrieveProjectGroupGroupType.Group => "group", + RetrieveProjectGroupGroupType.TenantGroup => "tenant_group", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RetrieveProjectGroupGroupType? ToEnum(string value) + { + return value switch + { + "group" => RetrieveProjectGroupGroupType.Group, + "tenant_group" => RetrieveProjectGroupGroupType.TenantGroup, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannel.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannel.Json.g.cs new file mode 100644 index 000000000..7c4168237 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannel.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class SpendAlertNotificationChannel + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.SpendAlertNotificationChannel? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.SpendAlertNotificationChannel), + jsonSerializerContext) as global::tryAGI.OpenAI.SpendAlertNotificationChannel; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.SpendAlertNotificationChannel? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.SpendAlertNotificationChannel), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.SpendAlertNotificationChannel; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannel.g.cs new file mode 100644 index 000000000..7db09f7b9 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannel.g.cs @@ -0,0 +1,70 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Email notification settings for a spend alert. + /// + public sealed partial class SpendAlertNotificationChannel + { + /// + /// The notification channel type. Currently only `email` is supported. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.SpendAlertNotificationChannelTypeJsonConverter))] + public global::tryAGI.OpenAI.SpendAlertNotificationChannelType Type { get; set; } + + /// + /// Email addresses that receive the spend alert notification. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("recipients")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Recipients { get; set; } + + /// + /// Optional subject prefix for alert emails. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("subject_prefix")] + public string? SubjectPrefix { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Email addresses that receive the spend alert notification. + /// + /// + /// The notification channel type. Currently only `email` is supported. + /// + /// + /// Optional subject prefix for alert emails. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public SpendAlertNotificationChannel( + global::System.Collections.Generic.IList recipients, + global::tryAGI.OpenAI.SpendAlertNotificationChannelType type, + string? subjectPrefix) + { + this.Type = type; + this.Recipients = recipients ?? throw new global::System.ArgumentNullException(nameof(recipients)); + this.SubjectPrefix = subjectPrefix; + } + + /// + /// Initializes a new instance of the class. + /// + public SpendAlertNotificationChannel() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannelSubjectPrefix.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannelSubjectPrefix.Json.g.cs new file mode 100644 index 000000000..7ebff9354 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannelSubjectPrefix.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class SpendAlertNotificationChannelSubjectPrefix + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.SpendAlertNotificationChannelSubjectPrefix? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.SpendAlertNotificationChannelSubjectPrefix), + jsonSerializerContext) as global::tryAGI.OpenAI.SpendAlertNotificationChannelSubjectPrefix; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.SpendAlertNotificationChannelSubjectPrefix? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.SpendAlertNotificationChannelSubjectPrefix), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.SpendAlertNotificationChannelSubjectPrefix; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannelSubjectPrefix.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannelSubjectPrefix.g.cs new file mode 100644 index 000000000..dcd2fff79 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannelSubjectPrefix.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Optional subject prefix for alert emails. + /// + public sealed partial class SpendAlertNotificationChannelSubjectPrefix + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannelType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannelType.g.cs new file mode 100644 index 000000000..bd7f7e2d0 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpendAlertNotificationChannelType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The notification channel type. Currently only `email` is supported. + /// + public enum SpendAlertNotificationChannelType + { + /// + /// + /// + Email, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SpendAlertNotificationChannelTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SpendAlertNotificationChannelType value) + { + return value switch + { + SpendAlertNotificationChannelType.Email => "email", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SpendAlertNotificationChannelType? ToEnum(string value) + { + return value switch + { + "email" => SpendAlertNotificationChannelType.Email, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateOrganizationDataRetentionBody.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateOrganizationDataRetentionBody.Json.g.cs new file mode 100644 index 000000000..58b79893b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateOrganizationDataRetentionBody.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UpdateOrganizationDataRetentionBody + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody), + jsonSerializerContext) as global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBody; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateOrganizationDataRetentionBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateOrganizationDataRetentionBody.g.cs new file mode 100644 index 000000000..d91d34267 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateOrganizationDataRetentionBody.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Parameters for updating organization data retention controls. + /// + public sealed partial class UpdateOrganizationDataRetentionBody + { + /// + /// The desired organization data retention type. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("retention_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.UpdateOrganizationDataRetentionBodyRetentionTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionType RetentionType { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The desired organization data retention type. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateOrganizationDataRetentionBody( + global::tryAGI.OpenAI.UpdateOrganizationDataRetentionBodyRetentionType retentionType) + { + this.RetentionType = retentionType; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateOrganizationDataRetentionBody() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateOrganizationDataRetentionBodyRetentionType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateOrganizationDataRetentionBodyRetentionType.g.cs new file mode 100644 index 000000000..3e510b06e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateOrganizationDataRetentionBodyRetentionType.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The desired organization data retention type. + /// + public enum UpdateOrganizationDataRetentionBodyRetentionType + { + /// + /// + /// + EnhancedModifiedAbuseMonitoring, + /// + /// + /// + EnhancedZeroDataRetention, + /// + /// + /// + ModifiedAbuseMonitoring, + /// + /// + /// + ZeroDataRetention, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UpdateOrganizationDataRetentionBodyRetentionTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UpdateOrganizationDataRetentionBodyRetentionType value) + { + return value switch + { + UpdateOrganizationDataRetentionBodyRetentionType.EnhancedModifiedAbuseMonitoring => "enhanced_modified_abuse_monitoring", + UpdateOrganizationDataRetentionBodyRetentionType.EnhancedZeroDataRetention => "enhanced_zero_data_retention", + UpdateOrganizationDataRetentionBodyRetentionType.ModifiedAbuseMonitoring => "modified_abuse_monitoring", + UpdateOrganizationDataRetentionBodyRetentionType.ZeroDataRetention => "zero_data_retention", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UpdateOrganizationDataRetentionBodyRetentionType? ToEnum(string value) + { + return value switch + { + "enhanced_modified_abuse_monitoring" => UpdateOrganizationDataRetentionBodyRetentionType.EnhancedModifiedAbuseMonitoring, + "enhanced_zero_data_retention" => UpdateOrganizationDataRetentionBodyRetentionType.EnhancedZeroDataRetention, + "modified_abuse_monitoring" => UpdateOrganizationDataRetentionBodyRetentionType.ModifiedAbuseMonitoring, + "zero_data_retention" => UpdateOrganizationDataRetentionBodyRetentionType.ZeroDataRetention, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectDataRetentionBody.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectDataRetentionBody.Json.g.cs new file mode 100644 index 000000000..f84d68e08 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectDataRetentionBody.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UpdateProjectDataRetentionBody + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.UpdateProjectDataRetentionBody? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UpdateProjectDataRetentionBody), + jsonSerializerContext) as global::tryAGI.OpenAI.UpdateProjectDataRetentionBody; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.UpdateProjectDataRetentionBody? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.UpdateProjectDataRetentionBody), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UpdateProjectDataRetentionBody; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectDataRetentionBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectDataRetentionBody.g.cs new file mode 100644 index 000000000..f921e4d3f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectDataRetentionBody.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Parameters for updating project data retention controls. + /// + public sealed partial class UpdateProjectDataRetentionBody + { + /// + /// The desired project data retention type. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("retention_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectDataRetentionBodyRetentionTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionType RetentionType { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The desired project data retention type. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateProjectDataRetentionBody( + global::tryAGI.OpenAI.UpdateProjectDataRetentionBodyRetentionType retentionType) + { + this.RetentionType = retentionType; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateProjectDataRetentionBody() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectDataRetentionBodyRetentionType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectDataRetentionBodyRetentionType.g.cs new file mode 100644 index 000000000..33505b6d2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectDataRetentionBodyRetentionType.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The desired project data retention type. + /// + public enum UpdateProjectDataRetentionBodyRetentionType + { + /// + /// + /// + EnhancedModifiedAbuseMonitoring, + /// + /// + /// + EnhancedZeroDataRetention, + /// + /// + /// + ModifiedAbuseMonitoring, + /// + /// + /// + None, + /// + /// + /// + OrganizationDefault, + /// + /// + /// + ZeroDataRetention, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UpdateProjectDataRetentionBodyRetentionTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UpdateProjectDataRetentionBodyRetentionType value) + { + return value switch + { + UpdateProjectDataRetentionBodyRetentionType.EnhancedModifiedAbuseMonitoring => "enhanced_modified_abuse_monitoring", + UpdateProjectDataRetentionBodyRetentionType.EnhancedZeroDataRetention => "enhanced_zero_data_retention", + UpdateProjectDataRetentionBodyRetentionType.ModifiedAbuseMonitoring => "modified_abuse_monitoring", + UpdateProjectDataRetentionBodyRetentionType.None => "none", + UpdateProjectDataRetentionBodyRetentionType.OrganizationDefault => "organization_default", + UpdateProjectDataRetentionBodyRetentionType.ZeroDataRetention => "zero_data_retention", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UpdateProjectDataRetentionBodyRetentionType? ToEnum(string value) + { + return value switch + { + "enhanced_modified_abuse_monitoring" => UpdateProjectDataRetentionBodyRetentionType.EnhancedModifiedAbuseMonitoring, + "enhanced_zero_data_retention" => UpdateProjectDataRetentionBodyRetentionType.EnhancedZeroDataRetention, + "modified_abuse_monitoring" => UpdateProjectDataRetentionBodyRetentionType.ModifiedAbuseMonitoring, + "none" => UpdateProjectDataRetentionBodyRetentionType.None, + "organization_default" => UpdateProjectDataRetentionBodyRetentionType.OrganizationDefault, + "zero_data_retention" => UpdateProjectDataRetentionBodyRetentionType.ZeroDataRetention, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectServiceAccountBody.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectServiceAccountBody.Json.g.cs new file mode 100644 index 000000000..661f773aa --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectServiceAccountBody.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UpdateProjectServiceAccountBody + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.UpdateProjectServiceAccountBody? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UpdateProjectServiceAccountBody), + jsonSerializerContext) as global::tryAGI.OpenAI.UpdateProjectServiceAccountBody; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.UpdateProjectServiceAccountBody? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.UpdateProjectServiceAccountBody), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UpdateProjectServiceAccountBody; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectServiceAccountBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectServiceAccountBody.g.cs new file mode 100644 index 000000000..9210a37d9 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectServiceAccountBody.g.cs @@ -0,0 +1,58 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Parameters for updating a project service account. + /// + public sealed partial class UpdateProjectServiceAccountBody + { + /// + /// The updated service account name. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + public string? Name { get; set; } + + /// + /// The updated service account role. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("role")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.UpdateProjectServiceAccountBodyRoleJsonConverter))] + public global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRole? Role { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The updated service account name. + /// + /// + /// The updated service account role. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdateProjectServiceAccountBody( + string? name, + global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRole? role) + { + this.Name = name; + this.Role = role; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdateProjectServiceAccountBody() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectServiceAccountBodyRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectServiceAccountBodyRole.g.cs new file mode 100644 index 000000000..bd035c4c8 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateProjectServiceAccountBodyRole.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The updated service account role. + /// + public enum UpdateProjectServiceAccountBodyRole + { + /// + /// + /// + Member, + /// + /// + /// + Owner, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UpdateProjectServiceAccountBodyRoleExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UpdateProjectServiceAccountBodyRole value) + { + return value switch + { + UpdateProjectServiceAccountBodyRole.Member => "member", + UpdateProjectServiceAccountBodyRole.Owner => "owner", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UpdateProjectServiceAccountBodyRole? ToEnum(string value) + { + return value switch + { + "member" => UpdateProjectServiceAccountBodyRole.Member, + "owner" => UpdateProjectServiceAccountBodyRole.Owner, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionOpenPage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionOpenPage.g.cs index cc22db5b1..a6995264f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionOpenPage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionOpenPage.g.cs @@ -9,7 +9,7 @@ namespace tryAGI.OpenAI public sealed partial class WebSearchActionOpenPage { /// - /// The action type. Always `open_page`. + /// The action type. /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.WebSearchActionOpenPageTypeJsonConverter))] @@ -31,7 +31,7 @@ public sealed partial class WebSearchActionOpenPage /// Initializes a new instance of the class. /// /// - /// The action type. Always `open_page`. + /// The action type. /// /// /// The URL opened by the model. diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionOpenPageType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionOpenPageType.g.cs index a69837f14..6f3d4ae2e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionOpenPageType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionOpenPageType.g.cs @@ -4,7 +4,7 @@ namespace tryAGI.OpenAI { /// - /// The action type. Always `open_page`. + /// The action type. /// public enum WebSearchActionOpenPageType { diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.g.cs index 4dff81ff4..fc65eb6c5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.g.cs @@ -112,6 +112,15 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, JsonSerializerContext = JsonSerializerContext, }; + /// + /// + /// + public DataRetentionClient DataRetention => new DataRetentionClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContext = JsonSerializerContext, + }; + /// /// Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. /// @@ -292,6 +301,15 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, JsonSerializerContext = JsonSerializerContext, }; + /// + /// + /// + public SpendAlertsClient SpendAlerts => new SpendAlertsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContext = JsonSerializerContext, + }; + /// /// Use Uploads to upload large files in multiple parts. /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectGroupRoleAssignmentsClient.RetrieveProjectGroupRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectGroupRoleAssignmentsClient.RetrieveProjectGroupRole.g.cs new file mode 100644 index 000000000..500ba7f66 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectGroupRoleAssignmentsClient.RetrieveProjectGroupRole.g.cs @@ -0,0 +1,448 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class ProjectGroupRoleAssignmentsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_RetrieveProjectGroupRoleSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_RetrieveProjectGroupRoleSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_RetrieveProjectGroupRoleSecurityRequirement0, + }; + partial void PrepareRetrieveProjectGroupRoleArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + ref string groupId, + ref string roleId); + partial void PrepareRetrieveProjectGroupRoleRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + string groupId, + string roleId); + partial void ProcessRetrieveProjectGroupRoleResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessRetrieveProjectGroupRoleResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Retrieves a project role assigned to a group. + /// + /// + /// + /// + /// 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 RetrieveProjectGroupRoleAsync( + string projectId, + string groupId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await RetrieveProjectGroupRoleAsResponseAsync( + projectId: projectId, + groupId: groupId, + roleId: roleId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Retrieves a project role assigned to a group. + /// + /// + /// + /// + /// 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> RetrieveProjectGroupRoleAsResponseAsync( + string projectId, + string groupId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareRetrieveProjectGroupRoleArguments( + httpClient: HttpClient, + projectId: ref projectId, + groupId: ref groupId, + roleId: ref roleId); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_RetrieveProjectGroupRoleSecurityRequirements, + operationName: "RetrieveProjectGroupRoleAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/projects/{projectId}/groups/{groupId}/roles/{roleId}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareRetrieveProjectGroupRoleRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!, + groupId: groupId!, + roleId: roleId!); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectGroupRole", + methodName: "RetrieveProjectGroupRoleAsync", + pathTemplate: "$\"/projects/{projectId}/groups/{groupId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectGroupRole", + methodName: "RetrieveProjectGroupRoleAsync", + pathTemplate: "$\"/projects/{projectId}/groups/{groupId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectGroupRole", + methodName: "RetrieveProjectGroupRoleAsync", + pathTemplate: "$\"/projects/{projectId}/groups/{groupId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessRetrieveProjectGroupRoleResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectGroupRole", + methodName: "RetrieveProjectGroupRoleAsync", + pathTemplate: "$\"/projects/{projectId}/groups/{groupId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectGroupRole", + methodName: "RetrieveProjectGroupRoleAsync", + pathTemplate: "$\"/projects/{projectId}/groups/{groupId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessRetrieveProjectGroupRoleResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.AssignedRoleDetails.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.AssignedRoleDetails.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectGroupsClient.RetrieveProjectGroup.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectGroupsClient.RetrieveProjectGroup.g.cs new file mode 100644 index 000000000..7113281ee --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectGroupsClient.RetrieveProjectGroup.g.cs @@ -0,0 +1,455 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class ProjectGroupsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_RetrieveProjectGroupSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_RetrieveProjectGroupSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_RetrieveProjectGroupSecurityRequirement0, + }; + partial void PrepareRetrieveProjectGroupArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + ref string groupId, + ref global::tryAGI.OpenAI.RetrieveProjectGroupGroupType? groupType); + partial void PrepareRetrieveProjectGroupRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + string groupId, + global::tryAGI.OpenAI.RetrieveProjectGroupGroupType? groupType); + partial void ProcessRetrieveProjectGroupResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessRetrieveProjectGroupResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Retrieves a project's group. + /// + /// + /// + /// + /// Default Value: group + /// + /// 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 RetrieveProjectGroupAsync( + string projectId, + string groupId, + global::tryAGI.OpenAI.RetrieveProjectGroupGroupType? groupType = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await RetrieveProjectGroupAsResponseAsync( + projectId: projectId, + groupId: groupId, + groupType: groupType, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Retrieves a project's group. + /// + /// + /// + /// + /// Default Value: group + /// + /// 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> RetrieveProjectGroupAsResponseAsync( + string projectId, + string groupId, + global::tryAGI.OpenAI.RetrieveProjectGroupGroupType? groupType = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareRetrieveProjectGroupArguments( + httpClient: HttpClient, + projectId: ref projectId, + groupId: ref groupId, + groupType: ref groupType); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_RetrieveProjectGroupSecurityRequirements, + operationName: "RetrieveProjectGroupAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/projects/{projectId}/groups/{groupId}", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("group_type", groupType?.ToValueString()) + ; + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareRetrieveProjectGroupRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!, + groupId: groupId!, + groupType: groupType); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectGroup", + methodName: "RetrieveProjectGroupAsync", + pathTemplate: "$\"/organization/projects/{projectId}/groups/{groupId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectGroup", + methodName: "RetrieveProjectGroupAsync", + pathTemplate: "$\"/organization/projects/{projectId}/groups/{groupId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectGroup", + methodName: "RetrieveProjectGroupAsync", + pathTemplate: "$\"/organization/projects/{projectId}/groups/{groupId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessRetrieveProjectGroupResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectGroup", + methodName: "RetrieveProjectGroupAsync", + pathTemplate: "$\"/organization/projects/{projectId}/groups/{groupId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectGroup", + methodName: "RetrieveProjectGroupAsync", + pathTemplate: "$\"/organization/projects/{projectId}/groups/{groupId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessRetrieveProjectGroupResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.ProjectGroup.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.ProjectGroup.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectUserRoleAssignmentsClient.RetrieveProjectUserRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectUserRoleAssignmentsClient.RetrieveProjectUserRole.g.cs new file mode 100644 index 000000000..993f8a800 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectUserRoleAssignmentsClient.RetrieveProjectUserRole.g.cs @@ -0,0 +1,448 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class ProjectUserRoleAssignmentsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_RetrieveProjectUserRoleSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_RetrieveProjectUserRoleSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_RetrieveProjectUserRoleSecurityRequirement0, + }; + partial void PrepareRetrieveProjectUserRoleArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + ref string userId, + ref string roleId); + partial void PrepareRetrieveProjectUserRoleRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + string userId, + string roleId); + partial void ProcessRetrieveProjectUserRoleResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessRetrieveProjectUserRoleResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Retrieves a project role assigned to a user. + /// + /// + /// + /// + /// 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 RetrieveProjectUserRoleAsync( + string projectId, + string userId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await RetrieveProjectUserRoleAsResponseAsync( + projectId: projectId, + userId: userId, + roleId: roleId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Retrieves a project role assigned to a user. + /// + /// + /// + /// + /// 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> RetrieveProjectUserRoleAsResponseAsync( + string projectId, + string userId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareRetrieveProjectUserRoleArguments( + httpClient: HttpClient, + projectId: ref projectId, + userId: ref userId, + roleId: ref roleId); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_RetrieveProjectUserRoleSecurityRequirements, + operationName: "RetrieveProjectUserRoleAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/projects/{projectId}/users/{userId}/roles/{roleId}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareRetrieveProjectUserRoleRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!, + userId: userId!, + roleId: roleId!); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectUserRole", + methodName: "RetrieveProjectUserRoleAsync", + pathTemplate: "$\"/projects/{projectId}/users/{userId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectUserRole", + methodName: "RetrieveProjectUserRoleAsync", + pathTemplate: "$\"/projects/{projectId}/users/{userId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectUserRole", + methodName: "RetrieveProjectUserRoleAsync", + pathTemplate: "$\"/projects/{projectId}/users/{userId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessRetrieveProjectUserRoleResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectUserRole", + methodName: "RetrieveProjectUserRoleAsync", + pathTemplate: "$\"/projects/{projectId}/users/{userId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectUserRole", + methodName: "RetrieveProjectUserRoleAsync", + pathTemplate: "$\"/projects/{projectId}/users/{userId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessRetrieveProjectUserRoleResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.AssignedRoleDetails.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.AssignedRoleDetails.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.UpdateProjectServiceAccount.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.UpdateProjectServiceAccount.g.cs new file mode 100644 index 000000000..72f5b1b39 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ProjectsClient.UpdateProjectServiceAccount.g.cs @@ -0,0 +1,494 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class ProjectsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_UpdateProjectServiceAccountSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_UpdateProjectServiceAccountSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_UpdateProjectServiceAccountSecurityRequirement0, + }; + partial void PrepareUpdateProjectServiceAccountArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + ref string serviceAccountId, + global::tryAGI.OpenAI.UpdateProjectServiceAccountBody request); + partial void PrepareUpdateProjectServiceAccountRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + string serviceAccountId, + global::tryAGI.OpenAI.UpdateProjectServiceAccountBody request); + partial void ProcessUpdateProjectServiceAccountResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateProjectServiceAccountResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Updates a service account in the project. + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateProjectServiceAccountAsync( + string projectId, + string serviceAccountId, + + global::tryAGI.OpenAI.UpdateProjectServiceAccountBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await UpdateProjectServiceAccountAsResponseAsync( + projectId: projectId, + serviceAccountId: serviceAccountId, + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Updates a service account in the project. + /// + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> UpdateProjectServiceAccountAsResponseAsync( + string projectId, + string serviceAccountId, + + global::tryAGI.OpenAI.UpdateProjectServiceAccountBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareUpdateProjectServiceAccountArguments( + httpClient: HttpClient, + projectId: ref projectId, + serviceAccountId: ref serviceAccountId, + request: request); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_UpdateProjectServiceAccountSecurityRequirements, + operationName: "UpdateProjectServiceAccountAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/projects/{projectId}/service_accounts/{serviceAccountId}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareUpdateProjectServiceAccountRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!, + serviceAccountId: serviceAccountId!, + request: request); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectServiceAccount", + methodName: "UpdateProjectServiceAccountAsync", + pathTemplate: "$\"/organization/projects/{projectId}/service_accounts/{serviceAccountId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectServiceAccount", + methodName: "UpdateProjectServiceAccountAsync", + pathTemplate: "$\"/organization/projects/{projectId}/service_accounts/{serviceAccountId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectServiceAccount", + methodName: "UpdateProjectServiceAccountAsync", + pathTemplate: "$\"/organization/projects/{projectId}/service_accounts/{serviceAccountId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessUpdateProjectServiceAccountResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectServiceAccount", + methodName: "UpdateProjectServiceAccountAsync", + pathTemplate: "$\"/organization/projects/{projectId}/service_accounts/{serviceAccountId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectServiceAccount", + methodName: "UpdateProjectServiceAccountAsync", + pathTemplate: "$\"/organization/projects/{projectId}/service_accounts/{serviceAccountId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessUpdateProjectServiceAccountResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.ProjectServiceAccount.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.ProjectServiceAccount.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Updates a service account in the project. + /// + /// + /// + /// + /// The updated service account name. + /// + /// + /// The updated service account role. + /// + /// 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 UpdateProjectServiceAccountAsync( + string projectId, + string serviceAccountId, + string? name = default, + global::tryAGI.OpenAI.UpdateProjectServiceAccountBodyRole? role = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::tryAGI.OpenAI.UpdateProjectServiceAccountBody + { + Name = name, + Role = role, + }; + + return await UpdateProjectServiceAccountAsync( + projectId: projectId, + serviceAccountId: serviceAccountId, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.RolesClient.RetrieveOrganizationRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.RolesClient.RetrieveOrganizationRole.g.cs new file mode 100644 index 000000000..c7ed6f11a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.RolesClient.RetrieveOrganizationRole.g.cs @@ -0,0 +1,430 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class RolesClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_RetrieveOrganizationRoleSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_RetrieveOrganizationRoleSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_RetrieveOrganizationRoleSecurityRequirement0, + }; + partial void PrepareRetrieveOrganizationRoleArguments( + global::System.Net.Http.HttpClient httpClient, + ref string roleId); + partial void PrepareRetrieveOrganizationRoleRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string roleId); + partial void ProcessRetrieveOrganizationRoleResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessRetrieveOrganizationRoleResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Retrieves an organization role. + /// + /// + /// 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 RetrieveOrganizationRoleAsync( + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await RetrieveOrganizationRoleAsResponseAsync( + roleId: roleId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Retrieves an organization role. + /// + /// + /// 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> RetrieveOrganizationRoleAsResponseAsync( + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareRetrieveOrganizationRoleArguments( + httpClient: HttpClient, + roleId: ref roleId); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_RetrieveOrganizationRoleSecurityRequirements, + operationName: "RetrieveOrganizationRoleAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/roles/{roleId}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareRetrieveOrganizationRoleRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + roleId: roleId!); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveOrganizationRole", + methodName: "RetrieveOrganizationRoleAsync", + pathTemplate: "$\"/organization/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveOrganizationRole", + methodName: "RetrieveOrganizationRoleAsync", + pathTemplate: "$\"/organization/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveOrganizationRole", + methodName: "RetrieveOrganizationRoleAsync", + pathTemplate: "$\"/organization/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessRetrieveOrganizationRoleResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveOrganizationRole", + methodName: "RetrieveOrganizationRoleAsync", + pathTemplate: "$\"/organization/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveOrganizationRole", + methodName: "RetrieveOrganizationRoleAsync", + pathTemplate: "$\"/organization/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessRetrieveOrganizationRoleResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.Role.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.Role.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.RolesClient.RetrieveProjectRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.RolesClient.RetrieveProjectRole.g.cs new file mode 100644 index 000000000..dcceadc41 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.RolesClient.RetrieveProjectRole.g.cs @@ -0,0 +1,439 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class RolesClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_RetrieveProjectRoleSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_RetrieveProjectRoleSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_RetrieveProjectRoleSecurityRequirement0, + }; + partial void PrepareRetrieveProjectRoleArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + ref string roleId); + partial void PrepareRetrieveProjectRoleRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + string roleId); + partial void ProcessRetrieveProjectRoleResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessRetrieveProjectRoleResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Retrieves a project role. + /// + /// + /// + /// 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 RetrieveProjectRoleAsync( + string projectId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await RetrieveProjectRoleAsResponseAsync( + projectId: projectId, + roleId: roleId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Retrieves a project role. + /// + /// + /// + /// 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> RetrieveProjectRoleAsResponseAsync( + string projectId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareRetrieveProjectRoleArguments( + httpClient: HttpClient, + projectId: ref projectId, + roleId: ref roleId); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_RetrieveProjectRoleSecurityRequirements, + operationName: "RetrieveProjectRoleAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/projects/{projectId}/roles/{roleId}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareRetrieveProjectRoleRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!, + roleId: roleId!); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectRole", + methodName: "RetrieveProjectRoleAsync", + pathTemplate: "$\"/projects/{projectId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectRole", + methodName: "RetrieveProjectRoleAsync", + pathTemplate: "$\"/projects/{projectId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectRole", + methodName: "RetrieveProjectRoleAsync", + pathTemplate: "$\"/projects/{projectId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessRetrieveProjectRoleResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectRole", + methodName: "RetrieveProjectRoleAsync", + pathTemplate: "$\"/projects/{projectId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveProjectRole", + methodName: "RetrieveProjectRoleAsync", + pathTemplate: "$\"/projects/{projectId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessRetrieveProjectRoleResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.Role.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.Role.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.CreateOrganizationSpendAlert.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.CreateOrganizationSpendAlert.g.cs new file mode 100644 index 000000000..169e39144 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.CreateOrganizationSpendAlert.g.cs @@ -0,0 +1,480 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class SpendAlertsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_CreateOrganizationSpendAlertSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_CreateOrganizationSpendAlertSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_CreateOrganizationSpendAlertSecurityRequirement0, + }; + partial void PrepareCreateOrganizationSpendAlertArguments( + global::System.Net.Http.HttpClient httpClient, + global::tryAGI.OpenAI.CreateSpendAlertBody request); + partial void PrepareCreateOrganizationSpendAlertRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::tryAGI.OpenAI.CreateSpendAlertBody request); + partial void ProcessCreateOrganizationSpendAlertResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateOrganizationSpendAlertResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Creates an organization spend alert. + /// + /// + /// 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 CreateOrganizationSpendAlertAsync( + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await CreateOrganizationSpendAlertAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Creates an organization spend alert. + /// + /// + /// 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> CreateOrganizationSpendAlertAsResponseAsync( + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareCreateOrganizationSpendAlertArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateOrganizationSpendAlertSecurityRequirements, + operationName: "CreateOrganizationSpendAlertAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: "/organization/spend_alerts", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareCreateOrganizationSpendAlertRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateOrganizationSpendAlert", + methodName: "CreateOrganizationSpendAlertAsync", + pathTemplate: "\"/organization/spend_alerts\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateOrganizationSpendAlert", + methodName: "CreateOrganizationSpendAlertAsync", + pathTemplate: "\"/organization/spend_alerts\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateOrganizationSpendAlert", + methodName: "CreateOrganizationSpendAlertAsync", + pathTemplate: "\"/organization/spend_alerts\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessCreateOrganizationSpendAlertResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateOrganizationSpendAlert", + methodName: "CreateOrganizationSpendAlertAsync", + pathTemplate: "\"/organization/spend_alerts\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateOrganizationSpendAlert", + methodName: "CreateOrganizationSpendAlertAsync", + pathTemplate: "\"/organization/spend_alerts\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessCreateOrganizationSpendAlertResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.OrganizationSpendAlert.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.OrganizationSpendAlert.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Creates an organization spend alert. + /// + /// + /// The alert threshold amount, in cents. + /// + /// + /// The currency for the threshold amount. + /// + /// + /// The time interval for evaluating spend against the threshold. + /// + /// + /// Email notification settings for a spend alert. + /// + /// 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 CreateOrganizationSpendAlertAsync( + int thresholdAmount, + global::tryAGI.OpenAI.SpendAlertNotificationChannel notificationChannel, + global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency currency = default, + global::tryAGI.OpenAI.CreateSpendAlertBodyInterval interval = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::tryAGI.OpenAI.CreateSpendAlertBody + { + ThresholdAmount = thresholdAmount, + Currency = currency, + Interval = interval, + NotificationChannel = notificationChannel, + }; + + return await CreateOrganizationSpendAlertAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.CreateProjectSpendAlert.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.CreateProjectSpendAlert.g.cs new file mode 100644 index 000000000..d06e3ae75 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.CreateProjectSpendAlert.g.cs @@ -0,0 +1,492 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class SpendAlertsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_CreateProjectSpendAlertSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_CreateProjectSpendAlertSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_CreateProjectSpendAlertSecurityRequirement0, + }; + partial void PrepareCreateProjectSpendAlertArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + global::tryAGI.OpenAI.CreateSpendAlertBody request); + partial void PrepareCreateProjectSpendAlertRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + global::tryAGI.OpenAI.CreateSpendAlertBody request); + partial void ProcessCreateProjectSpendAlertResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateProjectSpendAlertResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Creates a project spend alert. + /// + /// + /// + /// 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 CreateProjectSpendAlertAsync( + string projectId, + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await CreateProjectSpendAlertAsResponseAsync( + projectId: projectId, + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Creates a project spend alert. + /// + /// + /// + /// 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> CreateProjectSpendAlertAsResponseAsync( + string projectId, + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareCreateProjectSpendAlertArguments( + httpClient: HttpClient, + projectId: ref projectId, + request: request); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateProjectSpendAlertSecurityRequirements, + operationName: "CreateProjectSpendAlertAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/projects/{projectId}/spend_alerts", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareCreateProjectSpendAlertRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!, + request: request); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProjectSpendAlert", + methodName: "CreateProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProjectSpendAlert", + methodName: "CreateProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProjectSpendAlert", + methodName: "CreateProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessCreateProjectSpendAlertResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProjectSpendAlert", + methodName: "CreateProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProjectSpendAlert", + methodName: "CreateProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessCreateProjectSpendAlertResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.ProjectSpendAlert.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.ProjectSpendAlert.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Creates a project spend alert. + /// + /// + /// + /// The alert threshold amount, in cents. + /// + /// + /// The currency for the threshold amount. + /// + /// + /// The time interval for evaluating spend against the threshold. + /// + /// + /// Email notification settings for a spend alert. + /// + /// 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 CreateProjectSpendAlertAsync( + string projectId, + int thresholdAmount, + global::tryAGI.OpenAI.SpendAlertNotificationChannel notificationChannel, + global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency currency = default, + global::tryAGI.OpenAI.CreateSpendAlertBodyInterval interval = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::tryAGI.OpenAI.CreateSpendAlertBody + { + ThresholdAmount = thresholdAmount, + Currency = currency, + Interval = interval, + NotificationChannel = notificationChannel, + }; + + return await CreateProjectSpendAlertAsync( + projectId: projectId, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.DeleteOrganizationSpendAlert.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.DeleteOrganizationSpendAlert.g.cs new file mode 100644 index 000000000..5f47ab3e6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.DeleteOrganizationSpendAlert.g.cs @@ -0,0 +1,430 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class SpendAlertsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_DeleteOrganizationSpendAlertSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_DeleteOrganizationSpendAlertSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_DeleteOrganizationSpendAlertSecurityRequirement0, + }; + partial void PrepareDeleteOrganizationSpendAlertArguments( + global::System.Net.Http.HttpClient httpClient, + ref string alertId); + partial void PrepareDeleteOrganizationSpendAlertRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string alertId); + partial void ProcessDeleteOrganizationSpendAlertResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessDeleteOrganizationSpendAlertResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Deletes an organization spend alert. + /// + /// + /// 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 DeleteOrganizationSpendAlertAsync( + string alertId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await DeleteOrganizationSpendAlertAsResponseAsync( + alertId: alertId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Deletes an organization spend alert. + /// + /// + /// 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> DeleteOrganizationSpendAlertAsResponseAsync( + string alertId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareDeleteOrganizationSpendAlertArguments( + httpClient: HttpClient, + alertId: ref alertId); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_DeleteOrganizationSpendAlertSecurityRequirements, + operationName: "DeleteOrganizationSpendAlertAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/spend_alerts/{alertId}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareDeleteOrganizationSpendAlertRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + alertId: alertId!); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteOrganizationSpendAlert", + methodName: "DeleteOrganizationSpendAlertAsync", + pathTemplate: "$\"/organization/spend_alerts/{alertId}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteOrganizationSpendAlert", + methodName: "DeleteOrganizationSpendAlertAsync", + pathTemplate: "$\"/organization/spend_alerts/{alertId}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteOrganizationSpendAlert", + methodName: "DeleteOrganizationSpendAlertAsync", + pathTemplate: "$\"/organization/spend_alerts/{alertId}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessDeleteOrganizationSpendAlertResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteOrganizationSpendAlert", + methodName: "DeleteOrganizationSpendAlertAsync", + pathTemplate: "$\"/organization/spend_alerts/{alertId}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteOrganizationSpendAlert", + methodName: "DeleteOrganizationSpendAlertAsync", + pathTemplate: "$\"/organization/spend_alerts/{alertId}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessDeleteOrganizationSpendAlertResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResource.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.OrganizationSpendAlertDeletedResource.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.DeleteProjectSpendAlert.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.DeleteProjectSpendAlert.g.cs new file mode 100644 index 000000000..9058c9947 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.DeleteProjectSpendAlert.g.cs @@ -0,0 +1,439 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class SpendAlertsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_DeleteProjectSpendAlertSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_DeleteProjectSpendAlertSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_DeleteProjectSpendAlertSecurityRequirement0, + }; + partial void PrepareDeleteProjectSpendAlertArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + ref string alertId); + partial void PrepareDeleteProjectSpendAlertRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + string alertId); + partial void ProcessDeleteProjectSpendAlertResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessDeleteProjectSpendAlertResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Deletes a project spend alert. + /// + /// + /// + /// 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 DeleteProjectSpendAlertAsync( + string projectId, + string alertId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await DeleteProjectSpendAlertAsResponseAsync( + projectId: projectId, + alertId: alertId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Deletes a project spend alert. + /// + /// + /// + /// 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> DeleteProjectSpendAlertAsResponseAsync( + string projectId, + string alertId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareDeleteProjectSpendAlertArguments( + httpClient: HttpClient, + projectId: ref projectId, + alertId: ref alertId); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_DeleteProjectSpendAlertSecurityRequirements, + operationName: "DeleteProjectSpendAlertAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/projects/{projectId}/spend_alerts/{alertId}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareDeleteProjectSpendAlertRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!, + alertId: alertId!); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProjectSpendAlert", + methodName: "DeleteProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts/{alertId}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProjectSpendAlert", + methodName: "DeleteProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts/{alertId}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProjectSpendAlert", + methodName: "DeleteProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts/{alertId}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessDeleteProjectSpendAlertResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProjectSpendAlert", + methodName: "DeleteProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts/{alertId}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProjectSpendAlert", + methodName: "DeleteProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts/{alertId}\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessDeleteProjectSpendAlertResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.ProjectSpendAlertDeletedResource.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.ProjectSpendAlertDeletedResource.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.ListOrganizationSpendAlerts.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.ListOrganizationSpendAlerts.g.cs new file mode 100644 index 000000000..64835c185 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.ListOrganizationSpendAlerts.g.cs @@ -0,0 +1,467 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class SpendAlertsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_ListOrganizationSpendAlertsSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_ListOrganizationSpendAlertsSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_ListOrganizationSpendAlertsSecurityRequirement0, + }; + partial void PrepareListOrganizationSpendAlertsArguments( + global::System.Net.Http.HttpClient httpClient, + ref int? limit, + ref global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder? order, + ref string? after, + ref string? before); + partial void PrepareListOrganizationSpendAlertsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? limit, + global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder? order, + string? after, + string? before); + partial void ProcessListOrganizationSpendAlertsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessListOrganizationSpendAlertsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Lists organization spend alerts. + /// + /// + /// + /// Default Value: asc + /// + /// + /// + /// 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 ListOrganizationSpendAlertsAsync( + int? limit = default, + global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder? order = default, + string? after = default, + string? before = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ListOrganizationSpendAlertsAsResponseAsync( + limit: limit, + order: order, + after: after, + before: before, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Lists organization spend alerts. + /// + /// + /// + /// Default Value: asc + /// + /// + /// + /// 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> ListOrganizationSpendAlertsAsResponseAsync( + int? limit = default, + global::tryAGI.OpenAI.ListOrganizationSpendAlertsOrder? order = default, + string? after = default, + string? before = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareListOrganizationSpendAlertsArguments( + httpClient: HttpClient, + limit: ref limit, + order: ref order, + after: ref after, + before: ref before); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ListOrganizationSpendAlertsSecurityRequirements, + operationName: "ListOrganizationSpendAlertsAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: "/organization/spend_alerts", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("order", order?.ToValueString()) + .AddOptionalParameter("after", after) + .AddOptionalParameter("before", before) + ; + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareListOrganizationSpendAlertsRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + limit: limit, + order: order, + after: after, + before: before); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListOrganizationSpendAlerts", + methodName: "ListOrganizationSpendAlertsAsync", + pathTemplate: "\"/organization/spend_alerts\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListOrganizationSpendAlerts", + methodName: "ListOrganizationSpendAlertsAsync", + pathTemplate: "\"/organization/spend_alerts\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListOrganizationSpendAlerts", + methodName: "ListOrganizationSpendAlertsAsync", + pathTemplate: "\"/organization/spend_alerts\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessListOrganizationSpendAlertsResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListOrganizationSpendAlerts", + methodName: "ListOrganizationSpendAlertsAsync", + pathTemplate: "\"/organization/spend_alerts\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListOrganizationSpendAlerts", + methodName: "ListOrganizationSpendAlertsAsync", + pathTemplate: "\"/organization/spend_alerts\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessListOrganizationSpendAlertsResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.OrganizationSpendAlertListResource.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.OrganizationSpendAlertListResource.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.ListProjectSpendAlerts.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.ListProjectSpendAlerts.g.cs new file mode 100644 index 000000000..4b0515bae --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.ListProjectSpendAlerts.g.cs @@ -0,0 +1,476 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class SpendAlertsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_ListProjectSpendAlertsSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_ListProjectSpendAlertsSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_ListProjectSpendAlertsSecurityRequirement0, + }; + partial void PrepareListProjectSpendAlertsArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + ref int? limit, + ref global::tryAGI.OpenAI.ListProjectSpendAlertsOrder? order, + ref string? after, + ref string? before); + partial void PrepareListProjectSpendAlertsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + int? limit, + global::tryAGI.OpenAI.ListProjectSpendAlertsOrder? order, + string? after, + string? before); + partial void ProcessListProjectSpendAlertsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessListProjectSpendAlertsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Lists project spend alerts. + /// + /// + /// + /// + /// Default Value: asc + /// + /// + /// + /// 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 ListProjectSpendAlertsAsync( + string projectId, + int? limit = default, + global::tryAGI.OpenAI.ListProjectSpendAlertsOrder? order = default, + string? after = default, + string? before = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ListProjectSpendAlertsAsResponseAsync( + projectId: projectId, + limit: limit, + order: order, + after: after, + before: before, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Lists project spend alerts. + /// + /// + /// + /// + /// Default Value: asc + /// + /// + /// + /// 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> ListProjectSpendAlertsAsResponseAsync( + string projectId, + int? limit = default, + global::tryAGI.OpenAI.ListProjectSpendAlertsOrder? order = default, + string? after = default, + string? before = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareListProjectSpendAlertsArguments( + httpClient: HttpClient, + projectId: ref projectId, + limit: ref limit, + order: ref order, + after: ref after, + before: ref before); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ListProjectSpendAlertsSecurityRequirements, + operationName: "ListProjectSpendAlertsAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/projects/{projectId}/spend_alerts", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("order", order?.ToValueString()) + .AddOptionalParameter("after", after) + .AddOptionalParameter("before", before) + ; + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareListProjectSpendAlertsRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!, + limit: limit, + order: order, + after: after, + before: before); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProjectSpendAlerts", + methodName: "ListProjectSpendAlertsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProjectSpendAlerts", + methodName: "ListProjectSpendAlertsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProjectSpendAlerts", + methodName: "ListProjectSpendAlertsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessListProjectSpendAlertsResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProjectSpendAlerts", + methodName: "ListProjectSpendAlertsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProjectSpendAlerts", + methodName: "ListProjectSpendAlertsAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessListProjectSpendAlertsResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.ProjectSpendAlertListResource.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.ProjectSpendAlertListResource.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.UpdateOrganizationSpendAlert.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.UpdateOrganizationSpendAlert.g.cs new file mode 100644 index 000000000..ab017917e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.UpdateOrganizationSpendAlert.g.cs @@ -0,0 +1,492 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class SpendAlertsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_UpdateOrganizationSpendAlertSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_UpdateOrganizationSpendAlertSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_UpdateOrganizationSpendAlertSecurityRequirement0, + }; + partial void PrepareUpdateOrganizationSpendAlertArguments( + global::System.Net.Http.HttpClient httpClient, + ref string alertId, + global::tryAGI.OpenAI.CreateSpendAlertBody request); + partial void PrepareUpdateOrganizationSpendAlertRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string alertId, + global::tryAGI.OpenAI.CreateSpendAlertBody request); + partial void ProcessUpdateOrganizationSpendAlertResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateOrganizationSpendAlertResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Updates an organization spend alert. + /// + /// + /// + /// 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 UpdateOrganizationSpendAlertAsync( + string alertId, + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await UpdateOrganizationSpendAlertAsResponseAsync( + alertId: alertId, + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Updates an organization spend alert. + /// + /// + /// + /// 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> UpdateOrganizationSpendAlertAsResponseAsync( + string alertId, + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareUpdateOrganizationSpendAlertArguments( + httpClient: HttpClient, + alertId: ref alertId, + request: request); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_UpdateOrganizationSpendAlertSecurityRequirements, + operationName: "UpdateOrganizationSpendAlertAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/spend_alerts/{alertId}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareUpdateOrganizationSpendAlertRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + alertId: alertId!, + request: request); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateOrganizationSpendAlert", + methodName: "UpdateOrganizationSpendAlertAsync", + pathTemplate: "$\"/organization/spend_alerts/{alertId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateOrganizationSpendAlert", + methodName: "UpdateOrganizationSpendAlertAsync", + pathTemplate: "$\"/organization/spend_alerts/{alertId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateOrganizationSpendAlert", + methodName: "UpdateOrganizationSpendAlertAsync", + pathTemplate: "$\"/organization/spend_alerts/{alertId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessUpdateOrganizationSpendAlertResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateOrganizationSpendAlert", + methodName: "UpdateOrganizationSpendAlertAsync", + pathTemplate: "$\"/organization/spend_alerts/{alertId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateOrganizationSpendAlert", + methodName: "UpdateOrganizationSpendAlertAsync", + pathTemplate: "$\"/organization/spend_alerts/{alertId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessUpdateOrganizationSpendAlertResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.OrganizationSpendAlert.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.OrganizationSpendAlert.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Updates an organization spend alert. + /// + /// + /// + /// The alert threshold amount, in cents. + /// + /// + /// The currency for the threshold amount. + /// + /// + /// The time interval for evaluating spend against the threshold. + /// + /// + /// Email notification settings for a spend alert. + /// + /// 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 UpdateOrganizationSpendAlertAsync( + string alertId, + int thresholdAmount, + global::tryAGI.OpenAI.SpendAlertNotificationChannel notificationChannel, + global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency currency = default, + global::tryAGI.OpenAI.CreateSpendAlertBodyInterval interval = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::tryAGI.OpenAI.CreateSpendAlertBody + { + ThresholdAmount = thresholdAmount, + Currency = currency, + Interval = interval, + NotificationChannel = notificationChannel, + }; + + return await UpdateOrganizationSpendAlertAsync( + alertId: alertId, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.UpdateProjectSpendAlert.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.UpdateProjectSpendAlert.g.cs new file mode 100644 index 000000000..d4e8372b2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.UpdateProjectSpendAlert.g.cs @@ -0,0 +1,504 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class SpendAlertsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_UpdateProjectSpendAlertSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_UpdateProjectSpendAlertSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_UpdateProjectSpendAlertSecurityRequirement0, + }; + partial void PrepareUpdateProjectSpendAlertArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + ref string alertId, + global::tryAGI.OpenAI.CreateSpendAlertBody request); + partial void PrepareUpdateProjectSpendAlertRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + string alertId, + global::tryAGI.OpenAI.CreateSpendAlertBody request); + partial void ProcessUpdateProjectSpendAlertResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateProjectSpendAlertResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Updates a project spend alert. + /// + /// + /// + /// + /// 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 UpdateProjectSpendAlertAsync( + string projectId, + string alertId, + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await UpdateProjectSpendAlertAsResponseAsync( + projectId: projectId, + alertId: alertId, + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Updates a project spend alert. + /// + /// + /// + /// + /// 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> UpdateProjectSpendAlertAsResponseAsync( + string projectId, + string alertId, + + global::tryAGI.OpenAI.CreateSpendAlertBody request, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareUpdateProjectSpendAlertArguments( + httpClient: HttpClient, + projectId: ref projectId, + alertId: ref alertId, + request: request); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_UpdateProjectSpendAlertSecurityRequirements, + operationName: "UpdateProjectSpendAlertAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/projects/{projectId}/spend_alerts/{alertId}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareUpdateProjectSpendAlertRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId!, + alertId: alertId!, + request: request); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectSpendAlert", + methodName: "UpdateProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts/{alertId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectSpendAlert", + methodName: "UpdateProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts/{alertId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectSpendAlert", + methodName: "UpdateProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts/{alertId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessUpdateProjectSpendAlertResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectSpendAlert", + methodName: "UpdateProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts/{alertId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProjectSpendAlert", + methodName: "UpdateProjectSpendAlertAsync", + pathTemplate: "$\"/organization/projects/{projectId}/spend_alerts/{alertId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessUpdateProjectSpendAlertResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.ProjectSpendAlert.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.ProjectSpendAlert.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Updates a project spend alert. + /// + /// + /// + /// + /// The alert threshold amount, in cents. + /// + /// + /// The currency for the threshold amount. + /// + /// + /// The time interval for evaluating spend against the threshold. + /// + /// + /// Email notification settings for a spend alert. + /// + /// 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 UpdateProjectSpendAlertAsync( + string projectId, + string alertId, + int thresholdAmount, + global::tryAGI.OpenAI.SpendAlertNotificationChannel notificationChannel, + global::tryAGI.OpenAI.CreateSpendAlertBodyCurrency currency = default, + global::tryAGI.OpenAI.CreateSpendAlertBodyInterval interval = default, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::tryAGI.OpenAI.CreateSpendAlertBody + { + ThresholdAmount = thresholdAmount, + Currency = currency, + Interval = interval, + NotificationChannel = notificationChannel, + }; + + return await UpdateProjectSpendAlertAsync( + projectId: projectId, + alertId: alertId, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.g.cs new file mode 100644 index 000000000..1830f3388 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.SpendAlertsClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class SpendAlertsClient : global::tryAGI.OpenAI.ISpendAlertsClient, global::System.IDisposable + { + /// + /// + /// + public const string DefaultBaseUrl = "https://api.openai.com/v1"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => HttpClient.BaseAddress; + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + + /// + public global::tryAGI.OpenAI.AutoSDKClientOptions Options { get; } + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::tryAGI.OpenAI.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the SpendAlertsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public SpendAlertsClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this( + httpClient, + baseUri, + authorizations, + options: null, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the SpendAlertsClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public SpendAlertsClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::tryAGI.OpenAI.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the SpendAlertsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public SpendAlertsClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::tryAGI.OpenAI.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::tryAGI.OpenAI.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UserOrganizationRoleAssignmentsClient.RetrieveUserOrganizationRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UserOrganizationRoleAssignmentsClient.RetrieveUserOrganizationRole.g.cs new file mode 100644 index 000000000..d6d7357de --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UserOrganizationRoleAssignmentsClient.RetrieveUserOrganizationRole.g.cs @@ -0,0 +1,439 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + public partial class UserOrganizationRoleAssignmentsClient + { + + + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement s_RetrieveUserOrganizationRoleSecurityRequirement0 = + new global::tryAGI.OpenAI.EndPointSecurityRequirement + { + Authorizations = new global::tryAGI.OpenAI.EndPointAuthorizationRequirement[] + { new global::tryAGI.OpenAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::tryAGI.OpenAI.EndPointSecurityRequirement[] s_RetrieveUserOrganizationRoleSecurityRequirements = + new global::tryAGI.OpenAI.EndPointSecurityRequirement[] + { s_RetrieveUserOrganizationRoleSecurityRequirement0, + }; + partial void PrepareRetrieveUserOrganizationRoleArguments( + global::System.Net.Http.HttpClient httpClient, + ref string userId, + ref string roleId); + partial void PrepareRetrieveUserOrganizationRoleRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string userId, + string roleId); + partial void ProcessRetrieveUserOrganizationRoleResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessRetrieveUserOrganizationRoleResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Retrieves an organization role assigned to a user. + /// + /// + /// + /// 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 RetrieveUserOrganizationRoleAsync( + string userId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await RetrieveUserOrganizationRoleAsResponseAsync( + userId: userId, + roleId: roleId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Retrieves an organization role assigned to a user. + /// + /// + /// + /// 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> RetrieveUserOrganizationRoleAsResponseAsync( + string userId, + string roleId, + global::tryAGI.OpenAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareRetrieveUserOrganizationRoleArguments( + httpClient: HttpClient, + userId: ref userId, + roleId: ref roleId); + + + var __authorizations = global::tryAGI.OpenAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_RetrieveUserOrganizationRoleSecurityRequirements, + operationName: "RetrieveUserOrganizationRoleAsync"); + + using var __timeoutCancellationTokenSource = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder( + path: $"/organization/users/{userId}/roles/{roleId}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareRetrieveUserOrganizationRoleRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + userId: userId!, + roleId: roleId!); + + global::tryAGI.OpenAI.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveUserOrganizationRole", + methodName: "RetrieveUserOrganizationRoleAsync", + pathTemplate: "$\"/organization/users/{userId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveUserOrganizationRole", + methodName: "RetrieveUserOrganizationRoleAsync", + pathTemplate: "$\"/organization/users/{userId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveUserOrganizationRole", + methodName: "RetrieveUserOrganizationRoleAsync", + pathTemplate: "$\"/organization/users/{userId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessRetrieveUserOrganizationRoleResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveUserOrganizationRole", + methodName: "RetrieveUserOrganizationRoleAsync", + pathTemplate: "$\"/organization/users/{userId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::tryAGI.OpenAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RetrieveUserOrganizationRole", + methodName: "RetrieveUserOrganizationRoleAsync", + pathTemplate: "$\"/organization/users/{userId}/roles/{roleId}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessRetrieveUserOrganizationRoleResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::tryAGI.OpenAI.AssignedRoleDetails.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::tryAGI.OpenAI.AssignedRoleDetails.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::tryAGI.OpenAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::tryAGI.OpenAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw new global::tryAGI.OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml index e6c7e700d..c7f212052 100644 --- a/src/libs/tryAGI.OpenAI/openapi.yaml +++ b/src/libs/tryAGI.OpenAI/openapi.yaml @@ -15700,6 +15700,212 @@ paths: "has_more": false, "next_page": null } + /organization/data_retention: + get: + security: + - AdminApiKeyAuth: [] + summary: Retrieves organization data retention controls. + operationId: retrieve-organization-data-retention + tags: + - Data retention + responses: + '200': + description: Organization data retention controls retrieved successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/OrganizationDataRetention' + x-oaiMeta: + name: Retrieve organization data retention + group: administration + examples: + request: + curl: | + curl https://api.openai.com/v1/organization/data_retention \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const organizationDataRetention = await + client.admin.organization.dataRetention.retrieve(); + + + console.log(organizationDataRetention.object); + python: >- + import os + + from openai import OpenAI + + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + + organization_data_retention = + client.admin.organization.data_retention.retrieve() + + print(organization_data_retention.object) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\torganizationDataRetention, err := client.Admin.Organization.DataRetention.Get(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", organizationDataRetention.Object)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.dataretention.DataRetentionRetrieveParams; + + import + com.openai.models.admin.organization.dataretention.OrganizationDataRetention; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + OrganizationDataRetention organizationDataRetention = client.admin().organization().dataRetention().retrieve(); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + organization_data_retention = + openai.admin.organization.data_retention.retrieve + + + puts(organization_data_retention) + response: | + { + "object": "organization.data_retention", + "type": "modified_abuse_monitoring" + } + post: + security: + - AdminApiKeyAuth: [] + summary: Updates organization data retention controls. + operationId: update-organization-data-retention + tags: + - Data retention + requestBody: + description: The desired organization data retention setting. + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateOrganizationDataRetentionBody' + responses: + '200': + description: Organization data retention controls updated successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/OrganizationDataRetention' + x-oaiMeta: + name: Update organization data retention + group: administration + examples: + request: + curl: > + curl -X POST https://api.openai.com/v1/organization/data_retention + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" \ + -d '{ + "retention_type": "modified_abuse_monitoring" + }' + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const organizationDataRetention = await + client.admin.organization.dataRetention.update({ + retention_type: 'zero_data_retention', + }); + + + console.log(organizationDataRetention.object); + python: >- + import os + + from openai import OpenAI + + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + + organization_data_retention = + client.admin.organization.data_retention.update( + retention_type="zero_data_retention", + ) + + print(organization_data_retention.object) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\torganizationDataRetention, err := client.Admin.Organization.DataRetention.Update(context.TODO(), openai.AdminOrganizationDataRetentionUpdateParams{\n\t\tRetentionType: openai.AdminOrganizationDataRetentionUpdateParamsRetentionTypeZeroDataRetention,\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", organizationDataRetention.Object)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.dataretention.DataRetentionUpdateParams; + + import + com.openai.models.admin.organization.dataretention.OrganizationDataRetention; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + DataRetentionUpdateParams params = DataRetentionUpdateParams.builder() + .retentionType(DataRetentionUpdateParams.RetentionType.ZERO_DATA_RETENTION) + .build(); + OrganizationDataRetention organizationDataRetention = client.admin().organization().dataRetention().update(params); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + organization_data_retention = + openai.admin.organization.data_retention.update(retention_type: + :zero_data_retention) + + + puts(organization_data_retention) + response: | + { + "object": "organization.data_retention", + "type": "modified_abuse_monitoring" + } /organization/groups: get: security: @@ -15932,6 +16138,103 @@ paths: "is_scim_managed": false } /organization/groups/{group_id}: + get: + security: + - AdminApiKeyAuth: [] + summary: Retrieves a group. + operationId: retrieve-group + tags: + - Groups + parameters: + - name: group_id + in: path + description: The ID of the group to retrieve. + required: true + schema: + type: string + responses: + '200': + description: Group retrieved successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/GroupResponse' + x-oaiMeta: + name: Retrieve group + group: administration + examples: + request: + curl: > + curl + https://api.openai.com/v1/organization/groups/group_01J1F8ABCDXYZ + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const group = await + client.admin.organization.groups.retrieve('group_id'); + + + console.log(group.id); + python: |- + import os + from openai import OpenAI + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + group = client.admin.organization.groups.retrieve( + "group_id", + ) + print(group.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\tgroup, err := client.Admin.Organization.Groups.Get(context.TODO(), \"group_id\")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", group.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import com.openai.models.admin.organization.groups.Group; + + import + com.openai.models.admin.organization.groups.GroupRetrieveParams; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + Group group = client.admin().organization().groups().retrieve("group_id"); + } + } + ruby: |- + require "openai" + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + group = openai.admin.organization.groups.retrieve("group_id") + + puts(group) + response: | + { + "id": "group_01J1F8ABCDXYZ", + "name": "Support Team", + "created_at": 1711471533, + "is_scim_managed": false, + "group_type": "group" + } post: security: - AdminApiKeyAuth: [] @@ -16430,6 +16733,131 @@ paths: } } /organization/groups/{group_id}/roles/{role_id}: + get: + security: + - AdminApiKeyAuth: [] + summary: Retrieves an organization role assigned to a group. + operationId: retrieve-group-role + tags: + - Group organization role assignments + parameters: + - name: group_id + in: path + description: The ID of the group to inspect. + required: true + schema: + type: string + - name: role_id + in: path + description: The ID of the organization role to retrieve for the group. + required: true + schema: + type: string + responses: + '200': + description: Organization role retrieved for the group successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/AssignedRoleDetails' + x-oaiMeta: + name: Retrieve group organization role + group: administration + examples: + request: + curl: > + curl + https://api.openai.com/v1/organization/groups/group_01J1F8ABCDXYZ/roles/role_01J1F8ROLE01 + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const role = await + client.admin.organization.groups.roles.retrieve('role_id', { + group_id: 'group_id', + }); + + + console.log(role.id); + python: |- + import os + from openai import OpenAI + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + role = client.admin.organization.groups.roles.retrieve( + role_id="role_id", + group_id="group_id", + ) + print(role.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\trole, err := client.Admin.Organization.Groups.Roles.Get(\n\t\tcontext.TODO(),\n\t\t\"group_id\",\n\t\t\"role_id\",\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", role.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.groups.roles.RoleRetrieveParams; + + import + com.openai.models.admin.organization.groups.roles.RoleRetrieveResponse; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + RoleRetrieveParams params = RoleRetrieveParams.builder() + .groupId("group_id") + .roleId("role_id") + .build(); + RoleRetrieveResponse role = client.admin().organization().groups().roles().retrieve(params); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + role = openai.admin.organization.groups.roles.retrieve("role_id", + group_id: "group_id") + + + puts(role) + response: | + { + "id": "role_01J1F8ROLE01", + "name": "API Group Manager", + "permissions": [ + "api.groups.read", + "api.groups.write" + ], + "resource_type": "api.organization", + "predefined_role": false, + "description": "Allows managing organization groups", + "created_at": 1711471533, + "updated_at": 1711472599, + "created_by": "user_abc123", + "created_by_user_obj": null, + "metadata": {}, + "assignment_sources": null + } delete: security: - AdminApiKeyAuth: [] @@ -16795,6 +17223,122 @@ paths: "group_id": "group_01J1F8ABCDXYZ" } /organization/groups/{group_id}/users/{user_id}: + get: + security: + - AdminApiKeyAuth: [] + summary: Retrieves a user in a group. + operationId: retrieve-group-user + tags: + - Group users + parameters: + - name: group_id + in: path + description: The ID of the group to inspect. + required: true + schema: + type: string + - name: user_id + in: path + description: The ID of the user to retrieve from the group. + required: true + schema: + type: string + responses: + '200': + description: User retrieved from the group successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/GroupMemberUser' + x-oaiMeta: + name: Retrieve group user + group: administration + examples: + request: + curl: > + curl + https://api.openai.com/v1/organization/groups/group_01J1F8ABCDXYZ/users/user_abc123 + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const user = await + client.admin.organization.groups.users.retrieve('user_id', { + group_id: 'group_id', + }); + + + console.log(user.id); + python: |- + import os + from openai import OpenAI + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + user = client.admin.organization.groups.users.retrieve( + user_id="user_id", + group_id="group_id", + ) + print(user.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\tuser, err := client.Admin.Organization.Groups.Users.Get(\n\t\tcontext.TODO(),\n\t\t\"group_id\",\n\t\t\"user_id\",\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", user.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.groups.users.UserRetrieveParams; + + import + com.openai.models.admin.organization.groups.users.UserRetrieveResponse; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + UserRetrieveParams params = UserRetrieveParams.builder() + .groupId("group_id") + .userId("user_id") + .build(); + UserRetrieveResponse user = client.admin().organization().groups().users().retrieve(params); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + user = openai.admin.organization.groups.users.retrieve("user_id", + group_id: "group_id") + + + puts(user) + response: | + { + "id": "user_abc123", + "name": "Ada Lovelace", + "email": "ada@example.com", + "picture": null, + "is_service_account": false, + "user_type": "user" + } delete: security: - AdminApiKeyAuth: [] @@ -18755,6 +19299,238 @@ paths: }, ], } + /organization/projects/{project_id}/data_retention: + get: + security: + - AdminApiKeyAuth: [] + summary: Retrieves project data retention controls. + operationId: retrieve-project-data-retention + tags: + - Data retention + parameters: + - name: project_id + in: path + description: The ID of the project to inspect. + required: true + schema: + type: string + responses: + '200': + description: Project data retention controls retrieved successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectDataRetention' + x-oaiMeta: + name: Retrieve project data retention + group: administration + examples: + request: + curl: > + curl + https://api.openai.com/v1/organization/projects/proj_abc/data_retention + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const projectDataRetention = await + client.admin.organization.projects.dataRetention.retrieve( + 'project_id', + ); + + + console.log(projectDataRetention.object); + python: >- + import os + + from openai import OpenAI + + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + + project_data_retention = + client.admin.organization.projects.data_retention.retrieve( + "project_id", + ) + + print(project_data_retention.object) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\tprojectDataRetention, err := client.Admin.Organization.Projects.DataRetention.Get(context.TODO(), \"project_id\")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectDataRetention.Object)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.projects.dataretention.DataRetentionRetrieveParams; + + import + com.openai.models.admin.organization.projects.dataretention.ProjectDataRetention; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + ProjectDataRetention projectDataRetention = client.admin().organization().projects().dataRetention().retrieve("project_id"); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + project_data_retention = + openai.admin.organization.projects.data_retention.retrieve("project_id") + + + puts(project_data_retention) + response: | + { + "object": "project.data_retention", + "type": "organization_default" + } + post: + security: + - AdminApiKeyAuth: [] + summary: Updates project data retention controls. + operationId: update-project-data-retention + tags: + - Data retention + parameters: + - name: project_id + in: path + description: The ID of the project to update. + required: true + schema: + type: string + requestBody: + description: The desired project data retention setting. + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateProjectDataRetentionBody' + responses: + '200': + description: Project data retention controls updated successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectDataRetention' + x-oaiMeta: + name: Update project data retention + group: administration + examples: + request: + curl: > + curl -X POST + https://api.openai.com/v1/organization/projects/proj_abc/data_retention + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" \ + -d '{ + "retention_type": "modified_abuse_monitoring" + }' + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const projectDataRetention = await + client.admin.organization.projects.dataRetention.update( + 'project_id', + { retention_type: 'organization_default' }, + ); + + + console.log(projectDataRetention.object); + python: >- + import os + + from openai import OpenAI + + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + + project_data_retention = + client.admin.organization.projects.data_retention.update( + project_id="project_id", + retention_type="organization_default", + ) + + print(project_data_retention.object) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\tprojectDataRetention, err := client.Admin.Organization.Projects.DataRetention.Update(\n\t\tcontext.TODO(),\n\t\t\"project_id\",\n\t\topenai.AdminOrganizationProjectDataRetentionUpdateParams{\n\t\t\tRetentionType: openai.AdminOrganizationProjectDataRetentionUpdateParamsRetentionTypeOrganizationDefault,\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectDataRetention.Object)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.projects.dataretention.DataRetentionUpdateParams; + + import + com.openai.models.admin.organization.projects.dataretention.ProjectDataRetention; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + DataRetentionUpdateParams params = DataRetentionUpdateParams.builder() + .projectId("project_id") + .retentionType(DataRetentionUpdateParams.RetentionType.ORGANIZATION_DEFAULT) + .build(); + ProjectDataRetention projectDataRetention = client.admin().organization().projects().dataRetention().update(params); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + project_data_retention = + openai.admin.organization.projects.data_retention.update( + "project_id", + retention_type: :organization_default + ) + + + puts(project_data_retention) + response: | + { + "object": "project.data_retention", + "type": "modified_abuse_monitoring" + } /organization/projects/{project_id}/groups: get: security: @@ -19019,6 +19795,138 @@ paths: "created_at": 1711471533 } /organization/projects/{project_id}/groups/{group_id}: + get: + security: + - AdminApiKeyAuth: [] + summary: Retrieves a project's group. + operationId: retrieve-project-group + tags: + - Project groups + parameters: + - name: project_id + in: path + description: The ID of the project to inspect. + required: true + schema: + type: string + - name: group_id + in: path + description: The ID of the group to retrieve. + required: true + schema: + type: string + - name: group_type + in: query + description: The type of group to retrieve. + required: false + schema: + type: string + enum: + - group + - tenant_group + default: group + responses: + '200': + description: Project group retrieved successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectGroup' + x-oaiMeta: + name: Retrieve project group + group: administration + examples: + request: + curl: > + curl + https://api.openai.com/v1/organization/projects/proj_abc123/groups/group_01J1F8ABCDXYZ + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const projectGroup = await + client.admin.organization.projects.groups.retrieve('group_id', { + project_id: 'project_id', + }); + + + console.log(projectGroup.group_id); + python: >- + import os + + from openai import OpenAI + + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + + project_group = + client.admin.organization.projects.groups.retrieve( + group_id="group_id", + project_id="project_id", + ) + + print(project_group.group_id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\tprojectGroup, err := client.Admin.Organization.Projects.Groups.Get(\n\t\tcontext.TODO(),\n\t\t\"project_id\",\n\t\t\"group_id\",\n\t\topenai.AdminOrganizationProjectGroupGetParams{},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectGroup.GroupID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.projects.groups.GroupRetrieveParams; + + import + com.openai.models.admin.organization.projects.groups.ProjectGroup; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + GroupRetrieveParams params = GroupRetrieveParams.builder() + .projectId("project_id") + .groupId("group_id") + .build(); + ProjectGroup projectGroup = client.admin().organization().projects().groups().retrieve(params); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + project_group = + openai.admin.organization.projects.groups.retrieve("group_id", + project_id: "project_id") + + + puts(project_group) + response: | + { + "object": "project.group", + "project_id": "proj_abc123", + "group_id": "group_01J1F8ABCDXYZ", + "group_name": "Support Team", + "group_type": "group", + "created_at": 1711471533 + } delete: security: - AdminApiKeyAuth: [] @@ -20431,6 +21339,139 @@ paths: "role": "owner", "created_at": 1711471533 } + post: + security: + - AdminApiKeyAuth: [] + summary: Updates a service account in the project. + operationId: update-project-service-account + tags: + - Projects + parameters: + - name: project_id + in: path + description: The ID of the project. + required: true + schema: + type: string + - name: service_account_id + in: path + description: The ID of the service account. + required: true + schema: + type: string + requestBody: + description: Fields to update on the service account. + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateProjectServiceAccountBody' + responses: + '200': + description: Project service account updated successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectServiceAccount' + x-oaiMeta: + name: Update project service account + group: administration + examples: + request: + curl: > + curl -X POST + https://api.openai.com/v1/organization/projects/proj_abc/service_accounts/svc_acct_abc + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" \ + -d '{ + "name": "Updated service account", + "role": "member" + }' + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const projectServiceAccount = await + client.admin.organization.projects.serviceAccounts.update( + 'service_account_id', + { project_id: 'project_id' }, + ); + + + console.log(projectServiceAccount.id); + python: >- + import os + + from openai import OpenAI + + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + + project_service_account = + client.admin.organization.projects.service_accounts.update( + service_account_id="service_account_id", + project_id="project_id", + ) + + print(project_service_account.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\tprojectServiceAccount, err := client.Admin.Organization.Projects.ServiceAccounts.Update(\n\t\tcontext.TODO(),\n\t\t\"project_id\",\n\t\t\"service_account_id\",\n\t\topenai.AdminOrganizationProjectServiceAccountUpdateParams{},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectServiceAccount.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.projects.serviceaccounts.ProjectServiceAccount; + + import + com.openai.models.admin.organization.projects.serviceaccounts.ServiceAccountUpdateParams; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + ServiceAccountUpdateParams params = ServiceAccountUpdateParams.builder() + .projectId("project_id") + .serviceAccountId("service_account_id") + .build(); + ProjectServiceAccount projectServiceAccount = client.admin().organization().projects().serviceAccounts().update(params); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + project_service_account = + openai.admin.organization.projects.service_accounts.update("service_account_id", + project_id: "project_id") + + + puts(project_service_account) + response: | + { + "object": "organization.project.service_account", + "id": "svc_acct_abc", + "name": "Updated service account", + "role": "member", + "created_at": 1711471533 + } delete: security: - AdminApiKeyAuth: [] @@ -20558,6 +21599,607 @@ paths: "id": "svc_acct_abc", "deleted": true } + /organization/projects/{project_id}/spend_alerts: + get: + security: + - AdminApiKeyAuth: [] + summary: Lists project spend alerts. + operationId: list-project-spend-alerts + tags: + - Spend alerts + parameters: + - name: project_id + in: path + description: The ID of the project to inspect. + required: true + schema: + type: string + - name: limit + in: query + description: A limit on the number of spend alerts to return. Defaults to 20. + required: false + schema: + type: integer + minimum: 0 + maximum: 100 + - name: order + in: query + description: Sort order for the returned spend alerts. + required: false + schema: + type: string + enum: + - asc + - desc + default: asc + - name: after + in: query + description: >- + Cursor for pagination. Provide the ID of the last spend alert from + the previous response to fetch the next page. + required: false + schema: + type: string + - name: before + in: query + description: >- + Cursor for pagination. Provide the ID of the first spend alert from + the previous response to fetch the previous page. + required: false + schema: + type: string + responses: + '200': + description: Project spend alerts listed successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectSpendAlertListResource' + x-oaiMeta: + name: List project spend alerts + group: administration + examples: + request: + curl: > + curl + https://api.openai.com/v1/organization/projects/proj_abc/spend_alerts?limit=20&order=asc + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + // Automatically fetches more pages as needed. + + for await (const projectSpendAlert of + client.admin.organization.projects.spendAlerts.list( + 'project_id', + )) { + console.log(projectSpendAlert.id); + } + python: |- + import os + from openai import OpenAI + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + page = client.admin.organization.projects.spend_alerts.list( + project_id="project_id", + ) + page = page.data[0] + print(page.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\tpage, err := client.Admin.Organization.Projects.SpendAlerts.List(\n\t\tcontext.TODO(),\n\t\t\"project_id\",\n\t\topenai.AdminOrganizationProjectSpendAlertListParams{},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", page)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.projects.spendalerts.SpendAlertListPage; + + import + com.openai.models.admin.organization.projects.spendalerts.SpendAlertListParams; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + SpendAlertListPage page = client.admin().organization().projects().spendAlerts().list("project_id"); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + page = + openai.admin.organization.projects.spend_alerts.list("project_id") + + + puts(page) + response: | + { + "object": "list", + "data": [ + { + "id": "alert_abc123", + "object": "project.spend_alert", + "threshold_amount": 100000, + "currency": "USD", + "interval": "month", + "notification_channel": { + "type": "email", + "recipients": ["finance@example.com"], + "subject_prefix": "OpenAI spend alert" + } + } + ], + "first_id": "alert_abc123", + "last_id": "alert_abc123", + "has_more": false + } + post: + security: + - AdminApiKeyAuth: [] + summary: Creates a project spend alert. + operationId: create-project-spend-alert + tags: + - Spend alerts + parameters: + - name: project_id + in: path + description: The ID of the project to update. + required: true + schema: + type: string + requestBody: + description: Parameters for the project spend alert you want to create. + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/CreateSpendAlertBody' + responses: + '200': + description: Project spend alert created successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectSpendAlert' + x-oaiMeta: + name: Create project spend alert + group: administration + examples: + request: + curl: > + curl -X POST + https://api.openai.com/v1/organization/projects/proj_abc/spend_alerts + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" \ + -d '{ + "threshold_amount": 100000, + "currency": "USD", + "interval": "month", + "notification_channel": { + "type": "email", + "recipients": ["finance@example.com"], + "subject_prefix": "OpenAI spend alert" + } + }' + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const projectSpendAlert = await + client.admin.organization.projects.spendAlerts.create( + 'project_id', + { + currency: 'USD', + interval: 'month', + notification_channel: { recipients: ['string'], type: 'email' }, + threshold_amount: 0, + }, + ); + + + console.log(projectSpendAlert.id); + python: >- + import os + + from openai import OpenAI + + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + + project_spend_alert = + client.admin.organization.projects.spend_alerts.create( + project_id="project_id", + currency="USD", + interval="month", + notification_channel={ + "recipients": ["string"], + "type": "email", + }, + threshold_amount=0, + ) + + print(project_spend_alert.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\tprojectSpendAlert, err := client.Admin.Organization.Projects.SpendAlerts.New(\n\t\tcontext.TODO(),\n\t\t\"project_id\",\n\t\topenai.AdminOrganizationProjectSpendAlertNewParams{\n\t\t\tCurrency: openai.AdminOrganizationProjectSpendAlertNewParamsCurrencyUsd,\n\t\t\tInterval: openai.AdminOrganizationProjectSpendAlertNewParamsIntervalMonth,\n\t\t\tNotificationChannel: openai.AdminOrganizationProjectSpendAlertNewParamsNotificationChannel{\n\t\t\t\tRecipients: []string{\"string\"},\n\t\t\t},\n\t\t\tThresholdAmount: 0,\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectSpendAlert.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.projects.spendalerts.ProjectSpendAlert; + + import + com.openai.models.admin.organization.projects.spendalerts.SpendAlertCreateParams; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + SpendAlertCreateParams params = SpendAlertCreateParams.builder() + .projectId("project_id") + .currency(SpendAlertCreateParams.Currency.USD) + .interval(SpendAlertCreateParams.Interval.MONTH) + .notificationChannel(SpendAlertCreateParams.NotificationChannel.builder() + .addRecipient("string") + .build()) + .thresholdAmount(0L) + .build(); + ProjectSpendAlert projectSpendAlert = client.admin().organization().projects().spendAlerts().create(params); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + project_spend_alert = + openai.admin.organization.projects.spend_alerts.create( + "project_id", + currency: :USD, + interval: :month, + notification_channel: {recipients: ["string"], type: :email}, + threshold_amount: 0 + ) + + + puts(project_spend_alert) + response: | + { + "id": "alert_abc123", + "object": "project.spend_alert", + "threshold_amount": 100000, + "currency": "USD", + "interval": "month", + "notification_channel": { + "type": "email", + "recipients": ["finance@example.com"], + "subject_prefix": "OpenAI spend alert" + } + } + /organization/projects/{project_id}/spend_alerts/{alert_id}: + post: + security: + - AdminApiKeyAuth: [] + summary: Updates a project spend alert. + operationId: update-project-spend-alert + tags: + - Spend alerts + parameters: + - name: project_id + in: path + description: The ID of the project to update. + required: true + schema: + type: string + - name: alert_id + in: path + description: The ID of the spend alert to update. + required: true + schema: + type: string + requestBody: + description: Fields to update on the project spend alert. + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/CreateSpendAlertBody' + responses: + '200': + description: Project spend alert updated successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectSpendAlert' + x-oaiMeta: + name: Update project spend alert + group: administration + examples: + request: + curl: > + curl -X POST + https://api.openai.com/v1/organization/projects/proj_abc/spend_alerts/alert_abc123 + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" \ + -d '{ + "threshold_amount": 150000, + "currency": "USD", + "interval": "month", + "notification_channel": { + "type": "email", + "recipients": ["finance@example.com"], + "subject_prefix": "OpenAI spend alert" + } + }' + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const projectSpendAlert = await + client.admin.organization.projects.spendAlerts.update('alert_id', + { + project_id: 'project_id', + currency: 'USD', + interval: 'month', + notification_channel: { recipients: ['string'], type: 'email' }, + threshold_amount: 0, + }); + + + console.log(projectSpendAlert.id); + python: >- + import os + + from openai import OpenAI + + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + + project_spend_alert = + client.admin.organization.projects.spend_alerts.update( + alert_id="alert_id", + project_id="project_id", + currency="USD", + interval="month", + notification_channel={ + "recipients": ["string"], + "type": "email", + }, + threshold_amount=0, + ) + + print(project_spend_alert.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\tprojectSpendAlert, err := client.Admin.Organization.Projects.SpendAlerts.Update(\n\t\tcontext.TODO(),\n\t\t\"project_id\",\n\t\t\"alert_id\",\n\t\topenai.AdminOrganizationProjectSpendAlertUpdateParams{\n\t\t\tCurrency: openai.AdminOrganizationProjectSpendAlertUpdateParamsCurrencyUsd,\n\t\t\tInterval: openai.AdminOrganizationProjectSpendAlertUpdateParamsIntervalMonth,\n\t\t\tNotificationChannel: openai.AdminOrganizationProjectSpendAlertUpdateParamsNotificationChannel{\n\t\t\t\tRecipients: []string{\"string\"},\n\t\t\t},\n\t\t\tThresholdAmount: 0,\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectSpendAlert.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.projects.spendalerts.ProjectSpendAlert; + + import + com.openai.models.admin.organization.projects.spendalerts.SpendAlertUpdateParams; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + SpendAlertUpdateParams params = SpendAlertUpdateParams.builder() + .projectId("project_id") + .alertId("alert_id") + .currency(SpendAlertUpdateParams.Currency.USD) + .interval(SpendAlertUpdateParams.Interval.MONTH) + .notificationChannel(SpendAlertUpdateParams.NotificationChannel.builder() + .addRecipient("string") + .build()) + .thresholdAmount(0L) + .build(); + ProjectSpendAlert projectSpendAlert = client.admin().organization().projects().spendAlerts().update(params); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + project_spend_alert = + openai.admin.organization.projects.spend_alerts.update( + "alert_id", + project_id: "project_id", + currency: :USD, + interval: :month, + notification_channel: {recipients: ["string"], type: :email}, + threshold_amount: 0 + ) + + + puts(project_spend_alert) + response: | + { + "id": "alert_abc123", + "object": "project.spend_alert", + "threshold_amount": 150000, + "currency": "USD", + "interval": "month", + "notification_channel": { + "type": "email", + "recipients": ["finance@example.com"], + "subject_prefix": "OpenAI spend alert" + } + } + delete: + security: + - AdminApiKeyAuth: [] + summary: Deletes a project spend alert. + operationId: delete-project-spend-alert + tags: + - Spend alerts + parameters: + - name: project_id + in: path + description: The ID of the project to update. + required: true + schema: + type: string + - name: alert_id + in: path + description: The ID of the spend alert to delete. + required: true + schema: + type: string + responses: + '200': + description: Project spend alert deleted successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectSpendAlertDeletedResource' + x-oaiMeta: + name: Delete project spend alert + group: administration + examples: + request: + curl: > + curl -X DELETE + https://api.openai.com/v1/organization/projects/proj_abc/spend_alerts/alert_abc123 + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const projectSpendAlertDeleted = await + client.admin.organization.projects.spendAlerts.delete( + 'alert_id', + { project_id: 'project_id' }, + ); + + + console.log(projectSpendAlertDeleted.id); + python: >- + import os + + from openai import OpenAI + + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + + project_spend_alert_deleted = + client.admin.organization.projects.spend_alerts.delete( + alert_id="alert_id", + project_id="project_id", + ) + + print(project_spend_alert_deleted.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\tprojectSpendAlertDeleted, err := client.Admin.Organization.Projects.SpendAlerts.Delete(\n\t\tcontext.TODO(),\n\t\t\"project_id\",\n\t\t\"alert_id\",\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", projectSpendAlertDeleted.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.projects.spendalerts.ProjectSpendAlertDeleted; + + import + com.openai.models.admin.organization.projects.spendalerts.SpendAlertDeleteParams; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + SpendAlertDeleteParams params = SpendAlertDeleteParams.builder() + .projectId("project_id") + .alertId("alert_id") + .build(); + ProjectSpendAlertDeleted projectSpendAlertDeleted = client.admin().organization().projects().spendAlerts().delete(params); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + project_spend_alert_deleted = + openai.admin.organization.projects.spend_alerts.delete("alert_id", + project_id: "project_id") + + + puts(project_spend_alert_deleted) + response: | + { + "id": "alert_abc123", + "object": "project.spend_alert.deleted", + "deleted": true + } /organization/projects/{project_id}/users: get: security: @@ -21434,6 +23076,107 @@ paths: "predefined_role": false } /organization/roles/{role_id}: + get: + security: + - AdminApiKeyAuth: [] + summary: Retrieves an organization role. + operationId: retrieve-role + tags: + - Roles + parameters: + - name: role_id + in: path + description: The ID of the role to retrieve. + required: true + schema: + type: string + responses: + '200': + description: Role retrieved successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/Role' + x-oaiMeta: + name: Retrieve organization role + group: administration + examples: + request: + curl: > + curl + https://api.openai.com/v1/organization/roles/role_01J1F8ROLE01 \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const role = await + client.admin.organization.roles.retrieve('role_id'); + + + console.log(role.id); + python: |- + import os + from openai import OpenAI + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + role = client.admin.organization.roles.retrieve( + "role_id", + ) + print(role.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\trole, err := client.Admin.Organization.Roles.Get(context.TODO(), \"role_id\")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", role.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import com.openai.models.admin.organization.roles.Role; + + import + com.openai.models.admin.organization.roles.RoleRetrieveParams; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + Role role = client.admin().organization().roles().retrieve("role_id"); + } + } + ruby: |- + require "openai" + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + role = openai.admin.organization.roles.retrieve("role_id") + + puts(role) + response: | + { + "object": "role", + "id": "role_01J1F8ROLE01", + "name": "API Group Manager", + "description": "Allows managing organization groups", + "permissions": [ + "api.groups.read", + "api.groups.write" + ], + "resource_type": "api.organization", + "predefined_role": false + } post: security: - AdminApiKeyAuth: [] @@ -21645,6 +23388,552 @@ paths: "id": "role_01J1F8ROLE01", "deleted": true } + /organization/spend_alerts: + get: + security: + - AdminApiKeyAuth: [] + summary: Lists organization spend alerts. + operationId: list-organization-spend-alerts + tags: + - Spend alerts + parameters: + - name: limit + in: query + description: A limit on the number of spend alerts to return. Defaults to 20. + required: false + schema: + type: integer + minimum: 0 + maximum: 100 + - name: order + in: query + description: Sort order for the returned spend alerts. + required: false + schema: + type: string + enum: + - asc + - desc + default: asc + - name: after + in: query + description: >- + Cursor for pagination. Provide the ID of the last spend alert from + the previous response to fetch the next page. + required: false + schema: + type: string + - name: before + in: query + description: >- + Cursor for pagination. Provide the ID of the first spend alert from + the previous response to fetch the previous page. + required: false + schema: + type: string + responses: + '200': + description: Organization spend alerts listed successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/OrganizationSpendAlertListResource' + x-oaiMeta: + name: List organization spend alerts + group: administration + examples: + request: + curl: > + curl + https://api.openai.com/v1/organization/spend_alerts?limit=20&order=asc + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + // Automatically fetches more pages as needed. + + for await (const organizationSpendAlert of + client.admin.organization.spendAlerts.list()) { + console.log(organizationSpendAlert.id); + } + python: |- + import os + from openai import OpenAI + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + page = client.admin.organization.spend_alerts.list() + page = page.data[0] + print(page.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\tpage, err := client.Admin.Organization.SpendAlerts.List(context.TODO(), openai.AdminOrganizationSpendAlertListParams{})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", page)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.spendalerts.SpendAlertListPage; + + import + com.openai.models.admin.organization.spendalerts.SpendAlertListParams; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + SpendAlertListPage page = client.admin().organization().spendAlerts().list(); + } + } + ruby: |- + require "openai" + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + page = openai.admin.organization.spend_alerts.list + + puts(page) + response: | + { + "object": "list", + "data": [ + { + "id": "alert_abc123", + "object": "organization.spend_alert", + "threshold_amount": 100000, + "currency": "USD", + "interval": "month", + "notification_channel": { + "type": "email", + "recipients": ["finance@example.com"], + "subject_prefix": "OpenAI spend alert" + } + } + ], + "first_id": "alert_abc123", + "last_id": "alert_abc123", + "has_more": false + } + post: + security: + - AdminApiKeyAuth: [] + summary: Creates an organization spend alert. + operationId: create-organization-spend-alert + tags: + - Spend alerts + requestBody: + description: Parameters for the organization spend alert you want to create. + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/CreateSpendAlertBody' + responses: + '200': + description: Organization spend alert created successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/OrganizationSpendAlert' + x-oaiMeta: + name: Create organization spend alert + group: administration + examples: + request: + curl: | + curl -X POST https://api.openai.com/v1/organization/spend_alerts \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" \ + -d '{ + "threshold_amount": 100000, + "currency": "USD", + "interval": "month", + "notification_channel": { + "type": "email", + "recipients": ["finance@example.com"], + "subject_prefix": "OpenAI spend alert" + } + }' + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const organizationSpendAlert = await + client.admin.organization.spendAlerts.create({ + currency: 'USD', + interval: 'month', + notification_channel: { recipients: ['string'], type: 'email' }, + threshold_amount: 0, + }); + + + console.log(organizationSpendAlert.id); + python: >- + import os + + from openai import OpenAI + + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + + organization_spend_alert = + client.admin.organization.spend_alerts.create( + currency="USD", + interval="month", + notification_channel={ + "recipients": ["string"], + "type": "email", + }, + threshold_amount=0, + ) + + print(organization_spend_alert.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\torganizationSpendAlert, err := client.Admin.Organization.SpendAlerts.New(context.TODO(), openai.AdminOrganizationSpendAlertNewParams{\n\t\tCurrency: openai.AdminOrganizationSpendAlertNewParamsCurrencyUsd,\n\t\tInterval: openai.AdminOrganizationSpendAlertNewParamsIntervalMonth,\n\t\tNotificationChannel: openai.AdminOrganizationSpendAlertNewParamsNotificationChannel{\n\t\t\tRecipients: []string{\"string\"},\n\t\t},\n\t\tThresholdAmount: 0,\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", organizationSpendAlert.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.spendalerts.OrganizationSpendAlert; + + import + com.openai.models.admin.organization.spendalerts.SpendAlertCreateParams; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + SpendAlertCreateParams params = SpendAlertCreateParams.builder() + .currency(SpendAlertCreateParams.Currency.USD) + .interval(SpendAlertCreateParams.Interval.MONTH) + .notificationChannel(SpendAlertCreateParams.NotificationChannel.builder() + .addRecipient("string") + .build()) + .thresholdAmount(0L) + .build(); + OrganizationSpendAlert organizationSpendAlert = client.admin().organization().spendAlerts().create(params); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + organization_spend_alert = + openai.admin.organization.spend_alerts.create( + currency: :USD, + interval: :month, + notification_channel: {recipients: ["string"], type: :email}, + threshold_amount: 0 + ) + + + puts(organization_spend_alert) + response: | + { + "id": "alert_abc123", + "object": "organization.spend_alert", + "threshold_amount": 100000, + "currency": "USD", + "interval": "month", + "notification_channel": { + "type": "email", + "recipients": ["finance@example.com"], + "subject_prefix": "OpenAI spend alert" + } + } + /organization/spend_alerts/{alert_id}: + post: + security: + - AdminApiKeyAuth: [] + summary: Updates an organization spend alert. + operationId: update-organization-spend-alert + tags: + - Spend alerts + parameters: + - name: alert_id + in: path + description: The ID of the spend alert to update. + required: true + schema: + type: string + requestBody: + description: Fields to update on the organization spend alert. + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/CreateSpendAlertBody' + responses: + '200': + description: Organization spend alert updated successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/OrganizationSpendAlert' + x-oaiMeta: + name: Update organization spend alert + group: administration + examples: + request: + curl: > + curl -X POST + https://api.openai.com/v1/organization/spend_alerts/alert_abc123 \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" \ + -d '{ + "threshold_amount": 150000, + "currency": "USD", + "interval": "month", + "notification_channel": { + "type": "email", + "recipients": ["finance@example.com"], + "subject_prefix": "OpenAI spend alert" + } + }' + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const organizationSpendAlert = await + client.admin.organization.spendAlerts.update('alert_id', { + currency: 'USD', + interval: 'month', + notification_channel: { recipients: ['string'], type: 'email' }, + threshold_amount: 0, + }); + + + console.log(organizationSpendAlert.id); + python: >- + import os + + from openai import OpenAI + + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + + organization_spend_alert = + client.admin.organization.spend_alerts.update( + alert_id="alert_id", + currency="USD", + interval="month", + notification_channel={ + "recipients": ["string"], + "type": "email", + }, + threshold_amount=0, + ) + + print(organization_spend_alert.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\torganizationSpendAlert, err := client.Admin.Organization.SpendAlerts.Update(\n\t\tcontext.TODO(),\n\t\t\"alert_id\",\n\t\topenai.AdminOrganizationSpendAlertUpdateParams{\n\t\t\tCurrency: openai.AdminOrganizationSpendAlertUpdateParamsCurrencyUsd,\n\t\t\tInterval: openai.AdminOrganizationSpendAlertUpdateParamsIntervalMonth,\n\t\t\tNotificationChannel: openai.AdminOrganizationSpendAlertUpdateParamsNotificationChannel{\n\t\t\t\tRecipients: []string{\"string\"},\n\t\t\t},\n\t\t\tThresholdAmount: 0,\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", organizationSpendAlert.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.spendalerts.OrganizationSpendAlert; + + import + com.openai.models.admin.organization.spendalerts.SpendAlertUpdateParams; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + SpendAlertUpdateParams params = SpendAlertUpdateParams.builder() + .alertId("alert_id") + .currency(SpendAlertUpdateParams.Currency.USD) + .interval(SpendAlertUpdateParams.Interval.MONTH) + .notificationChannel(SpendAlertUpdateParams.NotificationChannel.builder() + .addRecipient("string") + .build()) + .thresholdAmount(0L) + .build(); + OrganizationSpendAlert organizationSpendAlert = client.admin().organization().spendAlerts().update(params); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + organization_spend_alert = + openai.admin.organization.spend_alerts.update( + "alert_id", + currency: :USD, + interval: :month, + notification_channel: {recipients: ["string"], type: :email}, + threshold_amount: 0 + ) + + + puts(organization_spend_alert) + response: | + { + "id": "alert_abc123", + "object": "organization.spend_alert", + "threshold_amount": 150000, + "currency": "USD", + "interval": "month", + "notification_channel": { + "type": "email", + "recipients": ["finance@example.com"], + "subject_prefix": "OpenAI spend alert" + } + } + delete: + security: + - AdminApiKeyAuth: [] + summary: Deletes an organization spend alert. + operationId: delete-organization-spend-alert + tags: + - Spend alerts + parameters: + - name: alert_id + in: path + description: The ID of the spend alert to delete. + required: true + schema: + type: string + responses: + '200': + description: Organization spend alert deleted successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/OrganizationSpendAlertDeletedResource' + x-oaiMeta: + name: Delete organization spend alert + group: administration + examples: + request: + curl: > + curl -X DELETE + https://api.openai.com/v1/organization/spend_alerts/alert_abc123 \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const organizationSpendAlertDeleted = await + client.admin.organization.spendAlerts.delete( + 'alert_id', + ); + + + console.log(organizationSpendAlertDeleted.id); + python: >- + import os + + from openai import OpenAI + + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + + organization_spend_alert_deleted = + client.admin.organization.spend_alerts.delete( + "alert_id", + ) + + print(organization_spend_alert_deleted.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\torganizationSpendAlertDeleted, err := client.Admin.Organization.SpendAlerts.Delete(context.TODO(), \"alert_id\")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", organizationSpendAlertDeleted.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.spendalerts.OrganizationSpendAlertDeleted; + + import + com.openai.models.admin.organization.spendalerts.SpendAlertDeleteParams; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + OrganizationSpendAlertDeleted organizationSpendAlertDeleted = client.admin().organization().spendAlerts().delete("alert_id"); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + organization_spend_alert_deleted = + openai.admin.organization.spend_alerts.delete("alert_id") + + + puts(organization_spend_alert_deleted) + response: | + { + "id": "alert_abc123", + "object": "organization.spend_alert.deleted", + "deleted": true + } /organization/usage/audio_speeches: get: security: @@ -24442,6 +26731,131 @@ paths: } } /organization/users/{user_id}/roles/{role_id}: + get: + security: + - AdminApiKeyAuth: [] + summary: Retrieves an organization role assigned to a user. + operationId: retrieve-user-role + tags: + - User organization role assignments + parameters: + - name: user_id + in: path + description: The ID of the user to inspect. + required: true + schema: + type: string + - name: role_id + in: path + description: The ID of the organization role to retrieve for the user. + required: true + schema: + type: string + responses: + '200': + description: Organization role retrieved for the user successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/AssignedRoleDetails' + x-oaiMeta: + name: Retrieve user organization role + group: administration + examples: + request: + curl: > + curl + https://api.openai.com/v1/organization/users/user_abc123/roles/role_01J1F8ROLE01 + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const role = await + client.admin.organization.users.roles.retrieve('role_id', { + user_id: 'user_id', + }); + + + console.log(role.id); + python: |- + import os + from openai import OpenAI + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + role = client.admin.organization.users.roles.retrieve( + role_id="role_id", + user_id="user_id", + ) + print(role.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\trole, err := client.Admin.Organization.Users.Roles.Get(\n\t\tcontext.TODO(),\n\t\t\"user_id\",\n\t\t\"role_id\",\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", role.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.users.roles.RoleRetrieveParams; + + import + com.openai.models.admin.organization.users.roles.RoleRetrieveResponse; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + RoleRetrieveParams params = RoleRetrieveParams.builder() + .userId("user_id") + .roleId("role_id") + .build(); + RoleRetrieveResponse role = client.admin().organization().users().roles().retrieve(params); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + role = openai.admin.organization.users.roles.retrieve("role_id", + user_id: "user_id") + + + puts(role) + response: | + { + "id": "role_01J1F8ROLE01", + "name": "API Group Manager", + "permissions": [ + "api.groups.read", + "api.groups.write" + ], + "resource_type": "api.organization", + "predefined_role": false, + "description": "Allows managing organization groups", + "created_at": 1711471533, + "updated_at": 1711472599, + "created_by": "user_abc123", + "created_by_user_obj": null, + "metadata": {}, + "assignment_sources": null + } delete: security: - AdminApiKeyAuth: [] @@ -24863,6 +27277,141 @@ paths: } } /projects/{project_id}/groups/{group_id}/roles/{role_id}: + get: + security: + - AdminApiKeyAuth: [] + summary: Retrieves a project role assigned to a group. + operationId: retrieve-project-group-role + tags: + - Project group role assignments + parameters: + - name: project_id + in: path + description: The ID of the project to inspect. + required: true + schema: + type: string + - name: group_id + in: path + description: The ID of the group to inspect. + required: true + schema: + type: string + - name: role_id + in: path + description: The ID of the project role to retrieve for the group. + required: true + schema: + type: string + responses: + '200': + description: Project role retrieved for the group successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/AssignedRoleDetails' + x-oaiMeta: + name: Retrieve project group role + group: administration + examples: + request: + curl: > + curl + https://api.openai.com/v1/projects/proj_abc123/groups/group_01J1F8ABCDXYZ/roles/role_01J1F8PROJ + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const role = await + client.admin.organization.projects.groups.roles.retrieve('role_id', + { + project_id: 'project_id', + group_id: 'group_id', + }); + + + console.log(role.id); + python: |- + import os + from openai import OpenAI + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + role = client.admin.organization.projects.groups.roles.retrieve( + role_id="role_id", + project_id="project_id", + group_id="group_id", + ) + print(role.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\trole, err := client.Admin.Organization.Projects.Groups.Roles.Get(\n\t\tcontext.TODO(),\n\t\t\"project_id\",\n\t\t\"group_id\",\n\t\t\"role_id\",\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", role.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.projects.groups.roles.RoleRetrieveParams; + + import + com.openai.models.admin.organization.projects.groups.roles.RoleRetrieveResponse; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + RoleRetrieveParams params = RoleRetrieveParams.builder() + .projectId("project_id") + .groupId("group_id") + .roleId("role_id") + .build(); + RoleRetrieveResponse role = client.admin().organization().projects().groups().roles().retrieve(params); + } + } + ruby: |- + require "openai" + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + role = openai.admin.organization.projects.groups.roles.retrieve( + "role_id", + project_id: "project_id", + group_id: "group_id" + ) + + puts(role) + response: | + { + "id": "role_01J1F8PROJ", + "name": "API Project Key Manager", + "permissions": [ + "api.organization.projects.api_keys.read", + "api.organization.projects.api_keys.write" + ], + "resource_type": "api.project", + "predefined_role": false, + "description": "Allows managing API keys for the project", + "created_at": 1711471533, + "updated_at": 1711472599, + "created_by": "user_abc123", + "created_by_user_obj": null, + "metadata": {}, + "assignment_sources": null + } delete: security: - AdminApiKeyAuth: [] @@ -25255,6 +27804,126 @@ paths: "predefined_role": false } /projects/{project_id}/roles/{role_id}: + get: + security: + - AdminApiKeyAuth: [] + summary: Retrieves a project role. + operationId: retrieve-project-role + tags: + - Roles + parameters: + - name: project_id + in: path + description: The ID of the project. + required: true + schema: + type: string + - name: role_id + in: path + description: The ID of the role to retrieve. + required: true + schema: + type: string + responses: + '200': + description: Project role retrieved successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/Role' + x-oaiMeta: + name: Retrieve project role + group: administration + examples: + request: + curl: > + curl + https://api.openai.com/v1/projects/proj_abc123/roles/role_01J1F8PROJ + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const role = await + client.admin.organization.projects.roles.retrieve('role_id', { + project_id: 'project_id', + }); + + + console.log(role.id); + python: |- + import os + from openai import OpenAI + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + role = client.admin.organization.projects.roles.retrieve( + role_id="role_id", + project_id="project_id", + ) + print(role.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\trole, err := client.Admin.Organization.Projects.Roles.Get(\n\t\tcontext.TODO(),\n\t\t\"project_id\",\n\t\t\"role_id\",\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", role.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.projects.roles.RoleRetrieveParams; + + import com.openai.models.admin.organization.roles.Role; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + RoleRetrieveParams params = RoleRetrieveParams.builder() + .projectId("project_id") + .roleId("role_id") + .build(); + Role role = client.admin().organization().projects().roles().retrieve(params); + } + } + ruby: >- + require "openai" + + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + + role = + openai.admin.organization.projects.roles.retrieve("role_id", + project_id: "project_id") + + + puts(role) + response: | + { + "object": "role", + "id": "role_01J1F8PROJ", + "name": "API Project Key Manager", + "description": "Allows managing API keys for the project", + "permissions": [ + "api.organization.projects.api_keys.read", + "api.organization.projects.api_keys.write" + ], + "resource_type": "api.project", + "predefined_role": false + } post: security: - AdminApiKeyAuth: [] @@ -25812,6 +28481,141 @@ paths: } } /projects/{project_id}/users/{user_id}/roles/{role_id}: + get: + security: + - AdminApiKeyAuth: [] + summary: Retrieves a project role assigned to a user. + operationId: retrieve-project-user-role + tags: + - Project user role assignments + parameters: + - name: project_id + in: path + description: The ID of the project to inspect. + required: true + schema: + type: string + - name: user_id + in: path + description: The ID of the user to inspect. + required: true + schema: + type: string + - name: role_id + in: path + description: The ID of the project role to retrieve for the user. + required: true + schema: + type: string + responses: + '200': + description: Project role retrieved for the user successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/AssignedRoleDetails' + x-oaiMeta: + name: Retrieve project user role + group: administration + examples: + request: + curl: > + curl + https://api.openai.com/v1/projects/proj_abc123/users/user_abc123/roles/role_01J1F8PROJ + \ + -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \ + -H "Content-Type: application/json" + node.js: >- + import OpenAI from 'openai'; + + + const client = new OpenAI({ + adminAPIKey: process.env['OPENAI_ADMIN_KEY'], // This is the default and can be omitted + }); + + + const role = await + client.admin.organization.projects.users.roles.retrieve('role_id', + { + project_id: 'project_id', + user_id: 'user_id', + }); + + + console.log(role.id); + python: |- + import os + from openai import OpenAI + + client = OpenAI( + admin_api_key=os.environ.get("OPENAI_ADMIN_KEY"), # This is the default and can be omitted + ) + role = client.admin.organization.projects.users.roles.retrieve( + role_id="role_id", + project_id="project_id", + user_id="user_id", + ) + print(role.id) + go: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/openai/openai-go\"\n\t\"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n\tclient := openai.NewClient(\n\t\toption.WithAdminAPIKey(\"My Admin API Key\"),\n\t)\n\trole, err := client.Admin.Organization.Projects.Users.Roles.Get(\n\t\tcontext.TODO(),\n\t\t\"project_id\",\n\t\t\"user_id\",\n\t\t\"role_id\",\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", role.ID)\n}\n" + java: >- + package com.openai.example; + + + import com.openai.client.OpenAIClient; + + import com.openai.client.okhttp.OpenAIOkHttpClient; + + import + com.openai.models.admin.organization.projects.users.roles.RoleRetrieveParams; + + import + com.openai.models.admin.organization.projects.users.roles.RoleRetrieveResponse; + + + public final class Main { + private Main() {} + + public static void main(String[] args) { + OpenAIClient client = OpenAIOkHttpClient.fromEnv(); + + RoleRetrieveParams params = RoleRetrieveParams.builder() + .projectId("project_id") + .userId("user_id") + .roleId("role_id") + .build(); + RoleRetrieveResponse role = client.admin().organization().projects().users().roles().retrieve(params); + } + } + ruby: |- + require "openai" + + openai = OpenAI::Client.new(admin_api_key: "My Admin API Key") + + role = openai.admin.organization.projects.users.roles.retrieve( + "role_id", + project_id: "project_id", + user_id: "user_id" + ) + + puts(role) + response: | + { + "id": "role_01J1F8PROJ", + "name": "API Project Key Manager", + "permissions": [ + "api.organization.projects.api_keys.read", + "api.organization.projects.api_keys.write" + ], + "resource_type": "api.project", + "predefined_role": false, + "description": "Allows managing API keys for the project", + "created_at": 1711471533, + "updated_at": 1711472599, + "created_by": "user_abc123", + "created_by_user_obj": null, + "metadata": {}, + "assignment_sources": null + } delete: security: - AdminApiKeyAuth: [] @@ -39541,7 +42345,7 @@ components: description: When the role was last updated. anyOf: - type: integer - format: int64 + format: unixtime - type: 'null' created_by: description: Identifier of the actor who created the role. @@ -39560,6 +42364,23 @@ components: - type: object additionalProperties: true - type: 'null' + assignment_sources: + description: >- + Principals from which the role assignment is inherited, when + available. + anyOf: + - type: array + items: + type: object + properties: + principal_id: + type: string + principal_type: + type: string + required: + - principal_id + - principal_type + - type: 'null' required: - id - name @@ -39572,6 +42393,7 @@ components: - created_by - created_by_user_obj - metadata + - assignment_sources AssistantObject: type: object title: Assistant @@ -47143,6 +49965,31 @@ components: - $ref: '#/components/schemas/SpeechAudioDoneEvent' discriminator: propertyName: type + CreateSpendAlertBody: + type: object + description: Parameters for creating or updating a spend alert. + properties: + threshold_amount: + type: integer + minimum: 0 + description: The alert threshold amount, in cents. + currency: + type: string + enum: + - USD + description: The currency for the threshold amount. + interval: + type: string + enum: + - month + description: The time interval for evaluating spend against the threshold. + notification_channel: + $ref: '#/components/schemas/SpendAlertNotificationChannel' + required: + - threshold_amount + - currency + - interval + - notification_channel CreateThreadAndRunRequest: type: object additionalProperties: false @@ -51878,6 +54725,57 @@ components: "has_more": false, "next": null } + GroupMemberUser: + type: object + description: >- + Details about a user returned from an organization group membership + lookup. + properties: + id: + type: string + description: Identifier for the user. + name: + type: string + description: Display name of the user. + email: + description: Email address of the user, or `null` for users without an email. + anyOf: + - type: string + - type: 'null' + picture: + description: URL of the user's profile picture, if available. + anyOf: + - type: string + - type: 'null' + is_service_account: + description: Whether the user is a service account. + anyOf: + - type: boolean + - type: 'null' + user_type: + type: string + enum: + - user + - tenant_user + description: The type of user. + required: + - id + - name + - email + - picture + - is_service_account + - user_type + x-oaiMeta: + name: The group member user object + example: | + { + "id": "user_abc123", + "name": "Ada Lovelace", + "email": "ada@example.com", + "picture": null, + "is_service_account": false, + "user_type": "user" + } GroupResourceWithSuccess: type: object description: Response returned after updating a group. @@ -51931,6 +54829,9 @@ components: identity provider. group_type: type: string + enum: + - group + - tenant_group description: The type of the group. required: - id @@ -55487,6 +58388,34 @@ components: required: - object - data + OrganizationDataRetention: + type: object + description: Represents the organization's data retention control setting. + properties: + object: + type: string + enum: + - organization.data_retention + description: The object type, which is always `organization.data_retention`. + x-stainless-const: true + type: + type: string + enum: + - zero_data_retention + - modified_abuse_monitoring + - enhanced_zero_data_retention + - enhanced_modified_abuse_monitoring + description: The configured organization data retention type. + required: + - object + - type + x-oaiMeta: + name: The organization data retention object + example: | + { + "object": "organization.data_retention", + "type": "modified_abuse_monitoring" + } OrganizationProjectCertificate: type: object description: Represents an individual certificate configured at the project level. @@ -55566,6 +58495,112 @@ components: required: - object - data + OrganizationSpendAlert: + type: object + description: Represents a spend alert configured at the organization level. + properties: + id: + type: string + description: The identifier, which can be referenced in API endpoints. + object: + type: string + enum: + - organization.spend_alert + description: The object type, which is always `organization.spend_alert`. + x-stainless-const: true + threshold_amount: + type: integer + description: The alert threshold amount, in cents. + currency: + type: string + enum: + - USD + description: The currency for the threshold amount. + interval: + type: string + enum: + - month + description: The time interval for evaluating spend against the threshold. + notification_channel: + $ref: '#/components/schemas/SpendAlertNotificationChannel' + required: + - id + - object + - threshold_amount + - currency + - interval + - notification_channel + x-oaiMeta: + name: The organization spend alert object + example: | + { + "id": "alert_abc123", + "object": "organization.spend_alert", + "threshold_amount": 100000, + "currency": "USD", + "interval": "month", + "notification_channel": { + "type": "email", + "recipients": ["finance@example.com"], + "subject_prefix": "OpenAI spend alert" + } + } + OrganizationSpendAlertDeletedResource: + type: object + description: >- + Confirmation payload returned after deleting an organization spend + alert. + properties: + id: + type: string + description: The deleted spend alert ID. + object: + type: string + enum: + - organization.spend_alert.deleted + description: Always `organization.spend_alert.deleted`. + x-stainless-const: true + deleted: + type: boolean + description: Whether the spend alert was deleted. + required: + - id + - object + - deleted + OrganizationSpendAlertListResource: + type: object + description: Paginated list of organization spend alerts. + properties: + object: + type: string + enum: + - list + description: Always `list`. + x-stainless-const: true + data: + type: array + description: Spend alerts returned in the current page. + items: + $ref: '#/components/schemas/OrganizationSpendAlert' + first_id: + anyOf: + - type: string + - type: 'null' + description: The ID of the first spend alert in this page. + last_id: + anyOf: + - type: string + - type: 'null' + description: The ID of the last spend alert in this page. + has_more: + type: boolean + description: Whether more spend alerts are available when paginating. + required: + - object + - data + - first_id + - last_id + - has_more OtherChunkingStrategyResponseParam: type: object title: Other Chunking Strategy @@ -56016,6 +59051,36 @@ components: description: External key ID to associate with the project. required: - name + ProjectDataRetention: + type: object + description: Represents a project's data retention control setting. + properties: + object: + type: string + enum: + - project.data_retention + description: The object type, which is always `project.data_retention`. + x-stainless-const: true + type: + type: string + enum: + - organization_default + - none + - zero_data_retention + - modified_abuse_monitoring + - enhanced_zero_data_retention + - enhanced_modified_abuse_monitoring + description: The configured project data retention type. + required: + - object + - type + x-oaiMeta: + name: The project data retention object + example: | + { + "object": "project.data_retention", + "type": "organization_default" + } ProjectGroup: type: object description: Details about a group's membership in a project. @@ -56037,6 +59102,9 @@ components: description: Display name of the group. group_type: type: string + enum: + - group + - tenant_group description: The type of the group. created_at: type: integer @@ -56564,6 +59632,110 @@ components: - object - data - has_more + ProjectSpendAlert: + type: object + description: Represents a spend alert configured at the project level. + properties: + id: + type: string + description: The identifier, which can be referenced in API endpoints. + object: + type: string + enum: + - project.spend_alert + description: The object type, which is always `project.spend_alert`. + x-stainless-const: true + threshold_amount: + type: integer + description: The alert threshold amount, in cents. + currency: + type: string + enum: + - USD + description: The currency for the threshold amount. + interval: + type: string + enum: + - month + description: The time interval for evaluating spend against the threshold. + notification_channel: + $ref: '#/components/schemas/SpendAlertNotificationChannel' + required: + - id + - object + - threshold_amount + - currency + - interval + - notification_channel + x-oaiMeta: + name: The project spend alert object + example: | + { + "id": "alert_abc123", + "object": "project.spend_alert", + "threshold_amount": 100000, + "currency": "USD", + "interval": "month", + "notification_channel": { + "type": "email", + "recipients": ["finance@example.com"], + "subject_prefix": "OpenAI spend alert" + } + } + ProjectSpendAlertDeletedResource: + type: object + description: Confirmation payload returned after deleting a project spend alert. + properties: + id: + type: string + description: The deleted spend alert ID. + object: + type: string + enum: + - project.spend_alert.deleted + description: Always `project.spend_alert.deleted`. + x-stainless-const: true + deleted: + type: boolean + description: Whether the spend alert was deleted. + required: + - id + - object + - deleted + ProjectSpendAlertListResource: + type: object + description: Paginated list of project spend alerts. + properties: + object: + type: string + enum: + - list + description: Always `list`. + x-stainless-const: true + data: + type: array + description: Spend alerts returned in the current page. + items: + $ref: '#/components/schemas/ProjectSpendAlert' + first_id: + anyOf: + - type: string + - type: 'null' + description: The ID of the first spend alert in this page. + last_id: + anyOf: + - type: string + - type: 'null' + description: The ID of the last spend alert in this page. + has_more: + type: boolean + description: Whether more spend alerts are available when paginating. + required: + - object + - data + - first_id + - last_id + - has_more ProjectUpdateRequest: type: object properties: @@ -70887,7 +74059,8 @@ components: "name": "Ada Lovelace", "email": "ada@example.com" }, - "metadata": {} + "metadata": {}, + "assignment_sources": null } ], "has_more": false, @@ -72416,6 +75589,29 @@ components: "total_tokens": 115 } } + SpendAlertNotificationChannel: + type: object + description: Email notification settings for a spend alert. + properties: + type: + type: string + enum: + - email + description: The notification channel type. Currently only `email` is supported. + x-stainless-const: true + recipients: + type: array + description: Email addresses that receive the spend alert notification. + items: + type: string + subject_prefix: + anyOf: + - type: string + - type: 'null' + description: Optional subject prefix for alert emails. + required: + - type + - recipients StaticChunkingStrategy: type: object additionalProperties: false @@ -73356,6 +76552,49 @@ components: { "name": "Escalations" } + UpdateOrganizationDataRetentionBody: + type: object + description: Parameters for updating organization data retention controls. + properties: + retention_type: + type: string + enum: + - zero_data_retention + - modified_abuse_monitoring + - enhanced_zero_data_retention + - enhanced_modified_abuse_monitoring + description: The desired organization data retention type. + required: + - retention_type + UpdateProjectDataRetentionBody: + type: object + description: Parameters for updating project data retention controls. + properties: + retention_type: + type: string + enum: + - organization_default + - none + - zero_data_retention + - modified_abuse_monitoring + - enhanced_zero_data_retention + - enhanced_modified_abuse_monitoring + description: The desired project data retention type. + required: + - retention_type + UpdateProjectServiceAccountBody: + type: object + description: Parameters for updating a project service account. + properties: + name: + type: string + description: The updated service account name. + role: + type: string + enum: + - member + - owner + description: The updated service account role. UpdateVectorStoreFileAttributesRequest: type: object additionalProperties: false @@ -75313,7 +78552,7 @@ components: enum: - open_page description: | - The action type. Always `open_page`. + The action type. x-stainless-const: true url: description: |