From 645dbb1b36161713a9c28073856dc102cc20c90b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 29 Oct 2026 00:41:42 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../OpenRouter.GuardrailsClient.Create.g.cs | 6 + .../OpenRouter.GuardrailsClient.Update.g.cs | 6 + .../OpenRouter.IGuardrailsClient.Create.g.cs | 5 + .../OpenRouter.IGuardrailsClient.Update.g.cs | 5 + .../OpenRouter.IOpenRouterClient.g.cs | 5 + ...er.IOrganizationClient.UpdateSettings.g.cs | 2 +- ...Router.IPrivateEndpointsClient.Create.g.cs | 11 +- ...Router.IPrivateEndpointsClient.Update.g.cs | 23 +- ...ivateEndpointsClient.UpdateParameters.g.cs | 64 - ...IPrivateEndpointsClient.UpdatePricing.g.cs | 64 - ...Router.IPrivateProvidersClient.Create.g.cs | 69 + ...Router.IPrivateProvidersClient.Delete.g.cs | 36 + ...penRouter.IPrivateProvidersClient.Get.g.cs | 36 + ...enRouter.IPrivateProvidersClient.List.g.cs | 28 + ...Router.IPrivateProvidersClient.Update.g.cs | 67 + .../OpenRouter.IPrivateProvidersClient.g.cs | 53 + ...er.IVaultClient.ListInternConnections.g.cs | 4 +- ...onverters.PrivateEndpointQuantization.g.cs | 48 + ...s.PrivateEndpointQuantizationNullable.g.cs | 55 + ...ivateEndpointReasoningReturnMechanism.g.cs | 48 + ...pointReasoningReturnMechanismNullable.g.cs | 55 + ...vateEndpointSettingsExcludedParameter.g.cs | 48 + ...ointSettingsExcludedParameterNullable.g.cs | 55 + ...pointSettingsRequestExcludedParameter.g.cs | 48 + ...tingsRequestExcludedParameterNullable.g.cs | 55 + ...ltRoutingTableCustomOriginStatusState.g.cs | 48 + ...gTableCustomOriginStatusStateNullable.g.cs | 55 + ...TableGithubAppInstallationAccountType.g.cs | 48 + ...hubAppInstallationAccountTypeNullable.g.cs | 55 + ...ithubAppInstallationCoverageSelection.g.cs | 48 + ...InstallationCoverageSelectionNullable.g.cs | 55 + ...gTableGithubAppInstallationShadowedBy.g.cs | 48 + ...thubAppInstallationShadowedByNullable.g.cs | 55 + ...ultRoutingTableGithubAppMemberLinkVia.g.cs | 48 + ...ngTableGithubAppMemberLinkViaNullable.g.cs | 55 + ...rters.VaultRoutingTableGithubAppScope.g.cs | 48 + ...ultRoutingTableGithubAppScopeNullable.g.cs | 55 + ...ers.VaultRoutingTableGithubTokenScope.g.cs | 48 + ...tRoutingTableGithubTokenScopeNullable.g.cs | 55 + ...s.VaultRoutingTableGoogleAccountScope.g.cs | 48 + ...outingTableGoogleAccountScopeNullable.g.cs | 55 + ...VaultRoutingTableMcpOriginStatusState.g.cs | 48 + ...tingTableMcpOriginStatusStateNullable.g.cs | 55 + ...nverters.VaultRoutingTableSecretScope.g.cs | 48 + ....VaultRoutingTableSecretScopeNullable.g.cs | 55 + .../OpenRouter.JsonSerializerContext.g.cs | 1077 +++-- ...OpenRouter.JsonSerializerContextTypes.g.cs | 4034 +++++++++-------- ...penRouter.Models.ChatDeveloperMessage.g.cs | 4 +- .../OpenRouter.Models.ChatSystemMessage.g.cs | 4 +- ....ChatSystemMessageConfigurationUpdate.g.cs | 51 - ...uter.Models.ConfigurationUpdate3.Json.g.cs | 141 + ...enRouter.Models.ConfigurationUpdate3.g.cs} | 12 +- ...nRouter.Models.CreateGuardrailRequest.g.cs | 14 + ...r.Models.CreatePrivateEndpointRequest.g.cs | 16 +- ...els.CreatePrivateProviderRequest.Json.g.cs | 141 + ...r.Models.CreatePrivateProviderRequest.g.cs | 106 + ...ls.CreatePrivateProviderResponse.Json.g.cs | 141 + ....Models.CreatePrivateProviderResponse.g.cs | 48 + ...ls.DeletePrivateProviderResponse.Json.g.cs | 141 + ....Models.DeletePrivateProviderResponse.g.cs | 45 + ...letePrivateProviderResponseData.Json.g.cs} | 26 +- ...els.DeletePrivateProviderResponseData.g.cs | 50 + ...odels.GetPrivateProviderResponse.Json.g.cs | 141 + ...ter.Models.GetPrivateProviderResponse.g.cs | 48 + .../OpenRouter.Models.Guardrail.g.cs | 14 + ....Models.ListInternConnectionsResponse.g.cs | 24 +- ...els.ListPrivateProvidersResponse.Json.g.cs | 141 + ...r.Models.ListPrivateProvidersResponse.g.cs | 45 + ...penRouter.Models.OrganizationSettings.g.cs | 4 +- .../OpenRouter.Models.PrivateEndpoint.g.cs | 17 +- ...er.Models.PrivateEndpointQuantization.g.cs | 191 + ...ivateEndpointReasoningReturnMechanism.g.cs | 135 + ...Router.Models.PrivateEndpointResponse.g.cs | 6 +- ...r.Models.PrivateEndpointSettings.Json.g.cs | 141 + ...Router.Models.PrivateEndpointSettings.g.cs | 149 + ...ivateEndpointSettingsCompletions.Json.g.cs | 141 + ...ls.PrivateEndpointSettingsCompletions.g.cs | 57 + ...vateEndpointSettingsExcludedParameter.g.cs | 288 ++ ...ls.PrivateEndpointSettingsInputs.Json.g.cs | 141 + ....Models.PrivateEndpointSettingsInputs.g.cs | 90 + ...PrivateEndpointSettingsReasoning.Json.g.cs | 141 + ...dels.PrivateEndpointSettingsReasoning.g.cs | 65 + ...rivateEndpointSettingsToolChoice.Json.g.cs | 141 + ...els.PrivateEndpointSettingsToolChoice.g.cs | 83 + ...penRouter.Models.PrivateProvider.Json.g.cs | 141 + .../OpenRouter.Models.PrivateProvider.g.cs | 113 + ...Models.PrivateProviderDataPolicy.Json.g.cs | 141 + ...uter.Models.PrivateProviderDataPolicy.g.cs | 70 + ...odels.PrivateProviderDataPolicy2.Json.g.cs | 141 + ...ter.Models.PrivateProviderDataPolicy2.g.cs | 71 + ...nRouter.Models.UpdateGuardrailRequest.g.cs | 14 + ...els.UpdateOrganizationSettingsRequest.g.cs | 4 +- ...r.Models.UpdatePrivateEndpointRequest.g.cs | 54 +- ...atePrivateEndpointRequestPricing.Json.g.cs | 141 + ...s.UpdatePrivateEndpointRequestPricing.g.cs | 19 + ...ePrivateEndpointRequestSettings.Json.g.cs} | 26 +- ....UpdatePrivateEndpointRequestSettings.g.cs | 19 + ...tePrivateEndpointSettingsRequest.Json.g.cs | 141 + ....UpdatePrivateEndpointSettingsRequest.g.cs | 143 + ...dpointSettingsRequestCompletions.Json.g.cs | 141 + ...ateEndpointSettingsRequestCompletions.g.cs | 57 + ...pointSettingsRequestExcludedParameter.g.cs | 288 ++ ...ateEndpointSettingsRequestInputs.Json.g.cs | 141 + ...ePrivateEndpointSettingsRequestInputs.g.cs | 90 + ...EndpointSettingsRequestReasoning.Json.g.cs | 141 + ...ivateEndpointSettingsRequestReasoning.g.cs | 64 + ...ndpointSettingsRequestToolChoice.Json.g.cs | 141 + ...vateEndpointSettingsRequestToolChoice.g.cs | 79 + ...els.UpdatePrivateProviderRequest.Json.g.cs | 141 + ...r.Models.UpdatePrivateProviderRequest.g.cs | 70 + ...PrivateProviderRequestDataPolicy.Json.g.cs | 141 + ...pdatePrivateProviderRequestDataPolicy.g.cs | 68 + ...ls.UpdatePrivateProviderResponse.Json.g.cs | 141 + ....Models.UpdatePrivateProviderResponse.g.cs | 48 + ...nRouter.Models.VaultRoutingTable.Json.g.cs | 141 + .../OpenRouter.Models.VaultRoutingTable.g.cs | 127 + ...ls.VaultRoutingTableCustomOrigin.Json.g.cs | 141 + ....Models.VaultRoutingTableCustomOrigin.g.cs | 66 + ...ltRoutingTableCustomOriginStatus.Json.g.cs | 141 + ...s.VaultRoutingTableCustomOriginStatus.g.cs | 57 + ...ltRoutingTableCustomOriginStatusState.g.cs | 127 + ...r.Models.VaultRoutingTableGithub.Json.g.cs | 141 + ...Router.Models.VaultRoutingTableGithub.g.cs | 55 + ...odels.VaultRoutingTableGithubApp.Json.g.cs | 141 + ...ter.Models.VaultRoutingTableGithubApp.g.cs | 88 + ...outingTableGithubAppInstallation.Json.g.cs | 141 + ...aultRoutingTableGithubAppInstallation.g.cs | 124 + ...TableGithubAppInstallationAccountType.g.cs | 120 + ...bleGithubAppInstallationCoverage.Json.g.cs | 141 + ...ingTableGithubAppInstallationCoverage.g.cs | 69 + ...ithubAppInstallationCoverageSelection.g.cs | 120 + ...gTableGithubAppInstallationShadowedBy.g.cs | 120 + ...tRoutingTableGithubAppMemberLink.Json.g.cs | 141 + ....VaultRoutingTableGithubAppMemberLink.g.cs | 68 + ...ultRoutingTableGithubAppMemberLinkVia.g.cs | 127 + ...odels.VaultRoutingTableGithubAppScope.g.cs | 120 + ...els.VaultRoutingTableGithubToken.Json.g.cs | 141 + ...r.Models.VaultRoutingTableGithubToken.g.cs | 86 + ...els.VaultRoutingTableGithubTokenScope.g.cs | 120 + ...r.Models.VaultRoutingTableGoogle.Json.g.cs | 141 + ...Router.Models.VaultRoutingTableGoogle.g.cs | 45 + ...s.VaultRoutingTableGoogleAccount.Json.g.cs | 141 + ...Models.VaultRoutingTableGoogleAccount.g.cs | 88 + ...s.VaultRoutingTableGoogleAccountScope.g.cs | 120 + ...Models.VaultRoutingTableHostRule.Json.g.cs | 141 + ...uter.Models.VaultRoutingTableHostRule.g.cs | 65 + ...odels.VaultRoutingTableMcpOrigin.Json.g.cs | 141 + ...ter.Models.VaultRoutingTableMcpOrigin.g.cs | 87 + ....VaultRoutingTableMcpOriginRoute.Json.g.cs | 141 + ...odels.VaultRoutingTableMcpOriginRoute.g.cs | 54 + ...VaultRoutingTableMcpOriginStatus.Json.g.cs | 141 + ...dels.VaultRoutingTableMcpOriginStatus.g.cs | 57 + ...VaultRoutingTableMcpOriginStatusState.g.cs | 127 + ...r.Models.VaultRoutingTableSecret.Json.g.cs | 141 + ...Router.Models.VaultRoutingTableSecret.g.cs | 75 + ...r.Models.VaultRoutingTableSecretScope.g.cs | 127 + ...er.Models.VaultRoutingTableSlack.Json.g.cs | 141 + ...nRouter.Models.VaultRoutingTableSlack.g.cs | 47 + ...VaultRoutingTableSlackMemberLink.Json.g.cs | 141 + ...dels.VaultRoutingTableSlackMemberLink.g.cs | 55 + .../OpenRouter.Models.WebSearchStatus.g.cs | 7 + .../OpenRouter.ModelsClient.List.g.cs | 185 + .../OpenRouter.ModelsClient.ListForUser.g.cs | 111 + .../OpenRouter.OpenRouterClient.g.cs | 11 + ...ter.OrganizationClient.UpdateSettings.g.cs | 2 +- ...nRouter.PrivateEndpointsClient.Create.g.cs | 12 +- ...nRouter.PrivateEndpointsClient.Update.g.cs | 26 +- ...rivateProviders.JsonSerializerContext.g.cs | 109 + ...nRouter.PrivateProvidersClient.Create.g.cs | 857 ++++ ...Router.PrivateProvidersClient.Delete.g.cs} | 207 +- ...OpenRouter.PrivateProvidersClient.Get.g.cs | 578 +++ ...penRouter.PrivateProvidersClient.List.g.cs | 528 +++ ...Router.PrivateProvidersClient.Update.g.cs} | 200 +- .../OpenRouter.PrivateProvidersClient.g.cs | 156 + ...ter.VaultClient.ListInternConnections.g.cs | 4 +- .../Generated/autosdk.generated-examples.json | 155 +- src/libs/OpenRouter/openapi.yaml | 2841 ++++++++++-- 177 files changed, 21207 insertions(+), 3030 deletions(-) delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.UpdateParameters.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.UpdatePricing.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Create.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Delete.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Get.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.List.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Update.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointQuantization.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointQuantizationNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointReasoningReturnMechanism.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointReasoningReturnMechanismNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointSettingsExcludedParameter.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointSettingsExcludedParameterNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UpdatePrivateEndpointSettingsRequestExcludedParameter.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UpdatePrivateEndpointSettingsRequestExcludedParameterNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableCustomOriginStatusState.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableCustomOriginStatusStateNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationAccountType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationAccountTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationCoverageSelection.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationCoverageSelectionNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationShadowedBy.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationShadowedByNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppMemberLinkVia.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppMemberLinkViaNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppScope.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppScopeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubTokenScope.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubTokenScopeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGoogleAccountScope.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGoogleAccountScopeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableMcpOriginStatusState.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableMcpOriginStatusStateNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableSecretScope.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableSecretScopeNullable.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessageConfigurationUpdate.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ConfigurationUpdate3.Json.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.Models.ChatDeveloperMessageConfigurationUpdate.g.cs => OpenRouter.Models.ConfigurationUpdate3.g.cs} (71%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderRequest.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderRequest.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderResponse.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderResponse.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponse.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponse.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.Models.ChatDeveloperMessageConfigurationUpdate.Json.g.cs => OpenRouter.Models.DeletePrivateProviderResponseData.Json.g.cs} (85%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponseData.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.GetPrivateProviderResponse.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.GetPrivateProviderResponse.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ListPrivateProvidersResponse.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ListPrivateProvidersResponse.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointQuantization.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointReasoningReturnMechanism.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettings.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettings.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsCompletions.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsCompletions.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsExcludedParameter.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsInputs.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsInputs.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsReasoning.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsReasoning.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsToolChoice.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsToolChoice.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProvider.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProvider.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestPricing.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestPricing.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.Models.ChatSystemMessageConfigurationUpdate.Json.g.cs => OpenRouter.Models.UpdatePrivateEndpointRequestSettings.Json.g.cs} (86%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestSettings.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequest.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequest.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestCompletions.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestCompletions.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestExcludedParameter.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestInputs.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestInputs.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestReasoning.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestReasoning.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestToolChoice.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestToolChoice.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequest.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequest.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequestDataPolicy.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequestDataPolicy.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderResponse.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderResponse.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTable.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOrigin.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOrigin.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOriginStatus.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOriginStatus.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOriginStatusState.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithub.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithub.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubApp.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubApp.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallation.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallation.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationAccountType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationCoverage.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationCoverage.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationCoverageSelection.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationShadowedBy.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppMemberLink.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppMemberLink.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppMemberLinkVia.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppScope.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubToken.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubToken.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubTokenScope.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogle.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogle.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogleAccount.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogleAccount.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogleAccountScope.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableHostRule.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableHostRule.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOrigin.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOrigin.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginRoute.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginRoute.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginStatus.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginStatus.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginStatusState.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSecret.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSecret.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSecretScope.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlack.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlack.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlackMemberLink.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlackMemberLink.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.PrivateProviders.JsonSerializerContext.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.Create.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.PrivateEndpointsClient.UpdatePricing.g.cs => OpenRouter.PrivateProvidersClient.Delete.g.cs} (84%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.Get.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.List.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.PrivateEndpointsClient.UpdateParameters.g.cs => OpenRouter.PrivateProvidersClient.Update.g.cs} (85%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.g.cs diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs index 4a937f2eb..2caeb4c5a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Create.g.cs @@ -631,6 +631,10 @@ partial void ProcessCreateResponseContent( /// Whether this guardrail allows paid endpoints that train on request data.
/// Example: true /// + /// + /// Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.
+ /// Example: false + /// /// /// Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.
/// Example: false @@ -695,6 +699,7 @@ partial void ProcessCreateResponseContent( bool? enableFreeModelPublication = default, bool? enableFreeModelTraining = default, bool? enablePaidModelTraining = default, + bool? enforceFirstPartyHarnessModels = default, bool? enforceZdrAnthropic = default, bool? enforceZdrGoogle = default, bool? enforceZdrOpenai = default, @@ -722,6 +727,7 @@ partial void ProcessCreateResponseContent( EnableFreeModelPublication = enableFreeModelPublication, EnableFreeModelTraining = enableFreeModelTraining, EnablePaidModelTraining = enablePaidModelTraining, + EnforceFirstPartyHarnessModels = enforceFirstPartyHarnessModels, EnforceZdrAnthropic = enforceZdrAnthropic, EnforceZdrGoogle = enforceZdrGoogle, EnforceZdrOpenai = enforceZdrOpenai, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs index fa9a06d69..0e99e60ae 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.Update.g.cs @@ -724,6 +724,10 @@ partial void ProcessUpdateResponseContent( /// Whether this guardrail allows paid endpoints that train on request data.
/// Example: true /// + /// + /// Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.
+ /// Example: true + /// /// /// Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.
/// Example: true @@ -784,6 +788,7 @@ partial void ProcessUpdateResponseContent( bool? enableFreeModelPublication = default, bool? enableFreeModelTraining = default, bool? enablePaidModelTraining = default, + bool? enforceFirstPartyHarnessModels = default, bool? enforceZdrAnthropic = default, bool? enforceZdrGoogle = default, bool? enforceZdrOpenai = default, @@ -811,6 +816,7 @@ partial void ProcessUpdateResponseContent( EnableFreeModelPublication = enableFreeModelPublication, EnableFreeModelTraining = enableFreeModelTraining, EnablePaidModelTraining = enablePaidModelTraining, + EnforceFirstPartyHarnessModels = enforceFirstPartyHarnessModels, EnforceZdrAnthropic = enforceZdrAnthropic, EnforceZdrGoogle = enforceZdrGoogle, EnforceZdrOpenai = enforceZdrOpenai, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Create.g.cs index b4404e878..a75e951a6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Create.g.cs @@ -80,6 +80,10 @@ public partial interface IGuardrailsClient /// Whether this guardrail allows paid endpoints that train on request data.
/// Example: true /// + /// + /// Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.
+ /// Example: false + /// /// /// Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.
/// Example: false @@ -144,6 +148,7 @@ public partial interface IGuardrailsClient bool? enableFreeModelPublication = default, bool? enableFreeModelTraining = default, bool? enablePaidModelTraining = default, + bool? enforceFirstPartyHarnessModels = default, bool? enforceZdrAnthropic = default, bool? enforceZdrGoogle = default, bool? enforceZdrOpenai = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Update.g.cs index ef41b5742..d5fe8c675 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.Update.g.cs @@ -94,6 +94,10 @@ public partial interface IGuardrailsClient /// Whether this guardrail allows paid endpoints that train on request data.
/// Example: true /// + /// + /// Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.
+ /// Example: true + /// /// /// Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.
/// Example: true @@ -154,6 +158,7 @@ public partial interface IGuardrailsClient bool? enableFreeModelPublication = default, bool? enableFreeModelTraining = default, bool? enablePaidModelTraining = default, + bool? enforceFirstPartyHarnessModels = default, bool? enforceZdrAnthropic = default, bool? enforceZdrGoogle = default, bool? enforceZdrOpenai = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IOpenRouterClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IOpenRouterClient.g.cs index 577c5ed4e..c4e69762b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IOpenRouterClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IOpenRouterClient.g.cs @@ -190,6 +190,11 @@ public partial interface IOpenRouterClient : global::System.IDisposable /// public PrivateEndpointsClient PrivateEndpoints { get; } + /// + /// Private Providers endpoints. + /// + public PrivateProvidersClient PrivateProviders { get; } + /// /// Provider information endpoints. /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IOrganizationClient.UpdateSettings.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IOrganizationClient.UpdateSettings.g.cs index 7c8d42627..816a1f358 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IOrganizationClient.UpdateSettings.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IOrganizationClient.UpdateSettings.g.cs @@ -35,7 +35,7 @@ public partial interface IOrganizationClient /// Update the settings of the organization associated with the authenticated management key. [Management key](/docs/guides/overview/auth/management-api-keys) required. /// /// - /// When true, `GET /api/v1/models` called with one of the organization's API keys returns only the models that key can use (the `/api/v1/models/user` catalog), and the signed-in dashboard shows the same list. Anonymous requests always receive the public catalog.
+ /// When true, the signed-in dashboard lists only the models the organization can use. `GET /api/v1/models` called with an API key always returns only the models that key can use, whatever this setting says; anonymous requests receive the public catalog.
/// Example: true /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.Create.g.cs index 96f6b7691..330a64594 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.Create.g.cs @@ -6,7 +6,7 @@ public partial interface IPrivateEndpointsClient { /// /// Create a private endpoint
- /// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.
@@ -24,7 +24,7 @@ public partial interface IPrivateEndpointsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Create a private endpoint
- /// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.
@@ -42,7 +42,7 @@ public partial interface IPrivateEndpointsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Create a private endpoint
- /// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.
@@ -83,6 +83,10 @@ public partial interface IPrivateEndpointsClient /// Slug of the upstream provider.
/// Example: azure /// + /// + /// Capabilities and limits to set over the ones copied from the public endpoint for this model and provider (or from the model). Omitted fields keep the copied values.
+ /// Example: {"context_length":128000,"reasoning":{"supported":true}} + /// /// /// Model or deployment identifier sent to the upstream provider.
/// Example: gpt-4o-prod @@ -102,6 +106,7 @@ public partial interface IPrivateEndpointsClient bool? declaredZdr = default, int? maxCompletionTokens = default, global::OpenRouter.PrivateEndpointPricing? pricing = default, + global::OpenRouter.UpdatePrivateEndpointSettingsRequest? settings = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.Update.g.cs index cbb051077..6ce24812b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.Update.g.cs @@ -5,8 +5,8 @@ namespace OpenRouter public partial interface IPrivateEndpointsClient { /// - /// Update a draft private endpoint
- /// Replace a draft endpoint's upstream configuration: send `upstream_model_id`, and `base_url` to change it (an omitted `base_url` keeps the stored one). Omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes. Any change clears earlier validation. Active endpoints return 409; delete and re-create them instead. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update a private endpoint
+ /// Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `upstream_model_id`, `base_url`, `declared_zdr` and `declared_region` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any upstream change clears earlier validation. Naming an upstream field on an active endpoint returns 409 `already_active` and writes nothing; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Stable identifier of the private endpoint.
@@ -23,8 +23,8 @@ public partial interface IPrivateEndpointsClient global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// Update a draft private endpoint
- /// Replace a draft endpoint's upstream configuration: send `upstream_model_id`, and `base_url` to change it (an omitted `base_url` keeps the stored one). Omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes. Any change clears earlier validation. Active endpoints return 409; delete and re-create them instead. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update a private endpoint
+ /// Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `upstream_model_id`, `base_url`, `declared_zdr` and `declared_region` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any upstream change clears earlier validation. Naming an upstream field on an active endpoint returns 409 `already_active` and writes nothing; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Stable identifier of the private endpoint.
@@ -41,8 +41,8 @@ public partial interface IPrivateEndpointsClient global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// Update a draft private endpoint
- /// Replace a draft endpoint's upstream configuration: send `upstream_model_id`, and `base_url` to change it (an omitted `base_url` keeps the stored one). Omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes. Any change clears earlier validation. Active endpoints return 409; delete and re-create them instead. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update a private endpoint
+ /// Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `upstream_model_id`, `base_url`, `declared_zdr` and `declared_region` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any upstream change clears earlier validation. Naming an upstream field on an active endpoint returns 409 `already_active` and writes nothing; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Stable identifier of the private endpoint.
@@ -52,6 +52,10 @@ public partial interface IPrivateEndpointsClient /// HTTPS base URL of your deployment. Required unless the provider derives its URL from the BYOK credential (Azure, Amazon Bedrock, Google Vertex).
/// Example: https://contoso.openai.azure.com /// + /// + /// Parameters the upstream supports beyond the tested ones. Replaces the earlier declaration; tested parameters stay. Order and repeated names are ignored, but the list holds at most as many entries as there are declarable parameters, repeats included. `tool_choice` requires `tools` to be tested or declared.
+ /// Example: [temperature, seed] + /// /// /// Attest where this deployment processes data.
/// Example: us @@ -59,6 +63,8 @@ public partial interface IPrivateEndpointsClient /// /// Attest that this deployment retains no prompt or completion data. /// + /// + /// /// /// Model or deployment identifier sent to the upstream provider.
/// Example: gpt-4o-prod @@ -68,10 +74,13 @@ public partial interface IPrivateEndpointsClient /// global::System.Threading.Tasks.Task UpdateAsync( global::System.Guid id, - string upstreamModelId, string? baseUrl = default, + global::System.Collections.Generic.IList? declaredParameters = default, global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion? declaredRegion = default, bool? declaredZdr = default, + global::OpenRouter.AllOf? pricing = default, + global::OpenRouter.AllOf? settings = default, + string? upstreamModelId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.UpdateParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.UpdateParameters.g.cs deleted file mode 100644 index 42ac1afb1..000000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.UpdateParameters.g.cs +++ /dev/null @@ -1,64 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public partial interface IPrivateEndpointsClient - { - /// - /// Set private endpoint supported parameters
- /// Declare which request parameters the upstream supports beyond the ones validation proved. Applies to drafts and active endpoints; routing picks the change up for subsequent requests. The body replaces the earlier declaration and is read as a set: order and repeated names do not matter, but the list holds at most as many entries as there are declarable parameters, repeats included. `tested_parameters` stay. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools` being tested or declared. [Management key](/docs/guides/overview/auth/management-api-keys) required. - ///
- /// - /// Stable identifier of the private endpoint.
- /// Example: 5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11 - /// - /// - /// 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 UpdateParametersAsync( - global::System.Guid id, - - global::OpenRouter.UpdatePrivateEndpointParametersRequest request, - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Set private endpoint supported parameters
- /// Declare which request parameters the upstream supports beyond the ones validation proved. Applies to drafts and active endpoints; routing picks the change up for subsequent requests. The body replaces the earlier declaration and is read as a set: order and repeated names do not matter, but the list holds at most as many entries as there are declarable parameters, repeats included. `tested_parameters` stay. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools` being tested or declared. [Management key](/docs/guides/overview/auth/management-api-keys) required. - ///
- /// - /// Stable identifier of the private endpoint.
- /// Example: 5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11 - /// - /// - /// 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> UpdateParametersAsResponseAsync( - global::System.Guid id, - - global::OpenRouter.UpdatePrivateEndpointParametersRequest request, - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Set private endpoint supported parameters
- /// Declare which request parameters the upstream supports beyond the ones validation proved. Applies to drafts and active endpoints; routing picks the change up for subsequent requests. The body replaces the earlier declaration and is read as a set: order and repeated names do not matter, but the list holds at most as many entries as there are declarable parameters, repeats included. `tested_parameters` stay. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools` being tested or declared. [Management key](/docs/guides/overview/auth/management-api-keys) required. - ///
- /// - /// Stable identifier of the private endpoint.
- /// Example: 5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11 - /// - /// - /// Parameters the upstream supports beyond the tested ones. Replaces the earlier declaration; tested parameters stay. Order and repeated names are ignored, but the list holds at most as many entries as there are declarable parameters, repeats included. `tool_choice` requires `tools` to be tested or declared.
- /// Example: [temperature, seed] - /// - /// 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 UpdateParametersAsync( - global::System.Guid id, - global::System.Collections.Generic.IList declaredParameters, - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.UpdatePricing.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.UpdatePricing.g.cs deleted file mode 100644 index 3a47180e3..000000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.IPrivateEndpointsClient.UpdatePricing.g.cs +++ /dev/null @@ -1,64 +0,0 @@ -#nullable enable - -namespace OpenRouter -{ - public partial interface IPrivateEndpointsClient - { - /// - /// Set private endpoint pricing
- /// Set the negotiated per-token rates reported for requests routed to this endpoint. Applies to drafts and active endpoints; new rates take effect for subsequent requests. The body replaces the whole pricing object: omitting `cache_read` or `cache_write` reverts that rate to the provider pricing strategy's default, even if it was set before. [Management key](/docs/guides/overview/auth/management-api-keys) required. - ///
- /// - /// Stable identifier of the private endpoint.
- /// Example: 5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11 - /// - /// - /// 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 UpdatePricingAsync( - global::System.Guid id, - - global::OpenRouter.UpdatePrivateEndpointPricingRequest request, - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Set private endpoint pricing
- /// Set the negotiated per-token rates reported for requests routed to this endpoint. Applies to drafts and active endpoints; new rates take effect for subsequent requests. The body replaces the whole pricing object: omitting `cache_read` or `cache_write` reverts that rate to the provider pricing strategy's default, even if it was set before. [Management key](/docs/guides/overview/auth/management-api-keys) required. - ///
- /// - /// Stable identifier of the private endpoint.
- /// Example: 5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11 - /// - /// - /// 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> UpdatePricingAsResponseAsync( - global::System.Guid id, - - global::OpenRouter.UpdatePrivateEndpointPricingRequest request, - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Set private endpoint pricing
- /// Set the negotiated per-token rates reported for requests routed to this endpoint. Applies to drafts and active endpoints; new rates take effect for subsequent requests. The body replaces the whole pricing object: omitting `cache_read` or `cache_write` reverts that rate to the provider pricing strategy's default, even if it was set before. [Management key](/docs/guides/overview/auth/management-api-keys) required. - ///
- /// - /// Stable identifier of the private endpoint.
- /// Example: 5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11 - /// - /// - /// Negotiated per-token rates reported for requests routed to this endpoint.
- /// Example: {"cache_read":"0.00000025","cache_write":"0.000003125","completion":"0.00001","prompt":"0.0000025"} - /// - /// 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 UpdatePricingAsync( - global::System.Guid id, - global::OpenRouter.PrivateEndpointPricing pricing, - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Create.g.cs new file mode 100644 index 000000000..bf021f4e2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Create.g.cs @@ -0,0 +1,69 @@ +#nullable enable + +namespace OpenRouter +{ + public partial interface IPrivateProvidersClient + { + /// + /// Create a private provider
+ /// Create a private, bring-your-own-key provider visible only to your organization. Use its slug as `provider_slug` when creating private endpoints. Requires both the private endpoints and the private providers entitlements. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// 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 CreateAsync( + + global::OpenRouter.CreatePrivateProviderRequest request, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Create a private provider
+ /// Create a private, bring-your-own-key provider visible only to your organization. Use its slug as `provider_slug` when creating private endpoints. Requires both the private endpoints and the private providers entitlements. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// 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> CreateAsResponseAsync( + + global::OpenRouter.CreatePrivateProviderRequest request, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Create a private provider
+ /// Create a private, bring-your-own-key provider visible only to your organization. Use its slug as `provider_slug` when creating private endpoints. Requires both the private endpoints and the private providers entitlements. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.
+ /// Example: https://inference.example.com/v1 + /// + /// + /// Defaults to training on and retaining prompts, the most conservative declaration. Your own declaration; it applies to your own traffic and OpenRouter does not verify it.
+ /// Example: {"prompt_retention_days":null,"retains_prompts":false,"training":false} + /// + /// + /// Defaults to `name`.
+ /// Example: Acme + /// + /// + /// Provider name, shown in your activity, logs and Broadcast output. 2-64 letters, numbers, spaces, dots, underscores or hyphens. Cannot be changed later. Neither the name nor its slug may match a public provider name or slug (case-insensitive); other customers may use the same name.
+ /// Example: Acme + /// + /// + /// 2-64 lowercase letters and numbers, separated by single hyphens. Cannot be changed later. Defaults to the name lowercased, with every run of other characters replaced by a hyphen (`Acme Inference` becomes `acme-inference`).
+ /// Example: acme + /// + /// 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 CreateAsync( + string name, + string? baseUrl = default, + global::OpenRouter.PrivateProviderDataPolicy2? dataPolicy = default, + string? displayName = default, + string? slug = default, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Delete.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Delete.g.cs new file mode 100644 index 000000000..7d92b8082 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Delete.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace OpenRouter +{ + public partial interface IPrivateProvidersClient + { + /// + /// Delete a private provider
+ /// Delete a private provider. Refuses (409) while any private endpoint still runs under it. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// Example: acme + /// + /// 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 DeleteAsync( + string slug, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Delete a private provider
+ /// Delete a private provider. Refuses (409) while any private endpoint still runs under it. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// Example: acme + /// + /// 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> DeleteAsResponseAsync( + string slug, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Get.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Get.g.cs new file mode 100644 index 000000000..05fb1dd5e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Get.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace OpenRouter +{ + public partial interface IPrivateProvidersClient + { + /// + /// Get a private provider
+ /// Get one of the organization’s private providers by slug. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// Example: acme + /// + /// 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 GetAsync( + string slug, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Get a private provider
+ /// Get one of the organization’s private providers by slug. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// Example: acme + /// + /// 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> GetAsResponseAsync( + string slug, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.List.g.cs new file mode 100644 index 000000000..3bda1274d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.List.g.cs @@ -0,0 +1,28 @@ +#nullable enable + +namespace OpenRouter +{ + public partial interface IPrivateProvidersClient + { + /// + /// List private providers
+ /// List the organization's private providers. Requires the private endpoints entitlement. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// 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 ListAsync( + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// List private providers
+ /// List the organization's private providers. Requires the private endpoints entitlement. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// 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> ListAsResponseAsync( + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Update.g.cs new file mode 100644 index 000000000..61c607aef --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.Update.g.cs @@ -0,0 +1,67 @@ +#nullable enable + +namespace OpenRouter +{ + public partial interface IPrivateProvidersClient + { + /// + /// Update a private provider
+ /// Update a private provider’s details or declared data policy. The name and slug cannot change. Refuses (409) a data-policy change while OpenRouter pins the declared policy on one of its endpoints. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// Example: acme + /// + /// + /// 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 UpdateAsync( + string slug, + + global::OpenRouter.UpdatePrivateProviderRequest request, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Update a private provider
+ /// Update a private provider’s details or declared data policy. The name and slug cannot change. Refuses (409) a data-policy change while OpenRouter pins the declared policy on one of its endpoints. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// Example: acme + /// + /// + /// 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> UpdateAsResponseAsync( + string slug, + + global::OpenRouter.UpdatePrivateProviderRequest request, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Update a private provider
+ /// Update a private provider’s details or declared data policy. The name and slug cannot change. Refuses (409) a data-policy change while OpenRouter pins the declared policy on one of its endpoints. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// Example: acme + /// + /// + /// HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.
+ /// Example: https://inference.example.com/v1 + /// + /// + /// + /// Example: Acme + /// + /// 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 UpdateAsync( + string slug, + string? baseUrl = default, + global::OpenRouter.UpdatePrivateProviderRequestDataPolicy? dataPolicy = default, + string? displayName = default, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.g.cs new file mode 100644 index 000000000..dfbb8e6a5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPrivateProvidersClient.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Private Providers endpoints
+ /// 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 IPrivateProvidersClient : 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::OpenRouter.AutoSDKClientOptions Options { get; } + + /// + /// Creates idempotency keys for generated idempotent requests when the caller does not provide one. + /// + public global::System.Func CreateIdempotencyKey { get; set; } + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IVaultClient.ListInternConnections.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IVaultClient.ListInternConnections.g.cs index 28d3437c6..f9e196b8a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IVaultClient.ListInternConnections.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IVaultClient.ListInternConnections.g.cs @@ -6,7 +6,7 @@ public partial interface IVaultClient { /// /// List the connections an intern can use
- /// Lists the connections in scope for the intern, by the key of their card on the dashboard's Connections tab: `github`, `slack`, `google`, a catalog MCP server such as `linear` or `notion`, or `mcp:<host>` for a custom MCP server. A connection is listed when it is stored, enabled, and not turned off or hidden for this intern, as the Connections tab lists it; whether its last test passed is not part of the rule. `ori features add` checks a feature's `ori.requires.connections` against this list. Keys only, never credentials. Returns 404 for an intern the key cannot see. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern's own API key is confined to that intern: it can always read the intern's secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required. + /// Lists the connections in scope for the intern, by the key of their card on the dashboard's Connections tab: `github`, `slack`, `google`, a catalog MCP server such as `linear` or `notion`, or `mcp:<host>` for a custom MCP server. A connection is listed when it is stored, enabled, and not turned off or hidden for this intern, as the Connections tab lists it; whether its last test passed is not part of the rule. `ori features add` checks a feature's `ori.requires.connections` against this list. `routing` is the vault's routing table for the intern: the credentials it holds and what it would inject each for, from the same lookups the egress proxy picks a credential with, GitHub repository coverage read through the installation token and cached. `routing_text` is that table as the lines the intern reads in its instructions. Never credentials. Returns 404 for an intern the key cannot see. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern's own API key is confined to that intern: it can always read the intern's secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required. ///
/// /// UUID of an intern in the workspace selected by the API key.
@@ -21,7 +21,7 @@ public partial interface IVaultClient global::System.Threading.CancellationToken cancellationToken = default); /// /// List the connections an intern can use
- /// Lists the connections in scope for the intern, by the key of their card on the dashboard's Connections tab: `github`, `slack`, `google`, a catalog MCP server such as `linear` or `notion`, or `mcp:<host>` for a custom MCP server. A connection is listed when it is stored, enabled, and not turned off or hidden for this intern, as the Connections tab lists it; whether its last test passed is not part of the rule. `ori features add` checks a feature's `ori.requires.connections` against this list. Keys only, never credentials. Returns 404 for an intern the key cannot see. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern's own API key is confined to that intern: it can always read the intern's secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required. + /// Lists the connections in scope for the intern, by the key of their card on the dashboard's Connections tab: `github`, `slack`, `google`, a catalog MCP server such as `linear` or `notion`, or `mcp:<host>` for a custom MCP server. A connection is listed when it is stored, enabled, and not turned off or hidden for this intern, as the Connections tab lists it; whether its last test passed is not part of the rule. `ori features add` checks a feature's `ori.requires.connections` against this list. `routing` is the vault's routing table for the intern: the credentials it holds and what it would inject each for, from the same lookups the egress proxy picks a credential with, GitHub repository coverage read through the installation token and cached. `routing_text` is that table as the lines the intern reads in its instructions. Never credentials. Returns 404 for an intern the key cannot see. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern's own API key is confined to that intern: it can always read the intern's secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required. ///
/// /// UUID of an intern in the workspace selected by the API key.
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointQuantization.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointQuantization.g.cs new file mode 100644 index 000000000..bde68df40 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointQuantization.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class PrivateEndpointQuantizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.PrivateEndpointQuantization 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::OpenRouter.PrivateEndpointQuantizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.PrivateEndpointQuantization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.PrivateEndpointQuantization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.PrivateEndpointQuantizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointQuantizationNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointQuantizationNullable.g.cs new file mode 100644 index 000000000..18ba075fa --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointQuantizationNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class PrivateEndpointQuantizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.PrivateEndpointQuantization? 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::OpenRouter.PrivateEndpointQuantizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.PrivateEndpointQuantization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.PrivateEndpointQuantization? 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::OpenRouter.PrivateEndpointQuantizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointReasoningReturnMechanism.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointReasoningReturnMechanism.g.cs new file mode 100644 index 000000000..6dd8d52aa --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointReasoningReturnMechanism.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class PrivateEndpointReasoningReturnMechanismJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.PrivateEndpointReasoningReturnMechanism 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::OpenRouter.PrivateEndpointReasoningReturnMechanismExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.PrivateEndpointReasoningReturnMechanism); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.PrivateEndpointReasoningReturnMechanism value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.PrivateEndpointReasoningReturnMechanismExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointReasoningReturnMechanismNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointReasoningReturnMechanismNullable.g.cs new file mode 100644 index 000000000..3a5f6dbaf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointReasoningReturnMechanismNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class PrivateEndpointReasoningReturnMechanismNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.PrivateEndpointReasoningReturnMechanism? 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::OpenRouter.PrivateEndpointReasoningReturnMechanismExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.PrivateEndpointReasoningReturnMechanism?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.PrivateEndpointReasoningReturnMechanism? 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::OpenRouter.PrivateEndpointReasoningReturnMechanismExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointSettingsExcludedParameter.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointSettingsExcludedParameter.g.cs new file mode 100644 index 000000000..978867ab0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointSettingsExcludedParameter.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class PrivateEndpointSettingsExcludedParameterJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.PrivateEndpointSettingsExcludedParameter 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::OpenRouter.PrivateEndpointSettingsExcludedParameterExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.PrivateEndpointSettingsExcludedParameter); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.PrivateEndpointSettingsExcludedParameter value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.PrivateEndpointSettingsExcludedParameterExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointSettingsExcludedParameterNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointSettingsExcludedParameterNullable.g.cs new file mode 100644 index 000000000..95661b5e0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PrivateEndpointSettingsExcludedParameterNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class PrivateEndpointSettingsExcludedParameterNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.PrivateEndpointSettingsExcludedParameter? 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::OpenRouter.PrivateEndpointSettingsExcludedParameterExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.PrivateEndpointSettingsExcludedParameter?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.PrivateEndpointSettingsExcludedParameter? 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::OpenRouter.PrivateEndpointSettingsExcludedParameterExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UpdatePrivateEndpointSettingsRequestExcludedParameter.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UpdatePrivateEndpointSettingsRequestExcludedParameter.g.cs new file mode 100644 index 000000000..98a29795f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UpdatePrivateEndpointSettingsRequestExcludedParameter.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class UpdatePrivateEndpointSettingsRequestExcludedParameterJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter 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::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameterExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameterExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UpdatePrivateEndpointSettingsRequestExcludedParameterNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UpdatePrivateEndpointSettingsRequestExcludedParameterNullable.g.cs new file mode 100644 index 000000000..26966173b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UpdatePrivateEndpointSettingsRequestExcludedParameterNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class UpdatePrivateEndpointSettingsRequestExcludedParameterNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter? 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::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameterExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter? 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::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameterExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableCustomOriginStatusState.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableCustomOriginStatusState.g.cs new file mode 100644 index 000000000..8baf20c26 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableCustomOriginStatusState.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableCustomOriginStatusStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableCustomOriginStatusState 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::OpenRouter.VaultRoutingTableCustomOriginStatusStateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableCustomOriginStatusState); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableCustomOriginStatusState value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.VaultRoutingTableCustomOriginStatusStateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableCustomOriginStatusStateNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableCustomOriginStatusStateNullable.g.cs new file mode 100644 index 000000000..ca71fbea9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableCustomOriginStatusStateNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableCustomOriginStatusStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableCustomOriginStatusState? 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::OpenRouter.VaultRoutingTableCustomOriginStatusStateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableCustomOriginStatusState?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableCustomOriginStatusState? 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::OpenRouter.VaultRoutingTableCustomOriginStatusStateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationAccountType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationAccountType.g.cs new file mode 100644 index 000000000..2947542a5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationAccountType.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableGithubAppInstallationAccountTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType 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::OpenRouter.VaultRoutingTableGithubAppInstallationAccountTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationAccountTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationAccountTypeNullable.g.cs new file mode 100644 index 000000000..d8ac23e1c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationAccountTypeNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableGithubAppInstallationAccountTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType? 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::OpenRouter.VaultRoutingTableGithubAppInstallationAccountTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType? 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::OpenRouter.VaultRoutingTableGithubAppInstallationAccountTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationCoverageSelection.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationCoverageSelection.g.cs new file mode 100644 index 000000000..407f2286d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationCoverageSelection.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableGithubAppInstallationCoverageSelectionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection 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::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelectionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelectionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationCoverageSelectionNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationCoverageSelectionNullable.g.cs new file mode 100644 index 000000000..f05d44ab7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationCoverageSelectionNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableGithubAppInstallationCoverageSelectionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection? 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::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelectionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection? 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::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelectionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationShadowedBy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationShadowedBy.g.cs new file mode 100644 index 000000000..6a80cbe61 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationShadowedBy.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableGithubAppInstallationShadowedByJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy 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::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedByExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedByExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationShadowedByNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationShadowedByNullable.g.cs new file mode 100644 index 000000000..3312e910d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationShadowedByNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableGithubAppInstallationShadowedByNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy? 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::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedByExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy? 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::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedByExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppMemberLinkVia.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppMemberLinkVia.g.cs new file mode 100644 index 000000000..4ede1897a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppMemberLinkVia.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableGithubAppMemberLinkViaJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia 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::OpenRouter.VaultRoutingTableGithubAppMemberLinkViaExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.VaultRoutingTableGithubAppMemberLinkViaExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppMemberLinkViaNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppMemberLinkViaNullable.g.cs new file mode 100644 index 000000000..ea343b823 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppMemberLinkViaNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableGithubAppMemberLinkViaNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia? 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::OpenRouter.VaultRoutingTableGithubAppMemberLinkViaExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia? 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::OpenRouter.VaultRoutingTableGithubAppMemberLinkViaExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppScope.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppScope.g.cs new file mode 100644 index 000000000..6f12bea0f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppScope.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableGithubAppScopeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableGithubAppScope 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::OpenRouter.VaultRoutingTableGithubAppScopeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableGithubAppScope); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableGithubAppScope value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.VaultRoutingTableGithubAppScopeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppScopeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppScopeNullable.g.cs new file mode 100644 index 000000000..59d5c328d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubAppScopeNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableGithubAppScopeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableGithubAppScope? 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::OpenRouter.VaultRoutingTableGithubAppScopeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableGithubAppScope?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableGithubAppScope? 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::OpenRouter.VaultRoutingTableGithubAppScopeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubTokenScope.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubTokenScope.g.cs new file mode 100644 index 000000000..cbef7b1b4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubTokenScope.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableGithubTokenScopeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableGithubTokenScope 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::OpenRouter.VaultRoutingTableGithubTokenScopeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableGithubTokenScope); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableGithubTokenScope value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.VaultRoutingTableGithubTokenScopeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubTokenScopeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubTokenScopeNullable.g.cs new file mode 100644 index 000000000..a877b598e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGithubTokenScopeNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableGithubTokenScopeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableGithubTokenScope? 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::OpenRouter.VaultRoutingTableGithubTokenScopeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableGithubTokenScope?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableGithubTokenScope? 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::OpenRouter.VaultRoutingTableGithubTokenScopeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGoogleAccountScope.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGoogleAccountScope.g.cs new file mode 100644 index 000000000..461414c89 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGoogleAccountScope.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableGoogleAccountScopeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableGoogleAccountScope 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::OpenRouter.VaultRoutingTableGoogleAccountScopeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableGoogleAccountScope); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableGoogleAccountScope value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.VaultRoutingTableGoogleAccountScopeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGoogleAccountScopeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGoogleAccountScopeNullable.g.cs new file mode 100644 index 000000000..0817a86e2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableGoogleAccountScopeNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableGoogleAccountScopeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableGoogleAccountScope? 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::OpenRouter.VaultRoutingTableGoogleAccountScopeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableGoogleAccountScope?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableGoogleAccountScope? 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::OpenRouter.VaultRoutingTableGoogleAccountScopeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableMcpOriginStatusState.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableMcpOriginStatusState.g.cs new file mode 100644 index 000000000..f29a5eab6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableMcpOriginStatusState.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableMcpOriginStatusStateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableMcpOriginStatusState 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::OpenRouter.VaultRoutingTableMcpOriginStatusStateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableMcpOriginStatusState); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableMcpOriginStatusState value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.VaultRoutingTableMcpOriginStatusStateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableMcpOriginStatusStateNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableMcpOriginStatusStateNullable.g.cs new file mode 100644 index 000000000..73bb1b79c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableMcpOriginStatusStateNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableMcpOriginStatusStateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableMcpOriginStatusState? 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::OpenRouter.VaultRoutingTableMcpOriginStatusStateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableMcpOriginStatusState?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableMcpOriginStatusState? 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::OpenRouter.VaultRoutingTableMcpOriginStatusStateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableSecretScope.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableSecretScope.g.cs new file mode 100644 index 000000000..de8178428 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableSecretScope.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableSecretScopeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableSecretScope 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::OpenRouter.VaultRoutingTableSecretScopeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableSecretScope); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableSecretScope value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.VaultRoutingTableSecretScopeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableSecretScopeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableSecretScopeNullable.g.cs new file mode 100644 index 000000000..a8d182232 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.VaultRoutingTableSecretScopeNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class VaultRoutingTableSecretScopeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.VaultRoutingTableSecretScope? 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::OpenRouter.VaultRoutingTableSecretScopeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.VaultRoutingTableSecretScope?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.VaultRoutingTableSecretScope? 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::OpenRouter.VaultRoutingTableSecretScopeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs index 711d6c7f3..bddfbc569 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs @@ -927,8 +927,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatContentVideoInputProcessing), TypeInfoPropertyName = "ChatContentVideoInputProcessing2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatDebugOptions))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatDeveloperMessage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatDeveloperMessageConfigurationUpdate))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConfigurationUpdateReasoning))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConfigurationUpdate3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>), TypeInfoPropertyName = "AnyOfStringIListChatContentText2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatDeveloperMessageRole), TypeInfoPropertyName = "ChatDeveloperMessageRole2")] @@ -1025,6 +1024,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamingResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamToolCallFunction))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamToolCallType), TypeInfoPropertyName = "ChatStreamToolCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSystemMessageRole), TypeInfoPropertyName = "ChatSystemMessageRole2")] internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1120,8 +1120,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSystemMessageConfigurationUpdate))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSystemMessageRole), TypeInfoPropertyName = "ChatSystemMessageRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatTokenLogprob))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatTokenLogprobTopLogprob))] @@ -1177,6 +1175,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CompoundFilterType), TypeInfoPropertyName = "CompoundFilterType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ComputerUseServerToolEnvironment), TypeInfoPropertyName = "ComputerUseServerToolEnvironment2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ComputerUseServerToolType), TypeInfoPropertyName = "ComputerUseServerToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConfigurationUpdateReasoning))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConfigurationUpdateItemType), TypeInfoPropertyName = "ConfigurationUpdateItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConfigurationUpdateReasoningEffort), TypeInfoPropertyName = "ConfigurationUpdateReasoningEffort2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConflictResponse))] @@ -1258,11 +1257,14 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointDeclaredParameter), TypeInfoPropertyName = "PrivateEndpointDeclaredParameter2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreatePrivateEndpointRequestDeclaredRegion), TypeInfoPropertyName = "CreatePrivateEndpointRequestDeclaredRegion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointPricing))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreatePrivateEndpointValidationFailedResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreatePrivateEndpointValidationFailedResponseData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ManagedPrivateEndpoint), TypeInfoPropertyName = "ManagedPrivateEndpoint2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointValidationNullable))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreatePrivateEndpointValidationFailedResponseError))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreatePrivateProviderRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateProviderDataPolicy2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateScimGroupMappingRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateScimGroupMappingRequestRole), TypeInfoPropertyName = "CreateScimGroupMappingRequestRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateScimGroupMappingResponse))] @@ -1533,8 +1535,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfProviderOptionsObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderOptions))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnyOfProviderSortProviderSortConfig2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderSort), TypeInfoPropertyName = "ProviderSort2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderSortConfig))] internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1630,6 +1630,8 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderSort), TypeInfoPropertyName = "ProviderSort2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderSortConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenerationRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenerationRequestAspectRatio), TypeInfoPropertyName = "ImageGenerationRequestAspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenerationRequestBackground), TypeInfoPropertyName = "ImageGenerationRequestBackground2")] @@ -2049,8 +2051,6 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelsListResponseLinks))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModerationPluginId), TypeInfoPropertyName = "ModerationPluginId2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceFunctionTool))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -2146,6 +2146,8 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceFunctionTool))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceFunctionToolAllowedCaller), TypeInfoPropertyName = "NamespaceFunctionToolAllowedCaller2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceFunctionToolType), TypeInfoPropertyName = "NamespaceFunctionToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] @@ -2503,15 +2505,26 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingOverrideUtcDay), TypeInfoPropertyName = "PricingOverrideUtcDay2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpoint))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointSettings))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointStatus), TypeInfoPropertyName = "PrivateEndpointStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointCheck))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointCheckReason), TypeInfoPropertyName = "PrivateEndpointCheckReason2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointParameterCheck))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointQuantization), TypeInfoPropertyName = "PrivateEndpointQuantization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointReasoningReturnMechanism), TypeInfoPropertyName = "PrivateEndpointReasoningReturnMechanism2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointSettingsCompletions))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointSettingsExcludedParameter), TypeInfoPropertyName = "PrivateEndpointSettingsExcludedParameter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointSettingsInputs))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointSettingsReasoning))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointSettingsToolChoice))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointValidation))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointValidationResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateProvider))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateProviderDataPolicy))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptCacheBreakpointMode), TypeInfoPropertyName = "PromptCacheBreakpointMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptCacheOptionsMode), TypeInfoPropertyName = "PromptCacheOptionsMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderOverloadedResponse))] @@ -2548,19 +2561,6 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningConfigVariant12))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDeltaEvent), TypeInfoPropertyName = "ReasoningDeltaEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailEncryptedType), TypeInfoPropertyName = "ReasoningDetailEncryptedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailServerToolCallType), TypeInfoPropertyName = "ReasoningDetailServerToolCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailSummaryType), TypeInfoPropertyName = "ReasoningDetailSummaryType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailTextType), TypeInfoPropertyName = "ReasoningDetailTextType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailUnionDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailUnionDiscriminatorType), TypeInfoPropertyName = "ReasoningDetailUnionDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDoneEvent), TypeInfoPropertyName = "ReasoningDoneEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningItemVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryPartAddedEvent), TypeInfoPropertyName = "ReasoningSummaryPartAddedEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryPartDoneEvent), TypeInfoPropertyName = "ReasoningSummaryPartDoneEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryTextType), TypeInfoPropertyName = "ReasoningSummaryTextType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryTextDeltaEvent), TypeInfoPropertyName = "ReasoningSummaryTextDeltaEvent2")] internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -2656,6 +2656,19 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDeltaEvent), TypeInfoPropertyName = "ReasoningDeltaEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailEncryptedType), TypeInfoPropertyName = "ReasoningDetailEncryptedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailServerToolCallType), TypeInfoPropertyName = "ReasoningDetailServerToolCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailSummaryType), TypeInfoPropertyName = "ReasoningDetailSummaryType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailTextType), TypeInfoPropertyName = "ReasoningDetailTextType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailUnionDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailUnionDiscriminatorType), TypeInfoPropertyName = "ReasoningDetailUnionDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDoneEvent), TypeInfoPropertyName = "ReasoningDoneEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningItemVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryPartAddedEvent), TypeInfoPropertyName = "ReasoningSummaryPartAddedEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryPartDoneEvent), TypeInfoPropertyName = "ReasoningSummaryPartDoneEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryTextType), TypeInfoPropertyName = "ReasoningSummaryTextType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryTextDeltaEvent), TypeInfoPropertyName = "ReasoningSummaryTextDeltaEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningSummaryTextDoneEvent), TypeInfoPropertyName = "ReasoningSummaryTextDoneEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningTextContentType), TypeInfoPropertyName = "ReasoningTextContentType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RefusalDeltaEvent), TypeInfoPropertyName = "RefusalDeltaEvent2")] @@ -2903,6 +2916,16 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateEndpointPricingRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateEndpointRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion), TypeInfoPropertyName = "UpdatePrivateEndpointRequestDeclaredRegion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfPrivateEndpointPricingObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfUpdatePrivateEndpointSettingsRequestObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequestCompletions))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter), TypeInfoPropertyName = "UpdatePrivateEndpointSettingsRequestExcludedParameter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequestInputs))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequestReasoning))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequestToolChoice))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateProviderRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateProviderRequestDataPolicy))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateScimGroupMappingRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateScimGroupMappingRequestRole), TypeInfoPropertyName = "UpdateScimGroupMappingRequestRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateScimGroupMappingResponse))] @@ -2920,6 +2943,45 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultEffectiveSecretScope), TypeInfoPropertyName = "VaultEffectiveSecretScope2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultEffectiveSecretListResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTable))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableCustomOrigin))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableCustomOriginStatus))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableCustomOriginStatusState), TypeInfoPropertyName = "VaultRoutingTableCustomOriginStatusState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithub))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubApp))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallation))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType), TypeInfoPropertyName = "VaultRoutingTableGithubAppInstallationAccountType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection), TypeInfoPropertyName = "VaultRoutingTableGithubAppInstallationCoverageSelection2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy), TypeInfoPropertyName = "VaultRoutingTableGithubAppInstallationShadowedBy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubAppMemberLink))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia), TypeInfoPropertyName = "VaultRoutingTableGithubAppMemberLinkVia2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubAppScope), TypeInfoPropertyName = "VaultRoutingTableGithubAppScope2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubToken))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubTokenScope), TypeInfoPropertyName = "VaultRoutingTableGithubTokenScope2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGoogle))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGoogleAccount))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGoogleAccountScope), TypeInfoPropertyName = "VaultRoutingTableGoogleAccountScope2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableHostRule))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableMcpOrigin))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableMcpOriginRoute))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableMcpOriginStatus))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableMcpOriginStatusState), TypeInfoPropertyName = "VaultRoutingTableMcpOriginStatusState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableSecret))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableSecretScope), TypeInfoPropertyName = "VaultRoutingTableSecretScope2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableSlack))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableSlackMemberLink))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultSecret))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultSecretCopyRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultSecretCopyResponse))] @@ -3009,68 +3071,6 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetUserActivityGroupBy), TypeInfoPropertyName = "GetUserActivityGroupBy2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfBatchListTimestampObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksSource), TypeInfoPropertyName = "GetBenchmarksSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksTaskType), TypeInfoPropertyName = "GetBenchmarksTaskType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksBenchmarkType), TypeInfoPropertyName = "GetBenchmarksBenchmarkType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksSearchSurface), TypeInfoPropertyName = "GetBenchmarksSearchSurface2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksArena), TypeInfoPropertyName = "GetBenchmarksArena2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListBYOKKeysProvider), TypeInfoPropertyName = "ListBYOKKeysProvider2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetTaskClassificationsWindow), TypeInfoPropertyName = "GetTaskClassificationsWindow2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsCategory), TypeInfoPropertyName = "GetAppRankingsCategory2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsSubcategory), TypeInfoPropertyName = "GetAppRankingsSubcategory2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsSort), TypeInfoPropertyName = "GetAppRankingsSort2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyPeriod), TypeInfoPropertyName = "GetRankingsDailyPeriod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyModality), TypeInfoPropertyName = "GetRankingsDailyModality2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyContextBucket), TypeInfoPropertyName = "GetRankingsDailyContextBucket2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyCategory), TypeInfoPropertyName = "GetRankingsDailyCategory2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyLanguageType), TypeInfoPropertyName = "GetRankingsDailyLanguageType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetSessionCostTurnRange), TypeInfoPropertyName = "GetSessionCostTurnRange2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListFilesOrder), TypeInfoPropertyName = "ListFilesOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsCategory), TypeInfoPropertyName = "GetModelsCategory2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsSort), TypeInfoPropertyName = "GetModelsSort2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsDistillable), TypeInfoPropertyName = "GetModelsDistillable2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsZdr), TypeInfoPropertyName = "GetModelsZdr2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsRegion), TypeInfoPropertyName = "GetModelsRegion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListModelsUserSort), TypeInfoPropertyName = "ListModelsUserSort2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeletePrivateEndpointDraftOnly), TypeInfoPropertyName = "DeletePrivateEndpointDraftOnly2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnyOfDeleteScimGroupMappingKeepMembers2Boolean2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeleteScimGroupMappingKeepMembers2), TypeInfoPropertyName = "DeleteScimGroupMappingKeepMembers22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListToolsApiFormat), TypeInfoPropertyName = "ListToolsApiFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataDimension))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataGranularitie))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName), TypeInfoPropertyName = "GetAnalyticsMetaResponseDataGranularitieName2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataMetric))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat), TypeInfoPropertyName = "GetAnalyticsMetaResponseDataMetricDisplayFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataOperator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataOperatorName), TypeInfoPropertyName = "GetAnalyticsMetaResponseDataOperatorName2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataOperatorValueType), TypeInfoPropertyName = "GetAnalyticsMetaResponseDataOperatorValueType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.QueryAnalyticsResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.QueryAnalyticsResponseData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.QueryAnalyticsResponseDataMetadata))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExchangeAuthCodeForAPIKeyResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAuthKeysCodeResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAuthKeysCodeResponseData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCreditsResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCreditsResponseData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseDataItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseDataItemObject), TypeInfoPropertyName = "CreateEmbeddingsResponseDataItemObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseObject), TypeInfoPropertyName = "CreateEmbeddingsResponseObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseUsage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseUsagePromptTokensDetails))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListEndpointsZdrResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCurrentKeyResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCurrentKeyResponseData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion), TypeInfoPropertyName = "GetCurrentKeyResponseDataAllowedDataRegion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] internal sealed partial class SourceGenerationContextChunk5 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -3166,6 +3166,68 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksSource), TypeInfoPropertyName = "GetBenchmarksSource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksTaskType), TypeInfoPropertyName = "GetBenchmarksTaskType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksBenchmarkType), TypeInfoPropertyName = "GetBenchmarksBenchmarkType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksSearchSurface), TypeInfoPropertyName = "GetBenchmarksSearchSurface2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksArena), TypeInfoPropertyName = "GetBenchmarksArena2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListBYOKKeysProvider), TypeInfoPropertyName = "ListBYOKKeysProvider2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetTaskClassificationsWindow), TypeInfoPropertyName = "GetTaskClassificationsWindow2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsCategory), TypeInfoPropertyName = "GetAppRankingsCategory2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsSubcategory), TypeInfoPropertyName = "GetAppRankingsSubcategory2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsSort), TypeInfoPropertyName = "GetAppRankingsSort2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyPeriod), TypeInfoPropertyName = "GetRankingsDailyPeriod2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyModality), TypeInfoPropertyName = "GetRankingsDailyModality2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyContextBucket), TypeInfoPropertyName = "GetRankingsDailyContextBucket2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyCategory), TypeInfoPropertyName = "GetRankingsDailyCategory2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyLanguageType), TypeInfoPropertyName = "GetRankingsDailyLanguageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetSessionCostTurnRange), TypeInfoPropertyName = "GetSessionCostTurnRange2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListFilesOrder), TypeInfoPropertyName = "ListFilesOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsCategory), TypeInfoPropertyName = "GetModelsCategory2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsSort), TypeInfoPropertyName = "GetModelsSort2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsDistillable), TypeInfoPropertyName = "GetModelsDistillable2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsZdr), TypeInfoPropertyName = "GetModelsZdr2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsRegion), TypeInfoPropertyName = "GetModelsRegion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListModelsUserSort), TypeInfoPropertyName = "ListModelsUserSort2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeletePrivateEndpointDraftOnly), TypeInfoPropertyName = "DeletePrivateEndpointDraftOnly2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnyOfDeleteScimGroupMappingKeepMembers2Boolean2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeleteScimGroupMappingKeepMembers2), TypeInfoPropertyName = "DeleteScimGroupMappingKeepMembers22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListToolsApiFormat), TypeInfoPropertyName = "ListToolsApiFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataDimension))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataGranularitie))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName), TypeInfoPropertyName = "GetAnalyticsMetaResponseDataGranularitieName2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataMetric))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat), TypeInfoPropertyName = "GetAnalyticsMetaResponseDataMetricDisplayFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataOperator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataOperatorName), TypeInfoPropertyName = "GetAnalyticsMetaResponseDataOperatorName2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataOperatorValueType), TypeInfoPropertyName = "GetAnalyticsMetaResponseDataOperatorValueType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.QueryAnalyticsResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.QueryAnalyticsResponseData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.QueryAnalyticsResponseDataMetadata))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExchangeAuthCodeForAPIKeyResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAuthKeysCodeResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAuthKeysCodeResponseData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCreditsResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCreditsResponseData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseDataItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseDataItemObject), TypeInfoPropertyName = "CreateEmbeddingsResponseDataItemObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseObject), TypeInfoPropertyName = "CreateEmbeddingsResponseObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseUsage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseUsagePromptTokensDetails))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListEndpointsZdrResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCurrentKeyResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCurrentKeyResponseData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion), TypeInfoPropertyName = "GetCurrentKeyResponseDataAllowedDataRegion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] #pragma warning disable CS0618 // This registration names a deprecated API model. [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCurrentKeyResponseDataRateLimit))] #pragma warning restore CS0618 @@ -3191,6 +3253,13 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnyOfCreatePrivateEndpointValidationFailedResponseUnprocessableEntityResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnyOfCreatePrivateEndpointValidationFailedResponseInternalServerResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnyOfCreatePrivateEndpointValidationFailedResponseBadGatewayResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListPrivateProvidersResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreatePrivateProviderResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeletePrivateProviderResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeletePrivateProviderResponseData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetPrivateProviderResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateProviderResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItem))] @@ -3516,77 +3585,6 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatContentImageImageUrlDetail?), TypeInfoPropertyName = "NullableChatContentImageImageUrlDetail2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatContentImageType?), TypeInfoPropertyName = "NullableChatContentImageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatContentItemsDiscriminatorType?), TypeInfoPropertyName = "NullableChatContentItemsDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatContentTextType?), TypeInfoPropertyName = "NullableChatContentTextType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatContentVideoType?), TypeInfoPropertyName = "NullableChatContentVideoType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatContentVideoInputProcessing?), TypeInfoPropertyName = "NullableChatContentVideoInputProcessing2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringIListChatContentText2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatDeveloperMessageRole?), TypeInfoPropertyName = "NullableChatDeveloperMessageRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatFormatGrammarConfigType?), TypeInfoPropertyName = "NullableChatFormatGrammarConfigType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatFormatJsonObjectConfigType?), TypeInfoPropertyName = "NullableChatFormatJsonObjectConfigType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatFormatJsonSchemaConfigType?), TypeInfoPropertyName = "NullableChatFormatJsonSchemaConfigType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatFormatPythonConfigType?), TypeInfoPropertyName = "NullableChatFormatPythonConfigType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatFormatTextConfigType?), TypeInfoPropertyName = "NullableChatFormatTextConfigType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatFunctionTool?), TypeInfoPropertyName = "NullableChatFunctionTool2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatFunctionToolVariant1Type?), TypeInfoPropertyName = "NullableChatFunctionToolVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatMessages?), TypeInfoPropertyName = "NullableChatMessages2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatMessagesDiscriminatorRole?), TypeInfoPropertyName = "NullableChatMessagesDiscriminatorRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfStringObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatNamedToolChoiceType?), TypeInfoPropertyName = "NullableChatNamedToolChoiceType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailUnion?), TypeInfoPropertyName = "NullableReasoningDetailUnion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatReasoningSummaryVerbosityEnum?), TypeInfoPropertyName = "NullableChatReasoningSummaryVerbosityEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestModalitie?), TypeInfoPropertyName = "NullableChatRequestModalitie2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PluginsItem?), TypeInfoPropertyName = "NullablePluginsItem2_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestPluginDiscriminatorId?), TypeInfoPropertyName = "NullableChatRequestPluginDiscriminatorId2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestReasoningEffort?), TypeInfoPropertyName = "NullableChatRequestReasoningEffort2_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestReasoningEffort2?), TypeInfoPropertyName = "NullableChatRequestReasoningEffort22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseFormat?), TypeInfoPropertyName = "NullableResponseFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestResponseFormatDiscriminatorType?), TypeInfoPropertyName = "NullableChatRequestResponseFormatDiscriminatorType2")] - #pragma warning disable CS0618 // This registration names a deprecated API model. - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeprecatedRoute?), TypeInfoPropertyName = "NullableDeprecatedRoute2")] - #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestServiceTier?), TypeInfoPropertyName = "NullableChatRequestServiceTier2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringIListString2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoice?), TypeInfoPropertyName = "NullableChatToolChoice2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatResultObject?), TypeInfoPropertyName = "NullableChatResultObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSearchModelsServerToolType?), TypeInfoPropertyName = "NullableChatSearchModelsServerToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfAlignmentObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamChunkObject?), TypeInfoPropertyName = "NullableChatStreamChunkObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfChatAudioOutputObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamDeltaRole?), TypeInfoPropertyName = "NullableChatStreamDeltaRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamToolCallType?), TypeInfoPropertyName = "NullableChatStreamToolCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSystemMessageRole?), TypeInfoPropertyName = "NullableChatSystemMessageRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolCallType?), TypeInfoPropertyName = "NullableChatToolCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoiceVariant1?), TypeInfoPropertyName = "NullableChatToolChoiceVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoiceVariant2?), TypeInfoPropertyName = "NullableChatToolChoiceVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoiceVariant3?), TypeInfoPropertyName = "NullableChatToolChoiceVariant32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolMessageRole?), TypeInfoPropertyName = "NullableChatToolMessageRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatUserMessageRole?), TypeInfoPropertyName = "NullableChatUserMessageRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchEngineEnum?), TypeInfoPropertyName = "NullableWebSearchEngineEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchMode?), TypeInfoPropertyName = "NullableWebSearchMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SearchQualityLevel?), TypeInfoPropertyName = "NullableSearchQualityLevel2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatWebSearchShorthandType?), TypeInfoPropertyName = "NullableChatWebSearchShorthandType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallCodeDeltaEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallCodeDeltaEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallCodeDoneEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallCodeDoneEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallCompletedEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallCompletedEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallInProgressEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallInProgressEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallInterpretingEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallInterpretingEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallItem?), TypeInfoPropertyName = "NullableCodeInterpreterCallItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterFileOutputType?), TypeInfoPropertyName = "NullableCodeInterpreterFileOutputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterImageOutputType?), TypeInfoPropertyName = "NullableCodeInterpreterImageOutputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterLogsOutputType?), TypeInfoPropertyName = "NullableCodeInterpreterLogsOutputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStringCodeInterpreterServerToolContainer2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterServerToolContainerMemoryLimit?), TypeInfoPropertyName = "NullableCodeInterpreterServerToolContainerMemoryLimit2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterServerToolContainerType?), TypeInfoPropertyName = "NullableCodeInterpreterServerToolContainerType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterServerToolType?), TypeInfoPropertyName = "NullableCodeInterpreterServerToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodexLocalShellToolType?), TypeInfoPropertyName = "NullableCodexLocalShellToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CompactionItemType?), TypeInfoPropertyName = "NullableCompactionItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CompletedEventType?), TypeInfoPropertyName = "NullableCompletedEventType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CompoundFilterType?), TypeInfoPropertyName = "NullableCompoundFilterType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ComputerUseServerToolEnvironment?), TypeInfoPropertyName = "NullableComputerUseServerToolEnvironment2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ComputerUseServerToolType?), TypeInfoPropertyName = "NullableComputerUseServerToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConfigurationUpdateItemType?), TypeInfoPropertyName = "NullableConfigurationUpdateItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConfigurationUpdateReasoningEffort?), TypeInfoPropertyName = "NullableConfigurationUpdateReasoningEffort2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicy?), TypeInfoPropertyName = "NullableContainerNetworkPolicy2")] internal sealed partial class SourceGenerationContextChunk6 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -3682,29 +3680,100 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerAutoEnvironmentType?), TypeInfoPropertyName = "NullableContainerAutoEnvironmentType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileObject?), TypeInfoPropertyName = "NullableContainerFileObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileSource?), TypeInfoPropertyName = "NullableContainerFileSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileListResponseObject?), TypeInfoPropertyName = "NullableContainerFileListResponseObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant1Type?), TypeInfoPropertyName = "NullableContainerNetworkPolicyVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant2Type?), TypeInfoPropertyName = "NullableContainerNetworkPolicyVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerReferenceEnvironmentType?), TypeInfoPropertyName = "NullableContainerReferenceEnvironmentType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterAction?), TypeInfoPropertyName = "NullableContentFilterAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterBuiltinAction?), TypeInfoPropertyName = "NullableContentFilterBuiltinAction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptInjectionScanScope?), TypeInfoPropertyName = "NullablePromptInjectionScanScope2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterBuiltinSlug?), TypeInfoPropertyName = "NullableContentFilterBuiltinSlug2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartAddedEvent?), TypeInfoPropertyName = "NullableContentPartAddedEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfResponseOutputTextReasoningTextContentOpenAIResponsesRefusalContent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartAudioType?), TypeInfoPropertyName = "NullableContentPartAudioType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartDoneEvent?), TypeInfoPropertyName = "NullableContentPartDoneEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartImageType?), TypeInfoPropertyName = "NullableContentPartImageType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartInputAudioType?), TypeInfoPropertyName = "NullableContentPartInputAudioType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartInputFileType?), TypeInfoPropertyName = "NullableContentPartInputFileType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartInputVideoType?), TypeInfoPropertyName = "NullableContentPartInputVideoType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartVideoType?), TypeInfoPropertyName = "NullableContentPartVideoType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContextCompactionItemType?), TypeInfoPropertyName = "NullableContextCompactionItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContextCompressionEngine?), TypeInfoPropertyName = "NullableContextCompressionEngine2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContextCompressionPluginId?), TypeInfoPropertyName = "NullableContextCompressionPluginId2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatContentTextType?), TypeInfoPropertyName = "NullableChatContentTextType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatContentVideoType?), TypeInfoPropertyName = "NullableChatContentVideoType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatContentVideoInputProcessing?), TypeInfoPropertyName = "NullableChatContentVideoInputProcessing2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringIListChatContentText2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatDeveloperMessageRole?), TypeInfoPropertyName = "NullableChatDeveloperMessageRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatFormatGrammarConfigType?), TypeInfoPropertyName = "NullableChatFormatGrammarConfigType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatFormatJsonObjectConfigType?), TypeInfoPropertyName = "NullableChatFormatJsonObjectConfigType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatFormatJsonSchemaConfigType?), TypeInfoPropertyName = "NullableChatFormatJsonSchemaConfigType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatFormatPythonConfigType?), TypeInfoPropertyName = "NullableChatFormatPythonConfigType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatFormatTextConfigType?), TypeInfoPropertyName = "NullableChatFormatTextConfigType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatFunctionTool?), TypeInfoPropertyName = "NullableChatFunctionTool2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatFunctionToolVariant1Type?), TypeInfoPropertyName = "NullableChatFunctionToolVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatMessages?), TypeInfoPropertyName = "NullableChatMessages2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatMessagesDiscriminatorRole?), TypeInfoPropertyName = "NullableChatMessagesDiscriminatorRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfStringObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatNamedToolChoiceType?), TypeInfoPropertyName = "NullableChatNamedToolChoiceType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailUnion?), TypeInfoPropertyName = "NullableReasoningDetailUnion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatReasoningSummaryVerbosityEnum?), TypeInfoPropertyName = "NullableChatReasoningSummaryVerbosityEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestModalitie?), TypeInfoPropertyName = "NullableChatRequestModalitie2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PluginsItem?), TypeInfoPropertyName = "NullablePluginsItem2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestPluginDiscriminatorId?), TypeInfoPropertyName = "NullableChatRequestPluginDiscriminatorId2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestReasoningEffort?), TypeInfoPropertyName = "NullableChatRequestReasoningEffort2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestReasoningEffort2?), TypeInfoPropertyName = "NullableChatRequestReasoningEffort22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseFormat?), TypeInfoPropertyName = "NullableResponseFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestResponseFormatDiscriminatorType?), TypeInfoPropertyName = "NullableChatRequestResponseFormatDiscriminatorType2")] + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeprecatedRoute?), TypeInfoPropertyName = "NullableDeprecatedRoute2")] + #pragma warning restore CS0618 + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestServiceTier?), TypeInfoPropertyName = "NullableChatRequestServiceTier2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringIListString2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoice?), TypeInfoPropertyName = "NullableChatToolChoice2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatResultObject?), TypeInfoPropertyName = "NullableChatResultObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSearchModelsServerToolType?), TypeInfoPropertyName = "NullableChatSearchModelsServerToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfAlignmentObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamChunkObject?), TypeInfoPropertyName = "NullableChatStreamChunkObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfChatAudioOutputObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamDeltaRole?), TypeInfoPropertyName = "NullableChatStreamDeltaRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamToolCallType?), TypeInfoPropertyName = "NullableChatStreamToolCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSystemMessageRole?), TypeInfoPropertyName = "NullableChatSystemMessageRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolCallType?), TypeInfoPropertyName = "NullableChatToolCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoiceVariant1?), TypeInfoPropertyName = "NullableChatToolChoiceVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoiceVariant2?), TypeInfoPropertyName = "NullableChatToolChoiceVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoiceVariant3?), TypeInfoPropertyName = "NullableChatToolChoiceVariant32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolMessageRole?), TypeInfoPropertyName = "NullableChatToolMessageRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatUserMessageRole?), TypeInfoPropertyName = "NullableChatUserMessageRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchEngineEnum?), TypeInfoPropertyName = "NullableWebSearchEngineEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchMode?), TypeInfoPropertyName = "NullableWebSearchMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SearchQualityLevel?), TypeInfoPropertyName = "NullableSearchQualityLevel2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatWebSearchShorthandType?), TypeInfoPropertyName = "NullableChatWebSearchShorthandType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallCodeDeltaEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallCodeDeltaEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallCodeDoneEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallCodeDoneEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallCompletedEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallCompletedEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallInProgressEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallInProgressEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallInterpretingEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallInterpretingEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallItem?), TypeInfoPropertyName = "NullableCodeInterpreterCallItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterFileOutputType?), TypeInfoPropertyName = "NullableCodeInterpreterFileOutputType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterImageOutputType?), TypeInfoPropertyName = "NullableCodeInterpreterImageOutputType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterLogsOutputType?), TypeInfoPropertyName = "NullableCodeInterpreterLogsOutputType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStringCodeInterpreterServerToolContainer2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterServerToolContainerMemoryLimit?), TypeInfoPropertyName = "NullableCodeInterpreterServerToolContainerMemoryLimit2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterServerToolContainerType?), TypeInfoPropertyName = "NullableCodeInterpreterServerToolContainerType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterServerToolType?), TypeInfoPropertyName = "NullableCodeInterpreterServerToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodexLocalShellToolType?), TypeInfoPropertyName = "NullableCodexLocalShellToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CompactionItemType?), TypeInfoPropertyName = "NullableCompactionItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CompletedEventType?), TypeInfoPropertyName = "NullableCompletedEventType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CompoundFilterType?), TypeInfoPropertyName = "NullableCompoundFilterType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ComputerUseServerToolEnvironment?), TypeInfoPropertyName = "NullableComputerUseServerToolEnvironment2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ComputerUseServerToolType?), TypeInfoPropertyName = "NullableComputerUseServerToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConfigurationUpdateItemType?), TypeInfoPropertyName = "NullableConfigurationUpdateItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ConfigurationUpdateReasoningEffort?), TypeInfoPropertyName = "NullableConfigurationUpdateReasoningEffort2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicy?), TypeInfoPropertyName = "NullableContainerNetworkPolicy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerAutoEnvironmentType?), TypeInfoPropertyName = "NullableContainerAutoEnvironmentType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileObject?), TypeInfoPropertyName = "NullableContainerFileObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileSource?), TypeInfoPropertyName = "NullableContainerFileSource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileListResponseObject?), TypeInfoPropertyName = "NullableContainerFileListResponseObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant1Type?), TypeInfoPropertyName = "NullableContainerNetworkPolicyVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant2Type?), TypeInfoPropertyName = "NullableContainerNetworkPolicyVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerReferenceEnvironmentType?), TypeInfoPropertyName = "NullableContainerReferenceEnvironmentType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterAction?), TypeInfoPropertyName = "NullableContentFilterAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterBuiltinAction?), TypeInfoPropertyName = "NullableContentFilterBuiltinAction2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptInjectionScanScope?), TypeInfoPropertyName = "NullablePromptInjectionScanScope2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentFilterBuiltinSlug?), TypeInfoPropertyName = "NullableContentFilterBuiltinSlug2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartAddedEvent?), TypeInfoPropertyName = "NullableContentPartAddedEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfResponseOutputTextReasoningTextContentOpenAIResponsesRefusalContent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartAudioType?), TypeInfoPropertyName = "NullableContentPartAudioType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartDoneEvent?), TypeInfoPropertyName = "NullableContentPartDoneEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartImageType?), TypeInfoPropertyName = "NullableContentPartImageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartInputAudioType?), TypeInfoPropertyName = "NullableContentPartInputAudioType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartInputFileType?), TypeInfoPropertyName = "NullableContentPartInputFileType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartInputVideoType?), TypeInfoPropertyName = "NullableContentPartInputVideoType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentPartVideoType?), TypeInfoPropertyName = "NullableContentPartVideoType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContextCompactionItemType?), TypeInfoPropertyName = "NullableContextCompactionItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContextCompressionEngine?), TypeInfoPropertyName = "NullableContextCompressionEngine2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContextCompressionPluginId?), TypeInfoPropertyName = "NullableContextCompressionPluginId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion?), TypeInfoPropertyName = "NullableCreateBYOKKeyRequestDeclaredRegion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfBYOKKeyObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreatedEventType?), TypeInfoPropertyName = "NullableCreatedEventType2")] @@ -4032,75 +4101,6 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityNewrelicDestinationConfigRegion?), TypeInfoPropertyName = "NullableObservabilityNewrelicDestinationConfigRegion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityNewrelicDestinationType?), TypeInfoPropertyName = "NullableObservabilityNewrelicDestinationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOpikDestinationType?), TypeInfoPropertyName = "NullableObservabilityOpikDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOtelCollectorDestinationType?), TypeInfoPropertyName = "NullableObservabilityOtelCollectorDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityPosthogDestinationType?), TypeInfoPropertyName = "NullableObservabilityPosthogDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityRampDestinationType?), TypeInfoPropertyName = "NullableObservabilityRampDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityS3DestinationConfigAuthMode?), TypeInfoPropertyName = "NullableObservabilityS3DestinationConfigAuthMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityS3DestinationConfigProvider?), TypeInfoPropertyName = "NullableObservabilityS3DestinationConfigProvider2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityS3DestinationType?), TypeInfoPropertyName = "NullableObservabilityS3DestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySentryDestinationType?), TypeInfoPropertyName = "NullableObservabilitySentryDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySnowflakeDestinationType?), TypeInfoPropertyName = "NullableObservabilitySnowflakeDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWeaveDestinationType?), TypeInfoPropertyName = "NullableObservabilityWeaveDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWebhookDestinationConfigMethod?), TypeInfoPropertyName = "NullableObservabilityWebhookDestinationConfigMethod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWebhookDestinationType?), TypeInfoPropertyName = "NullableObservabilityWebhookDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileShape?), TypeInfoPropertyName = "NullableOpenAIFileShape2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileObject?), TypeInfoPropertyName = "NullableOpenAIFileObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFilePurpose?), TypeInfoPropertyName = "NullableOpenAIFilePurpose2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileStatus?), TypeInfoPropertyName = "NullableOpenAIFileStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileDeletedShape?), TypeInfoPropertyName = "NullableOpenAIFileDeletedShape2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileDeletedObject?), TypeInfoPropertyName = "NullableOpenAIFileDeletedObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileListShape?), TypeInfoPropertyName = "NullableOpenAIFileListShape2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileListObject?), TypeInfoPropertyName = "NullableOpenAIFileListObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseCustomToolCallType?), TypeInfoPropertyName = "NullableOpenAIResponseCustomToolCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringIListOutputVariant2Item32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputVariant2Item3?), TypeInfoPropertyName = "NullableOutputVariant2Item32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminatorType?), TypeInfoPropertyName = "NullableOpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseCustomToolCallOutputType?), TypeInfoPropertyName = "NullableOpenAIResponseCustomToolCallOutputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseFunctionToolCallType?), TypeInfoPropertyName = "NullableOpenAIResponseFunctionToolCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringIListOutputVariant2Item42")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputVariant2Item4?), TypeInfoPropertyName = "NullableOutputVariant2Item42")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminatorType?), TypeInfoPropertyName = "NullableOpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseFunctionToolCallOutputType?), TypeInfoPropertyName = "NullableOpenAIResponseFunctionToolCallOutputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentItem4?), TypeInfoPropertyName = "NullableContentItem42")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminatorType?), TypeInfoPropertyName = "NullableOpenAIResponseInputMessageItemContentItemDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant1?), TypeInfoPropertyName = "NullableOpenAIResponseInputMessageItemRoleVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant2?), TypeInfoPropertyName = "NullableOpenAIResponseInputMessageItemRoleVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant3?), TypeInfoPropertyName = "NullableOpenAIResponseInputMessageItemRoleVariant32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseInputMessageItemType?), TypeInfoPropertyName = "NullableOpenAIResponseInputMessageItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDeltaType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallCodeDeltaType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDoneType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallCodeDoneType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompletedType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallCompletedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgressType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallInProgressType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpretingType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallInterpretingType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesImageGenCallCompletedType?), TypeInfoPropertyName = "NullableOpenAIResponsesImageGenCallCompletedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesImageGenCallGeneratingType?), TypeInfoPropertyName = "NullableOpenAIResponsesImageGenCallGeneratingType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesImageGenCallInProgressType?), TypeInfoPropertyName = "NullableOpenAIResponsesImageGenCallInProgressType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesImageGenCallPartialImageType?), TypeInfoPropertyName = "NullableOpenAIResponsesImageGenCallPartialImageType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesRefusalContentType?), TypeInfoPropertyName = "NullableOpenAIResponsesRefusalContentType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesSearchCompletedType?), TypeInfoPropertyName = "NullableOpenAIResponsesSearchCompletedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant1?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant2?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant3?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant4Type?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant4Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfOpenAIResponsesToolChoiceVariant5TypeVariant1OpenAIResponsesToolChoiceVariant5TypeVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant1?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant5TypeVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant2?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant5TypeVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant7Type?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant7Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant8Type?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant8Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesTruncation?), TypeInfoPropertyName = "NullableOpenAIResponsesTruncation2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesWebSearchCallInProgressType?), TypeInfoPropertyName = "NullableOpenAIResponsesWebSearchCallInProgressType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesWebSearchCallSearchingType?), TypeInfoPropertyName = "NullableOpenAIResponsesWebSearchCallSearchingType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenResponsesCreatedEvent?), TypeInfoPropertyName = "NullableOpenResponsesCreatedEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenResponsesErrorFieldCode?), TypeInfoPropertyName = "NullableOpenResponsesErrorFieldCode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfAlignmentOpenResponsesErrorMetadataAlignment2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenResponsesInProgressEvent?), TypeInfoPropertyName = "NullableOpenResponsesInProgressEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItems?), TypeInfoPropertyName = "NullableOutputItems2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.TextExtendedConfig?), TypeInfoPropertyName = "NullableTextExtendedConfig2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileShape?), TypeInfoPropertyName = "NullableOpenRouterFileShape2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileType?), TypeInfoPropertyName = "NullableOpenRouterFileType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileDeletedShape?), TypeInfoPropertyName = "NullableOpenRouterFileDeletedShape2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileDeletedType?), TypeInfoPropertyName = "NullableOpenRouterFileDeletedType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileListShape?), TypeInfoPropertyName = "NullableOpenRouterFileListShape2")] internal sealed partial class SourceGenerationContextChunk7 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -4196,6 +4196,75 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOtelCollectorDestinationType?), TypeInfoPropertyName = "NullableObservabilityOtelCollectorDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityPosthogDestinationType?), TypeInfoPropertyName = "NullableObservabilityPosthogDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityRampDestinationType?), TypeInfoPropertyName = "NullableObservabilityRampDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityS3DestinationConfigAuthMode?), TypeInfoPropertyName = "NullableObservabilityS3DestinationConfigAuthMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityS3DestinationConfigProvider?), TypeInfoPropertyName = "NullableObservabilityS3DestinationConfigProvider2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityS3DestinationType?), TypeInfoPropertyName = "NullableObservabilityS3DestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySentryDestinationType?), TypeInfoPropertyName = "NullableObservabilitySentryDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySnowflakeDestinationType?), TypeInfoPropertyName = "NullableObservabilitySnowflakeDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWeaveDestinationType?), TypeInfoPropertyName = "NullableObservabilityWeaveDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWebhookDestinationConfigMethod?), TypeInfoPropertyName = "NullableObservabilityWebhookDestinationConfigMethod2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWebhookDestinationType?), TypeInfoPropertyName = "NullableObservabilityWebhookDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileShape?), TypeInfoPropertyName = "NullableOpenAIFileShape2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileObject?), TypeInfoPropertyName = "NullableOpenAIFileObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFilePurpose?), TypeInfoPropertyName = "NullableOpenAIFilePurpose2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileStatus?), TypeInfoPropertyName = "NullableOpenAIFileStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileDeletedShape?), TypeInfoPropertyName = "NullableOpenAIFileDeletedShape2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileDeletedObject?), TypeInfoPropertyName = "NullableOpenAIFileDeletedObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileListShape?), TypeInfoPropertyName = "NullableOpenAIFileListShape2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileListObject?), TypeInfoPropertyName = "NullableOpenAIFileListObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseCustomToolCallType?), TypeInfoPropertyName = "NullableOpenAIResponseCustomToolCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringIListOutputVariant2Item32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputVariant2Item3?), TypeInfoPropertyName = "NullableOutputVariant2Item32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminatorType?), TypeInfoPropertyName = "NullableOpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseCustomToolCallOutputType?), TypeInfoPropertyName = "NullableOpenAIResponseCustomToolCallOutputType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseFunctionToolCallType?), TypeInfoPropertyName = "NullableOpenAIResponseFunctionToolCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringIListOutputVariant2Item42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputVariant2Item4?), TypeInfoPropertyName = "NullableOutputVariant2Item42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminatorType?), TypeInfoPropertyName = "NullableOpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseFunctionToolCallOutputType?), TypeInfoPropertyName = "NullableOpenAIResponseFunctionToolCallOutputType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContentItem4?), TypeInfoPropertyName = "NullableContentItem42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminatorType?), TypeInfoPropertyName = "NullableOpenAIResponseInputMessageItemContentItemDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant1?), TypeInfoPropertyName = "NullableOpenAIResponseInputMessageItemRoleVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant2?), TypeInfoPropertyName = "NullableOpenAIResponseInputMessageItemRoleVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant3?), TypeInfoPropertyName = "NullableOpenAIResponseInputMessageItemRoleVariant32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseInputMessageItemType?), TypeInfoPropertyName = "NullableOpenAIResponseInputMessageItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDeltaType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallCodeDeltaType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDoneType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallCodeDoneType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompletedType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallCompletedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgressType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallInProgressType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpretingType?), TypeInfoPropertyName = "NullableOpenAIResponsesCodeInterpreterCallInterpretingType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesImageGenCallCompletedType?), TypeInfoPropertyName = "NullableOpenAIResponsesImageGenCallCompletedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesImageGenCallGeneratingType?), TypeInfoPropertyName = "NullableOpenAIResponsesImageGenCallGeneratingType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesImageGenCallInProgressType?), TypeInfoPropertyName = "NullableOpenAIResponsesImageGenCallInProgressType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesImageGenCallPartialImageType?), TypeInfoPropertyName = "NullableOpenAIResponsesImageGenCallPartialImageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesRefusalContentType?), TypeInfoPropertyName = "NullableOpenAIResponsesRefusalContentType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesSearchCompletedType?), TypeInfoPropertyName = "NullableOpenAIResponsesSearchCompletedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant1?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant2?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant3?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant4Type?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant4Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfOpenAIResponsesToolChoiceVariant5TypeVariant1OpenAIResponsesToolChoiceVariant5TypeVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant1?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant5TypeVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant2?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant5TypeVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant7Type?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant7Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesToolChoiceVariant8Type?), TypeInfoPropertyName = "NullableOpenAIResponsesToolChoiceVariant8Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesTruncation?), TypeInfoPropertyName = "NullableOpenAIResponsesTruncation2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesWebSearchCallInProgressType?), TypeInfoPropertyName = "NullableOpenAIResponsesWebSearchCallInProgressType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponsesWebSearchCallSearchingType?), TypeInfoPropertyName = "NullableOpenAIResponsesWebSearchCallSearchingType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenResponsesCreatedEvent?), TypeInfoPropertyName = "NullableOpenResponsesCreatedEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenResponsesErrorFieldCode?), TypeInfoPropertyName = "NullableOpenResponsesErrorFieldCode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfAlignmentOpenResponsesErrorMetadataAlignment2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenResponsesInProgressEvent?), TypeInfoPropertyName = "NullableOpenResponsesInProgressEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputItems?), TypeInfoPropertyName = "NullableOutputItems2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.TextExtendedConfig?), TypeInfoPropertyName = "NullableTextExtendedConfig2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileShape?), TypeInfoPropertyName = "NullableOpenRouterFileShape2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileType?), TypeInfoPropertyName = "NullableOpenRouterFileType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileDeletedShape?), TypeInfoPropertyName = "NullableOpenRouterFileDeletedShape2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileDeletedType?), TypeInfoPropertyName = "NullableOpenRouterFileDeletedType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterFileListShape?), TypeInfoPropertyName = "NullableOpenRouterFileListShape2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RoutingStrategy?), TypeInfoPropertyName = "NullableRoutingStrategy2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenRouterWebSearchServerToolType?), TypeInfoPropertyName = "NullableOpenRouterWebSearchServerToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ORAnthropicBashToolResultFileType?), TypeInfoPropertyName = "NullableORAnthropicBashToolResultFileType2")] @@ -4309,6 +4378,9 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingOverrideUtcDay?), TypeInfoPropertyName = "NullablePricingOverrideUtcDay2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointStatus?), TypeInfoPropertyName = "NullablePrivateEndpointStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointCheckReason?), TypeInfoPropertyName = "NullablePrivateEndpointCheckReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointQuantization?), TypeInfoPropertyName = "NullablePrivateEndpointQuantization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointReasoningReturnMechanism?), TypeInfoPropertyName = "NullablePrivateEndpointReasoningReturnMechanism2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointSettingsExcludedParameter?), TypeInfoPropertyName = "NullablePrivateEndpointSettingsExcludedParameter2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptCacheBreakpointMode?), TypeInfoPropertyName = "NullablePromptCacheBreakpointMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptCacheOptionsMode?), TypeInfoPropertyName = "NullablePromptCacheOptionsMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderPreferencesDataCollection?), TypeInfoPropertyName = "NullableProviderPreferencesDataCollection2")] @@ -4445,10 +4517,23 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion?), TypeInfoPropertyName = "NullableUpdateBYOKKeyRequestDeclaredRegion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfObservabilityFilterRulesConfigNullableObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion?), TypeInfoPropertyName = "NullableUpdatePrivateEndpointRequestDeclaredRegion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfPrivateEndpointPricingObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfUpdatePrivateEndpointSettingsRequestObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter?), TypeInfoPropertyName = "NullableUpdatePrivateEndpointSettingsRequestExcludedParameter2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateScimGroupMappingRequestRole?), TypeInfoPropertyName = "NullableUpdateScimGroupMappingRequestRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateWorkspaceRequestDisabledServerTool?), TypeInfoPropertyName = "NullableUpdateWorkspaceRequestDisabledServerTool2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.URLCitationType?), TypeInfoPropertyName = "NullableURLCitationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultEffectiveSecretScope?), TypeInfoPropertyName = "NullableVaultEffectiveSecretScope2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableCustomOriginStatusState?), TypeInfoPropertyName = "NullableVaultRoutingTableCustomOriginStatusState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType?), TypeInfoPropertyName = "NullableVaultRoutingTableGithubAppInstallationAccountType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection?), TypeInfoPropertyName = "NullableVaultRoutingTableGithubAppInstallationCoverageSelection2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy?), TypeInfoPropertyName = "NullableVaultRoutingTableGithubAppInstallationShadowedBy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia?), TypeInfoPropertyName = "NullableVaultRoutingTableGithubAppMemberLinkVia2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubAppScope?), TypeInfoPropertyName = "NullableVaultRoutingTableGithubAppScope2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGithubTokenScope?), TypeInfoPropertyName = "NullableVaultRoutingTableGithubTokenScope2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableGoogleAccountScope?), TypeInfoPropertyName = "NullableVaultRoutingTableGoogleAccountScope2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableMcpOriginStatusState?), TypeInfoPropertyName = "NullableVaultRoutingTableMcpOriginStatusState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VaultRoutingTableSecretScope?), TypeInfoPropertyName = "NullableVaultRoutingTableSecretScope2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VideoGenerationRequestAspectRatio?), TypeInfoPropertyName = "NullableVideoGenerationRequestAspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VideoGenerationRequestResolution?), TypeInfoPropertyName = "NullableVideoGenerationRequestResolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.VideoGenerationResponseStatus?), TypeInfoPropertyName = "NullableVideoGenerationResponseStatus2")] @@ -4467,150 +4552,65 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchSourceType?), TypeInfoPropertyName = "NullableWebSearchSourceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchUserLocationType?), TypeInfoPropertyName = "NullableWebSearchUserLocationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchUserLocationServerToolType?), TypeInfoPropertyName = "NullableWebSearchUserLocationServerToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WorkspaceBudgetResetInterval?), TypeInfoPropertyName = "NullableWorkspaceBudgetResetInterval2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WorkspaceBudgetInterval?), TypeInfoPropertyName = "NullableWorkspaceBudgetInterval2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WorkspaceMemberRole?), TypeInfoPropertyName = "NullableWorkspaceMemberRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "NullableAnyOfStringDoubleIListAnyOfStringDouble2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.QueryAnalyticsRequestOrderByDirection?), TypeInfoPropertyName = "NullableQueryAnalyticsRequestOrderByDirection2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAudioTranscriptionsRequestResponseFormat?), TypeInfoPropertyName = "NullableCreateAudioTranscriptionsRequestResponseFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAudioTranscriptionsRequestTimestampGranularitie?), TypeInfoPropertyName = "NullableCreateAudioTranscriptionsRequestTimestampGranularitie2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExchangeAuthCodeForAPIKeyRequestCodeChallengeMethod?), TypeInfoPropertyName = "NullableExchangeAuthCodeForAPIKeyRequestCodeChallengeMethod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAuthKeysCodeRequestCodeChallengeMethod?), TypeInfoPropertyName = "NullableCreateAuthKeysCodeRequestCodeChallengeMethod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAuthKeysCodeRequestUsageLimitType?), TypeInfoPropertyName = "NullableCreateAuthKeysCodeRequestUsageLimitType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestEncodingFormat?), TypeInfoPropertyName = "NullableCreateEmbeddingsRequestEncodingFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>, global::System.Collections.Generic.IList>?), TypeInfoPropertyName = "NullableAnyOfStringIListStringIListDoubleIListIListDoubleIListCreateEmbeddingsRequestInputVariant5Item2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type?), TypeInfoPropertyName = "NullableCreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type?), TypeInfoPropertyName = "NullableCreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateKeysRequestLimitReset?), TypeInfoPropertyName = "NullableCreateKeysRequestLimitReset2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateKeysRequestLimitReset?), TypeInfoPropertyName = "NullableUpdateKeysRequestLimitReset2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStringCreateRerankRequestDocument2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetUserActivityGroupBy?), TypeInfoPropertyName = "NullableGetUserActivityGroupBy2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfBatchListTimestampObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksSource?), TypeInfoPropertyName = "NullableGetBenchmarksSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksTaskType?), TypeInfoPropertyName = "NullableGetBenchmarksTaskType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksBenchmarkType?), TypeInfoPropertyName = "NullableGetBenchmarksBenchmarkType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksSearchSurface?), TypeInfoPropertyName = "NullableGetBenchmarksSearchSurface2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksArena?), TypeInfoPropertyName = "NullableGetBenchmarksArena2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListBYOKKeysProvider?), TypeInfoPropertyName = "NullableListBYOKKeysProvider2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetTaskClassificationsWindow?), TypeInfoPropertyName = "NullableGetTaskClassificationsWindow2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsCategory?), TypeInfoPropertyName = "NullableGetAppRankingsCategory2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsSubcategory?), TypeInfoPropertyName = "NullableGetAppRankingsSubcategory2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsSort?), TypeInfoPropertyName = "NullableGetAppRankingsSort2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyPeriod?), TypeInfoPropertyName = "NullableGetRankingsDailyPeriod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyModality?), TypeInfoPropertyName = "NullableGetRankingsDailyModality2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyContextBucket?), TypeInfoPropertyName = "NullableGetRankingsDailyContextBucket2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyCategory?), TypeInfoPropertyName = "NullableGetRankingsDailyCategory2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyLanguageType?), TypeInfoPropertyName = "NullableGetRankingsDailyLanguageType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetSessionCostTurnRange?), TypeInfoPropertyName = "NullableGetSessionCostTurnRange2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListFilesOrder?), TypeInfoPropertyName = "NullableListFilesOrder2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsCategory?), TypeInfoPropertyName = "NullableGetModelsCategory2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsSort?), TypeInfoPropertyName = "NullableGetModelsSort2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsDistillable?), TypeInfoPropertyName = "NullableGetModelsDistillable2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsZdr?), TypeInfoPropertyName = "NullableGetModelsZdr2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsRegion?), TypeInfoPropertyName = "NullableGetModelsRegion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListModelsUserSort?), TypeInfoPropertyName = "NullableListModelsUserSort2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeletePrivateEndpointDraftOnly?), TypeInfoPropertyName = "NullableDeletePrivateEndpointDraftOnly2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfDeleteScimGroupMappingKeepMembers2Boolean2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeleteScimGroupMappingKeepMembers2?), TypeInfoPropertyName = "NullableDeleteScimGroupMappingKeepMembers22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListToolsApiFormat?), TypeInfoPropertyName = "NullableListToolsApiFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataGranularitieName2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataMetricDisplayFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataOperatorName?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataOperatorName2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataOperatorValueType?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataOperatorValueType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseDataItemObject?), TypeInfoPropertyName = "NullableCreateEmbeddingsResponseDataItemObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseObject?), TypeInfoPropertyName = "NullableCreateEmbeddingsResponseObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion?), TypeInfoPropertyName = "NullableGetCurrentKeyResponseDataAllowedDataRegion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListOrganizationMembersResponseDataItemRole?), TypeInfoPropertyName = "NullableListOrganizationMembersResponseDataItemRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseNotFoundResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseConflictResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseUnprocessableEntityResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseInternalServerResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseBadGatewayResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItemDatacenter?), TypeInfoPropertyName = "NullableListProvidersResponseDataItemDatacenter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItemHeadquarters?), TypeInfoPropertyName = "NullableListProvidersResponseDataItemHeadquarters2")] - [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::OpenRouter.AgentMessageItemContentItem2>>))] - [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::OpenRouter.AnyOf>))] - [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::OpenRouter.AnyOf, global::OpenRouter.AnthropicWebSearchToolResultError>))] - [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::OpenRouter.AnyOf, string>))] - [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))] - [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::OpenRouter.AnyOf, string>))] - [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::OpenRouter.AnyOf>))] - [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::OpenRouter.AnyOf>))] - [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::OpenRouter.AnyOf>))] - [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))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.InputFile>>>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.InputFile>>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WorkspaceBudgetResetInterval?), TypeInfoPropertyName = "NullableWorkspaceBudgetResetInterval2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WorkspaceBudgetInterval?), TypeInfoPropertyName = "NullableWorkspaceBudgetInterval2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WorkspaceMemberRole?), TypeInfoPropertyName = "NullableWorkspaceMemberRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "NullableAnyOfStringDoubleIListAnyOfStringDouble2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.QueryAnalyticsRequestOrderByDirection?), TypeInfoPropertyName = "NullableQueryAnalyticsRequestOrderByDirection2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAudioTranscriptionsRequestResponseFormat?), TypeInfoPropertyName = "NullableCreateAudioTranscriptionsRequestResponseFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAudioTranscriptionsRequestTimestampGranularitie?), TypeInfoPropertyName = "NullableCreateAudioTranscriptionsRequestTimestampGranularitie2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ExchangeAuthCodeForAPIKeyRequestCodeChallengeMethod?), TypeInfoPropertyName = "NullableExchangeAuthCodeForAPIKeyRequestCodeChallengeMethod2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAuthKeysCodeRequestCodeChallengeMethod?), TypeInfoPropertyName = "NullableCreateAuthKeysCodeRequestCodeChallengeMethod2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAuthKeysCodeRequestUsageLimitType?), TypeInfoPropertyName = "NullableCreateAuthKeysCodeRequestUsageLimitType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestEncodingFormat?), TypeInfoPropertyName = "NullableCreateEmbeddingsRequestEncodingFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>, global::System.Collections.Generic.IList>?), TypeInfoPropertyName = "NullableAnyOfStringIListStringIListDoubleIListIListDoubleIListCreateEmbeddingsRequestInputVariant5Item2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type?), TypeInfoPropertyName = "NullableCreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type?), TypeInfoPropertyName = "NullableCreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateKeysRequestLimitReset?), TypeInfoPropertyName = "NullableCreateKeysRequestLimitReset2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateKeysRequestLimitReset?), TypeInfoPropertyName = "NullableUpdateKeysRequestLimitReset2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStringCreateRerankRequestDocument2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetUserActivityGroupBy?), TypeInfoPropertyName = "NullableGetUserActivityGroupBy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfBatchListTimestampObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksSource?), TypeInfoPropertyName = "NullableGetBenchmarksSource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksTaskType?), TypeInfoPropertyName = "NullableGetBenchmarksTaskType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksBenchmarkType?), TypeInfoPropertyName = "NullableGetBenchmarksBenchmarkType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksSearchSurface?), TypeInfoPropertyName = "NullableGetBenchmarksSearchSurface2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksArena?), TypeInfoPropertyName = "NullableGetBenchmarksArena2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListBYOKKeysProvider?), TypeInfoPropertyName = "NullableListBYOKKeysProvider2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetTaskClassificationsWindow?), TypeInfoPropertyName = "NullableGetTaskClassificationsWindow2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsCategory?), TypeInfoPropertyName = "NullableGetAppRankingsCategory2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsSubcategory?), TypeInfoPropertyName = "NullableGetAppRankingsSubcategory2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsSort?), TypeInfoPropertyName = "NullableGetAppRankingsSort2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyPeriod?), TypeInfoPropertyName = "NullableGetRankingsDailyPeriod2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyModality?), TypeInfoPropertyName = "NullableGetRankingsDailyModality2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyContextBucket?), TypeInfoPropertyName = "NullableGetRankingsDailyContextBucket2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyCategory?), TypeInfoPropertyName = "NullableGetRankingsDailyCategory2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyLanguageType?), TypeInfoPropertyName = "NullableGetRankingsDailyLanguageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetSessionCostTurnRange?), TypeInfoPropertyName = "NullableGetSessionCostTurnRange2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListFilesOrder?), TypeInfoPropertyName = "NullableListFilesOrder2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsCategory?), TypeInfoPropertyName = "NullableGetModelsCategory2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsSort?), TypeInfoPropertyName = "NullableGetModelsSort2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsDistillable?), TypeInfoPropertyName = "NullableGetModelsDistillable2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsZdr?), TypeInfoPropertyName = "NullableGetModelsZdr2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsRegion?), TypeInfoPropertyName = "NullableGetModelsRegion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListModelsUserSort?), TypeInfoPropertyName = "NullableListModelsUserSort2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeletePrivateEndpointDraftOnly?), TypeInfoPropertyName = "NullableDeletePrivateEndpointDraftOnly2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfDeleteScimGroupMappingKeepMembers2Boolean2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeleteScimGroupMappingKeepMembers2?), TypeInfoPropertyName = "NullableDeleteScimGroupMappingKeepMembers22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListToolsApiFormat?), TypeInfoPropertyName = "NullableListToolsApiFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataGranularitieName2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataMetricDisplayFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataOperatorName?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataOperatorName2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataOperatorValueType?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataOperatorValueType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseDataItemObject?), TypeInfoPropertyName = "NullableCreateEmbeddingsResponseDataItemObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseObject?), TypeInfoPropertyName = "NullableCreateEmbeddingsResponseObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion?), TypeInfoPropertyName = "NullableGetCurrentKeyResponseDataAllowedDataRegion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListOrganizationMembersResponseDataItemRole?), TypeInfoPropertyName = "NullableListOrganizationMembersResponseDataItemRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseNotFoundResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseConflictResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseUnprocessableEntityResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseInternalServerResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseBadGatewayResponse2")] internal sealed partial class SourceGenerationContextChunk8 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -4706,6 +4706,91 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.ToolSearchOutputItemTool2>>), TypeInfoPropertyName = "ToolSearchOutputItemTool2_8ae2a759aff9dd26")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItemDatacenter?), TypeInfoPropertyName = "NullableListProvidersResponseDataItemDatacenter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItemHeadquarters?), TypeInfoPropertyName = "NullableListProvidersResponseDataItemHeadquarters2")] + [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::OpenRouter.AgentMessageItemContentItem2>>))] + [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::OpenRouter.AnyOf>))] + [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::OpenRouter.AnyOf, global::OpenRouter.AnthropicWebSearchToolResultError>))] + [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::OpenRouter.AnyOf, string>))] + [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))] + [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::OpenRouter.AnyOf, string>))] + [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::OpenRouter.AnyOf>))] + [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::OpenRouter.AnyOf>))] + [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::OpenRouter.AnyOf>))] + [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))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.InputFile>>>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.InputFile>>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>))] @@ -4807,6 +4892,7 @@ internal sealed partial class SourceGenerationContextChunk8 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] [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))] @@ -4843,8 +4929,20 @@ internal sealed partial class SourceGenerationContextChunk8 : 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))] + [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))] @@ -4871,6 +4969,7 @@ internal sealed partial class SourceGenerationContextChunk8 : 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))] @@ -5211,6 +5310,8 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::OpenRouter.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AllOfJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AllOfJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AllOfJsonConverter()); @@ -8087,6 +8188,18 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.PrivateEndpointDeclaredRegion?) + || typeToConvert == typeof(global::OpenRouter.PrivateEndpointQuantization) + + || typeToConvert == typeof(global::OpenRouter.PrivateEndpointQuantization?) + + || typeToConvert == typeof(global::OpenRouter.PrivateEndpointReasoningReturnMechanism) + + || typeToConvert == typeof(global::OpenRouter.PrivateEndpointReasoningReturnMechanism?) + + || typeToConvert == typeof(global::OpenRouter.PrivateEndpointSettingsExcludedParameter) + + || typeToConvert == typeof(global::OpenRouter.PrivateEndpointSettingsExcludedParameter?) + || typeToConvert == typeof(global::OpenRouter.PrivateEndpointStatus) || typeToConvert == typeof(global::OpenRouter.PrivateEndpointStatus?) @@ -8551,6 +8664,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion?) + || typeToConvert == typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter) + + || typeToConvert == typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter?) + || typeToConvert == typeof(global::OpenRouter.UpdateScimGroupMappingRequestRole) || typeToConvert == typeof(global::OpenRouter.UpdateScimGroupMappingRequestRole?) @@ -8567,6 +8684,46 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.VaultEffectiveSecretScope?) + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableCustomOriginStatusState) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableCustomOriginStatusState?) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType?) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection?) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy?) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia?) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppScope) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppScope?) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubTokenScope) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubTokenScope?) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGoogleAccountScope) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGoogleAccountScope?) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableMcpOriginStatusState) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableMcpOriginStatusState?) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableSecretScope) + + || typeToConvert == typeof(global::OpenRouter.VaultRoutingTableSecretScope?) + || typeToConvert == typeof(global::OpenRouter.VideoGenerationRequestAspectRatio) || typeToConvert == typeof(global::OpenRouter.VideoGenerationRequestAspectRatio?) @@ -15936,6 +16093,36 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.PrivateEndpointDeclaredRegionNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.PrivateEndpointQuantization)) + { + return new global::OpenRouter.JsonConverters.PrivateEndpointQuantizationJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.PrivateEndpointQuantization?)) + { + return new global::OpenRouter.JsonConverters.PrivateEndpointQuantizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.PrivateEndpointReasoningReturnMechanism)) + { + return new global::OpenRouter.JsonConverters.PrivateEndpointReasoningReturnMechanismJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.PrivateEndpointReasoningReturnMechanism?)) + { + return new global::OpenRouter.JsonConverters.PrivateEndpointReasoningReturnMechanismNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.PrivateEndpointSettingsExcludedParameter)) + { + return new global::OpenRouter.JsonConverters.PrivateEndpointSettingsExcludedParameterJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.PrivateEndpointSettingsExcludedParameter?)) + { + return new global::OpenRouter.JsonConverters.PrivateEndpointSettingsExcludedParameterNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.PrivateEndpointStatus)) { return new global::OpenRouter.JsonConverters.PrivateEndpointStatusJsonConverter(); @@ -17096,6 +17283,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.UpdatePrivateEndpointRequestDeclaredRegionNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter)) + { + return new global::OpenRouter.JsonConverters.UpdatePrivateEndpointSettingsRequestExcludedParameterJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter?)) + { + return new global::OpenRouter.JsonConverters.UpdatePrivateEndpointSettingsRequestExcludedParameterNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.UpdateScimGroupMappingRequestRole)) { return new global::OpenRouter.JsonConverters.UpdateScimGroupMappingRequestRoleJsonConverter(); @@ -17136,6 +17333,106 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.VaultEffectiveSecretScopeNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableCustomOriginStatusState)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableCustomOriginStatusStateJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableCustomOriginStatusState?)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableCustomOriginStatusStateNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationAccountTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType?)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationAccountTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationCoverageSelectionJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection?)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationCoverageSelectionNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationShadowedByJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy?)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationShadowedByNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppMemberLinkViaJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia?)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppMemberLinkViaNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppScope)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppScopeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubAppScope?)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppScopeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubTokenScope)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableGithubTokenScopeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGithubTokenScope?)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableGithubTokenScopeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGoogleAccountScope)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableGoogleAccountScopeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableGoogleAccountScope?)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableGoogleAccountScopeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableMcpOriginStatusState)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableMcpOriginStatusStateJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableMcpOriginStatusState?)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableMcpOriginStatusStateNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableSecretScope)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableSecretScopeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.VaultRoutingTableSecretScope?)) + { + return new global::OpenRouter.JsonConverters.VaultRoutingTableSecretScopeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.VideoGenerationRequestAspectRatio)) { return new global::OpenRouter.JsonConverters.VideoGenerationRequestAspectRatioJsonConverter(); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs index d7f4e23e1..759dd66de 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs @@ -2958,939 +2958,939 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::OpenRouter.ChatDeveloperMessageConfigurationUpdate? Type730 { get; set; } + public global::OpenRouter.ConfigurationUpdate3? Type730 { get; set; } /// /// /// - public global::OpenRouter.ConfigurationUpdateReasoning? Type731 { get; set; } + public global::OpenRouter.AnyOf>? Type731 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type732 { get; set; } + public global::System.Collections.Generic.IList? Type732 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type733 { get; set; } + public global::OpenRouter.ChatDeveloperMessageRole? Type733 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessageRole? Type734 { get; set; } + public global::OpenRouter.ChatDynamicServerTool? Type734 { get; set; } /// /// /// - public global::OpenRouter.ChatDynamicServerTool? Type735 { get; set; } + public global::OpenRouter.ChatFormatGrammarConfig? Type735 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatGrammarConfig? Type736 { get; set; } + public global::OpenRouter.ChatFormatGrammarConfigType? Type736 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatGrammarConfigType? Type737 { get; set; } + public global::OpenRouter.ChatFormatJsonObjectConfig? Type737 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonObjectConfig? Type738 { get; set; } + public global::OpenRouter.ChatFormatJsonObjectConfigType? Type738 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonObjectConfigType? Type739 { get; set; } + public global::OpenRouter.ChatFormatJsonSchemaConfig? Type739 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonSchemaConfig? Type740 { get; set; } + public global::OpenRouter.ChatJsonSchemaConfig? Type740 { get; set; } /// /// /// - public global::OpenRouter.ChatJsonSchemaConfig? Type741 { get; set; } + public global::OpenRouter.ChatFormatJsonSchemaConfigType? Type741 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonSchemaConfigType? Type742 { get; set; } + public global::OpenRouter.ChatFormatPythonConfig? Type742 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatPythonConfig? Type743 { get; set; } + public global::OpenRouter.ChatFormatPythonConfigType? Type743 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatPythonConfigType? Type744 { get; set; } + public global::OpenRouter.ChatFormatTextConfig? Type744 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatTextConfig? Type745 { get; set; } + public global::OpenRouter.ChatFormatTextConfigType? Type745 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatTextConfigType? Type746 { get; set; } + public global::OpenRouter.ChatFunctionTool? Type746 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionTool? Type747 { get; set; } + public global::OpenRouter.ChatFunctionToolVariant1? Type747 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolVariant1? Type748 { get; set; } + public global::OpenRouter.ChatFunctionToolVariant1Function? Type748 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolVariant1Function? Type749 { get; set; } + public global::OpenRouter.ChatFunctionToolVariant1Type? Type749 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolVariant1Type? Type750 { get; set; } + public global::OpenRouter.ChatSearchModelsServerTool? Type750 { get; set; } /// /// /// - public global::OpenRouter.ChatSearchModelsServerTool? Type751 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerTool? Type751 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerTool? Type752 { get; set; } + public global::OpenRouter.ChatWebSearchShorthand? Type752 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthand? Type753 { get; set; } + public global::OpenRouter.ChatMessages? Type753 { get; set; } /// /// /// - public global::OpenRouter.ChatMessages? Type754 { get; set; } + public global::OpenRouter.ChatSystemMessage? Type754 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessage? Type755 { get; set; } + public global::OpenRouter.ChatUserMessage? Type755 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessage? Type756 { get; set; } + public global::OpenRouter.ChatToolMessage? Type756 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessage? Type757 { get; set; } + public global::OpenRouter.ChatMessagesDiscriminator? Type757 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesDiscriminator? Type758 { get; set; } + public global::OpenRouter.ChatMessagesDiscriminatorRole? Type758 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesDiscriminatorRole? Type759 { get; set; } + public global::System.Collections.Generic.IList>? Type759 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type760 { get; set; } + public global::OpenRouter.AllOf? Type760 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type761 { get; set; } + public global::OpenRouter.ChatNamedToolChoice? Type761 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoice? Type762 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceFunction? Type762 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceFunction? Type763 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceType? Type763 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceType? Type764 { get; set; } + public global::OpenRouter.ReasoningDetailUnion? Type764 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnion? Type765 { get; set; } + public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type765 { get; set; } /// /// /// - public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type766 { get; set; } + public global::OpenRouter.ChatRequest? Type766 { get; set; } /// /// /// - public global::OpenRouter.ChatRequest? Type767 { get; set; } + public global::OpenRouter.DeferredToolsControl? Type767 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsControl? Type768 { get; set; } + public global::OpenRouter.ImageConfig? Type768 { get; set; } /// /// /// - public global::OpenRouter.ImageConfig? Type769 { get; set; } + public global::System.Collections.Generic.Dictionary? Type769 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type770 { get; set; } + public global::System.Collections.Generic.IList? Type770 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type771 { get; set; } + public global::System.Collections.Generic.IList? Type771 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type772 { get; set; } + public global::OpenRouter.ChatRequestModalitie? Type772 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestModalitie? Type773 { get; set; } + public global::System.Collections.Generic.IList? Type773 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type774 { get; set; } + public global::OpenRouter.PluginsItem? Type774 { get; set; } /// /// /// - public global::OpenRouter.PluginsItem? Type775 { get; set; } + public global::OpenRouter.ModerationPlugin? Type775 { get; set; } /// /// /// - public global::OpenRouter.ModerationPlugin? Type776 { get; set; } + public global::OpenRouter.WebSearchPlugin? Type776 { get; set; } /// /// /// - public global::OpenRouter.WebSearchPlugin? Type777 { get; set; } + public global::OpenRouter.WebFetchPlugin? Type777 { get; set; } /// /// /// - public global::OpenRouter.WebFetchPlugin? Type778 { get; set; } + public global::OpenRouter.FileParserPlugin? Type778 { get; set; } /// /// /// - public global::OpenRouter.FileParserPlugin? Type779 { get; set; } + public global::OpenRouter.ResponseHealingPlugin? Type779 { get; set; } /// /// /// - public global::OpenRouter.ResponseHealingPlugin? Type780 { get; set; } + public global::OpenRouter.ContextCompressionPlugin? Type780 { get; set; } /// /// /// - public global::OpenRouter.ContextCompressionPlugin? Type781 { get; set; } + public global::OpenRouter.ParetoRouterPlugin? Type781 { get; set; } /// /// /// - public global::OpenRouter.ParetoRouterPlugin? Type782 { get; set; } + public global::OpenRouter.FusionPlugin? Type782 { get; set; } /// /// /// - public global::OpenRouter.FusionPlugin? Type783 { get; set; } + public global::OpenRouter.SwitchyardRouterPlugin? Type783 { get; set; } /// /// /// - public global::OpenRouter.SwitchyardRouterPlugin? Type784 { get; set; } + public global::OpenRouter.JevRouterPlugin? Type784 { get; set; } /// /// /// - public global::OpenRouter.JevRouterPlugin? Type785 { get; set; } + public global::OpenRouter.ChatRequestPluginDiscriminator? Type785 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginDiscriminator? Type786 { get; set; } + public global::OpenRouter.ChatRequestPluginDiscriminatorId? Type786 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginDiscriminatorId? Type787 { get; set; } + public global::OpenRouter.Prediction? Type787 { get; set; } /// /// /// - public global::OpenRouter.Prediction? Type788 { get; set; } + public global::OpenRouter.ProviderPreferences? Type788 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferences? Type789 { get; set; } + public global::OpenRouter.ChatRequestReasoning? Type789 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoning? Type790 { get; set; } + public global::OpenRouter.ChatRequestReasoningEffort? Type790 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoningEffort? Type791 { get; set; } + public global::OpenRouter.ChatRequestReasoningEffort2? Type791 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoningEffort2? Type792 { get; set; } + public global::OpenRouter.ResponseFormat? Type792 { get; set; } /// /// /// - public global::OpenRouter.ResponseFormat? Type793 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatDiscriminator? Type793 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatDiscriminator? Type794 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatDiscriminatorType? Type794 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatDiscriminatorType? Type795 { get; set; } + public global::OpenRouter.DeprecatedRoute? Type795 { get; set; } /// /// /// - public global::OpenRouter.DeprecatedRoute? Type796 { get; set; } + public global::OpenRouter.ChatRequestServiceTier? Type796 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestServiceTier? Type797 { get; set; } + public global::OpenRouter.AnyOf>? Type797 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type798 { get; set; } + public global::System.Collections.Generic.IList? Type798 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type799 { get; set; } + public global::OpenRouter.ChatStreamOptions? Type799 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamOptions? Type800 { get; set; } + public global::OpenRouter.ChatToolChoice? Type800 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice? Type801 { get; set; } + public global::System.Collections.Generic.IList? Type801 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type802 { get; set; } + public global::OpenRouter.TraceConfig? Type802 { get; set; } /// /// /// - public global::OpenRouter.TraceConfig? Type803 { get; set; } + public global::OpenRouter.ChatResult? Type803 { get; set; } /// /// /// - public global::OpenRouter.ChatResult? Type804 { get; set; } + public global::System.Collections.Generic.IList? Type804 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type805 { get; set; } + public global::OpenRouter.ChatResultObject? Type805 { get; set; } /// /// /// - public global::OpenRouter.ChatResultObject? Type806 { get; set; } + public global::OpenRouter.ChatUsage? Type806 { get; set; } /// /// /// - public global::OpenRouter.ChatUsage? Type807 { get; set; } + public global::OpenRouter.SearchModelsServerToolConfig? Type807 { get; set; } /// /// /// - public global::OpenRouter.SearchModelsServerToolConfig? Type808 { get; set; } + public global::OpenRouter.ChatSearchModelsServerToolType? Type808 { get; set; } /// /// /// - public global::OpenRouter.ChatSearchModelsServerToolType? Type809 { get; set; } + public global::OpenRouter.ChatServerToolChoice? Type809 { get; set; } /// /// /// - public global::OpenRouter.ChatServerToolChoice? Type810 { get; set; } + public global::OpenRouter.ChatStreamChoice? Type810 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChoice? Type811 { get; set; } + public global::OpenRouter.ChatStreamDelta? Type811 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamDelta? Type812 { get; set; } + public global::OpenRouter.ChatStreamChunk? Type812 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChunk? Type813 { get; set; } + public global::OpenRouter.AllOf? Type813 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type814 { get; set; } + public global::System.Collections.Generic.IList? Type814 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type815 { get; set; } + public global::OpenRouter.ChatStreamChunkError? Type815 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChunkError? Type816 { get; set; } + public global::OpenRouter.ChatStreamChunkErrorMetadata? Type816 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChunkErrorMetadata? Type817 { get; set; } + public global::OpenRouter.ChatStreamChunkObject? Type817 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChunkObject? Type818 { get; set; } + public global::OpenRouter.AllOf? Type818 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type819 { get; set; } + public global::OpenRouter.ChatStreamDeltaRole? Type819 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamDeltaRole? Type820 { get; set; } + public global::System.Collections.Generic.IList? Type820 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type821 { get; set; } + public global::OpenRouter.ChatStreamToolCall? Type821 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamToolCall? Type822 { get; set; } + public global::OpenRouter.ChatStreamingResponse? Type822 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamingResponse? Type823 { get; set; } + public global::OpenRouter.ChatStreamToolCallFunction? Type823 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamToolCallFunction? Type824 { get; set; } + public global::OpenRouter.ChatStreamToolCallType? Type824 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamToolCallType? Type825 { get; set; } + public global::OpenRouter.ChatSystemMessageRole? Type825 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageConfigurationUpdate? Type826 { get; set; } + public global::OpenRouter.ChatTokenLogprob? Type826 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageRole? Type827 { get; set; } + public global::System.Collections.Generic.IList? Type827 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprob? Type828 { get; set; } + public global::OpenRouter.ChatTokenLogprobTopLogprob? Type828 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type829 { get; set; } + public global::System.Collections.Generic.IList? Type829 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobTopLogprob? Type830 { get; set; } + public global::OpenRouter.ChatToolCallFunction? Type830 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type831 { get; set; } + public global::OpenRouter.ChatToolCallType? Type831 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallFunction? Type832 { get; set; } + public global::OpenRouter.ChatToolChoiceVariant1? Type832 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallType? Type833 { get; set; } + public global::OpenRouter.ChatToolChoiceVariant2? Type833 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoiceVariant1? Type834 { get; set; } + public global::OpenRouter.ChatToolChoiceVariant3? Type834 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoiceVariant2? Type835 { get; set; } + public global::OpenRouter.ChatToolMessageRole? Type835 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoiceVariant3? Type836 { get; set; } + public global::OpenRouter.ChatUsageCompletionTokensDetails? Type836 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessageRole? Type837 { get; set; } + public global::OpenRouter.ChatUsagePromptTokensDetails? Type837 { get; set; } /// /// /// - public global::OpenRouter.ChatUsageCompletionTokensDetails? Type838 { get; set; } + public global::OpenRouter.ServerToolUseDetails? Type838 { get; set; } /// /// /// - public global::OpenRouter.ChatUsagePromptTokensDetails? Type839 { get; set; } + public global::OpenRouter.ChatUserMessageRole? Type839 { get; set; } /// /// /// - public global::OpenRouter.ServerToolUseDetails? Type840 { get; set; } + public global::OpenRouter.WebSearchEngineEnum? Type840 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessageRole? Type841 { get; set; } + public global::OpenRouter.WebSearchMode? Type841 { get; set; } /// /// /// - public global::OpenRouter.WebSearchEngineEnum? Type842 { get; set; } + public global::OpenRouter.WebSearchConfig? Type842 { get; set; } /// /// /// - public global::OpenRouter.WebSearchMode? Type843 { get; set; } + public global::OpenRouter.SearchQualityLevel? Type843 { get; set; } /// /// /// - public global::OpenRouter.WebSearchConfig? Type844 { get; set; } + public global::OpenRouter.ChatWebSearchShorthandType? Type844 { get; set; } /// /// /// - public global::OpenRouter.SearchQualityLevel? Type845 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerTool? Type845 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthandType? Type846 { get; set; } + public global::OpenRouter.XSearchOptions? Type846 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerTool? Type847 { get; set; } + public global::OpenRouter.ClientClosedRequestResponse? Type847 { get; set; } /// /// /// - public global::OpenRouter.XSearchOptions? Type848 { get; set; } + public global::OpenRouter.ClientClosedRequestResponseErrorData? Type848 { get; set; } /// /// /// - public global::OpenRouter.ClientClosedRequestResponse? Type849 { get; set; } + public global::OpenRouter.CodeInterpreterCallCodeDeltaEvent? Type849 { get; set; } /// /// /// - public global::OpenRouter.ClientClosedRequestResponseErrorData? Type850 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDelta? Type850 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallCodeDeltaEvent? Type851 { get; set; } + public global::OpenRouter.CodeInterpreterCallCodeDoneEvent? Type851 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDelta? Type852 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDone? Type852 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallCodeDoneEvent? Type853 { get; set; } + public global::OpenRouter.CodeInterpreterCallCompletedEvent? Type853 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDone? Type854 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompleted? Type854 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallCompletedEvent? Type855 { get; set; } + public global::OpenRouter.CodeInterpreterCallInProgressEvent? Type855 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompleted? Type856 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgress? Type856 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallInProgressEvent? Type857 { get; set; } + public global::OpenRouter.CodeInterpreterCallInterpretingEvent? Type857 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgress? Type858 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpreting? Type858 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallInterpretingEvent? Type859 { get; set; } + public global::OpenRouter.CodeInterpreterCallItem? Type859 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpreting? Type860 { get; set; } + public global::OpenRouter.CodeInterpreterFileOutput? Type860 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItem? Type861 { get; set; } + public global::OpenRouter.CodeInterpreterFileOutputType? Type861 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterFileOutput? Type862 { get; set; } + public global::OpenRouter.CodeInterpreterImageOutput? Type862 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterFileOutputType? Type863 { get; set; } + public global::OpenRouter.CodeInterpreterImageOutputType? Type863 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterImageOutput? Type864 { get; set; } + public global::OpenRouter.CodeInterpreterLogsOutput? Type864 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterImageOutputType? Type865 { get; set; } + public global::OpenRouter.CodeInterpreterLogsOutputType? Type865 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterLogsOutput? Type866 { get; set; } + public global::OpenRouter.AnyOf? Type866 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterLogsOutputType? Type867 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainer? Type867 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type868 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainerMemoryLimit? Type868 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainer? Type869 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainerType? Type869 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainerMemoryLimit? Type870 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolType? Type870 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainerType? Type871 { get; set; } + public global::OpenRouter.CodexLocalShellToolType? Type871 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolType? Type872 { get; set; } + public global::OpenRouter.CompactionItem? Type872 { get; set; } /// /// /// - public global::OpenRouter.CodexLocalShellToolType? Type873 { get; set; } + public global::OpenRouter.CompactionItemType? Type873 { get; set; } /// /// /// - public global::OpenRouter.CompactionItem? Type874 { get; set; } + public global::OpenRouter.CompletedEvent? Type874 { get; set; } /// /// /// - public global::OpenRouter.CompactionItemType? Type875 { get; set; } + public global::OpenRouter.CompletedEventType? Type875 { get; set; } /// /// /// - public global::OpenRouter.CompletedEvent? Type876 { get; set; } + public global::OpenRouter.CompoundFilter? Type876 { get; set; } /// /// /// - public global::OpenRouter.CompletedEventType? Type877 { get; set; } + public global::System.Collections.Generic.IList? Type877 { get; set; } /// /// /// - public global::OpenRouter.CompoundFilter? Type878 { get; set; } + public global::OpenRouter.CompoundFilterType? Type878 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type879 { get; set; } + public global::OpenRouter.ComputerUseServerToolEnvironment? Type879 { get; set; } /// /// /// - public global::OpenRouter.CompoundFilterType? Type880 { get; set; } + public global::OpenRouter.ComputerUseServerToolType? Type880 { get; set; } /// /// /// - public global::OpenRouter.ComputerUseServerToolEnvironment? Type881 { get; set; } + public global::OpenRouter.ConfigurationUpdateReasoning? Type881 { get; set; } /// /// /// - public global::OpenRouter.ComputerUseServerToolType? Type882 { get; set; } + public global::OpenRouter.ConfigurationUpdateItemType? Type882 { get; set; } /// /// /// - public global::OpenRouter.ConfigurationUpdateItemType? Type883 { get; set; } + public global::OpenRouter.ConfigurationUpdateReasoningEffort? Type883 { get; set; } /// /// /// - public global::OpenRouter.ConfigurationUpdateReasoningEffort? Type884 { get; set; } + public global::OpenRouter.ConflictResponse? Type884 { get; set; } /// /// /// - public global::OpenRouter.ConflictResponse? Type885 { get; set; } + public global::OpenRouter.ConflictResponseErrorData? Type885 { get; set; } /// /// /// - public global::OpenRouter.ConflictResponseErrorData? Type886 { get; set; } + public global::OpenRouter.ContainerNetworkPolicy? Type886 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicy? Type887 { get; set; } + public global::OpenRouter.ContainerAutoEnvironmentType? Type887 { get; set; } /// /// /// - public global::OpenRouter.ContainerAutoEnvironmentType? Type888 { get; set; } + public global::OpenRouter.ContainerFile? Type888 { get; set; } /// /// /// - public global::OpenRouter.ContainerFile? Type889 { get; set; } + public global::OpenRouter.ContainerFileObject? Type889 { get; set; } /// /// /// - public global::OpenRouter.ContainerFileObject? Type890 { get; set; } + public global::OpenRouter.ContainerFileSource? Type890 { get; set; } /// /// /// - public global::OpenRouter.ContainerFileSource? Type891 { get; set; } + public global::OpenRouter.ContainerFileListResponse? Type891 { get; set; } /// /// /// - public global::OpenRouter.ContainerFileListResponse? Type892 { get; set; } + public global::System.Collections.Generic.IList? Type892 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type893 { get; set; } + public global::OpenRouter.ContainerFileListResponseObject? Type893 { get; set; } /// /// /// - public global::OpenRouter.ContainerFileListResponseObject? Type894 { get; set; } + public global::OpenRouter.ContainerNetworkPolicyVariant1? Type894 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicyVariant1? Type895 { get; set; } + public global::OpenRouter.ContainerNetworkPolicyVariant1Type? Type895 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicyVariant1Type? Type896 { get; set; } + public global::OpenRouter.ContainerNetworkPolicyVariant2? Type896 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicyVariant2? Type897 { get; set; } + public global::OpenRouter.ContainerNetworkPolicyVariant2Type? Type897 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicyVariant2Type? Type898 { get; set; } + public global::OpenRouter.ContainerReferenceEnvironmentType? Type898 { get; set; } /// /// /// - public global::OpenRouter.ContainerReferenceEnvironmentType? Type899 { get; set; } + public global::OpenRouter.ContentFilterAction? Type899 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterAction? Type900 { get; set; } + public global::OpenRouter.ContentFilterBuiltinAction? Type900 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinAction? Type901 { get; set; } + public global::OpenRouter.ContentFilterBuiltinEntry? Type901 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinEntry? Type902 { get; set; } + public global::OpenRouter.PromptInjectionScanScope? Type902 { get; set; } /// /// /// - public global::OpenRouter.PromptInjectionScanScope? Type903 { get; set; } + public global::OpenRouter.ContentFilterBuiltinSlug? Type903 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinSlug? Type904 { get; set; } + public global::OpenRouter.ContentFilterBuiltinEntryInput? Type904 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinEntryInput? Type905 { get; set; } + public global::OpenRouter.ContentFilterEntry? Type905 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterEntry? Type906 { get; set; } + public global::OpenRouter.ContentPartAddedEvent? Type906 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAddedEvent? Type907 { get; set; } + public global::OpenRouter.ContentPartAddedEventVariant2? Type907 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAddedEventVariant2? Type908 { get; set; } + public global::OpenRouter.AnyOf? Type908 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type909 { get; set; } + public global::OpenRouter.ReasoningTextContent? Type909 { get; set; } /// /// /// - public global::OpenRouter.ReasoningTextContent? Type910 { get; set; } + public global::OpenRouter.ContentPartAudio? Type910 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAudio? Type911 { get; set; } + public global::OpenRouter.ContentPartAudioAudioUrl? Type911 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAudioAudioUrl? Type912 { get; set; } + public global::OpenRouter.ContentPartAudioType? Type912 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAudioType? Type913 { get; set; } + public global::OpenRouter.ContentPartDoneEvent? Type913 { get; set; } /// /// /// - public global::OpenRouter.ContentPartDoneEvent? Type914 { get; set; } + public global::OpenRouter.ContentPartDoneEventVariant2? Type914 { get; set; } /// /// /// - public global::OpenRouter.ContentPartDoneEventVariant2? Type915 { get; set; } + public global::OpenRouter.ContentPartImage? Type915 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImage? Type916 { get; set; } + public global::OpenRouter.ContentPartImageImageUrl? Type916 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageImageUrl? Type917 { get; set; } + public global::OpenRouter.ContentPartImageType? Type917 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageType? Type918 { get; set; } + public global::OpenRouter.ContentPartInputAudio? Type918 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputAudio? Type919 { get; set; } + public global::OpenRouter.MultimodalMedia? Type919 { get; set; } /// /// /// - public global::OpenRouter.MultimodalMedia? Type920 { get; set; } + public global::OpenRouter.ContentPartInputAudioType? Type920 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputAudioType? Type921 { get; set; } + public global::OpenRouter.ContentPartInputFile? Type921 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputFile? Type922 { get; set; } + public global::OpenRouter.ContentPartInputFileType? Type922 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputFileType? Type923 { get; set; } + public global::OpenRouter.ContentPartInputVideo? Type923 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputVideo? Type924 { get; set; } + public global::OpenRouter.ContentPartInputVideoType? Type924 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputVideoType? Type925 { get; set; } + public global::OpenRouter.ContentPartVideo? Type925 { get; set; } /// /// /// - public global::OpenRouter.ContentPartVideo? Type926 { get; set; } + public global::OpenRouter.ContentPartVideoType? Type926 { get; set; } /// /// /// - public global::OpenRouter.ContentPartVideoType? Type927 { get; set; } + public global::OpenRouter.ContentPartVideoVideoUrl? Type927 { get; set; } /// /// /// - public global::OpenRouter.ContentPartVideoVideoUrl? Type928 { get; set; } + public global::OpenRouter.ContextCompactionItem? Type928 { get; set; } /// /// /// - public global::OpenRouter.ContextCompactionItem? Type929 { get; set; } + public global::OpenRouter.ContextCompactionItemType? Type929 { get; set; } /// /// /// - public global::OpenRouter.ContextCompactionItemType? Type930 { get; set; } + public global::OpenRouter.ContextCompressionEngine? Type930 { get; set; } /// /// /// - public global::OpenRouter.ContextCompressionEngine? Type931 { get; set; } + public global::OpenRouter.ContextCompressionPluginId? Type931 { get; set; } /// /// /// - public global::OpenRouter.ContextCompressionPluginId? Type932 { get; set; } + public global::OpenRouter.CreateBYOKKeyRequest? Type932 { get; set; } /// /// /// - public global::OpenRouter.CreateBYOKKeyRequest? Type933 { get; set; } + public global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion? Type933 { get; set; } /// /// /// - public global::OpenRouter.CreateBYOKKeyRequestDeclaredRegion? Type934 { get; set; } + public global::OpenRouter.CreateBYOKKeyResponse? Type934 { get; set; } /// /// /// - public global::OpenRouter.CreateBYOKKeyResponse? Type935 { get; set; } + public global::OpenRouter.AllOf? Type935 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type936 { get; set; } + public global::OpenRouter.CreatedEvent? Type936 { get; set; } /// /// /// - public global::OpenRouter.CreatedEvent? Type937 { get; set; } + public global::OpenRouter.CreatedEventType? Type937 { get; set; } /// /// /// - public global::OpenRouter.CreatedEventType? Type938 { get; set; } + public global::OpenRouter.CreateExternalUserRequest? Type938 { get; set; } /// /// /// - public global::OpenRouter.CreateExternalUserRequest? Type939 { get; set; } + public global::OpenRouter.CreateGuardrailRequest? Type939 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailRequest? Type940 { get; set; } + public global::System.Collections.Generic.IList? Type940 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type941 { get; set; } + public global::OpenRouter.GuardrailDataRegion? Type941 { get; set; } /// /// /// - public global::OpenRouter.GuardrailDataRegion? Type942 { get; set; } + public global::System.Collections.Generic.IList? Type942 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type943 { get; set; } + public global::System.Collections.Generic.IList? Type943 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type944 { get; set; } + public global::OpenRouter.GuardrailInterval? Type944 { get; set; } /// /// /// - public global::OpenRouter.GuardrailInterval? Type945 { get; set; } + public global::OpenRouter.CreateGuardrailResponse? Type945 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailResponse? Type946 { get; set; } + public global::OpenRouter.AllOf? Type946 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type947 { get; set; } + public global::OpenRouter.Guardrail? Type947 { get; set; } /// /// /// - public global::OpenRouter.Guardrail? Type948 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationRequest? Type948 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationRequest? Type949 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigNullable? Type949 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigNullable? Type950 { get; set; } + public global::System.Collections.Generic.IList? Type950 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type951 { get; set; } + public global::OpenRouter.ObservabilityDataRegionInput? Type951 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDataRegionInput? Type952 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationRequestType? Type952 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationRequestType? Type953 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponse? Type953 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponse? Type954 { get; set; } + public global::OpenRouter.ObservabilityDestination? Type954 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestination? Type955 { get; set; } + public global::OpenRouter.CreatePresetFromInferenceResponse? Type955 { get; set; } /// /// /// - public global::OpenRouter.CreatePresetFromInferenceResponse? Type956 { get; set; } + public global::OpenRouter.PresetWithDesignatedVersion? Type956 { get; set; } /// /// /// - public global::OpenRouter.PresetWithDesignatedVersion? Type957 { get; set; } + public global::OpenRouter.CreatePrivateEndpointRequest? Type957 { get; set; } /// /// /// - public global::OpenRouter.CreatePrivateEndpointRequest? Type958 { get; set; } + public global::OpenRouter.PrivateEndpointActivation? Type958 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointActivation? Type959 { get; set; } + public global::System.Collections.Generic.IList? Type959 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type960 { get; set; } + public global::OpenRouter.PrivateEndpointDeclaredParameter? Type960 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointDeclaredParameter? Type961 { get; set; } + public global::OpenRouter.CreatePrivateEndpointRequestDeclaredRegion? Type961 { get; set; } /// /// /// - public global::OpenRouter.CreatePrivateEndpointRequestDeclaredRegion? Type962 { get; set; } + public global::OpenRouter.PrivateEndpointPricing? Type962 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointPricing? Type963 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointSettingsRequest? Type963 { get; set; } /// /// /// @@ -3914,6199 +3914,6475 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::OpenRouter.CreateScimGroupMappingRequest? Type969 { get; set; } + public global::OpenRouter.CreatePrivateProviderRequest? Type969 { get; set; } /// /// /// - public global::OpenRouter.CreateScimGroupMappingRequestRole? Type970 { get; set; } + public global::OpenRouter.PrivateProviderDataPolicy2? Type970 { get; set; } /// /// /// - public global::OpenRouter.CreateScimGroupMappingResponse? Type971 { get; set; } + public global::OpenRouter.CreateScimGroupMappingRequest? Type971 { get; set; } /// /// /// - public global::OpenRouter.ScimGroupMapping? Type972 { get; set; } + public global::OpenRouter.CreateScimGroupMappingRequestRole? Type972 { get; set; } /// /// /// - public global::OpenRouter.CreateScimSyncJobResponse? Type973 { get; set; } + public global::OpenRouter.CreateScimGroupMappingResponse? Type973 { get; set; } /// /// /// - public global::OpenRouter.ScimSyncJob? Type974 { get; set; } + public global::OpenRouter.ScimGroupMapping? Type974 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceRequest? Type975 { get; set; } + public global::OpenRouter.CreateScimSyncJobResponse? Type975 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type976 { get; set; } + public global::OpenRouter.ScimSyncJob? Type976 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceRequestDisabledServerTool? Type977 { get; set; } + public global::OpenRouter.CreateWorkspaceRequest? Type977 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type978 { get; set; } + public global::System.Collections.Generic.IList? Type978 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceResponse? Type979 { get; set; } + public global::OpenRouter.CreateWorkspaceRequestDisabledServerTool? Type979 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type980 { get; set; } + public global::System.Collections.Generic.IList? Type980 { get; set; } /// /// /// - public global::OpenRouter.Workspace? Type981 { get; set; } + public global::OpenRouter.CreateWorkspaceResponse? Type981 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type982 { get; set; } + public global::OpenRouter.AllOf? Type982 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant1? Type983 { get; set; } + public global::OpenRouter.Workspace? Type983 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant1Type? Type984 { get; set; } + public global::OpenRouter.AnyOf? Type984 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant2? Type985 { get; set; } + public global::OpenRouter.CustomToolFormatVariant1? Type985 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant2Syntax? Type986 { get; set; } + public global::OpenRouter.CustomToolFormatVariant1Type? Type986 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant2Type? Type987 { get; set; } + public global::OpenRouter.CustomToolFormatVariant2? Type987 { get; set; } /// /// /// - public global::OpenRouter.CustomToolType? Type988 { get; set; } + public global::OpenRouter.CustomToolFormatVariant2Syntax? Type988 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallInputDeltaEvent? Type989 { get; set; } + public global::OpenRouter.CustomToolFormatVariant2Type? Type989 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallInputDoneEvent? Type990 { get; set; } + public global::OpenRouter.CustomToolType? Type990 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallItem? Type991 { get; set; } + public global::OpenRouter.CustomToolCallInputDeltaEvent? Type991 { get; set; } /// /// /// - public global::OpenRouter.ToolCallStatus? Type992 { get; set; } + public global::OpenRouter.CustomToolCallInputDoneEvent? Type992 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallItemType? Type993 { get; set; } + public global::OpenRouter.CustomToolCallItem? Type993 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallOutputItem? Type994 { get; set; } + public global::OpenRouter.ToolCallStatus? Type994 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallOutputItemVariant2? Type995 { get; set; } + public global::OpenRouter.CustomToolCallItemType? Type995 { get; set; } /// /// /// - public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile>>>? Type996 { get; set; } + public global::OpenRouter.CustomToolCallOutputItem? Type996 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile>>? Type997 { get; set; } + public global::OpenRouter.CustomToolCallOutputItemVariant2? Type997 { get; set; } /// /// /// - public global::OpenRouter.OneOf?, global::OpenRouter.InputFile>? Type998 { get; set; } + public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile>>>? Type998 { get; set; } /// /// /// - public global::OpenRouter.DABenchmarkEntry? Type999 { get; set; } + public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile>>? Type999 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerToolConfig? Type1000 { get; set; } + public global::OpenRouter.OneOf?, global::OpenRouter.InputFile>? Type1000 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerToolType? Type1001 { get; set; } + public global::OpenRouter.DABenchmarkEntry? Type1001 { get; set; } /// /// /// - public global::OpenRouter.DebugEvent? Type1002 { get; set; } + public global::OpenRouter.DatetimeServerToolConfig? Type1002 { get; set; } /// /// /// - public global::OpenRouter.DebugEventDebug? Type1003 { get; set; } + public global::OpenRouter.DatetimeServerToolType? Type1003 { get; set; } /// /// /// - public global::OpenRouter.DebugEventDebugTimings? Type1004 { get; set; } + public global::OpenRouter.DebugEvent? Type1004 { get; set; } /// /// /// - public global::OpenRouter.DebugEventDebugTimingsEvent? Type1005 { get; set; } + public global::OpenRouter.DebugEventDebug? Type1005 { get; set; } /// /// /// - public global::OpenRouter.DebugEventType? Type1006 { get; set; } + public global::OpenRouter.DebugEventDebugTimings? Type1006 { get; set; } /// /// /// - public global::OpenRouter.DecisionsBoxAnswer? Type1007 { get; set; } + public global::OpenRouter.DebugEventDebugTimingsEvent? Type1007 { get; set; } /// /// /// - public global::OpenRouter.DecisionsBoxAnswerBox? Type1008 { get; set; } + public global::OpenRouter.DebugEventType? Type1008 { get; set; } /// /// /// - public global::OpenRouter.DecisionsBoxAnswerType? Type1009 { get; set; } + public global::OpenRouter.DecisionsBoxAnswer? Type1009 { get; set; } /// /// /// - public global::OpenRouter.DecisionsBoxQuestion? Type1010 { get; set; } + public global::OpenRouter.DecisionsBoxAnswerBox? Type1010 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1011 { get; set; } + public global::OpenRouter.DecisionsBoxAnswerType? Type1011 { get; set; } /// /// /// - public global::OpenRouter.DecisionsBoxQuestionType? Type1012 { get; set; } + public global::OpenRouter.DecisionsBoxQuestion? Type1012 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceAnswer? Type1013 { get; set; } + public global::OpenRouter.AnyOf>? Type1013 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceAnswerType? Type1014 { get; set; } + public global::OpenRouter.DecisionsBoxQuestionType? Type1014 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceQuestion? Type1015 { get; set; } + public global::OpenRouter.DecisionsChoiceAnswer? Type1015 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceQuestionType? Type1016 { get; set; } + public global::OpenRouter.DecisionsChoiceAnswerType? Type1016 { get; set; } /// /// /// - public global::OpenRouter.DecisionsImageAsset? Type1017 { get; set; } + public global::OpenRouter.DecisionsChoiceQuestion? Type1017 { get; set; } /// /// /// - public global::OpenRouter.DecisionsImageAssetFormat? Type1018 { get; set; } + public global::OpenRouter.DecisionsChoiceQuestionType? Type1018 { get; set; } /// /// /// - public global::OpenRouter.DecisionsImageAssetType? Type1019 { get; set; } + public global::OpenRouter.DecisionsImageAsset? Type1019 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulAnswer? Type1020 { get; set; } + public global::OpenRouter.DecisionsImageAssetFormat? Type1020 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulAnswerType? Type1021 { get; set; } + public global::OpenRouter.DecisionsImageAssetType? Type1021 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulQuestion? Type1022 { get; set; } + public global::OpenRouter.DecisionsNoulAnswer? Type1022 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulQuestionCriteria? Type1023 { get; set; } + public global::OpenRouter.DecisionsNoulAnswerType? Type1023 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulQuestionType? Type1024 { get; set; } + public global::OpenRouter.DecisionsNoulQuestion? Type1024 { get; set; } /// /// /// - public global::OpenRouter.DecisionsRequest? Type1025 { get; set; } + public global::OpenRouter.DecisionsNoulQuestionCriteria? Type1025 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type1026 { get; set; } + public global::OpenRouter.DecisionsNoulQuestionType? Type1026 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1027 { get; set; } + public global::OpenRouter.DecisionsRequest? Type1027 { get; set; } /// /// /// - public global::OpenRouter.Questions? Type1028 { get; set; } + public global::System.Collections.Generic.Dictionary? Type1028 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreQuestion? Type1029 { get; set; } + public global::OpenRouter.AllOf? Type1029 { get; set; } /// /// /// - public global::OpenRouter.DecisionsRequestQuestionsDiscriminator? Type1030 { get; set; } + public global::OpenRouter.Questions? Type1030 { get; set; } /// /// /// - public global::OpenRouter.DecisionsRequestQuestionsDiscriminatorType? Type1031 { get; set; } + public global::OpenRouter.DecisionsScoreQuestion? Type1031 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponse? Type1032 { get; set; } + public global::OpenRouter.DecisionsRequestQuestionsDiscriminator? Type1032 { get; set; } /// /// /// - public global::OpenRouter.Answers? Type1033 { get; set; } + public global::OpenRouter.DecisionsRequestQuestionsDiscriminatorType? Type1033 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreAnswer? Type1034 { get; set; } + public global::OpenRouter.DecisionsResponse? Type1034 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponseAnswersDiscriminator? Type1035 { get; set; } + public global::OpenRouter.Answers? Type1035 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponseAnswersDiscriminatorType? Type1036 { get; set; } + public global::OpenRouter.DecisionsScoreAnswer? Type1036 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponseUsage? Type1037 { get; set; } + public global::OpenRouter.DecisionsResponseAnswersDiscriminator? Type1037 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreAnswerType? Type1038 { get; set; } + public global::OpenRouter.DecisionsResponseAnswersDiscriminatorType? Type1038 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>>? Type1039 { get; set; } + public global::OpenRouter.DecisionsResponseUsage? Type1039 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreQuestionType? Type1040 { get; set; } + public global::OpenRouter.DecisionsScoreAnswerType? Type1040 { get; set; } /// /// /// - public global::OpenRouter.DefaultParameters? Type1041 { get; set; } + public global::System.Collections.Generic.IList>>? Type1041 { get; set; } /// /// /// - public global::OpenRouter.DeferredBm25Search? Type1042 { get; set; } + public global::OpenRouter.DecisionsScoreQuestionType? Type1042 { get; set; } /// /// /// - public global::OpenRouter.DeferredBm25SearchType? Type1043 { get; set; } + public global::OpenRouter.DefaultParameters? Type1043 { get; set; } /// /// /// - public global::OpenRouter.DeferredCustomSearch? Type1044 { get; set; } + public global::OpenRouter.DeferredBm25Search? Type1044 { get; set; } /// /// /// - public global::OpenRouter.DeferredCustomSearchType? Type1045 { get; set; } + public global::OpenRouter.DeferredBm25SearchType? Type1045 { get; set; } /// /// /// - public global::OpenRouter.DeferredRegexSearch? Type1046 { get; set; } + public global::OpenRouter.DeferredCustomSearch? Type1046 { get; set; } /// /// /// - public global::OpenRouter.DeferredRegexSearchType? Type1047 { get; set; } + public global::OpenRouter.DeferredCustomSearchType? Type1047 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsControlProfile? Type1048 { get; set; } + public global::OpenRouter.DeferredRegexSearch? Type1048 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsControlProtocol? Type1049 { get; set; } + public global::OpenRouter.DeferredRegexSearchType? Type1049 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsSearchStrategy? Type1050 { get; set; } + public global::OpenRouter.DeferredToolsControlProfile? Type1050 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsControlValidation? Type1051 { get; set; } + public global::OpenRouter.DeferredToolsControlProtocol? Type1051 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsSearchStrategyDiscriminator? Type1052 { get; set; } + public global::OpenRouter.DeferredToolsSearchStrategy? Type1052 { get; set; } /// /// /// - public global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType? Type1053 { get; set; } + public global::OpenRouter.DeferredToolsControlValidation? Type1053 { get; set; } /// /// /// - public global::OpenRouter.DeleteBYOKKeyResponse? Type1054 { get; set; } + public global::OpenRouter.DeferredToolsSearchStrategyDiscriminator? Type1054 { get; set; } /// /// /// - public global::OpenRouter.DeleteGuardrailResponse? Type1055 { get; set; } + public global::OpenRouter.DeferredToolsSearchStrategyDiscriminatorType? Type1055 { get; set; } /// /// /// - public global::OpenRouter.DeleteObservabilityDestinationResponse? Type1056 { get; set; } + public global::OpenRouter.DeleteBYOKKeyResponse? Type1056 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateEndpointResponse? Type1057 { get; set; } + public global::OpenRouter.DeleteGuardrailResponse? Type1057 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateEndpointResponseData? Type1058 { get; set; } + public global::OpenRouter.DeleteObservabilityDestinationResponse? Type1058 { get; set; } /// /// /// - public global::OpenRouter.DeleteScimGroupMappingResponse? Type1059 { get; set; } + public global::OpenRouter.DeletePrivateEndpointResponse? Type1059 { get; set; } /// /// /// - public global::OpenRouter.DeleteWorkspaceBudgetResponse? Type1060 { get; set; } + public global::OpenRouter.DeletePrivateEndpointResponseData? Type1060 { get; set; } /// /// /// - public global::OpenRouter.DeleteWorkspaceResponse? Type1061 { get; set; } + public global::OpenRouter.DeleteScimGroupMappingResponse? Type1061 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessage? Type1062 { get; set; } + public global::OpenRouter.DeleteWorkspaceBudgetResponse? Type1062 { get; set; } /// /// /// - public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string>? Type1063 { get; set; } + public global::OpenRouter.DeleteWorkspaceResponse? Type1063 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>? Type1064 { get; set; } + public global::OpenRouter.EasyInputMessage? Type1064 { get; set; } /// /// /// - public global::OpenRouter.OneOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>? Type1065 { get; set; } + public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string>? Type1065 { get; set; } /// /// /// - public global::OpenRouter.InputVideo? Type1066 { get; set; } + public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>? Type1066 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1067 { get; set; } + public global::OpenRouter.OneOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>? Type1067 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessagePhaseVariant1? Type1068 { get; set; } + public global::OpenRouter.InputVideo? Type1068 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessagePhaseVariant2? Type1069 { get; set; } + public global::OpenRouter.AnyOf? Type1069 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant1? Type1070 { get; set; } + public global::OpenRouter.EasyInputMessagePhaseVariant1? Type1070 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant2? Type1071 { get; set; } + public global::OpenRouter.EasyInputMessagePhaseVariant2? Type1071 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant3? Type1072 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant1? Type1072 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant4? Type1073 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant2? Type1073 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageType? Type1074 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant3? Type1074 { get; set; } /// /// /// - public global::OpenRouter.EdgeNetworkTimeoutResponse? Type1075 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant4? Type1075 { get; set; } /// /// /// - public global::OpenRouter.EdgeNetworkTimeoutResponseErrorData? Type1076 { get; set; } + public global::OpenRouter.EasyInputMessageType? Type1076 { get; set; } /// /// /// - public global::OpenRouter.EndpointInfo? Type1077 { get; set; } + public global::OpenRouter.EdgeNetworkTimeoutResponse? Type1077 { get; set; } /// /// /// - public global::OpenRouter.EndpointsMetadata? Type1078 { get; set; } + public global::OpenRouter.EdgeNetworkTimeoutResponseErrorData? Type1078 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1079 { get; set; } + public global::OpenRouter.EndpointInfo? Type1079 { get; set; } /// /// /// - public global::OpenRouter.EnumCapabilityType? Type1080 { get; set; } + public global::OpenRouter.EndpointsMetadata? Type1080 { get; set; } /// /// /// - public global::OpenRouter.ErrorEvent? Type1081 { get; set; } + public global::System.Collections.Generic.IList? Type1081 { get; set; } /// /// /// - public global::OpenRouter.ExternalUser? Type1082 { get; set; } + public global::OpenRouter.EnumCapabilityType? Type1082 { get; set; } /// /// /// - public global::OpenRouter.ExternalUserResponse? Type1083 { get; set; } + public global::OpenRouter.ErrorEvent? Type1083 { get; set; } /// /// /// - public global::OpenRouter.FailableToolCallStatus? Type1084 { get; set; } + public global::OpenRouter.ExternalUser? Type1084 { get; set; } /// /// /// - public global::OpenRouter.FailedEvent? Type1085 { get; set; } + public global::OpenRouter.ExternalUserResponse? Type1085 { get; set; } /// /// /// - public global::OpenRouter.FailedEventType? Type1086 { get; set; } + public global::OpenRouter.FailableToolCallStatus? Type1086 { get; set; } /// /// /// - public global::OpenRouter.FileCitation? Type1087 { get; set; } + public global::OpenRouter.FailedEvent? Type1087 { get; set; } /// /// /// - public global::OpenRouter.FileCitationType? Type1088 { get; set; } + public global::OpenRouter.FailedEventType? Type1088 { get; set; } /// /// /// - public global::OpenRouter.FileDeleteResponse? Type1089 { get; set; } + public global::OpenRouter.FileCitation? Type1089 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileDeleted? Type1090 { get; set; } + public global::OpenRouter.FileCitationType? Type1090 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileDeleted? Type1091 { get; set; } + public global::OpenRouter.FileDeleteResponse? Type1091 { get; set; } /// /// /// - public global::OpenRouter.FileDeleteResponseDiscriminator? Type1092 { get; set; } + public global::OpenRouter.OpenRouterFileDeleted? Type1092 { get; set; } /// /// /// - public global::OpenRouter.FileDeleteResponseDiscriminatorShape? Type1093 { get; set; } + public global::OpenRouter.OpenAIFileDeleted? Type1093 { get; set; } /// /// /// - public global::OpenRouter.FileListResponse? Type1094 { get; set; } + public global::OpenRouter.FileDeleteResponseDiscriminator? Type1094 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileList? Type1095 { get; set; } + public global::OpenRouter.FileDeleteResponseDiscriminatorShape? Type1095 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileList? Type1096 { get; set; } + public global::OpenRouter.FileListResponse? Type1096 { get; set; } /// /// /// - public global::OpenRouter.FileListResponseDiscriminator? Type1097 { get; set; } + public global::OpenRouter.OpenRouterFileList? Type1097 { get; set; } /// /// /// - public global::OpenRouter.FileListResponseDiscriminatorShape? Type1098 { get; set; } + public global::OpenRouter.OpenAIFileList? Type1098 { get; set; } /// /// /// - public global::OpenRouter.FileParserPluginId? Type1099 { get; set; } + public global::OpenRouter.FileListResponseDiscriminator? Type1099 { get; set; } /// /// /// - public global::OpenRouter.PDFParserOptions? Type1100 { get; set; } + public global::OpenRouter.FileListResponseDiscriminatorShape? Type1100 { get; set; } /// /// /// - public global::OpenRouter.FilePath? Type1101 { get; set; } + public global::OpenRouter.FileParserPluginId? Type1101 { get; set; } /// /// /// - public global::OpenRouter.FilePathType? Type1102 { get; set; } + public global::OpenRouter.PDFParserOptions? Type1102 { get; set; } /// /// /// - public global::OpenRouter.FileProvider? Type1103 { get; set; } + public global::OpenRouter.FilePath? Type1103 { get; set; } /// /// /// - public global::OpenRouter.FileResponse? Type1104 { get; set; } + public global::OpenRouter.FilePathType? Type1104 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFile? Type1105 { get; set; } + public global::OpenRouter.FileProvider? Type1105 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFile? Type1106 { get; set; } + public global::OpenRouter.FileResponse? Type1106 { get; set; } /// /// /// - public global::OpenRouter.FileResponseDiscriminator? Type1107 { get; set; } + public global::OpenRouter.OpenRouterFile? Type1107 { get; set; } /// /// /// - public global::OpenRouter.FileResponseDiscriminatorShape? Type1108 { get; set; } + public global::OpenRouter.OpenAIFile? Type1108 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1109 { get; set; } + public global::OpenRouter.FileResponseDiscriminator? Type1109 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFilters? Type1110 { get; set; } + public global::OpenRouter.FileResponseDiscriminatorShape? Type1110 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFiltersType? Type1111 { get; set; } + public global::OpenRouter.AnyOf? Type1111 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>>? Type1112 { get; set; } + public global::OpenRouter.FileSearchServerToolFilters? Type1112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1113 { get; set; } + public global::OpenRouter.FileSearchServerToolFiltersType? Type1113 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1114 { get; set; } + public global::OpenRouter.AnyOf>>? Type1114 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolRankingOptions? Type1115 { get; set; } + public global::System.Collections.Generic.IList>? Type1115 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolRankingOptionsRanker? Type1116 { get; set; } + public global::OpenRouter.AnyOf? Type1116 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolType? Type1117 { get; set; } + public global::OpenRouter.FileSearchServerToolRankingOptions? Type1117 { get; set; } /// /// /// - public global::OpenRouter.FilesServerToolConfig? Type1118 { get; set; } + public global::OpenRouter.FileSearchServerToolRankingOptionsRanker? Type1118 { get; set; } /// /// /// - public global::OpenRouter.FilesServerToolType? Type1119 { get; set; } + public global::OpenRouter.FileSearchServerToolType? Type1119 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponse? Type1120 { get; set; } + public global::OpenRouter.FilesServerToolConfig? Type1120 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponseErrorData? Type1121 { get; set; } + public global::OpenRouter.FilesServerToolType? Type1121 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonObjectConfig? Type1122 { get; set; } + public global::OpenRouter.ForbiddenResponse? Type1122 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonObjectConfigType? Type1123 { get; set; } + public global::OpenRouter.ForbiddenResponseErrorData? Type1123 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonSchemaConfig? Type1124 { get; set; } + public global::OpenRouter.FormatJsonObjectConfig? Type1124 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonSchemaConfigType? Type1125 { get; set; } + public global::OpenRouter.FormatJsonObjectConfigType? Type1125 { get; set; } /// /// /// - public global::OpenRouter.Formats? Type1126 { get; set; } + public global::OpenRouter.FormatJsonSchemaConfig? Type1126 { get; set; } /// /// /// - public global::OpenRouter.FormatTextConfig? Type1127 { get; set; } + public global::OpenRouter.FormatJsonSchemaConfigType? Type1127 { get; set; } /// /// /// - public global::OpenRouter.FormatTextConfigType? Type1128 { get; set; } + public global::OpenRouter.Formats? Type1128 { get; set; } /// /// /// - public global::OpenRouter.FrameImage? Type1129 { get; set; } + public global::OpenRouter.FormatTextConfig? Type1129 { get; set; } /// /// /// - public global::OpenRouter.FrameImageVariant2? Type1130 { get; set; } + public global::OpenRouter.FormatTextConfigType? Type1130 { get; set; } /// /// /// - public global::OpenRouter.FrameImageVariant2FrameType? Type1131 { get; set; } + public global::OpenRouter.FrameImage? Type1131 { get; set; } /// /// /// - public global::OpenRouter.FreeModelDailyRequests? Type1132 { get; set; } + public global::OpenRouter.FrameImageVariant2? Type1132 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallArgsDeltaEvent? Type1133 { get; set; } + public global::OpenRouter.FrameImageVariant2FrameType? Type1133 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallArgsDoneEvent? Type1134 { get; set; } + public global::OpenRouter.FreeModelDailyRequests? Type1134 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallItem? Type1135 { get; set; } + public global::OpenRouter.FunctionCallArgsDeltaEvent? Type1135 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1136 { get; set; } + public global::OpenRouter.FunctionCallArgsDoneEvent? Type1136 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallItemSubagentItem? Type1137 { get; set; } + public global::OpenRouter.FunctionCallItem? Type1137 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallItemType? Type1138 { get; set; } + public global::System.Collections.Generic.IList? Type1138 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallOutputItem? Type1139 { get; set; } + public global::OpenRouter.FunctionCallItemSubagentItem? Type1139 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallOutputItemVariant2? Type1140 { get; set; } + public global::OpenRouter.FunctionCallItemType? Type1140 { get; set; } /// /// /// - public global::OpenRouter.FunctionToolType? Type1141 { get; set; } + public global::OpenRouter.FunctionCallOutputItem? Type1141 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResult? Type1142 { get; set; } + public global::OpenRouter.FunctionCallOutputItemVariant2? Type1142 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1143 { get; set; } + public global::OpenRouter.FunctionToolType? Type1143 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultContradiction? Type1144 { get; set; } + public global::OpenRouter.FusionAnalysisResult? Type1144 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1145 { get; set; } + public global::System.Collections.Generic.IList? Type1145 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultContradictionStance? Type1146 { get; set; } + public global::OpenRouter.FusionAnalysisResultContradiction? Type1146 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1147 { get; set; } + public global::System.Collections.Generic.IList? Type1147 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultPartialCoverageItem? Type1148 { get; set; } + public global::OpenRouter.FusionAnalysisResultContradictionStance? Type1148 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1149 { get; set; } + public global::System.Collections.Generic.IList? Type1149 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultUniqueInsight? Type1150 { get; set; } + public global::OpenRouter.FusionAnalysisResultPartialCoverageItem? Type1150 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisCompletedEvent? Type1151 { get; set; } + public global::System.Collections.Generic.IList? Type1151 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisCompletedEventType? Type1152 { get; set; } + public global::OpenRouter.FusionAnalysisResultUniqueInsight? Type1152 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisInProgressEvent? Type1153 { get; set; } + public global::OpenRouter.FusionCallAnalysisCompletedEvent? Type1153 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisInProgressEventType? Type1154 { get; set; } + public global::OpenRouter.FusionCallAnalysisCompletedEventType? Type1154 { get; set; } /// /// /// - public global::OpenRouter.FusionCallCompletedEvent? Type1155 { get; set; } + public global::OpenRouter.FusionCallAnalysisInProgressEvent? Type1155 { get; set; } /// /// /// - public global::OpenRouter.FusionCallCompletedEventType? Type1156 { get; set; } + public global::OpenRouter.FusionCallAnalysisInProgressEventType? Type1156 { get; set; } /// /// /// - public global::OpenRouter.FusionCallInProgressEvent? Type1157 { get; set; } + public global::OpenRouter.FusionCallCompletedEvent? Type1157 { get; set; } /// /// /// - public global::OpenRouter.FusionCallInProgressEventType? Type1158 { get; set; } + public global::OpenRouter.FusionCallCompletedEventType? Type1158 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelAddedEvent? Type1159 { get; set; } + public global::OpenRouter.FusionCallInProgressEvent? Type1159 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelAddedEventType? Type1160 { get; set; } + public global::OpenRouter.FusionCallInProgressEventType? Type1160 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelCompletedEvent? Type1161 { get; set; } + public global::OpenRouter.FusionCallPanelAddedEvent? Type1161 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelCompletedEventType? Type1162 { get; set; } + public global::OpenRouter.FusionCallPanelAddedEventType? Type1162 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelDeltaEvent? Type1163 { get; set; } + public global::OpenRouter.FusionCallPanelCompletedEvent? Type1163 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelDeltaEventType? Type1164 { get; set; } + public global::OpenRouter.FusionCallPanelCompletedEventType? Type1164 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelFailedEvent? Type1165 { get; set; } + public global::OpenRouter.FusionCallPanelDeltaEvent? Type1165 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelFailedEventType? Type1166 { get; set; } + public global::OpenRouter.FusionCallPanelDeltaEventType? Type1166 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelReasoningDeltaEvent? Type1167 { get; set; } + public global::OpenRouter.FusionCallPanelFailedEvent? Type1167 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelReasoningDeltaEventType? Type1168 { get; set; } + public global::OpenRouter.FusionCallPanelFailedEventType? Type1168 { get; set; } /// /// /// - public global::OpenRouter.FusionPluginId? Type1169 { get; set; } + public global::OpenRouter.FusionCallPanelReasoningDeltaEvent? Type1169 { get; set; } /// /// /// - public global::OpenRouter.FusionPluginPreset? Type1170 { get; set; } + public global::OpenRouter.FusionCallPanelReasoningDeltaEventType? Type1170 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1171 { get; set; } + public global::OpenRouter.FusionPluginId? Type1171 { get; set; } /// /// /// - public global::OpenRouter.FusionPluginTool? Type1172 { get; set; } + public global::OpenRouter.FusionPluginPreset? Type1172 { get; set; } /// /// /// - public global::OpenRouter.AnyOf?>, object>? Type1173 { get; set; } + public global::System.Collections.Generic.IList? Type1173 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?>? Type1174 { get; set; } + public global::OpenRouter.FusionPluginTool? Type1174 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1175 { get; set; } + public global::OpenRouter.AnyOf?>, object>? Type1175 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfig? Type1176 { get; set; } + public global::System.Collections.Generic.IList?>? Type1176 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolOpenRouterType? Type1177 { get; set; } + public global::OpenRouter.AnyOf? Type1177 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfigReasoning? Type1178 { get; set; } + public global::OpenRouter.FusionServerToolConfig? Type1178 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfigReasoningEffort? Type1179 { get; set; } + public global::OpenRouter.FusionServerToolOpenRouterType? Type1179 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1180 { get; set; } + public global::OpenRouter.FusionServerToolConfigReasoning? Type1180 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfigTool? Type1181 { get; set; } + public global::OpenRouter.FusionServerToolConfigReasoningEffort? Type1181 { get; set; } /// /// /// - public global::OpenRouter.FusionSource? Type1182 { get; set; } + public global::System.Collections.Generic.IList? Type1182 { get; set; } /// /// /// - public global::OpenRouter.GatewayTimeoutResponse? Type1183 { get; set; } + public global::OpenRouter.FusionServerToolConfigTool? Type1183 { get; set; } /// /// /// - public global::OpenRouter.GatewayTimeoutResponseErrorData? Type1184 { get; set; } + public global::OpenRouter.FusionSource? Type1184 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentData? Type1185 { get; set; } + public global::OpenRouter.GatewayTimeoutResponse? Type1185 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentError? Type1186 { get; set; } + public global::OpenRouter.GatewayTimeoutResponseErrorData? Type1186 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1187 { get; set; } + public global::OpenRouter.GenerationContentData? Type1187 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInputVariant1? Type1188 { get; set; } + public global::OpenRouter.GenerationContentError? Type1188 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInputVariant2? Type1189 { get; set; } + public global::OpenRouter.AnyOf? Type1189 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataOutput? Type1190 { get; set; } + public global::OpenRouter.GenerationContentDataInputVariant1? Type1190 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1191 { get; set; } + public global::OpenRouter.GenerationContentDataInputVariant2? Type1191 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentErrorAttempt? Type1192 { get; set; } + public global::OpenRouter.GenerationContentDataOutput? Type1192 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentResponse? Type1193 { get; set; } + public global::System.Collections.Generic.IList? Type1193 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponse? Type1194 { get; set; } + public global::OpenRouter.GenerationContentErrorAttempt? Type1194 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseData? Type1195 { get; set; } + public global::OpenRouter.GenerationContentResponse? Type1195 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseDataApiType? Type1196 { get; set; } + public global::OpenRouter.GenerationResponse? Type1196 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseDataDataRegion? Type1197 { get; set; } + public global::OpenRouter.GenerationResponseData? Type1197 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1198 { get; set; } + public global::OpenRouter.GenerationResponseDataApiType? Type1198 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponse? Type1199 { get; set; } + public global::OpenRouter.GenerationResponseDataDataRegion? Type1199 { get; set; } /// /// /// - public global::OpenRouter.GetBYOKKeyResponse? Type1200 { get; set; } + public global::System.Collections.Generic.IList? Type1200 { get; set; } /// /// /// - public global::OpenRouter.GetGuardrailResponse? Type1201 { get; set; } + public global::OpenRouter.ProviderResponse? Type1201 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponse? Type1202 { get; set; } + public global::OpenRouter.GetBYOKKeyResponse? Type1202 { get; set; } /// /// /// - public global::OpenRouter.GetPresetResponse? Type1203 { get; set; } + public global::OpenRouter.GetGuardrailResponse? Type1203 { get; set; } /// /// /// - public global::OpenRouter.GetPresetVersionResponse? Type1204 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponse? Type1204 { get; set; } /// /// /// - public global::OpenRouter.PresetDesignatedVersion? Type1205 { get; set; } + public global::OpenRouter.GetPresetResponse? Type1205 { get; set; } /// /// /// - public global::OpenRouter.GetScimGroupMappingResponse? Type1206 { get; set; } + public global::OpenRouter.GetPresetVersionResponse? Type1206 { get; set; } /// /// /// - public global::OpenRouter.GetScimSyncJobResponse? Type1207 { get; set; } + public global::OpenRouter.PresetDesignatedVersion? Type1207 { get; set; } /// /// /// - public global::OpenRouter.GetToolResponse? Type1208 { get; set; } + public global::OpenRouter.GetScimGroupMappingResponse? Type1208 { get; set; } /// /// /// - public global::OpenRouter.ServerToolDetails? Type1209 { get; set; } + public global::OpenRouter.GetScimSyncJobResponse? Type1209 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceBudgetResponse? Type1210 { get; set; } + public global::OpenRouter.GetToolResponse? Type1210 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1211 { get; set; } + public global::OpenRouter.ServerToolDetails? Type1211 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceBudget? Type1212 { get; set; } + public global::OpenRouter.GetWorkspaceBudgetResponse? Type1212 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceResponse? Type1213 { get; set; } + public global::OpenRouter.AllOf? Type1213 { get; set; } /// /// /// - public global::OpenRouter.GoneResponse? Type1214 { get; set; } + public global::OpenRouter.WorkspaceBudget? Type1214 { get; set; } /// /// /// - public global::OpenRouter.GoneResponseErrorData? Type1215 { get; set; } + public global::OpenRouter.GetWorkspaceResponse? Type1215 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1216 { get; set; } + public global::OpenRouter.GoneResponse? Type1216 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1217 { get; set; } + public global::OpenRouter.GoneResponseErrorData? Type1217 { get; set; } /// /// /// - public global::OpenRouter.ImageEndpoint? Type1218 { get; set; } + public global::System.Collections.Generic.IList? Type1218 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1219 { get; set; } + public global::OpenRouter.AnyOf>? Type1219 { get; set; } /// /// /// - public global::OpenRouter.ImagePricingEntry? Type1220 { get; set; } + public global::OpenRouter.ImageEndpoint? Type1220 { get; set; } /// /// /// - public global::OpenRouter.AllOf, object>? Type1221 { get; set; } + public global::System.Collections.Generic.IList? Type1221 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type1222 { get; set; } + public global::OpenRouter.ImagePricingEntry? Type1222 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallCompletedEvent? Type1223 { get; set; } + public global::OpenRouter.AllOf, object>? Type1223 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallCompleted? Type1224 { get; set; } + public global::System.Collections.Generic.Dictionary? Type1224 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallGeneratingEvent? Type1225 { get; set; } + public global::OpenRouter.ImageGenCallCompletedEvent? Type1225 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallGenerating? Type1226 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallCompleted? Type1226 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallInProgressEvent? Type1227 { get; set; } + public global::OpenRouter.ImageGenCallGeneratingEvent? Type1227 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallInProgress? Type1228 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallGenerating? Type1228 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallPartialImageEvent? Type1229 { get; set; } + public global::OpenRouter.ImageGenCallInProgressEvent? Type1229 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallPartialImage? Type1230 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallInProgress? Type1230 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCompletedEvent? Type1231 { get; set; } + public global::OpenRouter.ImageGenCallPartialImageEvent? Type1231 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCompletedEventType? Type1232 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallPartialImage? Type1232 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsage? Type1233 { get; set; } + public global::OpenRouter.ImageGenCompletedEvent? Type1233 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationProviderPreferences? Type1234 { get; set; } + public global::OpenRouter.ImageGenCompletedEventType? Type1234 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1235 { get; set; } + public global::OpenRouter.ImageGenerationUsage? Type1235 { get; set; } /// /// /// - public global::OpenRouter.ProviderOptions? Type1236 { get; set; } + public global::OpenRouter.ImageGenerationProviderPreferences? Type1236 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1237 { get; set; } + public global::OpenRouter.AllOf? Type1237 { get; set; } /// /// /// - public global::OpenRouter.ProviderSort? Type1238 { get; set; } + public global::OpenRouter.ProviderOptions? Type1238 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfig? Type1239 { get; set; } + public global::OpenRouter.AnyOf? Type1239 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequest? Type1240 { get; set; } + public global::OpenRouter.ProviderSort? Type1240 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestAspectRatio? Type1241 { get; set; } + public global::OpenRouter.ProviderSortConfig? Type1241 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestBackground? Type1242 { get; set; } + public global::OpenRouter.ImageGenerationRequest? Type1242 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1243 { get; set; } + public global::OpenRouter.ImageGenerationRequestAspectRatio? Type1243 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestOutputFormat? Type1244 { get; set; } + public global::OpenRouter.ImageGenerationRequestBackground? Type1244 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestQuality? Type1245 { get; set; } + public global::System.Collections.Generic.IList? Type1245 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestResolution? Type1246 { get; set; } + public global::OpenRouter.ImageGenerationRequestOutputFormat? Type1246 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationResponse? Type1247 { get; set; } + public global::OpenRouter.ImageGenerationRequestQuality? Type1247 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1248 { get; set; } + public global::OpenRouter.ImageGenerationRequestResolution? Type1248 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationResponseDataItem? Type1249 { get; set; } + public global::OpenRouter.ImageGenerationResponse? Type1249 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolBackground? Type1250 { get; set; } + public global::System.Collections.Generic.IList? Type1250 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolInputFidelity? Type1251 { get; set; } + public global::OpenRouter.ImageGenerationResponseDataItem? Type1251 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolInputImageMask? Type1252 { get; set; } + public global::OpenRouter.ImageGenerationServerToolBackground? Type1252 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolModeration? Type1253 { get; set; } + public global::OpenRouter.ImageGenerationServerToolInputFidelity? Type1253 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOutputFormat? Type1254 { get; set; } + public global::OpenRouter.ImageGenerationServerToolInputImageMask? Type1254 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolQuality? Type1255 { get; set; } + public global::OpenRouter.ImageGenerationServerToolModeration? Type1255 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolType? Type1256 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOutputFormat? Type1256 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolConfig? Type1257 { get; set; } + public global::OpenRouter.ImageGenerationServerToolQuality? Type1257 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOpenRouterType? Type1258 { get; set; } + public global::OpenRouter.ImageGenerationServerToolType? Type1258 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationStatus? Type1259 { get; set; } + public global::OpenRouter.ImageGenerationServerToolConfig? Type1259 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsageCompletionTokensDetails? Type1260 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOpenRouterType? Type1260 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsagePromptTokensDetails? Type1261 { get; set; } + public global::OpenRouter.ImageGenerationStatus? Type1261 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsageServerToolUse? Type1262 { get; set; } + public global::OpenRouter.ImageGenerationUsageCompletionTokensDetails? Type1262 { get; set; } /// /// /// - public global::OpenRouter.ImageGenPartialImageEvent? Type1263 { get; set; } + public global::OpenRouter.ImageGenerationUsagePromptTokensDetails? Type1263 { get; set; } /// /// /// - public global::OpenRouter.ImageGenPartialImageEventType? Type1264 { get; set; } + public global::OpenRouter.ImageGenerationUsageServerToolUse? Type1264 { get; set; } /// /// /// - public global::OpenRouter.ImageGenStreamErrorEvent? Type1265 { get; set; } + public global::OpenRouter.ImageGenPartialImageEvent? Type1265 { get; set; } /// /// /// - public global::OpenRouter.ImageGenStreamErrorEventError? Type1266 { get; set; } + public global::OpenRouter.ImageGenPartialImageEventType? Type1266 { get; set; } /// /// /// - public global::OpenRouter.ImageGenStreamErrorEventType? Type1267 { get; set; } + public global::OpenRouter.ImageGenStreamErrorEvent? Type1267 { get; set; } /// /// /// - public global::OpenRouter.ImageGenTextChunkEvent? Type1268 { get; set; } + public global::OpenRouter.ImageGenStreamErrorEventError? Type1268 { get; set; } /// /// /// - public global::OpenRouter.ImageGenTextChunkEventPhase? Type1269 { get; set; } + public global::OpenRouter.ImageGenStreamErrorEventType? Type1269 { get; set; } /// /// /// - public global::OpenRouter.ImageGenTextChunkEventType? Type1270 { get; set; } + public global::OpenRouter.ImageGenTextChunkEvent? Type1270 { get; set; } /// /// /// - public global::OpenRouter.ImageInputModality? Type1271 { get; set; } + public global::OpenRouter.ImageGenTextChunkEventPhase? Type1271 { get; set; } /// /// /// - public global::OpenRouter.ImageModelArchitecture? Type1272 { get; set; } + public global::OpenRouter.ImageGenTextChunkEventType? Type1272 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1273 { get; set; } + public global::OpenRouter.ImageInputModality? Type1273 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1274 { get; set; } + public global::OpenRouter.ImageModelArchitecture? Type1274 { get; set; } /// /// /// - public global::OpenRouter.ImageOutputModality? Type1275 { get; set; } + public global::System.Collections.Generic.IList? Type1275 { get; set; } /// /// /// - public global::OpenRouter.ImageModelEndpointsResponse? Type1276 { get; set; } + public global::System.Collections.Generic.IList? Type1276 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1277 { get; set; } + public global::OpenRouter.ImageOutputModality? Type1277 { get; set; } /// /// /// - public global::OpenRouter.ImageModelListItem? Type1278 { get; set; } + public global::OpenRouter.ImageModelEndpointsResponse? Type1278 { get; set; } /// /// /// - public global::OpenRouter.ImageModelsListResponse? Type1279 { get; set; } + public global::System.Collections.Generic.IList? Type1279 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1280 { get; set; } + public global::OpenRouter.ImageModelListItem? Type1280 { get; set; } /// /// /// - public global::OpenRouter.ImagePricingEntryBillable? Type1281 { get; set; } + public global::OpenRouter.ImageModelsListResponse? Type1281 { get; set; } /// /// /// - public global::OpenRouter.ImagePricingEntryUnit? Type1282 { get; set; } + public global::System.Collections.Generic.IList? Type1282 { get; set; } /// /// /// - public global::OpenRouter.ImageStreamingResponse? Type1283 { get; set; } + public global::OpenRouter.ImagePricingEntryBillable? Type1283 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1284 { get; set; } + public global::OpenRouter.ImagePricingEntryUnit? Type1284 { get; set; } /// /// /// - public global::OpenRouter.IncompleteDetailsReason? Type1285 { get; set; } + public global::OpenRouter.ImageStreamingResponse? Type1285 { get; set; } /// /// /// - public global::OpenRouter.IncompleteEvent? Type1286 { get; set; } + public global::OpenRouter.AnyOf? Type1286 { get; set; } /// /// /// - public global::OpenRouter.IncompleteEventType? Type1287 { get; set; } + public global::OpenRouter.IncompleteDetailsReason? Type1287 { get; set; } /// /// /// - public global::OpenRouter.InProgressEvent? Type1288 { get; set; } + public global::OpenRouter.IncompleteEvent? Type1288 { get; set; } /// /// /// - public global::OpenRouter.InProgressEventType? Type1289 { get; set; } + public global::OpenRouter.IncompleteEventType? Type1289 { get; set; } /// /// /// - public global::OpenRouter.InputAudioInputAudio1? Type1290 { get; set; } + public global::OpenRouter.InProgressEvent? Type1290 { get; set; } /// /// /// - public global::OpenRouter.InputAudioInputAudio1Format? Type1291 { get; set; } + public global::OpenRouter.InProgressEventType? Type1291 { get; set; } /// /// /// - public global::OpenRouter.InputAudioType? Type1292 { get; set; } + public global::OpenRouter.InputAudioInputAudio1? Type1292 { get; set; } /// /// /// - public global::OpenRouter.InputFileType? Type1293 { get; set; } + public global::OpenRouter.InputAudioInputAudio1Format? Type1293 { get; set; } /// /// /// - public global::OpenRouter.InputImageDetail? Type1294 { get; set; } + public global::OpenRouter.InputAudioType? Type1294 { get; set; } /// /// /// - public global::OpenRouter.InputImageType? Type1295 { get; set; } + public global::OpenRouter.InputFileType? Type1295 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItem? Type1296 { get; set; } + public global::OpenRouter.InputImageDetail? Type1296 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1297 { get; set; } + public global::OpenRouter.InputImageType? Type1297 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemRoleVariant1? Type1298 { get; set; } + public global::OpenRouter.InputMessageItem? Type1298 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemRoleVariant2? Type1299 { get; set; } + public global::OpenRouter.AnyOf? Type1299 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemRoleVariant3? Type1300 { get; set; } + public global::OpenRouter.InputMessageItemRoleVariant1? Type1300 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemType? Type1301 { get; set; } + public global::OpenRouter.InputMessageItemRoleVariant2? Type1301 { get; set; } /// /// /// - public global::OpenRouter.InputModality? Type1302 { get; set; } + public global::OpenRouter.InputMessageItemRoleVariant3? Type1302 { get; set; } /// /// /// - public global::OpenRouter.InputReference? Type1303 { get; set; } + public global::OpenRouter.InputMessageItemType? Type1303 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceDiscriminator? Type1304 { get; set; } + public global::OpenRouter.InputModality? Type1304 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceDiscriminatorType? Type1305 { get; set; } + public global::OpenRouter.InputReference? Type1305 { get; set; } /// /// /// - public global::OpenRouter.Inputs? Type1306 { get; set; } + public global::OpenRouter.InputReferenceDiscriminator? Type1306 { get; set; } /// /// /// - public global::OpenRouter.ReasoningItem? Type1307 { get; set; } + public global::OpenRouter.InputReferenceDiscriminatorType? Type1307 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1308 { get; set; } + public global::OpenRouter.Inputs? Type1308 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageItem? Type1309 { get; set; } + public global::OpenRouter.ReasoningItem? Type1309 { get; set; } /// /// /// - public global::OpenRouter.InputsVariant2ItemVariant82? Type1310 { get; set; } + public global::OpenRouter.AllOf? Type1310 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>, string>? Type1311 { get; set; } + public global::OpenRouter.OutputMessageItem? Type1311 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1312 { get; set; } + public global::OpenRouter.InputsVariant2ItemVariant82? Type1312 { get; set; } /// /// /// - public global::OpenRouter.InputsVariant2ItemVariant8Type? Type1313 { get; set; } + public global::OpenRouter.AnyOf>, string>? Type1313 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1314 { get; set; } + public global::System.Collections.Generic.IList>? Type1314 { get; set; } /// /// /// - public global::OpenRouter.OutputReasoningItem? Type1315 { get; set; } + public global::OpenRouter.InputsVariant2ItemVariant8Type? Type1315 { get; set; } /// /// /// - public global::OpenRouter.InputsVariant2ItemVariant92? Type1316 { get; set; } + public global::OpenRouter.AllOf? Type1316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1317 { get; set; } + public global::OpenRouter.OutputReasoningItem? Type1317 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchCallItem? Type1318 { get; set; } + public global::OpenRouter.InputsVariant2ItemVariant92? Type1318 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchCallItem? Type1319 { get; set; } + public global::System.Collections.Generic.IList? Type1319 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationCallItem? Type1320 { get; set; } + public global::OpenRouter.OutputWebSearchCallItem? Type1320 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterCallItem? Type1321 { get; set; } + public global::OpenRouter.OutputFileSearchCallItem? Type1321 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItem? Type1322 { get; set; } + public global::OpenRouter.OutputImageGenerationCallItem? Type1322 { get; set; } /// /// /// - public global::OpenRouter.OutputDatetimeItem? Type1323 { get; set; } + public global::OpenRouter.OutputCodeInterpreterCallItem? Type1323 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItem? Type1324 { get; set; } + public global::OpenRouter.OutputComputerCallItem? Type1324 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterServerToolItem? Type1325 { get; set; } + public global::OpenRouter.OutputDatetimeItem? Type1325 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchServerToolItem? Type1326 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItem? Type1326 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationServerToolItem? Type1327 { get; set; } + public global::OpenRouter.OutputCodeInterpreterServerToolItem? Type1327 { get; set; } /// /// /// - public global::OpenRouter.OutputBrowserUseServerToolItem? Type1328 { get; set; } + public global::OpenRouter.OutputFileSearchServerToolItem? Type1328 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItem? Type1329 { get; set; } + public global::OpenRouter.OutputImageGenerationServerToolItem? Type1329 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItem? Type1330 { get; set; } + public global::OpenRouter.OutputBrowserUseServerToolItem? Type1330 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchServerToolItem? Type1331 { get; set; } + public global::OpenRouter.OutputBashServerToolItem? Type1331 { get; set; } /// /// /// - public global::OpenRouter.OutputWebFetchServerToolItem? Type1332 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItem? Type1332 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItem? Type1333 { get; set; } + public global::OpenRouter.OutputApplyPatchServerToolItem? Type1333 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItem? Type1334 { get; set; } + public global::OpenRouter.OutputWebFetchServerToolItem? Type1334 { get; set; } /// /// /// - public global::OpenRouter.OutputArmorBlockedItem? Type1335 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItem? Type1335 { get; set; } /// /// /// - public global::OpenRouter.OutputMcpServerToolItem? Type1336 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItem? Type1336 { get; set; } /// /// /// - public global::OpenRouter.OutputSearchModelsServerToolItem? Type1337 { get; set; } + public global::OpenRouter.OutputArmorBlockedItem? Type1337 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItem? Type1338 { get; set; } + public global::OpenRouter.OutputMcpServerToolItem? Type1338 { get; set; } /// /// /// - public global::OpenRouter.OutputAdvisorServerToolItem? Type1339 { get; set; } + public global::OpenRouter.OutputSearchModelsServerToolItem? Type1339 { get; set; } /// /// /// - public global::OpenRouter.OutputSubagentServerToolItem? Type1340 { get; set; } + public global::OpenRouter.OutputFusionServerToolItem? Type1340 { get; set; } /// /// /// - public global::OpenRouter.OutputFilesServerToolItem? Type1341 { get; set; } + public global::OpenRouter.OutputAdvisorServerToolItem? Type1341 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItem? Type1342 { get; set; } + public global::OpenRouter.OutputSubagentServerToolItem? Type1342 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItem? Type1343 { get; set; } + public global::OpenRouter.OutputFilesServerToolItem? Type1343 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallOutputItem? Type1344 { get; set; } + public global::OpenRouter.OutputShellServerToolItem? Type1344 { get; set; } /// /// /// - public global::OpenRouter.ShellCallItem? Type1345 { get; set; } + public global::OpenRouter.LocalShellCallItem? Type1345 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItem? Type1346 { get; set; } + public global::OpenRouter.LocalShellCallOutputItem? Type1346 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsItem? Type1347 { get; set; } + public global::OpenRouter.ShellCallItem? Type1347 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalRequestItem? Type1348 { get; set; } + public global::OpenRouter.ShellCallOutputItem? Type1348 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalResponseItem? Type1349 { get; set; } + public global::OpenRouter.McpListToolsItem? Type1349 { get; set; } /// /// /// - public global::OpenRouter.McpCallItem? Type1350 { get; set; } + public global::OpenRouter.McpApprovalRequestItem? Type1350 { get; set; } /// /// /// - public global::OpenRouter.ItemReferenceItem? Type1351 { get; set; } + public global::OpenRouter.McpApprovalResponseItem? Type1351 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchCallItem? Type1352 { get; set; } + public global::OpenRouter.McpCallItem? Type1352 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItem? Type1353 { get; set; } + public global::OpenRouter.ItemReferenceItem? Type1353 { get; set; } /// /// /// - public global::OpenRouter.InputTextType? Type1354 { get; set; } + public global::OpenRouter.ToolSearchCallItem? Type1354 { get; set; } /// /// /// - public global::OpenRouter.InputVideoProcessing? Type1355 { get; set; } + public global::OpenRouter.ToolSearchOutputItem? Type1355 { get; set; } /// /// /// - public global::OpenRouter.InputVideoType? Type1356 { get; set; } + public global::OpenRouter.InputTextType? Type1356 { get; set; } /// /// /// - public global::OpenRouter.InstructType? Type1357 { get; set; } + public global::OpenRouter.InputVideoProcessing? Type1357 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponse? Type1358 { get; set; } + public global::OpenRouter.InputVideoType? Type1358 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponseErrorData? Type1359 { get; set; } + public global::OpenRouter.InstructType? Type1359 { get; set; } /// /// /// - public global::OpenRouter.ItemReferenceItemType? Type1360 { get; set; } + public global::OpenRouter.InternalServerResponse? Type1360 { get; set; } /// /// /// - public global::OpenRouter.JevRouterPluginId? Type1361 { get; set; } + public global::OpenRouter.InternalServerResponseErrorData? Type1361 { get; set; } /// /// /// - public global::OpenRouter.KeyAssignment? Type1362 { get; set; } + public global::OpenRouter.ItemReferenceItemType? Type1362 { get; set; } /// /// /// - public global::OpenRouter.KeyBudget? Type1363 { get; set; } + public global::OpenRouter.JevRouterPluginId? Type1363 { get; set; } /// /// /// - public global::OpenRouter.KeyBudgetResetInterval? Type1364 { get; set; } + public global::OpenRouter.KeyAssignment? Type1364 { get; set; } /// /// /// - public global::OpenRouter.KeyBudgetScope? Type1365 { get; set; } + public global::OpenRouter.KeyBudget? Type1365 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoType? Type1366 { get; set; } + public global::OpenRouter.KeyBudgetResetInterval? Type1366 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoInput? Type1367 { get; set; } + public global::OpenRouter.KeyBudgetScope? Type1367 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoInputProcessing? Type1368 { get; set; } + public global::OpenRouter.LegacyChatContentVideoType? Type1368 { get; set; } /// /// /// - public global::OpenRouter.WebSearchDomainFilter? Type1369 { get; set; } + public global::OpenRouter.LegacyChatContentVideoInput? Type1369 { get; set; } /// /// /// - public global::OpenRouter.SearchContextSizeEnum? Type1370 { get; set; } + public global::OpenRouter.LegacyChatContentVideoInputProcessing? Type1370 { get; set; } /// /// /// - public global::OpenRouter.LegacyWebSearchServerToolType? Type1371 { get; set; } + public global::OpenRouter.WebSearchDomainFilter? Type1371 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocation? Type1372 { get; set; } + public global::OpenRouter.SearchContextSizeEnum? Type1372 { get; set; } /// /// /// - public global::OpenRouter.ListBYOKKeysResponse? Type1373 { get; set; } + public global::OpenRouter.LegacyWebSearchServerToolType? Type1373 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1374 { get; set; } + public global::OpenRouter.WebSearchUserLocation? Type1374 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse? Type1375 { get; set; } + public global::OpenRouter.ListBYOKKeysResponse? Type1375 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1376 { get; set; } + public global::System.Collections.Generic.IList? Type1376 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitecture? Type1377 { get; set; } + public global::OpenRouter.ListEndpointsResponse? Type1377 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponseArchitecture? Type1378 { get; set; } + public global::OpenRouter.AllOf? Type1378 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1379 { get; set; } + public global::OpenRouter.ModelArchitecture? Type1379 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1380 { get; set; } + public global::OpenRouter.ListEndpointsResponseArchitecture? Type1380 { get; set; } /// /// /// - public global::OpenRouter.OutputModality? Type1381 { get; set; } + public global::System.Collections.Generic.IList? Type1381 { get; set; } /// /// /// - public global::OpenRouter.ModelGroup? Type1382 { get; set; } + public global::System.Collections.Generic.IList? Type1382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1383 { get; set; } + public global::OpenRouter.OutputModality? Type1383 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpoint? Type1384 { get; set; } + public global::OpenRouter.ModelGroup? Type1384 { get; set; } /// /// /// - public global::OpenRouter.ListExternalUsersResponse? Type1385 { get; set; } + public global::System.Collections.Generic.IList? Type1385 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1386 { get; set; } + public global::OpenRouter.PublicEndpoint? Type1386 { get; set; } /// /// /// - public global::OpenRouter.ListGuardrailsResponse? Type1387 { get; set; } + public global::OpenRouter.ListExternalUsersResponse? Type1387 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1388 { get; set; } + public global::System.Collections.Generic.IList? Type1388 { get; set; } /// /// /// - public global::OpenRouter.ListKeyAssignmentsResponse? Type1389 { get; set; } + public global::OpenRouter.ListGuardrailsResponse? Type1389 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1390 { get; set; } + public global::System.Collections.Generic.IList? Type1390 { get; set; } /// /// /// - public global::OpenRouter.ListMemberAssignmentsResponse? Type1391 { get; set; } + public global::OpenRouter.ListKeyAssignmentsResponse? Type1391 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1392 { get; set; } + public global::System.Collections.Generic.IList? Type1392 { get; set; } /// /// /// - public global::OpenRouter.MemberAssignment? Type1393 { get; set; } + public global::OpenRouter.ListMemberAssignmentsResponse? Type1393 { get; set; } /// /// /// - public global::OpenRouter.ListObservabilityDestinationsResponse? Type1394 { get; set; } + public global::System.Collections.Generic.IList? Type1394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1395 { get; set; } + public global::OpenRouter.MemberAssignment? Type1395 { get; set; } /// /// /// - public global::OpenRouter.ListPresetsResponse? Type1396 { get; set; } + public global::OpenRouter.ListObservabilityDestinationsResponse? Type1396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1397 { get; set; } + public global::System.Collections.Generic.IList? Type1397 { get; set; } /// /// /// - public global::OpenRouter.Preset? Type1398 { get; set; } + public global::OpenRouter.ListPresetsResponse? Type1398 { get; set; } /// /// /// - public global::OpenRouter.ListPresetVersionsResponse? Type1399 { get; set; } + public global::System.Collections.Generic.IList? Type1399 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1400 { get; set; } + public global::OpenRouter.Preset? Type1400 { get; set; } /// /// /// - public global::OpenRouter.ListPrivateEndpointsResponse? Type1401 { get; set; } + public global::OpenRouter.ListPresetVersionsResponse? Type1401 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1402 { get; set; } + public global::System.Collections.Generic.IList? Type1402 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointSummary? Type1403 { get; set; } + public global::OpenRouter.ListPrivateEndpointsResponse? Type1403 { get; set; } /// /// /// - public global::OpenRouter.ListScimGroupMappingsResponse? Type1404 { get; set; } + public global::System.Collections.Generic.IList? Type1404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1405 { get; set; } + public global::OpenRouter.PrivateEndpointSummary? Type1405 { get; set; } /// /// /// - public global::OpenRouter.ListScimGroupsResponse? Type1406 { get; set; } + public global::OpenRouter.ListScimGroupMappingsResponse? Type1406 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1407 { get; set; } + public global::System.Collections.Generic.IList? Type1407 { get; set; } /// /// /// - public global::OpenRouter.ScimGroup? Type1408 { get; set; } + public global::OpenRouter.ListScimGroupsResponse? Type1408 { get; set; } /// /// /// - public global::OpenRouter.ListToolsResponse? Type1409 { get; set; } + public global::System.Collections.Generic.IList? Type1409 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1410 { get; set; } + public global::OpenRouter.ScimGroup? Type1410 { get; set; } /// /// /// - public global::OpenRouter.ServerTool? Type1411 { get; set; } + public global::OpenRouter.ListToolsResponse? Type1411 { get; set; } /// /// /// - public global::OpenRouter.ListToolsResponseLinks? Type1412 { get; set; } + public global::System.Collections.Generic.IList? Type1412 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspaceBudgetsResponse? Type1413 { get; set; } + public global::OpenRouter.ServerTool? Type1413 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1414 { get; set; } + public global::OpenRouter.ListToolsResponseLinks? Type1414 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspaceMembersResponse? Type1415 { get; set; } + public global::OpenRouter.ListWorkspaceBudgetsResponse? Type1415 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspacesResponse? Type1416 { get; set; } + public global::System.Collections.Generic.IList? Type1416 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1417 { get; set; } + public global::OpenRouter.ListWorkspaceMembersResponse? Type1417 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemAction? Type1418 { get; set; } + public global::OpenRouter.ListWorkspacesResponse? Type1418 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemActionType? Type1419 { get; set; } + public global::System.Collections.Generic.IList? Type1419 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemType? Type1420 { get; set; } + public global::OpenRouter.LocalShellCallItemAction? Type1420 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallOutputItemType? Type1421 { get; set; } + public global::OpenRouter.LocalShellCallItemActionType? Type1421 { get; set; } /// /// /// - public global::OpenRouter.ManagedPrivateEndpointVariant2? Type1422 { get; set; } + public global::OpenRouter.LocalShellCallItemType? Type1422 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointDeclaredRegion? Type1423 { get; set; } + public global::OpenRouter.LocalShellCallOutputItemType? Type1423 { get; set; } /// /// /// - public global::OpenRouter.ManagedPrivateEndpointResponse? Type1424 { get; set; } + public global::OpenRouter.ManagedPrivateEndpointVariant2? Type1424 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalRequestItemType? Type1425 { get; set; } + public global::OpenRouter.PrivateEndpointDeclaredRegion? Type1425 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalResponseItemType? Type1426 { get; set; } + public global::OpenRouter.ManagedPrivateEndpointResponse? Type1426 { get; set; } /// /// /// - public global::OpenRouter.McpToolCallError? Type1427 { get; set; } + public global::OpenRouter.McpApprovalRequestItemType? Type1427 { get; set; } /// /// /// - public global::OpenRouter.McpCallItemType? Type1428 { get; set; } + public global::OpenRouter.McpApprovalResponseItemType? Type1428 { get; set; } /// /// /// - public global::OpenRouter.McpHttpError? Type1429 { get; set; } + public global::OpenRouter.McpToolCallError? Type1429 { get; set; } /// /// /// - public global::OpenRouter.McpHttpErrorType? Type1430 { get; set; } + public global::OpenRouter.McpCallItemType? Type1430 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1431 { get; set; } + public global::OpenRouter.McpHttpError? Type1431 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsItemTool? Type1432 { get; set; } + public global::OpenRouter.McpHttpErrorType? Type1432 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsItemType? Type1433 { get; set; } + public global::System.Collections.Generic.IList? Type1433 { get; set; } /// /// /// - public global::OpenRouter.McpProtocolError? Type1434 { get; set; } + public global::OpenRouter.McpListToolsItemTool? Type1434 { get; set; } /// /// /// - public global::OpenRouter.McpProtocolErrorType? Type1435 { get; set; } + public global::OpenRouter.McpListToolsItemType? Type1435 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolAllowedTools>? Type1436 { get; set; } + public global::OpenRouter.McpProtocolError? Type1436 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolAllowedTools? Type1437 { get; set; } + public global::OpenRouter.McpProtocolErrorType? Type1437 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolConnectorId? Type1438 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolAllowedTools>? Type1438 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1? Type1439 { get; set; } + public global::OpenRouter.McpServerToolAllowedTools? Type1439 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1Always? Type1440 { get; set; } + public global::OpenRouter.McpServerToolConnectorId? Type1440 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1Never? Type1441 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1? Type1441 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant2? Type1442 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1Always? Type1442 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant3? Type1443 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1Never? Type1443 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolType? Type1444 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant2? Type1444 { get; set; } /// /// /// - public global::OpenRouter.McpToolExecutionError? Type1445 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant3? Type1445 { get; set; } /// /// /// - public global::OpenRouter.McpToolExecutionErrorType? Type1446 { get; set; } + public global::OpenRouter.McpServerToolType? Type1446 { get; set; } /// /// /// - public global::OpenRouter.MessagesAdvisorToolResultBlock? Type1447 { get; set; } + public global::OpenRouter.McpToolExecutionError? Type1447 { get; set; } /// /// /// - public global::OpenRouter.MessagesAdvisorToolResultBlockType? Type1448 { get; set; } + public global::OpenRouter.McpToolExecutionErrorType? Type1448 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlock? Type1449 { get; set; } + public global::OpenRouter.MessagesAdvisorToolResultBlock? Type1449 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1450 { get; set; } + public global::OpenRouter.MessagesAdvisorToolResultBlockType? Type1450 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockFile? Type1451 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlock? Type1451 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockFileType? Type1452 { get; set; } + public global::System.Collections.Generic.IList? Type1452 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockType? Type1453 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockFile? Type1453 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEvent? Type1454 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockFileType? Type1454 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1? Type1455 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockType? Type1455 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1Type? Type1456 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEvent? Type1456 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2? Type1457 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1? Type1457 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2Type? Type1458 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1Type? Type1458 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3? Type1459 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2? Type1459 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3Type? Type1460 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2Type? Type1460 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4? Type1461 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3? Type1461 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4Type? Type1462 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3Type? Type1462 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5? Type1463 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4? Type1463 { get; set; } /// /// /// - public global::OpenRouter.Citation? Type1464 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4Type? Type1464 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminator? Type1465 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5? Type1465 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminatorType? Type1466 { get; set; } + public global::OpenRouter.Citation? Type1466 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5Type? Type1467 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminator? Type1467 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6? Type1468 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminatorType? Type1468 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6Type? Type1469 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5Type? Type1469 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventType? Type1470 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6? Type1470 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEvent? Type1471 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6Type? Type1471 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUseBlock? Type1472 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventType? Type1472 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResult? Type1473 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEvent? Type1473 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResult? Type1474 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUseBlock? Type1474 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicToolSearchResult? Type1475 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResult? Type1475 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventContentBlock? Type1476 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResult? Type1476 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventContentBlockType? Type1477 { get; set; } + public global::OpenRouter.ORAnthropicToolSearchResult? Type1477 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventType? Type1478 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventContentBlock? Type1478 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStopEvent? Type1479 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventContentBlockType? Type1479 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStopEventType? Type1480 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventType? Type1480 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEvent? Type1481 { get; set; } + public global::OpenRouter.MessagesContentBlockStopEvent? Type1481 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventDelta? Type1482 { get; set; } + public global::OpenRouter.MessagesContentBlockStopEventType? Type1482 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1483 { get; set; } + public global::OpenRouter.MessagesDeltaEvent? Type1483 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventType? Type1484 { get; set; } + public global::OpenRouter.MessagesDeltaEventDelta? Type1484 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventUsage? Type1485 { get; set; } + public global::System.Collections.Generic.IList? Type1485 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUsage? Type1486 { get; set; } + public global::OpenRouter.MessagesDeltaEventType? Type1486 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEvent? Type1487 { get; set; } + public global::OpenRouter.MessagesDeltaEventUsage? Type1487 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEventError? Type1488 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUsage? Type1488 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEventType? Type1489 { get; set; } + public global::OpenRouter.MessagesErrorEvent? Type1489 { get; set; } /// /// /// - public global::OpenRouter.MessagesFallbackParam? Type1490 { get; set; } + public global::OpenRouter.MessagesErrorEventError? Type1490 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParam? Type1491 { get; set; } + public global::OpenRouter.MessagesErrorEventType? Type1491 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4? Type1492 { get; set; } + public global::OpenRouter.MessagesFallbackParam? Type1492 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4Type? Type1493 { get; set; } + public global::OpenRouter.MessagesMessageParam? Type1493 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5? Type1494 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4? Type1494 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2Item? Type1495 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4Type? Type1495 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2ItemType? Type1496 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5? Type1496 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5Type? Type1497 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2Item? Type1497 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6? Type1498 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2ItemType? Type1498 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6Type? Type1499 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5Type? Type1499 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7? Type1500 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6? Type1500 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7Type? Type1501 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6Type? Type1501 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8? Type1502 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7? Type1502 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8Type? Type1503 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7Type? Type1503 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9? Type1504 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8? Type1504 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>? Type1505 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8Type? Type1505 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1506 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9? Type1506 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content? Type1507 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>? Type1507 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentErrorCode? Type1508 { get; set; } + public global::System.Collections.Generic.IList? Type1508 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentType? Type1509 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content? Type1509 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Type? Type1510 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentErrorCode? Type1510 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11? Type1511 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentType? Type1511 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11Type? Type1512 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Type? Type1512 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlock? Type1513 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11? Type1513 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlock? Type1514 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11Type? Type1514 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlock? Type1515 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlock? Type1515 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicToolSearchResultParam? Type1516 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlock? Type1516 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamRole? Type1517 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlock? Type1517 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfig? Type1518 { get; set; } + public global::OpenRouter.ORAnthropicToolSearchResultParam? Type1518 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigEffort? Type1519 { get; set; } + public global::OpenRouter.MessagesMessageParamRole? Type1519 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormat? Type1520 { get; set; } + public global::OpenRouter.MessagesOutputConfig? Type1520 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormatType? Type1521 { get; set; } + public global::OpenRouter.MessagesOutputConfigEffort? Type1521 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudget? Type1522 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormat? Type1522 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type1523 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormatType? Type1523 { get; set; } /// /// /// - public global::OpenRouter.MessagesPingEvent? Type1524 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudget? Type1524 { get; set; } /// /// /// - public global::OpenRouter.MessagesPingEventType? Type1525 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type1525 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequest? Type1526 { get; set; } + public global::OpenRouter.MessagesPingEvent? Type1526 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagement? Type1527 { get; set; } + public global::OpenRouter.MessagesPingEventType? Type1527 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1? Type1528 { get; set; } + public global::OpenRouter.MessagesRequest? Type1528 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1529 { get; set; } + public global::OpenRouter.MessagesRequestContextManagement? Type1529 { get; set; } /// /// /// - public global::OpenRouter.Trigger? Type1530 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1? Type1530 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminator? Type1531 { get; set; } + public global::OpenRouter.AnyOf>? Type1531 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminatorType? Type1532 { get; set; } + public global::OpenRouter.Trigger? Type1532 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1Type? Type1533 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminator? Type1533 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2? Type1534 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminatorType? Type1534 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum? Type1535 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1Type? Type1535 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnumType? Type1536 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2? Type1536 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum2? Type1537 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum? Type1537 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2Type? Type1538 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnumType? Type1538 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant3? Type1539 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum2? Type1539 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1540 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2Type? Type1540 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant3Type? Type1541 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant3? Type1541 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1542 { get; set; } + public global::OpenRouter.AllOf? Type1542 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1543 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant3Type? Type1543 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestMetadata? Type1544 { get; set; } + public global::System.Collections.Generic.IList? Type1544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1545 { get; set; } + public global::System.Collections.Generic.IList? Type1545 { get; set; } /// /// /// - public global::OpenRouter.PluginsItem2? Type1546 { get; set; } + public global::OpenRouter.MessagesRequestMetadata? Type1546 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginDiscriminator? Type1547 { get; set; } + public global::System.Collections.Generic.IList? Type1547 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginDiscriminatorId? Type1548 { get; set; } + public global::OpenRouter.PluginsItem2? Type1548 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1549 { get; set; } + public global::OpenRouter.MessagesRequestPluginDiscriminator? Type1549 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1550 { get; set; } + public global::OpenRouter.MessagesRequestPluginDiscriminatorId? Type1550 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1551 { get; set; } + public global::System.Collections.Generic.IList? Type1551 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant1? Type1552 { get; set; } + public global::OpenRouter.AllOf? Type1552 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant1Type? Type1553 { get; set; } + public global::OpenRouter.AnyOf>? Type1553 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant2? Type1554 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant1? Type1554 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant2Type? Type1555 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant1Type? Type1555 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant3? Type1556 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant2? Type1556 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant3Type? Type1557 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant2Type? Type1557 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant4? Type1558 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant3? Type1558 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant4Type? Type1559 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant3Type? Type1559 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant1? Type1560 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant4? Type1560 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant1Type? Type1561 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant4Type? Type1561 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant2? Type1562 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant1? Type1562 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant2Type? Type1563 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant1Type? Type1563 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant3? Type1564 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant2? Type1564 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant3Type? Type1565 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant2Type? Type1565 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant4? Type1566 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant3? Type1566 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant4Type? Type1567 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant3Type? Type1567 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1? Type1568 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant4? Type1568 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1InputSchema? Type1569 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant4Type? Type1569 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1Type? Type1570 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1? Type1570 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2? Type1571 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1InputSchema? Type1571 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2Name? Type1572 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1Type? Type1572 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2Type? Type1573 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2? Type1573 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3? Type1574 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2Name? Type1574 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3Name? Type1575 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2Type? Type1575 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3Type? Type1576 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3? Type1576 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4? Type1577 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3Name? Type1577 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4Name? Type1578 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3Type? Type1578 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4Type? Type1579 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4? Type1579 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5? Type1580 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4Name? Type1580 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5Name? Type1581 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4Type? Type1581 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5Type? Type1582 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5? Type1582 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6? Type1583 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5Name? Type1583 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6Name? Type1584 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5Type? Type1584 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6Type? Type1585 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6? Type1585 { get; set; } /// /// /// - public global::OpenRouter.MessagesSearchModelsServerTool? Type1586 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6Name? Type1586 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant13? Type1587 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6Type? Type1587 { get; set; } /// /// /// - public global::OpenRouter.MessagesResult? Type1588 { get; set; } + public global::OpenRouter.MessagesSearchModelsServerTool? Type1588 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2? Type1589 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant13? Type1589 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2ContextManagement? Type1590 { get; set; } + public global::OpenRouter.MessagesResult? Type1590 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1591 { get; set; } + public global::OpenRouter.MessagesResultVariant2? Type1591 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2ContextManagementAppliedEdit? Type1592 { get; set; } + public global::OpenRouter.MessagesResultVariant2ContextManagement? Type1592 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1593 { get; set; } + public global::System.Collections.Generic.IList? Type1593 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2Usage? Type1594 { get; set; } + public global::OpenRouter.MessagesResultVariant2ContextManagementAppliedEdit? Type1594 { get; set; } /// /// /// - public global::OpenRouter.MessagesSearchModelsServerToolType? Type1595 { get; set; } + public global::OpenRouter.AllOf? Type1595 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1596 { get; set; } + public global::OpenRouter.MessagesResultVariant2Usage? Type1596 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockFile? Type1597 { get; set; } + public global::OpenRouter.MessagesSearchModelsServerToolType? Type1597 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockFileType? Type1598 { get; set; } + public global::System.Collections.Generic.IList? Type1598 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockType? Type1599 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockFile? Type1599 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEvent? Type1600 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockFileType? Type1600 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessage? Type1601 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockType? Type1601 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageProvider? Type1602 { get; set; } + public global::OpenRouter.MessagesStartEvent? Type1602 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageRole? Type1603 { get; set; } + public global::OpenRouter.MessagesStartEventMessage? Type1603 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageType? Type1604 { get; set; } + public global::OpenRouter.MessagesStartEventMessageProvider? Type1604 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1605 { get; set; } + public global::OpenRouter.MessagesStartEventMessageRole? Type1605 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageUsage? Type1606 { get; set; } + public global::OpenRouter.MessagesStartEventMessageType? Type1606 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventType? Type1607 { get; set; } + public global::OpenRouter.AllOf? Type1607 { get; set; } /// /// /// - public global::OpenRouter.MessagesStopEvent? Type1608 { get; set; } + public global::OpenRouter.MessagesStartEventMessageUsage? Type1608 { get; set; } /// /// /// - public global::OpenRouter.MessagesStopEventType? Type1609 { get; set; } + public global::OpenRouter.MessagesStartEventType? Type1609 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEvents? Type1610 { get; set; } + public global::OpenRouter.MessagesStopEvent? Type1610 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEventsDiscriminator? Type1611 { get; set; } + public global::OpenRouter.MessagesStopEventType? Type1611 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEventsDiscriminatorType? Type1612 { get; set; } + public global::OpenRouter.MessagesStreamEvents? Type1612 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamingResponse? Type1613 { get; set; } + public global::OpenRouter.MessagesStreamEventsDiscriminator? Type1613 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant1? Type1614 { get; set; } + public global::OpenRouter.MessagesStreamEventsDiscriminatorType? Type1614 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant1Type? Type1615 { get; set; } + public global::OpenRouter.MessagesStreamingResponse? Type1615 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant2? Type1616 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant1? Type1616 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant2Type? Type1617 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant1Type? Type1617 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant3? Type1618 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant2? Type1618 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant3Type? Type1619 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant2Type? Type1619 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant4? Type1620 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant3? Type1620 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant4Type? Type1621 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant3Type? Type1621 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockType? Type1622 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant4? Type1622 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant1? Type1623 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant4Type? Type1623 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant1Type? Type1624 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockType? Type1624 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant2? Type1625 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant1? Type1625 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant2Type? Type1626 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant1Type? Type1626 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant3? Type1627 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant2? Type1627 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant3Type? Type1628 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant2Type? Type1628 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockType? Type1629 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant3? Type1629 { get; set; } /// /// /// - public global::OpenRouter.MetadataLevel? Type1630 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant3Type? Type1630 { get; set; } /// /// /// - public global::OpenRouter.Model? Type1631 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockType? Type1631 { get; set; } /// /// /// - public global::OpenRouter.ModelAliasTarget? Type1632 { get; set; } + public global::OpenRouter.MetadataLevel? Type1632 { get; set; } /// /// /// - public global::OpenRouter.ModelBenchmarks? Type1633 { get; set; } + public global::OpenRouter.Model? Type1633 { get; set; } /// /// /// - public global::OpenRouter.ModelLinks? Type1634 { get; set; } + public global::OpenRouter.ModelAliasTarget? Type1634 { get; set; } /// /// /// - public global::OpenRouter.PerRequestLimits? Type1635 { get; set; } + public global::OpenRouter.ModelBenchmarks? Type1635 { get; set; } /// /// /// - public global::OpenRouter.PublicPricing? Type1636 { get; set; } + public global::OpenRouter.ModelLinks? Type1636 { get; set; } /// /// /// - public global::OpenRouter.ModelReasoning? Type1637 { get; set; } + public global::OpenRouter.PerRequestLimits? Type1637 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1638 { get; set; } + public global::OpenRouter.PublicPricing? Type1638 { get; set; } /// /// /// - public global::OpenRouter.Parameter? Type1639 { get; set; } + public global::OpenRouter.ModelReasoning? Type1639 { get; set; } /// /// /// - public global::OpenRouter.TopProviderInfo? Type1640 { get; set; } + public global::System.Collections.Generic.IList? Type1640 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1641 { get; set; } + public global::OpenRouter.Parameter? Type1641 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1642 { get; set; } + public global::OpenRouter.TopProviderInfo? Type1642 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1643 { get; set; } + public global::System.Collections.Generic.IList? Type1643 { get; set; } /// /// /// - public global::OpenRouter.ModelResponse? Type1644 { get; set; } + public global::OpenRouter.AllOf? Type1644 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponse? Type1645 { get; set; } + public global::System.Collections.Generic.IList? Type1645 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponseData? Type1646 { get; set; } + public global::OpenRouter.ModelResponse? Type1646 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponse? Type1647 { get; set; } + public global::OpenRouter.ModelsCountResponse? Type1647 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1648 { get; set; } + public global::OpenRouter.ModelsCountResponseData? Type1648 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponseLinks? Type1649 { get; set; } + public global::OpenRouter.ModelsListResponse? Type1649 { get; set; } /// /// /// - public global::OpenRouter.ModerationPluginId? Type1650 { get; set; } + public global::System.Collections.Generic.IList? Type1650 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionTool? Type1651 { get; set; } + public global::OpenRouter.ModelsListResponseLinks? Type1651 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1652 { get; set; } + public global::OpenRouter.ModerationPluginId? Type1652 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionToolAllowedCaller? Type1653 { get; set; } + public global::OpenRouter.NamespaceFunctionTool? Type1653 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionToolType? Type1654 { get; set; } + public global::System.Collections.Generic.IList? Type1654 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1655 { get; set; } + public global::OpenRouter.NamespaceFunctionToolAllowedCaller? Type1655 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1656 { get; set; } + public global::OpenRouter.NamespaceFunctionToolType? Type1656 { get; set; } /// /// /// - public global::OpenRouter.NamespaceToolType? Type1657 { get; set; } + public global::System.Collections.Generic.IList>? Type1657 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponse? Type1658 { get; set; } + public global::OpenRouter.AnyOf? Type1658 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponseErrorData? Type1659 { get; set; } + public global::OpenRouter.NamespaceToolType? Type1659 { get; set; } /// /// /// - public global::OpenRouter.OAuthErrorResponse? Type1660 { get; set; } + public global::OpenRouter.NotFoundResponse? Type1660 { get; set; } /// /// /// - public global::OpenRouter.OAuthErrorResponseError? Type1661 { get; set; } + public global::OpenRouter.NotFoundResponseErrorData? Type1661 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwks? Type1662 { get; set; } + public global::OpenRouter.OAuthErrorResponse? Type1662 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1663 { get; set; } + public global::OpenRouter.OAuthErrorResponseError? Type1663 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKey? Type1664 { get; set; } + public global::OpenRouter.OAuthJwks? Type1664 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyAlg? Type1665 { get; set; } + public global::System.Collections.Generic.IList? Type1665 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyCrv? Type1666 { get; set; } + public global::OpenRouter.OAuthJwksKey? Type1666 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyKty? Type1667 { get; set; } + public global::OpenRouter.OAuthJwksKeyAlg? Type1667 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyUse? Type1668 { get; set; } + public global::OpenRouter.OAuthJwksKeyCrv? Type1668 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestination? Type1669 { get; set; } + public global::OpenRouter.OAuthJwksKeyKty? Type1669 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestinationConfig? Type1670 { get; set; } + public global::OpenRouter.OAuthJwksKeyUse? Type1670 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfig? Type1671 { get; set; } + public global::OpenRouter.ObservabilityArizeDestination? Type1671 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1672 { get; set; } + public global::OpenRouter.ObservabilityArizeDestinationConfig? Type1672 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDataRegion? Type1673 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfig? Type1673 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestinationType? Type1674 { get; set; } + public global::System.Collections.Generic.IList? Type1674 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestination? Type1675 { get; set; } + public global::OpenRouter.ObservabilityDataRegion? Type1675 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestinationConfig? Type1676 { get; set; } + public global::OpenRouter.ObservabilityArizeDestinationType? Type1676 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestinationType? Type1677 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestination? Type1677 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestination? Type1678 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestinationConfig? Type1678 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestinationConfig? Type1679 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestinationType? Type1679 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestinationType? Type1680 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestination? Type1680 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestination? Type1681 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestinationConfig? Type1681 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestinationConfig? Type1682 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestinationType? Type1682 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestinationType? Type1683 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestination? Type1683 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestination? Type1684 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestinationConfig? Type1684 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestination? Type1685 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestinationType? Type1685 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestination? Type1686 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestination? Type1686 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestination? Type1687 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestination? Type1687 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestination? Type1688 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestination? Type1688 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestination? Type1689 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestination? Type1689 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestination? Type1690 { get; set; } + public global::OpenRouter.ObservabilityOpikDestination? Type1690 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestination? Type1691 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestination? Type1691 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3Destination? Type1692 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestination? Type1692 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestination? Type1693 { get; set; } + public global::OpenRouter.ObservabilityRampDestination? Type1693 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestination? Type1694 { get; set; } + public global::OpenRouter.ObservabilityS3Destination? Type1694 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestination? Type1695 { get; set; } + public global::OpenRouter.ObservabilitySentryDestination? Type1695 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestination? Type1696 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestination? Type1696 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationDiscriminator? Type1697 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestination? Type1697 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationDiscriminatorType? Type1698 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestination? Type1698 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroup? Type1699 { get; set; } + public global::OpenRouter.ObservabilityDestinationDiscriminator? Type1699 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupLogic? Type1700 { get; set; } + public global::OpenRouter.ObservabilityDestinationDiscriminatorType? Type1700 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1701 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroup? Type1701 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRule? Type1702 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupLogic? Type1702 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRuleField? Type1703 { get; set; } + public global::System.Collections.Generic.IList? Type1703 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator? Type1704 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRule? Type1704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1705 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRuleField? Type1705 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestinationConfig? Type1706 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator? Type1706 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestinationType? Type1707 { get; set; } + public global::System.Collections.Generic.IList? Type1707 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestinationConfig? Type1708 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestinationConfig? Type1708 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestinationType? Type1709 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestinationType? Type1709 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestinationConfig? Type1710 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestinationConfig? Type1710 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestinationType? Type1711 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestinationType? Type1711 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationConfig? Type1712 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestinationConfig? Type1712 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationConfigRegion? Type1713 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestinationType? Type1713 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationType? Type1714 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationConfig? Type1714 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestinationConfig? Type1715 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationConfigRegion? Type1715 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestinationType? Type1716 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationType? Type1716 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestinationConfig? Type1717 { get; set; } + public global::OpenRouter.ObservabilityOpikDestinationConfig? Type1717 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestinationType? Type1718 { get; set; } + public global::OpenRouter.ObservabilityOpikDestinationType? Type1718 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestinationConfig? Type1719 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestinationConfig? Type1719 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestinationType? Type1720 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestinationType? Type1720 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestinationConfig? Type1721 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestinationConfig? Type1721 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestinationType? Type1722 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestinationType? Type1722 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3DestinationConfig? Type1723 { get; set; } + public global::OpenRouter.ObservabilityRampDestinationConfig? Type1723 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3DestinationConfigAuthMode? Type1724 { get; set; } + public global::OpenRouter.ObservabilityRampDestinationType? Type1724 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3DestinationConfigProvider? Type1725 { get; set; } + public global::OpenRouter.ObservabilityS3DestinationConfig? Type1725 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3DestinationType? Type1726 { get; set; } + public global::OpenRouter.ObservabilityS3DestinationConfigAuthMode? Type1726 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestinationConfig? Type1727 { get; set; } + public global::OpenRouter.ObservabilityS3DestinationConfigProvider? Type1727 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestinationType? Type1728 { get; set; } + public global::OpenRouter.ObservabilityS3DestinationType? Type1728 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestinationConfig? Type1729 { get; set; } + public global::OpenRouter.ObservabilitySentryDestinationConfig? Type1729 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestinationType? Type1730 { get; set; } + public global::OpenRouter.ObservabilitySentryDestinationType? Type1730 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestinationConfig? Type1731 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestinationConfig? Type1731 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestinationType? Type1732 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestinationType? Type1732 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationConfig? Type1733 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestinationConfig? Type1733 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationConfigMethod? Type1734 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestinationType? Type1734 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationType? Type1735 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationConfig? Type1735 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileShape? Type1736 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationConfigMethod? Type1736 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileObject? Type1737 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationType? Type1737 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFilePurpose? Type1738 { get; set; } + public global::OpenRouter.OpenAIFileShape? Type1738 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileStatus? Type1739 { get; set; } + public global::OpenRouter.OpenAIFileObject? Type1739 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileDeletedShape? Type1740 { get; set; } + public global::OpenRouter.OpenAIFilePurpose? Type1740 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileDeletedObject? Type1741 { get; set; } + public global::OpenRouter.OpenAIFileStatus? Type1741 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileListShape? Type1742 { get; set; } + public global::OpenRouter.OpenAIFileDeletedShape? Type1742 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1743 { get; set; } + public global::OpenRouter.OpenAIFileDeletedObject? Type1743 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileListObject? Type1744 { get; set; } + public global::OpenRouter.OpenAIFileListShape? Type1744 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallType? Type1745 { get; set; } + public global::System.Collections.Generic.IList? Type1745 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1746 { get; set; } + public global::OpenRouter.OpenAIFileListObject? Type1746 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1747 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallType? Type1747 { get; set; } /// /// /// - public global::OpenRouter.OutputVariant2Item3? Type1748 { get; set; } + public global::OpenRouter.AnyOf>? Type1748 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminator? Type1749 { get; set; } + public global::System.Collections.Generic.IList? Type1749 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminatorType? Type1750 { get; set; } + public global::OpenRouter.OutputVariant2Item3? Type1750 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputType? Type1751 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminator? Type1751 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1752 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminatorType? Type1752 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallSubagentItem? Type1753 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputType? Type1753 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallType? Type1754 { get; set; } + public global::System.Collections.Generic.IList? Type1754 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1755 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallSubagentItem? Type1755 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1756 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallType? Type1756 { get; set; } /// /// /// - public global::OpenRouter.OutputVariant2Item4? Type1757 { get; set; } + public global::OpenRouter.AnyOf>? Type1757 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminator? Type1758 { get; set; } + public global::System.Collections.Generic.IList? Type1758 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminatorType? Type1759 { get; set; } + public global::OpenRouter.OutputVariant2Item4? Type1759 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputType? Type1760 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminator? Type1760 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1761 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminatorType? Type1761 { get; set; } /// /// /// - public global::OpenRouter.ContentItem4? Type1762 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputType? Type1762 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminator? Type1763 { get; set; } + public global::System.Collections.Generic.IList? Type1763 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminatorType? Type1764 { get; set; } + public global::OpenRouter.ContentItem4? Type1764 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant1? Type1765 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminator? Type1765 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant2? Type1766 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminatorType? Type1766 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant3? Type1767 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant1? Type1767 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemType? Type1768 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant2? Type1768 { get; set; } /// /// /// - public global::OpenRouter.URLCitation? Type1769 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant3? Type1769 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDeltaType? Type1770 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemType? Type1770 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDoneType? Type1771 { get; set; } + public global::OpenRouter.URLCitation? Type1771 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompletedType? Type1772 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDeltaType? Type1772 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgressType? Type1773 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDoneType? Type1773 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpretingType? Type1774 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompletedType? Type1774 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallCompletedType? Type1775 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgressType? Type1775 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallGeneratingType? Type1776 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpretingType? Type1776 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallInProgressType? Type1777 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallCompletedType? Type1777 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallPartialImageType? Type1778 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallGeneratingType? Type1778 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesRefusalContentType? Type1779 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallInProgressType? Type1779 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesSearchCompleted? Type1780 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallPartialImageType? Type1780 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesSearchCompletedType? Type1781 { get; set; } + public global::OpenRouter.OpenAIResponsesRefusalContentType? Type1781 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant1? Type1782 { get; set; } + public global::OpenRouter.OpenAIResponsesSearchCompleted? Type1782 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant2? Type1783 { get; set; } + public global::OpenRouter.OpenAIResponsesSearchCompletedType? Type1783 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant3? Type1784 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant1? Type1784 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant4? Type1785 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant2? Type1785 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant4Type? Type1786 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant3? Type1786 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5? Type1787 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant4? Type1787 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1788 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant4Type? Type1788 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant1? Type1789 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5? Type1789 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant2? Type1790 { get; set; } + public global::OpenRouter.AnyOf? Type1790 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowed? Type1791 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant1? Type1791 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant7? Type1792 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant2? Type1792 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant7Type? Type1793 { get; set; } + public global::OpenRouter.ToolChoiceAllowed? Type1793 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant8? Type1794 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant7? Type1794 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant8Type? Type1795 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant7Type? Type1795 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesTruncation? Type1796 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant8? Type1796 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsageInputTokensDetails? Type1797 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant8Type? Type1797 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsageOutputTokensDetails? Type1798 { get; set; } + public global::OpenRouter.OpenAIResponsesTruncation? Type1798 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallInProgress? Type1799 { get; set; } + public global::OpenRouter.OpenAIResponsesUsageInputTokensDetails? Type1799 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallInProgressType? Type1800 { get; set; } + public global::OpenRouter.OpenAIResponsesUsageOutputTokensDetails? Type1800 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallSearching? Type1801 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallInProgress? Type1801 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallSearchingType? Type1802 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallInProgressType? Type1802 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesCreatedEvent? Type1803 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallSearching? Type1803 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesCreatedEventVariant2? Type1804 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallSearchingType? Type1804 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorField? Type1805 { get; set; } + public global::OpenRouter.OpenResponsesCreatedEvent? Type1805 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorFieldCode? Type1806 { get; set; } + public global::OpenRouter.OpenResponsesCreatedEventVariant2? Type1806 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorMetadata? Type1807 { get; set; } + public global::OpenRouter.OpenResponsesErrorField? Type1807 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1808 { get; set; } + public global::OpenRouter.OpenResponsesErrorFieldCode? Type1808 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorMetadataAlignment? Type1809 { get; set; } + public global::OpenRouter.OpenResponsesErrorMetadata? Type1809 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesInProgressEvent? Type1810 { get; set; } + public global::OpenRouter.AllOf? Type1810 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesInProgressEventVariant2? Type1811 { get; set; } + public global::OpenRouter.OpenResponsesErrorMetadataAlignment? Type1811 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1812 { get; set; } + public global::OpenRouter.OpenResponsesInProgressEvent? Type1812 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesTopLogprobs? Type1813 { get; set; } + public global::OpenRouter.OpenResponsesInProgressEventVariant2? Type1813 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResultVariant2? Type1814 { get; set; } + public global::System.Collections.Generic.IList? Type1814 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1815 { get; set; } + public global::OpenRouter.OpenResponsesTopLogprobs? Type1815 { get; set; } /// /// /// - public global::OpenRouter.OutputItems? Type1816 { get; set; } + public global::OpenRouter.OpenResponsesResultVariant2? Type1816 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfig? Type1817 { get; set; } + public global::System.Collections.Generic.IList? Type1817 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1818 { get; set; } + public global::OpenRouter.OutputItems? Type1818 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileShape? Type1819 { get; set; } + public global::OpenRouter.TextExtendedConfig? Type1819 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileType? Type1820 { get; set; } + public global::OpenRouter.AllOf? Type1820 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileDeletedShape? Type1821 { get; set; } + public global::OpenRouter.OpenRouterFileShape? Type1821 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileDeletedType? Type1822 { get; set; } + public global::OpenRouter.OpenRouterFileType? Type1822 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileListShape? Type1823 { get; set; } + public global::OpenRouter.OpenRouterFileDeletedShape? Type1823 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1824 { get; set; } + public global::OpenRouter.OpenRouterFileDeletedType? Type1824 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1825 { get; set; } + public global::OpenRouter.OpenRouterFileListShape? Type1825 { get; set; } /// /// /// - public global::OpenRouter.RouterAttempt? Type1826 { get; set; } + public global::System.Collections.Generic.IList? Type1826 { get; set; } /// /// /// - public global::OpenRouter.RouterParams? Type1827 { get; set; } + public global::System.Collections.Generic.IList? Type1827 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1828 { get; set; } + public global::OpenRouter.RouterAttempt? Type1828 { get; set; } /// /// /// - public global::OpenRouter.PipelineStage? Type1829 { get; set; } + public global::OpenRouter.RouterParams? Type1829 { get; set; } /// /// /// - public global::OpenRouter.RoutingStrategy? Type1830 { get; set; } + public global::System.Collections.Generic.IList? Type1830 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerToolType? Type1831 { get; set; } + public global::OpenRouter.PipelineStage? Type1831 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1832 { get; set; } + public global::OpenRouter.RoutingStrategy? Type1832 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultFile? Type1833 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerToolType? Type1833 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultFileType? Type1834 { get; set; } + public global::System.Collections.Generic.IList? Type1834 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultType? Type1835 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultFile? Type1835 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockDiscriminator? Type1836 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultFileType? Type1836 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockDiscriminatorType? Type1837 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultType? Type1837 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCaller? Type1838 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockDiscriminator? Type1838 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerDiscriminator? Type1839 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockDiscriminatorType? Type1839 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerDiscriminatorType? Type1840 { get; set; } + public global::OpenRouter.ORAnthropicNullableCaller? Type1840 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUseBlockType? Type1841 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerDiscriminator? Type1841 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1842 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerDiscriminatorType? Type1842 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultFile? Type1843 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUseBlockType? Type1843 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultFileType? Type1844 { get; set; } + public global::System.Collections.Generic.IList? Type1844 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultType? Type1845 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultFile? Type1845 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicToolSearchResultType? Type1846 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultFileType? Type1846 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicToolSearchResultParamType? Type1847 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultType? Type1847 { get; set; } /// /// /// - public global::OpenRouter.OrganizationSettings? Type1848 { get; set; } + public global::OpenRouter.ORAnthropicToolSearchResultType? Type1848 { get; set; } /// /// /// - public global::OpenRouter.OutputAdvisorServerToolItemType? Type1849 { get; set; } + public global::OpenRouter.ORAnthropicToolSearchResultParamType? Type1849 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchCallItem? Type1850 { get; set; } + public global::OpenRouter.OrganizationSettings? Type1850 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchCallItemType? Type1851 { get; set; } + public global::OpenRouter.OutputAdvisorServerToolItemType? Type1851 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchServerToolItemType? Type1852 { get; set; } + public global::OpenRouter.OutputApplyPatchCallItem? Type1852 { get; set; } /// /// /// - public global::OpenRouter.OutputArmorBlockedItemStatus? Type1853 { get; set; } + public global::OpenRouter.OutputApplyPatchCallItemType? Type1853 { get; set; } /// /// /// - public global::OpenRouter.OutputArmorBlockedItemType? Type1854 { get; set; } + public global::OpenRouter.OutputApplyPatchServerToolItemType? Type1854 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1855 { get; set; } + public global::OpenRouter.OutputArmorBlockedItemStatus? Type1855 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemFile? Type1856 { get; set; } + public global::OpenRouter.OutputArmorBlockedItemType? Type1856 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemFileType? Type1857 { get; set; } + public global::System.Collections.Generic.IList? Type1857 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemType? Type1858 { get; set; } + public global::OpenRouter.OutputBashServerToolItemFile? Type1858 { get; set; } /// /// /// - public global::OpenRouter.OutputBrowserUseServerToolItemType? Type1859 { get; set; } + public global::OpenRouter.OutputBashServerToolItemFileType? Type1859 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type1860 { get; set; } + public global::OpenRouter.OutputBashServerToolItemType? Type1860 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1861 { get; set; } + public global::OpenRouter.OutputBrowserUseServerToolItemType? Type1861 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemPendingSafetyCheck? Type1862 { get; set; } + public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type1862 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemStatus? Type1863 { get; set; } + public global::System.Collections.Generic.IList? Type1863 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemType? Type1864 { get; set; } + public global::OpenRouter.OutputComputerCallItemPendingSafetyCheck? Type1864 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItem? Type1865 { get; set; } + public global::OpenRouter.OutputComputerCallItemStatus? Type1865 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItemStatus? Type1866 { get; set; } + public global::OpenRouter.OutputComputerCallItemType? Type1866 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItemType? Type1867 { get; set; } + public global::OpenRouter.OutputCustomToolCallItem? Type1867 { get; set; } /// /// /// - public global::OpenRouter.OutputDatetimeItemType? Type1868 { get; set; } + public global::OpenRouter.OutputCustomToolCallItemStatus? Type1868 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchServerToolItemType? Type1869 { get; set; } + public global::OpenRouter.OutputCustomToolCallItemType? Type1869 { get; set; } /// /// /// - public global::OpenRouter.OutputFilesServerToolItemType? Type1870 { get; set; } + public global::OpenRouter.OutputDatetimeItemType? Type1870 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItem? Type1871 { get; set; } + public global::OpenRouter.OutputFileSearchServerToolItemType? Type1871 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItemVariant2? Type1872 { get; set; } + public global::OpenRouter.OutputFilesServerToolItemType? Type1872 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1873 { get; set; } + public global::OpenRouter.OutputFunctionCallItem? Type1873 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItemVariant2SubagentItem? Type1874 { get; set; } + public global::OpenRouter.OutputFunctionCallItemVariant2? Type1874 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1875 { get; set; } + public global::System.Collections.Generic.IList? Type1875 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemFailedModel? Type1876 { get; set; } + public global::OpenRouter.OutputFunctionCallItemVariant2SubagentItem? Type1876 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1877 { get; set; } + public global::System.Collections.Generic.IList? Type1877 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemResponse? Type1878 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemFailedModel? Type1878 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1879 { get; set; } + public global::System.Collections.Generic.IList? Type1879 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemType? Type1880 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemResponse? Type1880 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationCallItemVariant2? Type1881 { get; set; } + public global::System.Collections.Generic.IList? Type1881 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationServerToolItemType? Type1882 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemType? Type1882 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEvent? Type1883 { get; set; } + public global::OpenRouter.OutputImageGenerationCallItemVariant2? Type1883 { get; set; } /// /// /// - public global::OpenRouter.Item? Type1884 { get; set; } + public global::OpenRouter.OutputImageGenerationServerToolItemType? Type1884 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventItemDiscriminator? Type1885 { get; set; } + public global::OpenRouter.OutputItemAddedEvent? Type1885 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventItemDiscriminatorType? Type1886 { get; set; } + public global::OpenRouter.Item? Type1886 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventType? Type1887 { get; set; } + public global::OpenRouter.OutputItemAddedEventItemDiscriminator? Type1887 { get; set; } /// /// /// - public global::OpenRouter.Operation? Type1888 { get; set; } + public global::OpenRouter.OutputItemAddedEventItemDiscriminatorType? Type1888 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminator? Type1889 { get; set; } + public global::OpenRouter.OutputItemAddedEventType? Type1889 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminatorType? Type1890 { get; set; } + public global::OpenRouter.Operation? Type1890 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallStatus? Type1891 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminator? Type1891 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallType? Type1892 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminatorType? Type1892 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1893 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallStatus? Type1893 { get; set; } /// /// /// - public global::OpenRouter.OutputsItem? Type1894 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallType? Type1894 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminator? Type1895 { get; set; } + public global::System.Collections.Generic.IList? Type1895 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminatorType? Type1896 { get; set; } + public global::OpenRouter.OutputsItem? Type1896 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallStatus? Type1897 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminator? Type1897 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallType? Type1898 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminatorType? Type1898 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCustomToolCallStatus? Type1899 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallStatus? Type1899 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCustomToolCallType? Type1900 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallType? Type1900 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEvent? Type1901 { get; set; } + public global::OpenRouter.OutputItemCustomToolCallStatus? Type1901 { get; set; } /// /// /// - public global::OpenRouter.Item2? Type1902 { get; set; } + public global::OpenRouter.OutputItemCustomToolCallType? Type1902 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventItemDiscriminator? Type1903 { get; set; } + public global::OpenRouter.OutputItemDoneEvent? Type1903 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventItemDiscriminatorType? Type1904 { get; set; } + public global::OpenRouter.Item2? Type1904 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventType? Type1905 { get; set; } + public global::OpenRouter.OutputItemDoneEventItemDiscriminator? Type1905 { get; set; } /// /// /// - public global::OpenRouter.WebSearchStatus? Type1906 { get; set; } + public global::OpenRouter.OutputItemDoneEventItemDiscriminatorType? Type1906 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFileSearchCallType? Type1907 { get; set; } + public global::OpenRouter.OutputItemDoneEventType? Type1907 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant1? Type1908 { get; set; } + public global::OpenRouter.WebSearchStatus? Type1908 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant2? Type1909 { get; set; } + public global::OpenRouter.OutputItemFileSearchCallType? Type1909 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant3? Type1910 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant1? Type1910 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallType? Type1911 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant2? Type1911 { get; set; } /// /// /// - public global::OpenRouter.OutputItemImageGenerationCallType? Type1912 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant3? Type1912 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1913 { get; set; } + public global::OpenRouter.OutputItemFunctionCallType? Type1913 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1914 { get; set; } + public global::OpenRouter.OutputItemImageGenerationCallType? Type1914 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant1? Type1915 { get; set; } + public global::System.Collections.Generic.IList? Type1915 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant2? Type1916 { get; set; } + public global::OpenRouter.AnyOf? Type1916 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant3? Type1917 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant1? Type1917 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningType? Type1918 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant2? Type1918 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItem? Type1919 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant3? Type1919 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItem? Type1920 { get; set; } + public global::OpenRouter.OutputItemReasoningType? Type1920 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchCallItem? Type1921 { get; set; } + public global::OpenRouter.OutputShellCallItem? Type1921 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminator? Type1922 { get; set; } + public global::OpenRouter.OutputShellCallOutputItem? Type1922 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminatorType? Type1923 { get; set; } + public global::OpenRouter.OutputToolSearchCallItem? Type1923 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant1? Type1924 { get; set; } + public global::OpenRouter.OutputItemsDiscriminator? Type1924 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1925 { get; set; } + public global::OpenRouter.OutputItemsDiscriminatorType? Type1925 { get; set; } /// /// /// - public global::OpenRouter.WebSearchSource? Type1926 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant1? Type1926 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant1Type? Type1927 { get; set; } + public global::System.Collections.Generic.IList? Type1927 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant2? Type1928 { get; set; } + public global::OpenRouter.WebSearchSource? Type1928 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant2Type? Type1929 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant1Type? Type1929 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant3? Type1930 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant2? Type1930 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant3Type? Type1931 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant2Type? Type1931 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallType? Type1932 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant3? Type1932 { get; set; } /// /// /// - public global::OpenRouter.OutputMcpServerToolItemType? Type1933 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant3Type? Type1933 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemAction? Type1934 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallType? Type1934 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemType? Type1935 { get; set; } + public global::OpenRouter.OutputMcpServerToolItemType? Type1935 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1936 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemAction? Type1936 { get; set; } /// /// /// - public global::OpenRouter.OutputMessagePhaseVariant1? Type1937 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemType? Type1937 { get; set; } /// /// /// - public global::OpenRouter.OutputMessagePhaseVariant2? Type1938 { get; set; } + public global::OpenRouter.AnyOf? Type1938 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageRole? Type1939 { get; set; } + public global::OpenRouter.OutputMessagePhaseVariant1? Type1939 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1940 { get; set; } + public global::OpenRouter.OutputMessagePhaseVariant2? Type1940 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant1? Type1941 { get; set; } + public global::OpenRouter.OutputMessageRole? Type1941 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant2? Type1942 { get; set; } + public global::OpenRouter.AnyOf? Type1942 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant3? Type1943 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant1? Type1943 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageType? Type1944 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant2? Type1944 { get; set; } /// /// /// - public global::OpenRouter.OutputModalityEnum? Type1945 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant3? Type1945 { get; set; } /// /// /// - public global::OpenRouter.OutputReasoningItemVariant2? Type1946 { get; set; } + public global::OpenRouter.OutputMessageType? Type1946 { get; set; } /// /// /// - public global::OpenRouter.ReasoningFormat? Type1947 { get; set; } + public global::OpenRouter.OutputModalityEnum? Type1947 { get; set; } /// /// /// - public global::OpenRouter.OutputSearchModelsServerToolItemType? Type1948 { get; set; } + public global::OpenRouter.OutputReasoningItemVariant2? Type1948 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItemAction? Type1949 { get; set; } + public global::OpenRouter.ReasoningFormat? Type1949 { get; set; } /// /// /// - public global::OpenRouter.ShellCallStatus? Type1950 { get; set; } + public global::OpenRouter.OutputSearchModelsServerToolItemType? Type1950 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItemType? Type1951 { get; set; } + public global::OpenRouter.OutputShellCallItemAction? Type1951 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1952 { get; set; } + public global::OpenRouter.ShellCallStatus? Type1952 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemFile? Type1953 { get; set; } + public global::OpenRouter.OutputShellCallItemType? Type1953 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemFileType? Type1954 { get; set; } + public global::System.Collections.Generic.IList? Type1954 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1955 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemFile? Type1955 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContent? Type1956 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemFileType? Type1956 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemType? Type1957 { get; set; } + public global::System.Collections.Generic.IList? Type1957 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemAction? Type1958 { get; set; } + public global::OpenRouter.ShellCallOutputContent? Type1958 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1959 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemType? Type1959 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemFile? Type1960 { get; set; } + public global::OpenRouter.OutputShellServerToolItemAction? Type1960 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemFileType? Type1961 { get; set; } + public global::System.Collections.Generic.IList? Type1961 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemType? Type1962 { get; set; } + public global::OpenRouter.OutputShellServerToolItemFile? Type1962 { get; set; } /// /// /// - public global::OpenRouter.OutputSubagentServerToolItemType? Type1963 { get; set; } + public global::OpenRouter.OutputShellServerToolItemFileType? Type1963 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type1964 { get; set; } + public global::OpenRouter.OutputShellServerToolItemType? Type1964 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemType? Type1965 { get; set; } + public global::OpenRouter.OutputSubagentServerToolItemType? Type1965 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchCallItemExecution? Type1966 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type1966 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchCallItemType? Type1967 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemType? Type1967 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1968 { get; set; } + public global::OpenRouter.OutputToolSearchCallItemExecution? Type1968 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItemMatche? Type1969 { get; set; } + public global::OpenRouter.OutputToolSearchCallItemType? Type1969 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItemType? Type1970 { get; set; } + public global::System.Collections.Generic.IList? Type1970 { get; set; } /// /// /// - public global::OpenRouter.OutputWebFetchServerToolItemType? Type1971 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItemMatche? Type1971 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemAction? Type1972 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItemType? Type1972 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1973 { get; set; } + public global::OpenRouter.OutputWebFetchServerToolItemType? Type1973 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionSource? Type1974 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemAction? Type1974 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionSourceType? Type1975 { get; set; } + public global::System.Collections.Generic.IList? Type1975 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionType? Type1976 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionSource? Type1976 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemType? Type1977 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionSourceType? Type1977 { get; set; } /// /// /// - public global::OpenRouter.ParetoRouterPluginId? Type1978 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionType? Type1978 { get; set; } /// /// /// - public global::OpenRouter.ParetoRouterPluginPriceSource? Type1979 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemType? Type1979 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponse? Type1980 { get; set; } + public global::OpenRouter.ParetoRouterPluginId? Type1980 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponseErrorData? Type1981 { get; set; } + public global::OpenRouter.ParetoRouterPluginPriceSource? Type1981 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponse? Type1982 { get; set; } + public global::OpenRouter.PayloadTooLargeResponse? Type1982 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponseErrorData? Type1983 { get; set; } + public global::OpenRouter.PayloadTooLargeResponseErrorData? Type1983 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngine? Type1984 { get; set; } + public global::OpenRouter.PaymentRequiredResponse? Type1984 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngineVariant1? Type1985 { get; set; } + public global::OpenRouter.PaymentRequiredResponseErrorData? Type1985 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngineVariant2? Type1986 { get; set; } + public global::OpenRouter.PDFParserEngine? Type1986 { get; set; } /// /// /// - public global::OpenRouter.PercentileLatencyCutoffs? Type1987 { get; set; } + public global::OpenRouter.PDFParserEngineVariant1? Type1987 { get; set; } /// /// /// - public global::OpenRouter.PercentileStats? Type1988 { get; set; } + public global::OpenRouter.PDFParserEngineVariant2? Type1988 { get; set; } /// /// /// - public global::OpenRouter.PercentileThroughputCutoffs? Type1989 { get; set; } + public global::OpenRouter.PercentileLatencyCutoffs? Type1989 { get; set; } /// /// /// - public global::OpenRouter.PipelineStageType? Type1990 { get; set; } + public global::OpenRouter.PercentileStats? Type1990 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1991 { get; set; } + public global::OpenRouter.PercentileThroughputCutoffs? Type1991 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1992 { get; set; } + public global::OpenRouter.PipelineStageType? Type1992 { get; set; } /// /// /// - public global::OpenRouter.PredictionContentText? Type1993 { get; set; } + public global::OpenRouter.AnyOf>? Type1993 { get; set; } /// /// /// - public global::OpenRouter.PredictionType? Type1994 { get; set; } + public global::System.Collections.Generic.IList? Type1994 { get; set; } /// /// /// - public global::OpenRouter.PredictionContentTextType? Type1995 { get; set; } + public global::OpenRouter.PredictionContentText? Type1995 { get; set; } /// /// /// - public global::OpenRouter.PreferredMaxLatency? Type1996 { get; set; } + public global::OpenRouter.PredictionType? Type1996 { get; set; } /// /// /// - public global::OpenRouter.PreferredMinThroughput? Type1997 { get; set; } + public global::OpenRouter.PredictionContentTextType? Type1997 { get; set; } /// /// /// - public global::OpenRouter.PresetStatus? Type1998 { get; set; } + public global::OpenRouter.PreferredMaxLatency? Type1998 { get; set; } /// /// /// - public global::OpenRouter.PresetWithDesignatedVersionVariant2? Type1999 { get; set; } + public global::OpenRouter.PreferredMinThroughput? Type1999 { get; set; } /// /// /// - public global::OpenRouter.Preview20250311WebSearchServerToolType? Type2000 { get; set; } + public global::OpenRouter.PresetStatus? Type2000 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchUserLocation? Type2001 { get; set; } + public global::OpenRouter.PresetWithDesignatedVersionVariant2? Type2001 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchServerToolType? Type2002 { get; set; } + public global::OpenRouter.Preview20250311WebSearchServerToolType? Type2002 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchUserLocationType? Type2003 { get; set; } + public global::OpenRouter.PreviewWebSearchUserLocation? Type2003 { get; set; } /// /// /// - public global::OpenRouter.PricingOverride? Type2004 { get; set; } + public global::OpenRouter.PreviewWebSearchServerToolType? Type2004 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2005 { get; set; } + public global::OpenRouter.PreviewWebSearchUserLocationType? Type2005 { get; set; } /// /// /// - public global::OpenRouter.PricingOverrideUtcDay? Type2006 { get; set; } + public global::OpenRouter.PricingOverride? Type2006 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpoint? Type2007 { get; set; } + public global::System.Collections.Generic.IList? Type2007 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointStatus? Type2008 { get; set; } + public global::OpenRouter.PricingOverrideUtcDay? Type2008 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointCheck? Type2009 { get; set; } + public global::OpenRouter.PrivateEndpoint? Type2009 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointCheckReason? Type2010 { get; set; } + public global::OpenRouter.PrivateEndpointSettings? Type2010 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointParameterCheck? Type2011 { get; set; } + public global::OpenRouter.PrivateEndpointStatus? Type2011 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointResponse? Type2012 { get; set; } + public global::OpenRouter.PrivateEndpointCheck? Type2012 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointValidation? Type2013 { get; set; } + public global::OpenRouter.PrivateEndpointCheckReason? Type2013 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2014 { get; set; } + public global::OpenRouter.PrivateEndpointParameterCheck? Type2014 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2015 { get; set; } + public global::OpenRouter.PrivateEndpointQuantization? Type2015 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointValidationResponse? Type2016 { get; set; } + public global::OpenRouter.PrivateEndpointReasoningReturnMechanism? Type2016 { get; set; } /// /// /// - public global::OpenRouter.PromptCacheBreakpointMode? Type2017 { get; set; } + public global::OpenRouter.PrivateEndpointResponse? Type2017 { get; set; } /// /// /// - public global::OpenRouter.PromptCacheOptionsMode? Type2018 { get; set; } + public global::OpenRouter.PrivateEndpointSettingsCompletions? Type2018 { get; set; } /// /// /// - public global::OpenRouter.ProviderOverloadedResponse? Type2019 { get; set; } + public global::System.Collections.Generic.IList? Type2019 { get; set; } /// /// /// - public global::OpenRouter.ProviderOverloadedResponseErrorData? Type2020 { get; set; } + public global::OpenRouter.PrivateEndpointSettingsExcludedParameter? Type2020 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesDataCollection? Type2021 { get; set; } + public global::OpenRouter.PrivateEndpointSettingsInputs? Type2021 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesMaxPrice? Type2022 { get; set; } + public global::OpenRouter.PrivateEndpointSettingsReasoning? Type2022 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2023 { get; set; } + public global::OpenRouter.PrivateEndpointSettingsToolChoice? Type2023 { get; set; } /// /// /// - public global::OpenRouter.Quantization? Type2024 { get; set; } + public global::OpenRouter.PrivateEndpointValidation? Type2024 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseProviderName? Type2025 { get; set; } + public global::System.Collections.Generic.IList? Type2025 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseRoutedServiceTier? Type2026 { get; set; } + public global::System.Collections.Generic.IList? Type2026 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfigBy? Type2027 { get; set; } + public global::OpenRouter.PrivateEndpointValidationResponse? Type2027 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfigPartition? Type2028 { get; set; } + public global::OpenRouter.PrivateProvider? Type2028 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type2029 { get; set; } + public global::OpenRouter.PrivateProviderDataPolicy? Type2029 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointNativeTools2? Type2030 { get; set; } + public global::OpenRouter.PromptCacheBreakpointMode? Type2030 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkload? Type2031 { get; set; } + public global::OpenRouter.PromptCacheOptionsMode? Type2031 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadDecisions? Type2032 { get; set; } + public global::OpenRouter.ProviderOverloadedResponse? Type2032 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2033 { get; set; } + public global::OpenRouter.ProviderOverloadedResponseErrorData? Type2033 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadEmbeddings? Type2034 { get; set; } + public global::OpenRouter.ProviderPreferencesDataCollection? Type2034 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadImageGeneration? Type2035 { get; set; } + public global::OpenRouter.ProviderPreferencesMaxPrice? Type2035 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadRerank? Type2036 { get; set; } + public global::System.Collections.Generic.IList? Type2036 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadStt? Type2037 { get; set; } + public global::OpenRouter.Quantization? Type2037 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTextGeneration? Type2038 { get; set; } + public global::OpenRouter.ProviderResponseProviderName? Type2038 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTts? Type2039 { get; set; } + public global::OpenRouter.ProviderResponseRoutedServiceTier? Type2039 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadUnknown? Type2040 { get; set; } + public global::OpenRouter.ProviderSortConfigBy? Type2040 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadVideoGeneration? Type2041 { get; set; } + public global::OpenRouter.ProviderSortConfigPartition? Type2041 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricing? Type2042 { get; set; } + public global::System.Collections.Generic.Dictionary? Type2042 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2043 { get; set; } + public global::OpenRouter.PublicEndpointNativeTools2? Type2043 { get; set; } /// /// /// - public global::OpenRouter.PublicServiceTier? Type2044 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkload? Type2044 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceSupport? Type2045 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadDecisions? Type2045 { get; set; } /// /// /// - public global::OpenRouter.RangeCapabilityType? Type2046 { get; set; } + public global::OpenRouter.AllOf? Type2046 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyItem? Type2047 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadEmbeddings? Type2047 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyMetaVersion? Type2048 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadImageGeneration? Type2048 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyResponse? Type2049 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadRerank? Type2049 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2050 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadStt? Type2050 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2051 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTextGeneration? Type2051 { get; set; } /// /// /// - public global::OpenRouter.ReasoningConfigVariant12? Type2052 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTts? Type2052 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDeltaEvent? Type2053 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadUnknown? Type2053 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailEncryptedType? Type2054 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadVideoGeneration? Type2054 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailServerToolCallType? Type2055 { get; set; } + public global::OpenRouter.PublicEndpointPricing? Type2055 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailSummaryType? Type2056 { get; set; } + public global::System.Collections.Generic.IList? Type2056 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailTextType? Type2057 { get; set; } + public global::OpenRouter.PublicServiceTier? Type2057 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionDiscriminator? Type2058 { get; set; } + public global::OpenRouter.ToolChoiceSupport? Type2058 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionDiscriminatorType? Type2059 { get; set; } + public global::OpenRouter.RangeCapabilityType? Type2059 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDoneEvent? Type2060 { get; set; } + public global::OpenRouter.RankingsDailyItem? Type2060 { get; set; } /// /// /// - public global::OpenRouter.ReasoningItemVariant2? Type2061 { get; set; } + public global::OpenRouter.RankingsDailyMetaVersion? Type2061 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryPartAddedEvent? Type2062 { get; set; } + public global::OpenRouter.RankingsDailyResponse? Type2062 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryPartDoneEvent? Type2063 { get; set; } + public global::System.Collections.Generic.IList? Type2063 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextType? Type2064 { get; set; } + public global::OpenRouter.AllOf? Type2064 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextDeltaEvent? Type2065 { get; set; } + public global::OpenRouter.ReasoningConfigVariant12? Type2065 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextDoneEvent? Type2066 { get; set; } + public global::OpenRouter.ReasoningDeltaEvent? Type2066 { get; set; } /// /// /// - public global::OpenRouter.ReasoningTextContentType? Type2067 { get; set; } + public global::OpenRouter.ReasoningDetailEncryptedType? Type2067 { get; set; } /// /// /// - public global::OpenRouter.RefusalDeltaEvent? Type2068 { get; set; } + public global::OpenRouter.ReasoningDetailServerToolCallType? Type2068 { get; set; } /// /// /// - public global::OpenRouter.RefusalDoneEvent? Type2069 { get; set; } + public global::OpenRouter.ReasoningDetailSummaryType? Type2069 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponse? Type2070 { get; set; } + public global::OpenRouter.ReasoningDetailTextType? Type2070 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponseErrorData? Type2071 { get; set; } + public global::OpenRouter.ReasoningDetailUnionDiscriminator? Type2071 { get; set; } /// /// /// - public global::OpenRouter.ResponseHealingPluginId? Type2072 { get; set; } + public global::OpenRouter.ReasoningDetailUnionDiscriminatorType? Type2072 { get; set; } /// /// /// - public global::OpenRouter.ResponseIncludesEnum? Type2073 { get; set; } + public global::OpenRouter.ReasoningDoneEvent? Type2073 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2074 { get; set; } + public global::OpenRouter.ReasoningItemVariant2? Type2074 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2075 { get; set; } + public global::OpenRouter.ReasoningSummaryPartAddedEvent? Type2075 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextLogprob? Type2076 { get; set; } + public global::OpenRouter.ReasoningSummaryPartDoneEvent? Type2076 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2077 { get; set; } + public global::OpenRouter.ReasoningSummaryTextType? Type2077 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextLogprobTopLogprob? Type2078 { get; set; } + public global::OpenRouter.ReasoningSummaryTextDeltaEvent? Type2078 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextType? Type2079 { get; set; } + public global::OpenRouter.ReasoningSummaryTextDoneEvent? Type2079 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorFieldCode? Type2080 { get; set; } + public global::OpenRouter.ReasoningTextContentType? Type2080 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequest? Type2081 { get; set; } + public global::OpenRouter.RefusalDeltaEvent? Type2081 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2082 { get; set; } + public global::OpenRouter.RefusalDoneEvent? Type2082 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2083 { get; set; } + public global::OpenRouter.RequestTimeoutResponse? Type2083 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2084 { get; set; } + public global::OpenRouter.RequestTimeoutResponseErrorData? Type2084 { get; set; } /// /// /// - public global::OpenRouter.PluginsItem3? Type2085 { get; set; } + public global::OpenRouter.ResponseHealingPluginId? Type2085 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginDiscriminator? Type2086 { get; set; } + public global::OpenRouter.ResponseIncludesEnum? Type2086 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginDiscriminatorId? Type2087 { get; set; } + public global::System.Collections.Generic.IList? Type2087 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestServiceTier? Type2088 { get; set; } + public global::System.Collections.Generic.IList? Type2088 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2089 { get; set; } + public global::OpenRouter.ResponseOutputTextLogprob? Type2089 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestToolVariant1? Type2090 { get; set; } + public global::System.Collections.Generic.IList? Type2090 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2091 { get; set; } + public global::OpenRouter.ResponseOutputTextLogprobTopLogprob? Type2091 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller? Type2092 { get; set; } + public global::OpenRouter.ResponseOutputTextType? Type2092 { get; set; } /// /// /// - public global::OpenRouter.ResponsesStreamingResponse? Type2093 { get; set; } + public global::OpenRouter.ResponsesErrorFieldCode? Type2093 { get; set; } /// /// /// - public global::OpenRouter.StreamEvents? Type2094 { get; set; } + public global::OpenRouter.ResponsesRequest? Type2094 { get; set; } /// /// /// - public global::OpenRouter.ScimGroupMappingRole? Type2095 { get; set; } + public global::System.Collections.Generic.IList? Type2095 { get; set; } /// /// /// - public global::OpenRouter.ScimSyncJobStatus? Type2096 { get; set; } + public global::System.Collections.Generic.IList? Type2096 { get; set; } /// /// /// - public global::OpenRouter.SearchModelsServerToolOpenRouterType? Type2097 { get; set; } + public global::System.Collections.Generic.IList? Type2097 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2098 { get; set; } + public global::OpenRouter.PluginsItem3? Type2098 { get; set; } /// /// /// - public global::OpenRouter.ServerToolInputName? Type2099 { get; set; } + public global::OpenRouter.ResponsesRequestPluginDiscriminator? Type2099 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2100 { get; set; } + public global::OpenRouter.ResponsesRequestPluginDiscriminatorId? Type2100 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngine? Type2101 { get; set; } + public global::OpenRouter.ResponsesRequestServiceTier? Type2101 { get; set; } /// /// /// - public global::OpenRouter.ServerToolNativeSupport? Type2102 { get; set; } + public global::OpenRouter.AllOf? Type2102 { get; set; } /// /// /// - public global::OpenRouter.ServerToolStatus? Type2103 { get; set; } + public global::OpenRouter.ResponsesRequestToolVariant1? Type2103 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2104 { get; set; } + public global::System.Collections.Generic.IList? Type2104 { get; set; } /// /// /// - public global::OpenRouter.ServerToolSupportedApiFormat? Type2105 { get; set; } + public global::OpenRouter.ResponsesRequestToolVariant1AllowedCaller? Type2105 { get; set; } /// /// /// - public global::OpenRouter.ServerToolDetailsVariant2? Type2106 { get; set; } + public global::OpenRouter.ResponsesStreamingResponse? Type2106 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2107 { get; set; } + public global::OpenRouter.StreamEvents? Type2107 { get; set; } /// /// /// - public global::OpenRouter.ServerToolDetailsVariant2NativeSupport? Type2108 { get; set; } + public global::OpenRouter.ScimGroupMappingRole? Type2108 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2109 { get; set; } + public global::OpenRouter.ScimSyncJobStatus? Type2109 { get; set; } /// /// /// - public global::OpenRouter.ServerToolNativeModel? Type2110 { get; set; } + public global::OpenRouter.SearchModelsServerToolOpenRouterType? Type2110 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngineByok? Type2111 { get; set; } + public global::System.Collections.Generic.IList? Type2111 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2112 { get; set; } + public global::OpenRouter.ServerToolInputName? Type2112 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngineDataRegion? Type2113 { get; set; } + public global::System.Collections.Generic.IList? Type2113 { get; set; } /// /// /// - public global::OpenRouter.ServerToolExecutedBy? Type2114 { get; set; } + public global::OpenRouter.ServerToolEngine? Type2114 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2115 { get; set; } + public global::OpenRouter.ServerToolNativeSupport? Type2115 { get; set; } /// /// /// - public global::OpenRouter.ServerToolPrice? Type2116 { get; set; } + public global::OpenRouter.ServerToolStatus? Type2116 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEnginePricingSource? Type2117 { get; set; } + public global::System.Collections.Generic.IList? Type2117 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2118 { get; set; } + public global::OpenRouter.ServerToolSupportedApiFormat? Type2118 { get; set; } /// /// /// - public global::OpenRouter.ServerToolInputNameApiFormat? Type2119 { get; set; } + public global::OpenRouter.ServerToolDetailsVariant2? Type2119 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2120 { get; set; } + public global::OpenRouter.AllOf? Type2120 { get; set; } /// /// /// - public global::OpenRouter.ServerToolOutputName? Type2121 { get; set; } + public global::OpenRouter.ServerToolDetailsVariant2NativeSupport? Type2121 { get; set; } /// /// /// - public global::OpenRouter.ServerToolOutputNameApiFormat? Type2122 { get; set; } + public global::System.Collections.Generic.IList? Type2122 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponse? Type2123 { get; set; } + public global::OpenRouter.ServerToolNativeModel? Type2123 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponseErrorData? Type2124 { get; set; } + public global::OpenRouter.ServerToolEngineByok? Type2124 { get; set; } /// /// /// - public global::OpenRouter.SessionCostItem? Type2125 { get; set; } + public global::System.Collections.Generic.IList? Type2125 { get; set; } /// /// /// - public global::OpenRouter.SessionCostItemTurnRange? Type2126 { get; set; } + public global::OpenRouter.ServerToolEngineDataRegion? Type2126 { get; set; } /// /// /// - public global::OpenRouter.SessionCostMeta? Type2127 { get; set; } + public global::OpenRouter.ServerToolExecutedBy? Type2127 { get; set; } /// /// /// - public global::OpenRouter.SessionCostMetaVersion? Type2128 { get; set; } + public global::System.Collections.Generic.IList? Type2128 { get; set; } /// /// /// - public global::OpenRouter.SessionCostResponse? Type2129 { get; set; } + public global::OpenRouter.ServerToolPrice? Type2129 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2130 { get; set; } + public global::OpenRouter.ServerToolEnginePricingSource? Type2130 { get; set; } /// /// /// - public global::OpenRouter.ShellCallItemAction? Type2131 { get; set; } + public global::System.Collections.Generic.IList? Type2131 { get; set; } /// /// /// - public global::OpenRouter.ShellCallItemType? Type2132 { get; set; } + public global::OpenRouter.ServerToolInputNameApiFormat? Type2132 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type2133 { get; set; } + public global::System.Collections.Generic.IList? Type2133 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant1? Type2134 { get; set; } + public global::OpenRouter.ServerToolOutputName? Type2134 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant1Type? Type2135 { get; set; } + public global::OpenRouter.ServerToolOutputNameApiFormat? Type2135 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant2? Type2136 { get; set; } + public global::OpenRouter.ServiceUnavailableResponse? Type2136 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant2Type? Type2137 { get; set; } + public global::OpenRouter.ServiceUnavailableResponseErrorData? Type2137 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2138 { get; set; } + public global::OpenRouter.SessionCostItem? Type2138 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemFile? Type2139 { get; set; } + public global::OpenRouter.SessionCostItemTurnRange? Type2139 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemFileType? Type2140 { get; set; } + public global::OpenRouter.SessionCostMeta? Type2140 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemType? Type2141 { get; set; } + public global::OpenRouter.SessionCostMetaVersion? Type2141 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolType? Type2142 { get; set; } + public global::OpenRouter.SessionCostResponse? Type2142 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolConfig? Type2143 { get; set; } + public global::System.Collections.Generic.IList? Type2143 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolOpenRouterType? Type2144 { get; set; } + public global::OpenRouter.ShellCallItemAction? Type2144 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEngine? Type2145 { get; set; } + public global::OpenRouter.ShellCallItemType? Type2145 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironment? Type2146 { get; set; } + public global::OpenRouter.OneOf? Type2146 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironmentDiscriminator? Type2147 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant1? Type2147 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironmentDiscriminatorType? Type2148 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant1Type? Type2148 { get; set; } /// /// /// - public global::OpenRouter.SpeechInput? Type2149 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant2? Type2149 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2150 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant2Type? Type2150 { get; set; } /// /// /// - public global::OpenRouter.SpeechTurn? Type2151 { get; set; } + public global::System.Collections.Generic.IList? Type2151 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReference? Type2152 { get; set; } + public global::OpenRouter.ShellCallOutputItemFile? Type2152 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudio? Type2153 { get; set; } + public global::OpenRouter.ShellCallOutputItemFileType? Type2153 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceText? Type2154 { get; set; } + public global::OpenRouter.ShellCallOutputItemType? Type2154 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImage? Type2155 { get; set; } + public global::OpenRouter.ShellServerToolType? Type2155 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceDiscriminator? Type2156 { get; set; } + public global::OpenRouter.ShellServerToolConfig? Type2156 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceDiscriminatorType? Type2157 { get; set; } + public global::OpenRouter.ShellServerToolOpenRouterType? Type2157 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudioInput? Type2158 { get; set; } + public global::OpenRouter.ShellServerToolEngine? Type2158 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudioType? Type2159 { get; set; } + public global::OpenRouter.ShellServerToolEnvironment? Type2159 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImageInput? Type2160 { get; set; } + public global::OpenRouter.ShellServerToolEnvironmentDiscriminator? Type2160 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImageType? Type2161 { get; set; } + public global::OpenRouter.ShellServerToolEnvironmentDiscriminatorType? Type2161 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceTextType? Type2162 { get; set; } + public global::OpenRouter.SpeechInput? Type2162 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequest? Type2163 { get; set; } + public global::System.Collections.Generic.IList? Type2163 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2164 { get; set; } + public global::OpenRouter.SpeechTurn? Type2164 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestProvider? Type2165 { get; set; } + public global::OpenRouter.SpeechInputReference? Type2165 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestProviderDataCollection? Type2166 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudio? Type2166 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestResponseFormat? Type2167 { get; set; } + public global::OpenRouter.SpeechInputReferenceText? Type2167 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenCondition? Type2168 { get; set; } + public global::OpenRouter.SpeechInputReferenceImage? Type2168 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenStepCountIs? Type2169 { get; set; } + public global::OpenRouter.SpeechInputReferenceDiscriminator? Type2169 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenHasToolCall? Type2170 { get; set; } + public global::OpenRouter.SpeechInputReferenceDiscriminatorType? Type2170 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxTokensUsed? Type2171 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudioInput? Type2171 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxCost? Type2172 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudioType? Type2172 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenFinishReasonIs? Type2173 { get; set; } + public global::OpenRouter.SpeechInputReferenceImageInput? Type2173 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenConditionDiscriminator? Type2174 { get; set; } + public global::OpenRouter.SpeechInputReferenceImageType? Type2174 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? Type2175 { get; set; } + public global::OpenRouter.SpeechInputReferenceTextType? Type2175 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenFinishReasonIsType? Type2176 { get; set; } + public global::OpenRouter.SpeechRequest? Type2176 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenHasToolCallType? Type2177 { get; set; } + public global::System.Collections.Generic.IList? Type2177 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxCostType? Type2178 { get; set; } + public global::OpenRouter.SpeechRequestProvider? Type2178 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxTokensUsedType? Type2179 { get; set; } + public global::OpenRouter.SpeechRequestProviderDataCollection? Type2179 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenStepCountIsType? Type2180 { get; set; } + public global::OpenRouter.SpeechRequestResponseFormat? Type2180 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2181 { get; set; } + public global::OpenRouter.StopServerToolsWhenCondition? Type2181 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseCompleted? Type2182 { get; set; } + public global::OpenRouter.StopServerToolsWhenStepCountIs? Type2182 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseIncomplete? Type2183 { get; set; } + public global::OpenRouter.StopServerToolsWhenHasToolCall? Type2183 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseFailed? Type2184 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxTokensUsed? Type2184 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemAdded? Type2185 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxCost? Type2185 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemDone? Type2186 { get; set; } + public global::OpenRouter.StopServerToolsWhenFinishReasonIs? Type2186 { get; set; } /// /// /// - public global::OpenRouter.TextDeltaEvent? Type2187 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionDiscriminator? Type2187 { get; set; } /// /// /// - public global::OpenRouter.TextDoneEvent? Type2188 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? Type2188 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallInProgressEvent? Type2189 { get; set; } + public global::OpenRouter.StopServerToolsWhenFinishReasonIsType? Type2189 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallSearchingEvent? Type2190 { get; set; } + public global::OpenRouter.StopServerToolsWhenHasToolCallType? Type2190 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallCompletedEvent? Type2191 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxCostType? Type2191 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsDiscriminator? Type2192 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxTokensUsedType? Type2192 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsDiscriminatorType? Type2193 { get; set; } + public global::OpenRouter.StopServerToolsWhenStepCountIsType? Type2193 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseCompletedVariant2? Type2194 { get; set; } + public global::OpenRouter.AnyOf? Type2194 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseFailedVariant2? Type2195 { get; set; } + public global::OpenRouter.StreamEventsResponseCompleted? Type2195 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseIncompleteVariant2? Type2196 { get; set; } + public global::OpenRouter.StreamEventsResponseIncomplete? Type2196 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemAddedVariant2? Type2197 { get; set; } + public global::OpenRouter.StreamEventsResponseFailed? Type2197 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemDoneVariant2? Type2198 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemAdded? Type2198 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprob? Type2199 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemDone? Type2199 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprobVariant2? Type2200 { get; set; } + public global::OpenRouter.TextDeltaEvent? Type2200 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2201 { get; set; } + public global::OpenRouter.TextDoneEvent? Type2201 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprobTopLogprob? Type2202 { get; set; } + public global::OpenRouter.WebSearchCallInProgressEvent? Type2202 { get; set; } /// /// /// - public global::OpenRouter.STTEntity? Type2203 { get; set; } + public global::OpenRouter.WebSearchCallSearchingEvent? Type2203 { get; set; } /// /// /// - public global::OpenRouter.STTInlineInputAudio? Type2204 { get; set; } + public global::OpenRouter.WebSearchCallCompletedEvent? Type2204 { get; set; } /// /// /// - public global::OpenRouter.STTInputAudio? Type2205 { get; set; } + public global::OpenRouter.StreamEventsDiscriminator? Type2205 { get; set; } /// /// /// - public global::OpenRouter.STTUrlInputAudio? Type2206 { get; set; } + public global::OpenRouter.StreamEventsDiscriminatorType? Type2206 { get; set; } /// /// /// - public global::OpenRouter.STTRequest? Type2207 { get; set; } + public global::OpenRouter.StreamEventsResponseCompletedVariant2? Type2207 { get; set; } /// /// /// - public global::OpenRouter.STTRequestProvider? Type2208 { get; set; } + public global::OpenRouter.StreamEventsResponseFailedVariant2? Type2208 { get; set; } /// /// /// - public global::OpenRouter.STTRequestProviderDataCollection? Type2209 { get; set; } + public global::OpenRouter.StreamEventsResponseIncompleteVariant2? Type2209 { get; set; } /// /// /// - public global::OpenRouter.STTRequestResponseFormat? Type2210 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemAddedVariant2? Type2210 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2211 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemDoneVariant2? Type2211 { get; set; } /// /// /// - public global::OpenRouter.STTTimestampGranularity? Type2212 { get; set; } + public global::OpenRouter.StreamLogprob? Type2212 { get; set; } /// /// /// - public global::OpenRouter.STTResponse? Type2213 { get; set; } + public global::OpenRouter.StreamLogprobVariant2? Type2213 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2214 { get; set; } + public global::System.Collections.Generic.IList? Type2214 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2215 { get; set; } + public global::OpenRouter.StreamLogprobTopLogprob? Type2215 { get; set; } /// /// /// - public global::OpenRouter.STTSegment? Type2216 { get; set; } + public global::OpenRouter.STTEntity? Type2216 { get; set; } /// /// /// - public global::OpenRouter.STTUsage? Type2217 { get; set; } + public global::OpenRouter.STTInlineInputAudio? Type2217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2218 { get; set; } + public global::OpenRouter.STTInputAudio? Type2218 { get; set; } /// /// /// - public global::OpenRouter.STTWord? Type2219 { get; set; } + public global::OpenRouter.STTUrlInputAudio? Type2219 { get; set; } /// /// /// - public global::OpenRouter.STTWordType? Type2220 { get; set; } + public global::OpenRouter.STTRequest? Type2220 { get; set; } /// /// /// - public global::OpenRouter.SubagentNestedTool? Type2221 { get; set; } + public global::OpenRouter.STTRequestProvider? Type2221 { get; set; } /// /// /// - public global::OpenRouter.SubagentReasoning? Type2222 { get; set; } + public global::OpenRouter.STTRequestProviderDataCollection? Type2222 { get; set; } /// /// /// - public global::OpenRouter.SubagentReasoningEffort? Type2223 { get; set; } + public global::OpenRouter.STTRequestResponseFormat? Type2223 { get; set; } /// /// /// - public global::OpenRouter.SubagentServerToolConfig? Type2224 { get; set; } + public global::System.Collections.Generic.IList? Type2224 { get; set; } /// /// /// - public global::OpenRouter.SubagentServerToolOpenRouterType? Type2225 { get; set; } + public global::OpenRouter.STTTimestampGranularity? Type2225 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2226 { get; set; } + public global::OpenRouter.STTResponse? Type2226 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackRequest? Type2227 { get; set; } + public global::System.Collections.Generic.IList? Type2227 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackRequestCategory? Type2228 { get; set; } + public global::System.Collections.Generic.IList? Type2228 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackResponse? Type2229 { get; set; } + public global::OpenRouter.STTSegment? Type2229 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackResponseData? Type2230 { get; set; } + public global::OpenRouter.STTUsage? Type2230 { get; set; } /// /// /// - public global::OpenRouter.SwitchyardRouterPluginAlgorithm? Type2231 { get; set; } + public global::System.Collections.Generic.IList? Type2231 { get; set; } /// /// /// - public global::OpenRouter.SwitchyardRouterPluginId? Type2232 { get; set; } + public global::OpenRouter.STTWord? Type2232 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationItem? Type2233 { get; set; } + public global::OpenRouter.STTWordType? Type2233 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2234 { get; set; } + public global::OpenRouter.SubagentNestedTool? Type2234 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationModel? Type2235 { get; set; } + public global::OpenRouter.SubagentReasoning? Type2235 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationMacroCategory? Type2236 { get; set; } + public global::OpenRouter.SubagentReasoningEffort? Type2236 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationResponse? Type2237 { get; set; } + public global::OpenRouter.SubagentServerToolConfig? Type2237 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationResponseData? Type2238 { get; set; } + public global::OpenRouter.SubagentServerToolOpenRouterType? Type2238 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2239 { get; set; } + public global::System.Collections.Generic.IList? Type2239 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2240 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackRequest? Type2240 { get; set; } /// /// /// - public global::OpenRouter.TextConfigVerbosity? Type2241 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackRequestCategory? Type2241 { get; set; } /// /// /// - public global::OpenRouter.TextDeltaEventVariant2? Type2242 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackResponse? Type2242 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2243 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackResponseData? Type2243 { get; set; } /// /// /// - public global::OpenRouter.TextDoneEventVariant2? Type2244 { get; set; } + public global::OpenRouter.SwitchyardRouterPluginAlgorithm? Type2244 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfigVariant2? Type2245 { get; set; } + public global::OpenRouter.SwitchyardRouterPluginId? Type2245 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfigVariant2Verbosity? Type2246 { get; set; } + public global::OpenRouter.TaskClassificationItem? Type2246 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequest? Type2247 { get; set; } + public global::System.Collections.Generic.IList? Type2247 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestGrantType? Type2248 { get; set; } + public global::OpenRouter.TaskClassificationModel? Type2248 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestRequestedTokenType? Type2249 { get; set; } + public global::OpenRouter.TaskClassificationMacroCategory? Type2249 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestScope? Type2250 { get; set; } + public global::OpenRouter.TaskClassificationResponse? Type2250 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestSubjectTokenType? Type2251 { get; set; } + public global::OpenRouter.TaskClassificationResponseData? Type2251 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponse? Type2252 { get; set; } + public global::System.Collections.Generic.IList? Type2252 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponseIssuedTokenType? Type2253 { get; set; } + public global::System.Collections.Generic.IList? Type2253 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponseTokenType? Type2254 { get; set; } + public global::OpenRouter.TextConfigVerbosity? Type2254 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2255 { get; set; } + public global::OpenRouter.TextDeltaEventVariant2? Type2255 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedModeVariant1? Type2256 { get; set; } + public global::System.Collections.Generic.IList? Type2256 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedModeVariant2? Type2257 { get; set; } + public global::OpenRouter.TextDoneEventVariant2? Type2257 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedType? Type2258 { get; set; } + public global::OpenRouter.TextExtendedConfigVariant2? Type2258 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchCallItemExecution? Type2259 { get; set; } + public global::OpenRouter.TextExtendedConfigVariant2Verbosity? Type2259 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchCallItemStatus? Type2260 { get; set; } + public global::OpenRouter.TokenExchangeRequest? Type2260 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchCallItemType? Type2261 { get; set; } + public global::OpenRouter.TokenExchangeRequestGrantType? Type2261 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemExecution? Type2262 { get; set; } + public global::OpenRouter.TokenExchangeRequestRequestedTokenType? Type2262 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemStatus? Type2263 { get; set; } + public global::OpenRouter.TokenExchangeRequestScope? Type2263 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2264 { get; set; } + public global::OpenRouter.TokenExchangeRequestSubjectTokenType? Type2264 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemTool? Type2265 { get; set; } + public global::OpenRouter.TokenExchangeResponse? Type2265 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2266 { get; set; } + public global::OpenRouter.TokenExchangeResponseIssuedTokenType? Type2266 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemToolAllowedCaller? Type2267 { get; set; } + public global::OpenRouter.TokenExchangeResponseTokenType? Type2267 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemTool2? Type2268 { get; set; } + public global::OpenRouter.AnyOf? Type2268 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchOutputItemType? Type2269 { get; set; } + public global::OpenRouter.ToolChoiceAllowedModeVariant1? Type2269 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchServerToolConfig? Type2270 { get; set; } + public global::OpenRouter.ToolChoiceAllowedModeVariant2? Type2270 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchServerToolType? Type2271 { get; set; } + public global::OpenRouter.ToolChoiceAllowedType? Type2271 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponse? Type2272 { get; set; } + public global::OpenRouter.ToolSearchCallItemExecution? Type2272 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponseErrorData? Type2273 { get; set; } + public global::OpenRouter.ToolSearchCallItemStatus? Type2273 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponse? Type2274 { get; set; } + public global::OpenRouter.ToolSearchCallItemType? Type2274 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponseErrorData? Type2275 { get; set; } + public global::OpenRouter.ToolSearchOutputItemExecution? Type2275 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarkPricing? Type2276 { get; set; } + public global::OpenRouter.ToolSearchOutputItemStatus? Type2276 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksAAItem? Type2277 { get; set; } + public global::OpenRouter.AllOf? Type2277 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksAAItemSource? Type2278 { get; set; } + public global::OpenRouter.ToolSearchOutputItemTool? Type2278 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItem? Type2279 { get; set; } + public global::System.Collections.Generic.IList? Type2279 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItemSource? Type2280 { get; set; } + public global::OpenRouter.ToolSearchOutputItemToolAllowedCaller? Type2280 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItemTournamentStats? Type2281 { get; set; } + public global::OpenRouter.ToolSearchOutputItemTool2? Type2281 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMeta? Type2282 { get; set; } + public global::OpenRouter.ToolSearchOutputItemType? Type2282 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMetaSource? Type2283 { get; set; } + public global::OpenRouter.ToolSearchServerToolConfig? Type2283 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMetaVersion? Type2284 { get; set; } + public global::OpenRouter.ToolSearchServerToolType? Type2284 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItem? Type2285 { get; set; } + public global::OpenRouter.TooManyRequestsResponse? Type2285 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItemBenchmarkType? Type2286 { get; set; } + public global::OpenRouter.TooManyRequestsResponseErrorData? Type2286 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItemSource? Type2287 { get; set; } + public global::OpenRouter.UnauthorizedResponse? Type2287 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksResponse? Type2288 { get; set; } + public global::OpenRouter.UnauthorizedResponseErrorData? Type2288 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2289 { get; set; } + public global::OpenRouter.UnifiedBenchmarkPricing? Type2289 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type2290 { get; set; } + public global::OpenRouter.UnifiedBenchmarksAAItem? Type2290 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItem? Type2291 { get; set; } + public global::OpenRouter.UnifiedBenchmarksAAItemSource? Type2291 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemBenchmarkType? Type2292 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItem? Type2292 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemPrimaryMetric? Type2293 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItemSource? Type2293 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchRunConfig? Type2294 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItemTournamentStats? Type2294 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemSearchSurface? Type2295 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMeta? Type2295 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemSource? Type2296 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMetaSource? Type2296 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponse? Type2297 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMetaVersion? Type2297 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponseErrorData? Type2298 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItem? Type2298 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyRequest? Type2299 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItemBenchmarkType? Type2299 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion? Type2300 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItemSource? Type2300 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyResponse? Type2301 { get; set; } + public global::OpenRouter.UnifiedBenchmarksResponse? Type2301 { get; set; } /// /// /// - public global::OpenRouter.UpdateExternalUserRequest? Type2302 { get; set; } + public global::System.Collections.Generic.IList>? Type2302 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailRequest? Type2303 { get; set; } + public global::OpenRouter.OneOf? Type2303 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponse? Type2304 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItem? Type2304 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequest? Type2305 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemBenchmarkType? Type2305 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2306 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemPrimaryMetric? Type2306 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponse? Type2307 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchRunConfig? Type2307 { get; set; } /// /// /// - public global::OpenRouter.UpdateOrganizationSettingsRequest? Type2308 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemSearchSurface? Type2308 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointParametersRequest? Type2309 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemSource? Type2309 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointPricingRequest? Type2310 { get; set; } + public global::OpenRouter.UnprocessableEntityResponse? Type2310 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointRequest? Type2311 { get; set; } + public global::OpenRouter.UnprocessableEntityResponseErrorData? Type2311 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion? Type2312 { get; set; } + public global::OpenRouter.UpdateBYOKKeyRequest? Type2312 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingRequest? Type2313 { get; set; } + public global::OpenRouter.UpdateBYOKKeyRequestDeclaredRegion? Type2313 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingRequestRole? Type2314 { get; set; } + public global::OpenRouter.UpdateBYOKKeyResponse? Type2314 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingResponse? Type2315 { get; set; } + public global::OpenRouter.UpdateExternalUserRequest? Type2315 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceRequest? Type2316 { get; set; } + public global::OpenRouter.UpdateGuardrailRequest? Type2316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2317 { get; set; } + public global::OpenRouter.UpdateGuardrailResponse? Type2317 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceRequestDisabledServerTool? Type2318 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequest? Type2318 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceResponse? Type2319 { get; set; } + public global::OpenRouter.AllOf? Type2319 { get; set; } /// /// /// - public global::OpenRouter.UpsertWorkspaceBudgetRequest? Type2320 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponse? Type2320 { get; set; } /// /// /// - public global::OpenRouter.UpsertWorkspaceBudgetResponse? Type2321 { get; set; } + public global::OpenRouter.UpdateOrganizationSettingsRequest? Type2321 { get; set; } /// /// /// - public global::OpenRouter.URLCitationType? Type2322 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointParametersRequest? Type2322 { get; set; } /// /// /// - public global::OpenRouter.UsageVariant12? Type2323 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointPricingRequest? Type2323 { get; set; } /// /// /// - public global::OpenRouter.UsageVariant1CostDetails? Type2324 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointRequest? Type2324 { get; set; } /// /// /// - public global::OpenRouter.ValidatePrivateEndpointRequest? Type2325 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion? Type2325 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecret? Type2326 { get; set; } + public global::OpenRouter.AllOf? Type2326 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecretScope? Type2327 { get; set; } + public global::OpenRouter.AllOf? Type2327 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecretListResponse? Type2328 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointSettingsRequestCompletions? Type2328 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2329 { get; set; } + public global::System.Collections.Generic.IList? Type2329 { get; set; } /// /// /// - public global::OpenRouter.VaultSecret? Type2330 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointSettingsRequestExcludedParameter? Type2330 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretCopyRequest? Type2331 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointSettingsRequestInputs? Type2331 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretCopyResponse? Type2332 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointSettingsRequestReasoning? Type2332 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2333 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointSettingsRequestToolChoice? Type2333 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretListResponse? Type2334 { get; set; } + public global::OpenRouter.UpdatePrivateProviderRequest? Type2334 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretResponse? Type2335 { get; set; } + public global::OpenRouter.UpdatePrivateProviderRequestDataPolicy? Type2335 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretWriteRequest? Type2336 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingRequest? Type2336 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequest? Type2337 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingRequestRole? Type2337 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestAspectRatio? Type2338 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingResponse? Type2338 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2339 { get; set; } + public global::OpenRouter.UpdateWorkspaceRequest? Type2339 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2340 { get; set; } + public global::System.Collections.Generic.IList? Type2340 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProvider? Type2341 { get; set; } + public global::OpenRouter.UpdateWorkspaceRequestDisabledServerTool? Type2341 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestResolution? Type2342 { get; set; } + public global::OpenRouter.UpdateWorkspaceResponse? Type2342 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponse? Type2343 { get; set; } + public global::OpenRouter.UpsertWorkspaceBudgetRequest? Type2343 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponseStatus? Type2344 { get; set; } + public global::OpenRouter.UpsertWorkspaceBudgetResponse? Type2344 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationUsage? Type2345 { get; set; } + public global::OpenRouter.URLCitationType? Type2345 { get; set; } /// /// /// - public global::OpenRouter.VideoModel? Type2346 { get; set; } + public global::OpenRouter.UsageVariant12? Type2346 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2347 { get; set; } + public global::OpenRouter.UsageVariant1CostDetails? Type2347 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedAspectRatio? Type2348 { get; set; } + public global::OpenRouter.ValidatePrivateEndpointRequest? Type2348 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2349 { get; set; } + public global::OpenRouter.VaultEffectiveSecret? Type2349 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedFrameImage? Type2350 { get; set; } + public global::OpenRouter.VaultEffectiveSecretScope? Type2350 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2351 { get; set; } + public global::OpenRouter.VaultEffectiveSecretListResponse? Type2351 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedResolution? Type2352 { get; set; } + public global::System.Collections.Generic.IList? Type2352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2353 { get; set; } + public global::OpenRouter.VaultRoutingTable? Type2353 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedSize? Type2354 { get; set; } + public global::System.Collections.Generic.IList? Type2354 { get; set; } /// /// /// - public global::OpenRouter.VideoModelUpscaleFactor? Type2355 { get; set; } + public global::OpenRouter.VaultRoutingTableCustomOrigin? Type2355 { get; set; } /// /// /// - public global::OpenRouter.VideoModelsListResponse? Type2356 { get; set; } + public global::OpenRouter.VaultRoutingTableCustomOriginStatus? Type2356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2357 { get; set; } + public global::OpenRouter.VaultRoutingTableCustomOriginStatusState? Type2357 { get; set; } /// /// /// - public global::OpenRouter.WebFetchEngineEnum? Type2358 { get; set; } + public global::OpenRouter.VaultRoutingTableGithub? Type2358 { get; set; } /// /// /// - public global::OpenRouter.WebFetchPluginId? Type2359 { get; set; } + public global::System.Collections.Generic.IList? Type2359 { get; set; } /// /// /// - public global::OpenRouter.WebFetchServerToolConfig? Type2360 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubApp? Type2360 { get; set; } /// /// /// - public global::OpenRouter.WebFetchServerToolType? Type2361 { get; set; } + public global::System.Collections.Generic.IList? Type2361 { get; set; } /// /// /// - public global::OpenRouter.WebSearchEngine? Type2362 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppInstallation? Type2362 { get; set; } /// /// /// - public global::OpenRouter.WebSearchPluginId? Type2363 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType? Type2363 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2364 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverage? Type2364 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolType? Type2365 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection? Type2365 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolConfig? Type2366 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy? Type2366 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouterType? Type2367 { get; set; } + public global::System.Collections.Generic.IList? Type2367 { get; set; } /// /// /// - public global::OpenRouter.WebSearchSourceType? Type2368 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppMemberLink? Type2368 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationType? Type2369 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia? Type2369 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerToolType? Type2370 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubAppScope? Type2370 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceBudgetResetInterval? Type2371 { get; set; } + public global::System.Collections.Generic.IList? Type2371 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceBudgetInterval? Type2372 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubToken? Type2372 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMemberRole? Type2373 { get; set; } + public global::OpenRouter.VaultRoutingTableGithubTokenScope? Type2373 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequest? Type2374 { get; set; } + public global::OpenRouter.VaultRoutingTableGoogle? Type2374 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestClassifierDimensions? Type2375 { get; set; } + public global::System.Collections.Generic.IList? Type2375 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestClassifierFilters? Type2376 { get; set; } + public global::OpenRouter.VaultRoutingTableGoogleAccount? Type2376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2377 { get; set; } + public global::OpenRouter.VaultRoutingTableGoogleAccountScope? Type2377 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestClassifierFiltersFilter? Type2378 { get; set; } + public global::System.Collections.Generic.IList? Type2378 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>>? Type2379 { get; set; } + public global::OpenRouter.VaultRoutingTableHostRule? Type2379 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2380 { get; set; } + public global::System.Collections.Generic.IList? Type2380 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestFilter? Type2381 { get; set; } + public global::OpenRouter.VaultRoutingTableMcpOrigin? Type2381 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestOrderBy? Type2382 { get; set; } + public global::System.Collections.Generic.IList? Type2382 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestOrderByDirection? Type2383 { get; set; } + public global::OpenRouter.VaultRoutingTableMcpOriginRoute? Type2383 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestTimeRange? Type2384 { get; set; } + public global::OpenRouter.VaultRoutingTableMcpOriginStatus? Type2384 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequest? Type2385 { get; set; } + public global::OpenRouter.VaultRoutingTableMcpOriginStatusState? Type2385 { get; set; } /// /// /// - public byte[]? Type2386 { get; set; } + public global::System.Collections.Generic.IList? Type2386 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequestResponseFormat? Type2387 { get; set; } + public global::OpenRouter.VaultRoutingTableSecret? Type2387 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2388 { get; set; } + public global::OpenRouter.VaultRoutingTableSecretScope? Type2388 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequestTimestampGranularitie? Type2389 { get; set; } + public global::OpenRouter.VaultRoutingTableSlack? Type2389 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequest? Type2390 { get; set; } + public global::System.Collections.Generic.IList? Type2390 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequestCodeChallengeMethod? Type2391 { get; set; } + public global::OpenRouter.VaultRoutingTableSlackMemberLink? Type2391 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequest? Type2392 { get; set; } + public global::OpenRouter.VaultSecret? Type2392 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequestCodeChallengeMethod? Type2393 { get; set; } + public global::OpenRouter.VaultSecretCopyRequest? Type2393 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequestUsageLimitType? Type2394 { get; set; } + public global::OpenRouter.VaultSecretCopyResponse? Type2394 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequest? Type2395 { get; set; } + public global::System.Collections.Generic.IList? Type2395 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestEncodingFormat? Type2396 { get; set; } + public global::OpenRouter.VaultSecretListResponse? Type2396 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>, global::System.Collections.Generic.IList>? Type2397 { get; set; } + public global::OpenRouter.VaultSecretResponse? Type2397 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2398 { get; set; } + public global::OpenRouter.VaultSecretWriteRequest? Type2398 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2399 { get; set; } + public global::OpenRouter.VideoGenerationRequest? Type2399 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5Item? Type2400 { get; set; } + public global::OpenRouter.VideoGenerationRequestAspectRatio? Type2400 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1? Type2401 { get; set; } + public global::System.Collections.Generic.IList? Type2401 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type? Type2402 { get; set; } + public global::System.Collections.Generic.IList? Type2402 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2? Type2403 { get; set; } + public global::OpenRouter.VideoGenerationRequestProvider? Type2403 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2ImageUrl? Type2404 { get; set; } + public global::OpenRouter.VideoGenerationRequestResolution? Type2404 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type? Type2405 { get; set; } + public global::OpenRouter.VideoGenerationResponse? Type2405 { get; set; } /// /// /// - public global::OpenRouter.UploadFileRequest? Type2406 { get; set; } + public global::OpenRouter.VideoGenerationResponseStatus? Type2406 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequest? Type2407 { get; set; } + public global::OpenRouter.VideoGenerationUsage? Type2407 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequestExternal? Type2408 { get; set; } + public global::OpenRouter.VideoModel? Type2408 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequestLimitReset? Type2409 { get; set; } + public global::System.Collections.Generic.IList? Type2409 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequest? Type2410 { get; set; } + public global::OpenRouter.VideoModelSupportedAspectRatio? Type2410 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequestLimitReset? Type2411 { get; set; } + public global::System.Collections.Generic.IList? Type2411 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequest? Type2412 { get; set; } + public global::OpenRouter.VideoModelSupportedFrameImage? Type2412 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2413 { get; set; } + public global::System.Collections.Generic.IList? Type2413 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2414 { get; set; } + public global::OpenRouter.VideoModelSupportedResolution? Type2414 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequestDocument? Type2415 { get; set; } + public global::System.Collections.Generic.IList? Type2415 { get; set; } /// /// /// - public global::OpenRouter.GetUserActivityGroupBy? Type2416 { get; set; } + public global::OpenRouter.VideoModelSupportedSize? Type2416 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2417 { get; set; } + public global::OpenRouter.VideoModelUpscaleFactor? Type2417 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2418 { get; set; } + public global::OpenRouter.VideoModelsListResponse? Type2418 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksSource? Type2419 { get; set; } + public global::System.Collections.Generic.IList? Type2419 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksTaskType? Type2420 { get; set; } + public global::OpenRouter.WebFetchEngineEnum? Type2420 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksBenchmarkType? Type2421 { get; set; } + public global::OpenRouter.WebFetchPluginId? Type2421 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksSearchSurface? Type2422 { get; set; } + public global::OpenRouter.WebFetchServerToolConfig? Type2422 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksArena? Type2423 { get; set; } + public global::OpenRouter.WebFetchServerToolType? Type2423 { get; set; } /// /// /// - public global::OpenRouter.ListBYOKKeysProvider? Type2424 { get; set; } + public global::OpenRouter.WebSearchEngine? Type2424 { get; set; } /// /// /// - public global::OpenRouter.GetTaskClassificationsWindow? Type2425 { get; set; } + public global::OpenRouter.WebSearchPluginId? Type2425 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsCategory? Type2426 { get; set; } + public global::OpenRouter.AllOf? Type2426 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsSubcategory? Type2427 { get; set; } + public global::OpenRouter.WebSearchServerToolType? Type2427 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsSort? Type2428 { get; set; } + public global::OpenRouter.WebSearchServerToolConfig? Type2428 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyPeriod? Type2429 { get; set; } + public global::OpenRouter.WebSearchServerToolOpenRouterType? Type2429 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyModality? Type2430 { get; set; } + public global::OpenRouter.WebSearchSourceType? Type2430 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyContextBucket? Type2431 { get; set; } + public global::OpenRouter.WebSearchUserLocationType? Type2431 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyCategory? Type2432 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerToolType? Type2432 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyLanguageType? Type2433 { get; set; } + public global::OpenRouter.WorkspaceBudgetResetInterval? Type2433 { get; set; } /// /// /// - public global::OpenRouter.GetSessionCostTurnRange? Type2434 { get; set; } + public global::OpenRouter.WorkspaceBudgetInterval? Type2434 { get; set; } /// /// /// - public global::OpenRouter.ListFilesOrder? Type2435 { get; set; } + public global::OpenRouter.WorkspaceMemberRole? Type2435 { get; set; } /// /// /// - public global::OpenRouter.GetModelsCategory? Type2436 { get; set; } + public global::OpenRouter.QueryAnalyticsRequest? Type2436 { get; set; } /// /// /// - public global::OpenRouter.GetModelsSort? Type2437 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestClassifierDimensions? Type2437 { get; set; } /// /// /// - public global::OpenRouter.GetModelsDistillable? Type2438 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestClassifierFilters? Type2438 { get; set; } /// /// /// - public global::OpenRouter.GetModelsZdr? Type2439 { get; set; } + public global::System.Collections.Generic.IList? Type2439 { get; set; } /// /// /// - public global::OpenRouter.GetModelsRegion? Type2440 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestClassifierFiltersFilter? Type2440 { get; set; } /// /// /// - public global::OpenRouter.ListModelsUserSort? Type2441 { get; set; } + public global::OpenRouter.AnyOf>>? Type2441 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateEndpointDraftOnly? Type2442 { get; set; } + public global::System.Collections.Generic.IList? Type2442 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2443 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestFilter? Type2443 { get; set; } /// /// /// - public global::OpenRouter.DeleteScimGroupMappingKeepMembers2? Type2444 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestOrderBy? Type2444 { get; set; } /// /// /// - public global::OpenRouter.ListToolsApiFormat? Type2445 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestOrderByDirection? Type2445 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponse? Type2446 { get; set; } + public global::OpenRouter.QueryAnalyticsRequestTimeRange? Type2446 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseData? Type2447 { get; set; } + public global::OpenRouter.CreateAudioTranscriptionsRequest? Type2447 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2448 { get; set; } + public byte[]? Type2448 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataDimension? Type2449 { get; set; } + public global::OpenRouter.CreateAudioTranscriptionsRequestResponseFormat? Type2449 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2450 { get; set; } + public global::System.Collections.Generic.IList? Type2450 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitie? Type2451 { get; set; } + public global::OpenRouter.CreateAudioTranscriptionsRequestTimestampGranularitie? Type2451 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName? Type2452 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequest? Type2452 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2453 { get; set; } + public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequestCodeChallengeMethod? Type2453 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataMetric? Type2454 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequest? Type2454 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat? Type2455 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequestCodeChallengeMethod? Type2455 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2456 { get; set; } + public global::OpenRouter.CreateAuthKeysCodeRequestUsageLimitType? Type2456 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataOperator? Type2457 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequest? Type2457 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorName? Type2458 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestEncodingFormat? Type2458 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorValueType? Type2459 { get; set; } + public global::OpenRouter.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>, global::System.Collections.Generic.IList>? Type2459 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponse? Type2460 { get; set; } + public global::System.Collections.Generic.IList>? Type2460 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponseData? Type2461 { get; set; } + public global::System.Collections.Generic.IList? Type2461 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponseDataMetadata? Type2462 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5Item? Type2462 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyResponse? Type2463 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1? Type2463 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeResponse? Type2464 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type? Type2464 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeResponseData? Type2465 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2? Type2465 { get; set; } /// /// /// - public global::OpenRouter.GetCreditsResponse? Type2466 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2ImageUrl? Type2466 { get; set; } /// /// /// - public global::OpenRouter.GetCreditsResponseData? Type2467 { get; set; } + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type? Type2467 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponse? Type2468 { get; set; } + public global::OpenRouter.UploadFileRequest? Type2468 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2469 { get; set; } + public global::OpenRouter.CreateKeysRequest? Type2469 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseDataItem? Type2470 { get; set; } + public global::OpenRouter.CreateKeysRequestExternal? Type2470 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseDataItemObject? Type2471 { get; set; } + public global::OpenRouter.CreateKeysRequestLimitReset? Type2471 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseObject? Type2472 { get; set; } + public global::OpenRouter.UpdateKeysRequest? Type2472 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseUsage? Type2473 { get; set; } + public global::OpenRouter.UpdateKeysRequestLimitReset? Type2473 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseUsagePromptTokensDetails? Type2474 { get; set; } + public global::OpenRouter.CreateRerankRequest? Type2474 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsZdrResponse? Type2475 { get; set; } + public global::System.Collections.Generic.IList>? Type2475 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponse? Type2476 { get; set; } + public global::OpenRouter.AnyOf? Type2476 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseData? Type2477 { get; set; } + public global::OpenRouter.CreateRerankRequestDocument? Type2477 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2478 { get; set; } + public global::OpenRouter.GetUserActivityGroupBy? Type2478 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion? Type2479 { get; set; } + public global::System.Collections.Generic.IList? Type2479 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2480 { get; set; } + public global::OpenRouter.AllOf? Type2480 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseDataRateLimit? Type2481 { get; set; } + public global::OpenRouter.GetBenchmarksSource? Type2481 { get; set; } /// /// /// - public global::OpenRouter.ListResponse? Type2482 { get; set; } + public global::OpenRouter.GetBenchmarksTaskType? Type2482 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2483 { get; set; } + public global::OpenRouter.GetBenchmarksBenchmarkType? Type2483 { get; set; } /// /// /// - public global::OpenRouter.ListResponseDataItem? Type2484 { get; set; } + public global::OpenRouter.GetBenchmarksSearchSurface? Type2484 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysResponse? Type2485 { get; set; } + public global::OpenRouter.GetBenchmarksArena? Type2485 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysResponseData? Type2486 { get; set; } + public global::OpenRouter.ListBYOKKeysProvider? Type2486 { get; set; } /// /// /// - public global::OpenRouter.DeleteKeysResponse? Type2487 { get; set; } + public global::OpenRouter.GetTaskClassificationsWindow? Type2487 { get; set; } /// /// /// - public global::OpenRouter.GetKeyResponse? Type2488 { get; set; } + public global::OpenRouter.GetAppRankingsCategory? Type2488 { get; set; } /// /// /// - public global::OpenRouter.GetKeyResponseData? Type2489 { get; set; } + public global::OpenRouter.GetAppRankingsSubcategory? Type2489 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysResponse? Type2490 { get; set; } + public global::OpenRouter.GetAppRankingsSort? Type2490 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysResponseData? Type2491 { get; set; } + public global::OpenRouter.GetRankingsDailyPeriod? Type2491 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse2? Type2492 { get; set; } + public global::OpenRouter.GetRankingsDailyModality? Type2492 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponse? Type2493 { get; set; } + public global::OpenRouter.GetRankingsDailyContextBucket? Type2493 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2494 { get; set; } + public global::OpenRouter.GetRankingsDailyCategory? Type2494 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponseDataItem? Type2495 { get; set; } + public global::OpenRouter.GetRankingsDailyLanguageType? Type2495 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponseDataItemRole? Type2496 { get; set; } + public global::OpenRouter.GetSessionCostTurnRange? Type2496 { get; set; } /// /// /// - public global::OpenRouter.GetOrganizationSettingsResponse? Type2497 { get; set; } + public global::OpenRouter.ListFilesOrder? Type2497 { get; set; } /// /// /// - public global::OpenRouter.UpdateOrganizationSettingsResponse? Type2498 { get; set; } + public global::OpenRouter.GetModelsCategory? Type2498 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2499 { get; set; } + public global::OpenRouter.GetModelsSort? Type2499 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2500 { get; set; } + public global::OpenRouter.GetModelsDistillable? Type2500 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2501 { get; set; } + public global::OpenRouter.GetModelsZdr? Type2501 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2502 { get; set; } + public global::OpenRouter.GetModelsRegion? Type2502 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2503 { get; set; } + public global::OpenRouter.ListModelsUserSort? Type2503 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponse? Type2504 { get; set; } + public global::OpenRouter.DeletePrivateEndpointDraftOnly? Type2504 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2505 { get; set; } + public global::OpenRouter.AnyOf? Type2505 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItem? Type2506 { get; set; } + public global::OpenRouter.DeleteScimGroupMappingKeepMembers2? Type2506 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2507 { get; set; } + public global::OpenRouter.ListToolsApiFormat? Type2507 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItemDatacenter? Type2508 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponse? Type2508 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItemHeadquarters? Type2509 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseData? Type2509 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponse? Type2510 { get; set; } + public global::System.Collections.Generic.IList? Type2510 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2511 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataDimension? Type2511 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseResult? Type2512 { get; set; } + public global::System.Collections.Generic.IList? Type2512 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseResultDocument? Type2513 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitie? Type2513 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseUsage? Type2514 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName? Type2514 { get; set; } /// /// /// - public global::OpenRouter.ListInternConnectionsResponse? Type2515 { get; set; } + public global::System.Collections.Generic.IList? Type2515 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2516 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataMetric? Type2516 { get; set; } /// /// /// - public global::OpenRouter.ListInternConnectionsResponseDataItem? Type2517 { get; set; } + public global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat? Type2517 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2518 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAnalyticsMetaResponseDataOperator? Type2519 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorName? Type2520 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorValueType? Type2521 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsResponse? Type2522 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsResponseData? Type2523 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsResponseDataMetadata? Type2524 { get; set; } + /// + /// + /// + public global::OpenRouter.ExchangeAuthCodeForAPIKeyResponse? Type2525 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateAuthKeysCodeResponse? Type2526 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateAuthKeysCodeResponseData? Type2527 { get; set; } + /// + /// + /// + public global::OpenRouter.GetCreditsResponse? Type2528 { get; set; } + /// + /// + /// + public global::OpenRouter.GetCreditsResponseData? Type2529 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsResponse? Type2530 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2531 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsResponseDataItem? Type2532 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsResponseDataItemObject? Type2533 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsResponseObject? Type2534 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsResponseUsage? Type2535 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsResponseUsagePromptTokensDetails? Type2536 { get; set; } + /// + /// + /// + public global::OpenRouter.ListEndpointsZdrResponse? Type2537 { get; set; } + /// + /// + /// + public global::OpenRouter.GetCurrentKeyResponse? Type2538 { get; set; } + /// + /// + /// + public global::OpenRouter.GetCurrentKeyResponseData? Type2539 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2540 { get; set; } + /// + /// + /// + public global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion? Type2541 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2542 { get; set; } + /// + /// + /// + public global::OpenRouter.GetCurrentKeyResponseDataRateLimit? Type2543 { get; set; } + /// + /// + /// + public global::OpenRouter.ListResponse? Type2544 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2545 { get; set; } + /// + /// + /// + public global::OpenRouter.ListResponseDataItem? Type2546 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateKeysResponse? Type2547 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateKeysResponseData? Type2548 { get; set; } + /// + /// + /// + public global::OpenRouter.DeleteKeysResponse? Type2549 { get; set; } + /// + /// + /// + public global::OpenRouter.GetKeyResponse? Type2550 { get; set; } + /// + /// + /// + public global::OpenRouter.GetKeyResponseData? Type2551 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateKeysResponse? Type2552 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateKeysResponseData? Type2553 { get; set; } + /// + /// + /// + public global::OpenRouter.ListEndpointsResponse2? Type2554 { get; set; } + /// + /// + /// + public global::OpenRouter.ListOrganizationMembersResponse? Type2555 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2556 { get; set; } + /// + /// + /// + public global::OpenRouter.ListOrganizationMembersResponseDataItem? Type2557 { get; set; } + /// + /// + /// + public global::OpenRouter.ListOrganizationMembersResponseDataItemRole? Type2558 { get; set; } + /// + /// + /// + public global::OpenRouter.GetOrganizationSettingsResponse? Type2559 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateOrganizationSettingsResponse? Type2560 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2561 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2562 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2563 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2564 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2565 { get; set; } + /// + /// + /// + public global::OpenRouter.ListPrivateProvidersResponse? Type2566 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2567 { get; set; } + /// + /// + /// + public global::OpenRouter.CreatePrivateProviderResponse? Type2568 { get; set; } + /// + /// + /// + public global::OpenRouter.DeletePrivateProviderResponse? Type2569 { get; set; } + /// + /// + /// + public global::OpenRouter.DeletePrivateProviderResponseData? Type2570 { get; set; } + /// + /// + /// + public global::OpenRouter.GetPrivateProviderResponse? Type2571 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdatePrivateProviderResponse? Type2572 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponse? Type2573 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2574 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponseDataItem? Type2575 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2576 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponseDataItemDatacenter? Type2577 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponseDataItemHeadquarters? Type2578 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponse? Type2579 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2580 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponseResult? Type2581 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponseResultDocument? Type2582 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponseUsage? Type2583 { get; set; } + /// + /// + /// + public global::OpenRouter.ListInternConnectionsResponse? Type2584 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2585 { get; set; } + /// + /// + /// + public global::OpenRouter.ListInternConnectionsResponseDataItem? Type2586 { get; set; } /// /// @@ -10851,274 +11127,330 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType185 { get; set; } + public global::System.Collections.Generic.List? ListType185 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType186 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType187 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType188 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType189 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType190 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType191 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType192 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType193 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType194 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType195 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType196 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType197 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType198 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType199 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType186 { get; set; } + public global::System.Collections.Generic.List? ListType200 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType187 { get; set; } + public global::System.Collections.Generic.List? ListType201 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType188 { get; set; } + public global::System.Collections.Generic.List? ListType202 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType189 { get; set; } + public global::System.Collections.Generic.List? ListType203 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType190 { get; set; } + public global::System.Collections.Generic.List? ListType204 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType191 { get; set; } + public global::System.Collections.Generic.List? ListType205 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType192 { get; set; } + public global::System.Collections.Generic.List? ListType206 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType193 { get; set; } + public global::System.Collections.Generic.List? ListType207 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType194 { get; set; } + public global::System.Collections.Generic.List? ListType208 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType195 { get; set; } + public global::System.Collections.Generic.List? ListType209 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType196 { get; set; } + public global::System.Collections.Generic.List? ListType210 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType197 { get; set; } + public global::System.Collections.Generic.List? ListType211 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType198 { get; set; } + public global::System.Collections.Generic.List? ListType212 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType199 { get; set; } + public global::System.Collections.Generic.List? ListType213 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType200 { get; set; } + public global::System.Collections.Generic.List? ListType214 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType201 { get; set; } + public global::System.Collections.Generic.List? ListType215 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType202 { get; set; } + public global::System.Collections.Generic.List? ListType216 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType203 { get; set; } + public global::System.Collections.Generic.List? ListType217 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType204 { get; set; } + public global::System.Collections.Generic.List? ListType218 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType205 { get; set; } + public global::System.Collections.Generic.List? ListType219 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType206 { get; set; } + public global::System.Collections.Generic.List? ListType220 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType207 { get; set; } + public global::System.Collections.Generic.List>? ListType221 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType208 { get; set; } + public global::System.Collections.Generic.List? ListType222 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType209 { get; set; } + public global::System.Collections.Generic.List? ListType223 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType210 { get; set; } + public global::System.Collections.Generic.List? ListType224 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType211 { get; set; } + public global::System.Collections.Generic.List? ListType225 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType212 { get; set; } + public global::System.Collections.Generic.List? ListType226 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType213 { get; set; } + public global::System.Collections.Generic.List? ListType227 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType214 { get; set; } + public global::System.Collections.Generic.List? ListType228 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType215 { get; set; } + public global::System.Collections.Generic.List? ListType229 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType216 { get; set; } + public global::System.Collections.Generic.List? ListType230 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType217 { get; set; } + public global::System.Collections.Generic.List? ListType231 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType218 { get; set; } + public global::System.Collections.Generic.List? ListType232 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType219 { get; set; } + public global::System.Collections.Generic.List? ListType233 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType220 { get; set; } + public global::System.Collections.Generic.List? ListType234 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType221 { get; set; } + public global::System.Collections.Generic.List? ListType235 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType222 { get; set; } + public global::System.Collections.Generic.List? ListType236 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType223 { get; set; } + public global::System.Collections.Generic.List? ListType237 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType224 { get; set; } + public global::System.Collections.Generic.List? ListType238 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType225 { get; set; } + public global::System.Collections.Generic.List? ListType239 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType226 { get; set; } + public global::System.Collections.Generic.List? ListType240 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType227 { get; set; } + public global::System.Collections.Generic.List? ListType241 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType228 { get; set; } + public global::System.Collections.Generic.List? ListType242 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType229 { get; set; } + public global::System.Collections.Generic.List? ListType243 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType230 { get; set; } + public global::System.Collections.Generic.List? ListType244 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType231 { get; set; } + public global::OpenRouter.AnyOf>>? ListType245 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>>? ListType232 { get; set; } + public global::System.Collections.Generic.List? ListType246 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType233 { get; set; } + public global::System.Collections.Generic.List? ListType247 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType234 { get; set; } + public global::OpenRouter.AnyOf, global::System.Collections.Generic.List, global::System.Collections.Generic.List>, global::System.Collections.Generic.List>? ListType248 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::System.Collections.Generic.List, global::System.Collections.Generic.List>, global::System.Collections.Generic.List>? ListType235 { get; set; } + public global::System.Collections.Generic.List>? ListType249 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType236 { get; set; } + public global::System.Collections.Generic.List? ListType250 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType237 { get; set; } + public global::System.Collections.Generic.List>? ListType251 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType238 { get; set; } + public global::System.Collections.Generic.List? ListType252 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType239 { get; set; } + public global::System.Collections.Generic.List? ListType253 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType240 { get; set; } + public global::System.Collections.Generic.List? ListType254 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType241 { get; set; } + public global::System.Collections.Generic.List? ListType255 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType242 { get; set; } + public global::System.Collections.Generic.List? ListType256 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType243 { get; set; } + public global::System.Collections.Generic.List? ListType257 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType244 { get; set; } + public global::System.Collections.Generic.List? ListType258 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType245 { get; set; } + public global::System.Collections.Generic.List? ListType259 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType246 { get; set; } + public global::System.Collections.Generic.List? ListType260 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType247 { get; set; } + public global::System.Collections.Generic.List? ListType261 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType248 { get; set; } + public global::System.Collections.Generic.List? ListType262 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType249 { get; set; } + public global::System.Collections.Generic.List? ListType263 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType250 { get; set; } + public global::System.Collections.Generic.List? ListType264 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType251 { get; set; } + public global::System.Collections.Generic.List? ListType265 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType252 { get; set; } + public global::System.Collections.Generic.List? ListType266 { get; set; } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatDeveloperMessage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatDeveloperMessage.g.cs index 13c084a38..d91344b5a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatDeveloperMessage.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatDeveloperMessage.g.cs @@ -15,7 +15,7 @@ public sealed partial class ChatDeveloperMessage /// /// {"reasoning":{"effort":"low"}} [global::System.Text.Json.Serialization.JsonPropertyName("configuration_update")] - public global::OpenRouter.ChatDeveloperMessageConfigurationUpdate? ConfigurationUpdate { get; set; } + public global::OpenRouter.ConfigurationUpdate3? ConfigurationUpdate { get; set; } /// /// Developer message content
@@ -69,7 +69,7 @@ public sealed partial class ChatDeveloperMessage #endif public ChatDeveloperMessage( global::OpenRouter.AnyOf> content, - global::OpenRouter.ChatDeveloperMessageConfigurationUpdate? configurationUpdate, + global::OpenRouter.ConfigurationUpdate3? configurationUpdate, string? name, global::OpenRouter.ChatDeveloperMessageRole role) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessage.g.cs index cf000b704..8fcf1d49a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessage.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessage.g.cs @@ -15,7 +15,7 @@ public sealed partial class ChatSystemMessage ///
/// {"reasoning":{"effort":"low"}} [global::System.Text.Json.Serialization.JsonPropertyName("configuration_update")] - public global::OpenRouter.ChatSystemMessageConfigurationUpdate? ConfigurationUpdate { get; set; } + public global::OpenRouter.ConfigurationUpdate3? ConfigurationUpdate { get; set; } /// /// System message content
@@ -69,7 +69,7 @@ public sealed partial class ChatSystemMessage #endif public ChatSystemMessage( global::OpenRouter.AnyOf> content, - global::OpenRouter.ChatSystemMessageConfigurationUpdate? configurationUpdate, + global::OpenRouter.ConfigurationUpdate3? configurationUpdate, string? name, global::OpenRouter.ChatSystemMessageRole role) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessageConfigurationUpdate.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessageConfigurationUpdate.g.cs deleted file mode 100644 index c1a2837cb..000000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessageConfigurationUpdate.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// OpenRouter extension. Changes reasoning effort from this point in the conversation onward without invalidating the prompt cache for the preceding turns. Place it on a content-less system message (`content: ""`) directly before the user message it should apply to, and keep it at that position in later requests. Equivalent to the OpenAI Responses `configuration_update` input item and the Anthropic Messages per-message `output_config.effort`.
- /// Example: {"reasoning":{"effort":"low"}} - ///
- public sealed partial class ChatSystemMessageConfigurationUpdate - { - /// - /// Reasoning settings applied from this point in the conversation onward
- /// Example: {"effort":"low"} - ///
- /// {"effort":"low"} - [global::System.Text.Json.Serialization.JsonPropertyName("reasoning")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::OpenRouter.ConfigurationUpdateReasoning Reasoning { 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. - /// - /// - /// Reasoning settings applied from this point in the conversation onward
- /// Example: {"effort":"low"} - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ChatSystemMessageConfigurationUpdate( - global::OpenRouter.ConfigurationUpdateReasoning reasoning) - { - this.Reasoning = reasoning ?? throw new global::System.ArgumentNullException(nameof(reasoning)); - } - - /// - /// Initializes a new instance of the class. - /// - public ChatSystemMessageConfigurationUpdate() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ConfigurationUpdate3.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ConfigurationUpdate3.Json.g.cs new file mode 100644 index 000000000..cacf138ef --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ConfigurationUpdate3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ConfigurationUpdate3 + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ConfigurationUpdate3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ConfigurationUpdate3), + jsonSerializerContext) as global::OpenRouter.ConfigurationUpdate3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ConfigurationUpdate3? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.ConfigurationUpdate3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.ConfigurationUpdate3), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ConfigurationUpdate3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatDeveloperMessageConfigurationUpdate.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ConfigurationUpdate3.g.cs similarity index 71% rename from src/libs/OpenRouter/Generated/OpenRouter.Models.ChatDeveloperMessageConfigurationUpdate.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.Models.ConfigurationUpdate3.g.cs index 6fa5b751f..ee536f3a6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatDeveloperMessageConfigurationUpdate.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ConfigurationUpdate3.g.cs @@ -4,10 +4,10 @@ namespace OpenRouter { /// - /// OpenRouter extension. Same as the system message `configuration_update`: changes reasoning effort from this point in the conversation onward without invalidating the prompt cache for the preceding turns.
+ /// Mid-conversation configuration update. Changes reasoning effort from this point onward without invalidating the prompt cache for the preceding turns.
/// Example: {"reasoning":{"effort":"low"}} ///
- public sealed partial class ChatDeveloperMessageConfigurationUpdate + public sealed partial class ConfigurationUpdate3 { /// /// Reasoning settings applied from this point in the conversation onward
@@ -25,7 +25,7 @@ public sealed partial class ChatDeveloperMessageConfigurationUpdate public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Reasoning settings applied from this point in the conversation onward
@@ -34,16 +34,16 @@ public sealed partial class ChatDeveloperMessageConfigurationUpdate #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ChatDeveloperMessageConfigurationUpdate( + public ConfigurationUpdate3( global::OpenRouter.ConfigurationUpdateReasoning reasoning) { this.Reasoning = reasoning ?? throw new global::System.ArgumentNullException(nameof(reasoning)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ChatDeveloperMessageConfigurationUpdate() + public ConfigurationUpdate3() { } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailRequest.g.cs index 1fd6ea549..bf63cc6b5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateGuardrailRequest.g.cs @@ -98,6 +98,14 @@ public sealed partial class CreateGuardrailRequest [global::System.Text.Json.Serialization.JsonPropertyName("enable_paid_model_training")] public bool? EnablePaidModelTraining { get; set; } + /// + /// Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.
+ /// Example: false + ///
+ /// false + [global::System.Text.Json.Serialization.JsonPropertyName("enforce_first_party_harness_models")] + public bool? EnforceFirstPartyHarnessModels { get; set; } + /// /// Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.
/// Example: false @@ -262,6 +270,10 @@ public sealed partial class CreateGuardrailRequest /// Whether this guardrail allows paid endpoints that train on request data.
/// Example: true /// + /// + /// Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.
+ /// Example: false + /// /// /// Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.
/// Example: false @@ -322,6 +334,7 @@ public CreateGuardrailRequest( bool? enableFreeModelPublication, bool? enableFreeModelTraining, bool? enablePaidModelTraining, + bool? enforceFirstPartyHarnessModels, bool? enforceZdrAnthropic, bool? enforceZdrGoogle, bool? enforceZdrOpenai, @@ -345,6 +358,7 @@ public CreateGuardrailRequest( this.EnableFreeModelPublication = enableFreeModelPublication; this.EnableFreeModelTraining = enableFreeModelTraining; this.EnablePaidModelTraining = enablePaidModelTraining; + this.EnforceFirstPartyHarnessModels = enforceFirstPartyHarnessModels; this.EnforceZdrAnthropic = enforceZdrAnthropic; this.EnforceZdrGoogle = enforceZdrGoogle; this.EnforceZdrOpenai = enforceZdrOpenai; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateEndpointRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateEndpointRequest.g.cs index de652af03..4d11891f5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateEndpointRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateEndpointRequest.g.cs @@ -81,6 +81,14 @@ public sealed partial class CreatePrivateEndpointRequest [global::System.Text.Json.Serialization.JsonRequired] public required string ProviderSlug { get; set; } + /// + /// Capabilities and limits to set over the ones copied from the public endpoint for this model and provider (or from the model). Omitted fields keep the copied values.
+ /// Example: {"context_length":128000,"reasoning":{"supported":true}} + ///
+ /// {"context_length":128000,"reasoning":{"supported":true}} + [global::System.Text.Json.Serialization.JsonPropertyName("settings")] + public global::OpenRouter.UpdatePrivateEndpointSettingsRequest? Settings { get; set; } + /// /// Model or deployment identifier sent to the upstream provider.
/// Example: gpt-4o-prod @@ -138,6 +146,10 @@ public sealed partial class CreatePrivateEndpointRequest /// Negotiated per-token rates reported for requests routed to this endpoint.
/// Example: {"cache_read":"0.00000025","cache_write":"0.000003125","completion":"0.00001","prompt":"0.0000025"} /// + /// + /// Capabilities and limits to set over the ones copied from the public endpoint for this model and provider (or from the model). Omitted fields keep the copied values.
+ /// Example: {"context_length":128000,"reasoning":{"supported":true}} + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -151,7 +163,8 @@ public CreatePrivateEndpointRequest( global::OpenRouter.CreatePrivateEndpointRequestDeclaredRegion? declaredRegion, bool? declaredZdr, int? maxCompletionTokens, - global::OpenRouter.PrivateEndpointPricing? pricing) + global::OpenRouter.PrivateEndpointPricing? pricing, + global::OpenRouter.UpdatePrivateEndpointSettingsRequest? settings) { this.Activate = activate; this.BaseUrl = baseUrl; @@ -162,6 +175,7 @@ public CreatePrivateEndpointRequest( this.ModelPermaslug = modelPermaslug ?? throw new global::System.ArgumentNullException(nameof(modelPermaslug)); this.Pricing = pricing; this.ProviderSlug = providerSlug ?? throw new global::System.ArgumentNullException(nameof(providerSlug)); + this.Settings = settings; this.UpstreamModelId = upstreamModelId ?? throw new global::System.ArgumentNullException(nameof(upstreamModelId)); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderRequest.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderRequest.Json.g.cs new file mode 100644 index 000000000..b2d827474 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class CreatePrivateProviderRequest + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.CreatePrivateProviderRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.CreatePrivateProviderRequest), + jsonSerializerContext) as global::OpenRouter.CreatePrivateProviderRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.CreatePrivateProviderRequest? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.CreatePrivateProviderRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.CreatePrivateProviderRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.CreatePrivateProviderRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderRequest.g.cs new file mode 100644 index 000000000..5b5ef0d84 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderRequest.g.cs @@ -0,0 +1,106 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class CreatePrivateProviderRequest + { + /// + /// HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.
+ /// Example: https://inference.example.com/v1 + ///
+ /// https://inference.example.com/v1 + [global::System.Text.Json.Serialization.JsonPropertyName("base_url")] + public string? BaseUrl { get; set; } + + /// + /// Defaults to training on and retaining prompts, the most conservative declaration. Your own declaration; it applies to your own traffic and OpenRouter does not verify it.
+ /// Example: {"prompt_retention_days":null,"retains_prompts":false,"training":false} + ///
+ /// {"prompt_retention_days":null,"retains_prompts":false,"training":false} + [global::System.Text.Json.Serialization.JsonPropertyName("data_policy")] + public global::OpenRouter.PrivateProviderDataPolicy2? DataPolicy { get; set; } + + /// + /// Defaults to `name`.
+ /// Example: Acme + ///
+ /// Acme + [global::System.Text.Json.Serialization.JsonPropertyName("display_name")] + public string? DisplayName { get; set; } + + /// + /// Provider name, shown in your activity, logs and Broadcast output. 2-64 letters, numbers, spaces, dots, underscores or hyphens. Cannot be changed later. Neither the name nor its slug may match a public provider name or slug (case-insensitive); other customers may use the same name.
+ /// Example: Acme + ///
+ /// Acme + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// 2-64 lowercase letters and numbers, separated by single hyphens. Cannot be changed later. Defaults to the name lowercased, with every run of other characters replaced by a hyphen (`Acme Inference` becomes `acme-inference`).
+ /// Example: acme + ///
+ /// acme + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + public string? Slug { 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. + /// + /// + /// Provider name, shown in your activity, logs and Broadcast output. 2-64 letters, numbers, spaces, dots, underscores or hyphens. Cannot be changed later. Neither the name nor its slug may match a public provider name or slug (case-insensitive); other customers may use the same name.
+ /// Example: Acme + /// + /// + /// HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.
+ /// Example: https://inference.example.com/v1 + /// + /// + /// Defaults to training on and retaining prompts, the most conservative declaration. Your own declaration; it applies to your own traffic and OpenRouter does not verify it.
+ /// Example: {"prompt_retention_days":null,"retains_prompts":false,"training":false} + /// + /// + /// Defaults to `name`.
+ /// Example: Acme + /// + /// + /// 2-64 lowercase letters and numbers, separated by single hyphens. Cannot be changed later. Defaults to the name lowercased, with every run of other characters replaced by a hyphen (`Acme Inference` becomes `acme-inference`).
+ /// Example: acme + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreatePrivateProviderRequest( + string name, + string? baseUrl, + global::OpenRouter.PrivateProviderDataPolicy2? dataPolicy, + string? displayName, + string? slug) + { + this.BaseUrl = baseUrl; + this.DataPolicy = dataPolicy; + this.DisplayName = displayName; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Slug = slug; + } + + /// + /// Initializes a new instance of the class. + /// + public CreatePrivateProviderRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderResponse.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderResponse.Json.g.cs new file mode 100644 index 000000000..b5deeb3ec --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class CreatePrivateProviderResponse + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.CreatePrivateProviderResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.CreatePrivateProviderResponse), + jsonSerializerContext) as global::OpenRouter.CreatePrivateProviderResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.CreatePrivateProviderResponse? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.CreatePrivateProviderResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.CreatePrivateProviderResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.CreatePrivateProviderResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderResponse.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderResponse.g.cs new file mode 100644 index 000000000..1bd9b285b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreatePrivateProviderResponse.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class CreatePrivateProviderResponse + { + /// + /// Example: {"base_url":"https://inference.example.com/v1","created_at":"2026-10-06T12:00:00.000Z","data_policy":{"prompt_retention_days":null,"retains_prompts":false,"training":false},"display_name":"Acme","name":"Acme","slug":"acme"} + /// + /// {"base_url":"https://inference.example.com/v1","created_at":"2026-10-06T12:00:00.000Z","data_policy":{"prompt_retention_days":null,"retains_prompts":false,"training":false},"display_name":"Acme","name":"Acme","slug":"acme"} + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.PrivateProvider Data { 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. + /// + /// + /// Example: {"base_url":"https://inference.example.com/v1","created_at":"2026-10-06T12:00:00.000Z","data_policy":{"prompt_retention_days":null,"retains_prompts":false,"training":false},"display_name":"Acme","name":"Acme","slug":"acme"} + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreatePrivateProviderResponse( + global::OpenRouter.PrivateProvider data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public CreatePrivateProviderResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponse.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponse.Json.g.cs new file mode 100644 index 000000000..fbf2e8084 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class DeletePrivateProviderResponse + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.DeletePrivateProviderResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.DeletePrivateProviderResponse), + jsonSerializerContext) as global::OpenRouter.DeletePrivateProviderResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.DeletePrivateProviderResponse? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.DeletePrivateProviderResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.DeletePrivateProviderResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.DeletePrivateProviderResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponse.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponse.g.cs new file mode 100644 index 000000000..56807bb5b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponse.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class DeletePrivateProviderResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.DeletePrivateProviderResponseData Data { 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 DeletePrivateProviderResponse( + global::OpenRouter.DeletePrivateProviderResponseData data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public DeletePrivateProviderResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatDeveloperMessageConfigurationUpdate.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponseData.Json.g.cs similarity index 85% rename from src/libs/OpenRouter/Generated/OpenRouter.Models.ChatDeveloperMessageConfigurationUpdate.Json.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponseData.Json.g.cs index ffa79ed38..d0bb6c2ec 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatDeveloperMessageConfigurationUpdate.Json.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponseData.Json.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public sealed partial class ChatDeveloperMessageConfigurationUpdate + public sealed partial class DeletePrivateProviderResponseData { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::OpenRouter.ChatDeveloperMessageConfigurationUpdate? FromJson( + public static global::OpenRouter.DeletePrivateProviderResponseData? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::OpenRouter.ChatDeveloperMessageConfigurationUpdate), - jsonSerializerContext) as global::OpenRouter.ChatDeveloperMessageConfigurationUpdate; + typeof(global::OpenRouter.DeletePrivateProviderResponseData), + jsonSerializerContext) as global::OpenRouter.DeletePrivateProviderResponseData; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::OpenRouter.ChatDeveloperMessageConfigurationUpdate? FromJson( + public static global::OpenRouter.DeletePrivateProviderResponseData? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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::OpenRouter.ChatDeveloperMessageConfigurationUpdate? FromJson( + public static global::OpenRouter.DeletePrivateProviderResponseData? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::OpenRouter.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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::OpenRouter.ChatDeveloperMessageConfigurationUpdate), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ChatDeveloperMessageConfigurationUpdate; + typeof(global::OpenRouter.DeletePrivateProviderResponseData), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.DeletePrivateProviderResponseData; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::OpenRouter.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponseData.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponseData.g.cs new file mode 100644 index 000000000..5ca34d309 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DeletePrivateProviderResponseData.g.cs @@ -0,0 +1,50 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class DeletePrivateProviderResponseData + { + /// + /// The slug you chose, unique within your account. Use it as `provider_slug` when creating private endpoints and BYOK keys, and in `provider.order`, `only` and `ignore`.
+ /// Example: acme + ///
+ /// acme + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { 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 slug you chose, unique within your account. Use it as `provider_slug` when creating private endpoints and BYOK keys, and in `provider.order`, `only` and `ignore`.
+ /// Example: acme + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DeletePrivateProviderResponseData( + string slug) + { + this.Slug = slug ?? throw new global::System.ArgumentNullException(nameof(slug)); + } + + /// + /// Initializes a new instance of the class. + /// + public DeletePrivateProviderResponseData() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.GetPrivateProviderResponse.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.GetPrivateProviderResponse.Json.g.cs new file mode 100644 index 000000000..e6198e47e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.GetPrivateProviderResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class GetPrivateProviderResponse + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.GetPrivateProviderResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.GetPrivateProviderResponse), + jsonSerializerContext) as global::OpenRouter.GetPrivateProviderResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.GetPrivateProviderResponse? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.GetPrivateProviderResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.GetPrivateProviderResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.GetPrivateProviderResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.GetPrivateProviderResponse.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.GetPrivateProviderResponse.g.cs new file mode 100644 index 000000000..c15f940c7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.GetPrivateProviderResponse.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class GetPrivateProviderResponse + { + /// + /// Example: {"base_url":"https://inference.example.com/v1","created_at":"2026-10-06T12:00:00.000Z","data_policy":{"prompt_retention_days":null,"retains_prompts":false,"training":false},"display_name":"Acme","name":"Acme","slug":"acme"} + /// + /// {"base_url":"https://inference.example.com/v1","created_at":"2026-10-06T12:00:00.000Z","data_policy":{"prompt_retention_days":null,"retains_prompts":false,"training":false},"display_name":"Acme","name":"Acme","slug":"acme"} + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.PrivateProvider Data { 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. + /// + /// + /// Example: {"base_url":"https://inference.example.com/v1","created_at":"2026-10-06T12:00:00.000Z","data_policy":{"prompt_retention_days":null,"retains_prompts":false,"training":false},"display_name":"Acme","name":"Acme","slug":"acme"} + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GetPrivateProviderResponse( + global::OpenRouter.PrivateProvider data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public GetPrivateProviderResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.Guardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.Guardrail.g.cs index 2358e06fb..e9900c904 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.Guardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.Guardrail.g.cs @@ -107,6 +107,14 @@ public sealed partial class Guardrail [global::System.Text.Json.Serialization.JsonPropertyName("enable_paid_model_training")] public bool? EnablePaidModelTraining { get; set; } + /// + /// Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.
+ /// Example: false + ///
+ /// false + [global::System.Text.Json.Serialization.JsonPropertyName("enforce_first_party_harness_models")] + public bool? EnforceFirstPartyHarnessModels { get; set; } + /// /// Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.
/// Example: false @@ -301,6 +309,10 @@ public sealed partial class Guardrail /// Whether this guardrail allows paid endpoints that train on request data.
/// Example: true /// + /// + /// Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.
+ /// Example: false + /// /// /// Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.
/// Example: false @@ -364,6 +376,7 @@ public Guardrail( bool? enableFreeModelPublication, bool? enableFreeModelTraining, bool? enablePaidModelTraining, + bool? enforceFirstPartyHarnessModels, bool? enforceZdrAnthropic, bool? enforceZdrGoogle, bool? enforceZdrOpenai, @@ -388,6 +401,7 @@ public Guardrail( this.EnableFreeModelPublication = enableFreeModelPublication; this.EnableFreeModelTraining = enableFreeModelTraining; this.EnablePaidModelTraining = enablePaidModelTraining; + this.EnforceFirstPartyHarnessModels = enforceFirstPartyHarnessModels; this.EnforceZdrAnthropic = enforceZdrAnthropic; this.EnforceZdrGoogle = enforceZdrGoogle; this.EnforceZdrOpenai = enforceZdrOpenai; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ListInternConnectionsResponse.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ListInternConnectionsResponse.g.cs index 158d50fb3..0f5461fd5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ListInternConnectionsResponse.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ListInternConnectionsResponse.g.cs @@ -15,6 +15,18 @@ public sealed partial class ListInternConnectionsResponse [global::System.Text.Json.Serialization.JsonRequired] public required global::System.Collections.Generic.IList Data { get; set; } + /// + /// The intern's routing table, for the intern's own key only; null for any other caller or when the vault could not build it in time. The keys still list. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("routing")] + public global::OpenRouter.VaultRoutingTable? Routing { get; set; } + + /// + /// The routing table as the plain lines the intern reads in its instructions' Connections section, or a notice that it could not be read; null for a caller other than the intern. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("routing_text")] + public string? RoutingText { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -25,13 +37,23 @@ public sealed partial class ListInternConnectionsResponse /// Initializes a new instance of the class. ///
/// + /// + /// The intern's routing table, for the intern's own key only; null for any other caller or when the vault could not build it in time. The keys still list. + /// + /// + /// The routing table as the plain lines the intern reads in its instructions' Connections section, or a notice that it could not be read; null for a caller other than the intern. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ListInternConnectionsResponse( - global::System.Collections.Generic.IList data) + global::System.Collections.Generic.IList data, + global::OpenRouter.VaultRoutingTable? routing, + string? routingText) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Routing = routing; + this.RoutingText = routingText; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ListPrivateProvidersResponse.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ListPrivateProvidersResponse.Json.g.cs new file mode 100644 index 000000000..1956564d6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ListPrivateProvidersResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ListPrivateProvidersResponse + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ListPrivateProvidersResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ListPrivateProvidersResponse), + jsonSerializerContext) as global::OpenRouter.ListPrivateProvidersResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ListPrivateProvidersResponse? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.ListPrivateProvidersResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.ListPrivateProvidersResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ListPrivateProvidersResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ListPrivateProvidersResponse.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ListPrivateProvidersResponse.g.cs new file mode 100644 index 000000000..c28421b0f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ListPrivateProvidersResponse.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ListPrivateProvidersResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { 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 ListPrivateProvidersResponse( + global::System.Collections.Generic.IList data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public ListPrivateProvidersResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OrganizationSettings.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OrganizationSettings.g.cs index ba4c6cf80..335c6ca66 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.OrganizationSettings.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OrganizationSettings.g.cs @@ -18,7 +18,7 @@ public sealed partial class OrganizationSettings public required string Id { get; set; } /// - /// When true, `GET /api/v1/models` called with one of the organization's API keys returns only the models that key can use (the `/api/v1/models/user` catalog), and the signed-in dashboard shows the same list. Anonymous requests always receive the public catalog.
+ /// When true, the signed-in dashboard lists only the models the organization can use. `GET /api/v1/models` called with an API key always returns only the models that key can use, whatever this setting says; anonymous requests receive the public catalog.
/// Example: true ///
/// true @@ -40,7 +40,7 @@ public sealed partial class OrganizationSettings /// Example: org_2dHFtVWx2n56w6HkM0000000000 /// /// - /// When true, `GET /api/v1/models` called with one of the organization's API keys returns only the models that key can use (the `/api/v1/models/user` catalog), and the signed-in dashboard shows the same list. Anonymous requests always receive the public catalog.
+ /// When true, the signed-in dashboard lists only the models the organization can use. `GET /api/v1/models` called with an API key always returns only the models that key can use, whatever this setting says; anonymous requests receive the public catalog.
/// Example: true /// #if NET7_0_OR_GREATER diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpoint.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpoint.g.cs index 0a025d1f6..a8df49b19 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpoint.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpoint.g.cs @@ -4,7 +4,7 @@ namespace OpenRouter { /// - /// Example: {"base_url":"https://contoso.openai.azure.com","declared_parameters":["temperature","seed"],"declared_region":"us","declared_zdr":true,"id":"5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11","max_completion_tokens":131072,"model_name":"OpenAI: GPT-4o","model_permaslug":"openai/gpt-4o-2024-08-06","model_slug":"openai/gpt-4o","pricing":{"cache_read":"0.00000025","cache_write":"0.000003125","completion":"0.00001","prompt":"0.0000025"},"provider_name":"Azure","provider_slug":"azure","status":"active","tested_parameters":["tools","tool_choice","response_format"],"upstream_model_id":"gpt-4o-prod"} + /// Example: {"base_url":"https://contoso.openai.azure.com","declared_parameters":["temperature","seed"],"declared_region":"us","declared_zdr":true,"id":"5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11","max_completion_tokens":131072,"model_name":"OpenAI: GPT-4o","model_permaslug":"openai/gpt-4o-2024-08-06","model_slug":"openai/gpt-4o","pricing":{"cache_read":"0.00000025","cache_write":"0.000003125","completion":"0.00001","prompt":"0.0000025"},"provider_name":"Azure","provider_slug":"azure","settings":{"completions":{"chat":true,"text":false},"context_length":128000,"excluded_parameters":["logit_bias"],"inputs":{"audio":false,"base64_files":null,"base64_images":true,"file_urls":null,"image_urls":true},"max_completion_tokens":16384,"max_prompt_tokens":null,"quantization":"bf16","reasoning":{"return_mechanism":"reasoning","supported":true},"tool_choice":{"auto":true,"function":false,"none":true,"required":true}},"status":"active","tested_parameters":["tools","tool_choice","response_format"],"upstream_model_id":"gpt-4o-prod"} /// public sealed partial class PrivateEndpoint { @@ -110,6 +110,15 @@ public sealed partial class PrivateEndpoint [global::System.Text.Json.Serialization.JsonPropertyName("provider_slug")] public string? ProviderSlug { get; set; } + /// + /// Capabilities and limits routing uses for this endpoint. A new endpoint copies them from the public endpoint for the same model and provider, or from the model, and the owner can change them. Rate limits are not part of this object: a private endpoint is billed to its own upstream key, so request limits stay with the provider.
+ /// Example: {"completions":{"chat":true,"text":false},"context_length":128000,"excluded_parameters":["logit_bias"],"inputs":{"audio":false,"base64_files":null,"base64_images":true,"file_urls":null,"image_urls":true},"max_completion_tokens":16384,"max_prompt_tokens":null,"quantization":"bf16","reasoning":{"return_mechanism":"reasoning","supported":true},"tool_choice":{"auto":true,"function":false,"none":true,"required":true}} + ///
+ /// {"completions":{"chat":true,"text":false},"context_length":128000,"excluded_parameters":["logit_bias"],"inputs":{"audio":false,"base64_files":null,"base64_images":true,"file_urls":null,"image_urls":true},"max_completion_tokens":16384,"max_prompt_tokens":null,"quantization":"bf16","reasoning":{"return_mechanism":"reasoning","supported":true},"tool_choice":{"auto":true,"function":false,"none":true,"required":true}} + [global::System.Text.Json.Serialization.JsonPropertyName("settings")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.PrivateEndpointSettings Settings { get; set; } + /// /// Lifecycle state. `draft` endpoints are not routable until validated and activated; `disabled` endpoints are activated but temporarily not routable.
/// Example: active @@ -167,6 +176,10 @@ public sealed partial class PrivateEndpoint /// Display name of the upstream provider.
/// Example: Azure /// + /// + /// Capabilities and limits routing uses for this endpoint. A new endpoint copies them from the public endpoint for the same model and provider, or from the model, and the owner can change them. Rate limits are not part of this object: a private endpoint is billed to its own upstream key, so request limits stay with the provider.
+ /// Example: {"completions":{"chat":true,"text":false},"context_length":128000,"excluded_parameters":["logit_bias"],"inputs":{"audio":false,"base64_files":null,"base64_images":true,"file_urls":null,"image_urls":true},"max_completion_tokens":16384,"max_prompt_tokens":null,"quantization":"bf16","reasoning":{"return_mechanism":"reasoning","supported":true},"tool_choice":{"auto":true,"function":false,"none":true,"required":true}} + /// /// /// Lifecycle state. `draft` endpoints are not routable until validated and activated; `disabled` endpoints are activated but temporarily not routable.
/// Example: active @@ -216,6 +229,7 @@ public PrivateEndpoint( string modelPermaslug, global::OpenRouter.PrivateEndpointPricing pricing, string providerName, + global::OpenRouter.PrivateEndpointSettings settings, global::OpenRouter.PrivateEndpointStatus status, global::System.Collections.Generic.IList testedParameters, string upstreamModelId, @@ -239,6 +253,7 @@ public PrivateEndpoint( this.Pricing = pricing ?? throw new global::System.ArgumentNullException(nameof(pricing)); this.ProviderName = providerName ?? throw new global::System.ArgumentNullException(nameof(providerName)); this.ProviderSlug = providerSlug; + this.Settings = settings ?? throw new global::System.ArgumentNullException(nameof(settings)); this.Status = status; this.TestedParameters = testedParameters ?? throw new global::System.ArgumentNullException(nameof(testedParameters)); this.UpstreamModelId = upstreamModelId ?? throw new global::System.ArgumentNullException(nameof(upstreamModelId)); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointQuantization.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointQuantization.g.cs new file mode 100644 index 000000000..85a77f875 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointQuantization.g.cs @@ -0,0 +1,191 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// Weight precision the deployment runs at; `unknown` when not stated.
+ /// Example: bf16 + ///
+ public readonly partial struct PrivateEndpointQuantization : global::System.IEquatable + { + /// + /// + /// + public PrivateEndpointQuantization(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static PrivateEndpointQuantization Bf16 { get; } = new("bf16"); + + /// + /// + /// + public static PrivateEndpointQuantization Fp16 { get; } = new("fp16"); + + /// + /// + /// + public static PrivateEndpointQuantization Fp32 { get; } = new("fp32"); + + /// + /// + /// + public static PrivateEndpointQuantization Fp4 { get; } = new("fp4"); + + /// + /// + /// + public static PrivateEndpointQuantization Fp6 { get; } = new("fp6"); + + /// + /// + /// + public static PrivateEndpointQuantization Fp8 { get; } = new("fp8"); + + /// + /// + /// + public static PrivateEndpointQuantization Int4 { get; } = new("int4"); + + /// + /// + /// + public static PrivateEndpointQuantization Int8 { get; } = new("int8"); + + /// + /// + /// + public static PrivateEndpointQuantization Mxfp4 { get; } = new("mxfp4"); + + /// + /// + /// + public static PrivateEndpointQuantization Mxfp8 { get; } = new("mxfp8"); + + /// + /// + /// + public static PrivateEndpointQuantization Nvfp4 { get; } = new("nvfp4"); + + /// + /// + /// + public static PrivateEndpointQuantization Unknown { get; } = new("unknown"); + /// + /// + /// + public static PrivateEndpointQuantization FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "bf16" => Bf16, + "fp16" => Fp16, + "fp32" => Fp32, + "fp4" => Fp4, + "fp6" => Fp6, + "fp8" => Fp8, + "int4" => Int4, + "int8" => Int8, + "mxfp4" => Mxfp4, + "mxfp8" => Mxfp8, + "nvfp4" => Nvfp4, + "unknown" => Unknown, + _ => new PrivateEndpointQuantization(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "bf16" => true, + "fp16" => true, + "fp32" => true, + "fp4" => true, + "fp6" => true, + "fp8" => true, + "int4" => true, + "int8" => true, + "mxfp4" => true, + "mxfp8" => true, + "nvfp4" => true, + "unknown" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(PrivateEndpointQuantization other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is PrivateEndpointQuantization other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(PrivateEndpointQuantization left, PrivateEndpointQuantization right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(PrivateEndpointQuantization left, PrivateEndpointQuantization right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class PrivateEndpointQuantizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this PrivateEndpointQuantization value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static PrivateEndpointQuantization? ToEnum(string value) + { + return PrivateEndpointQuantization.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointReasoningReturnMechanism.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointReasoningReturnMechanism.g.cs new file mode 100644 index 000000000..eda64a0a7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointReasoningReturnMechanism.g.cs @@ -0,0 +1,135 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// Where the upstream puts reasoning tokens in its response: `reasoning` and `reasoning-content` are response fields, `content-string` is inline in the message, `none` returns no reasoning. `null` uses the provider default.
+ /// Example: reasoning + ///
+ public readonly partial struct PrivateEndpointReasoningReturnMechanism : global::System.IEquatable + { + /// + /// + /// + public PrivateEndpointReasoningReturnMechanism(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// `reasoning` and `reasoning-content` are response fields, `content-string` is inline in the message, `none` returns no reasoning. `null` uses the provider default. + /// + public static PrivateEndpointReasoningReturnMechanism ContentString { get; } = new("content-string"); + + /// + /// `reasoning` and `reasoning-content` are response fields, `content-string` is inline in the message, `none` returns no reasoning. `null` uses the provider default. + /// + public static PrivateEndpointReasoningReturnMechanism None { get; } = new("none"); + + /// + /// `reasoning` and `reasoning-content` are response fields, `content-string` is inline in the message, `none` returns no reasoning. `null` uses the provider default. + /// + public static PrivateEndpointReasoningReturnMechanism Reasoning { get; } = new("reasoning"); + + /// + /// `reasoning` and `reasoning-content` are response fields, `content-string` is inline in the message, `none` returns no reasoning. `null` uses the provider default. + /// + public static PrivateEndpointReasoningReturnMechanism ReasoningContent { get; } = new("reasoning-content"); + /// + /// + /// + public static PrivateEndpointReasoningReturnMechanism FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "content-string" => ContentString, + "none" => None, + "reasoning" => Reasoning, + "reasoning-content" => ReasoningContent, + _ => new PrivateEndpointReasoningReturnMechanism(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "content-string" => true, + "none" => true, + "reasoning" => true, + "reasoning-content" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(PrivateEndpointReasoningReturnMechanism other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is PrivateEndpointReasoningReturnMechanism other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(PrivateEndpointReasoningReturnMechanism left, PrivateEndpointReasoningReturnMechanism right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(PrivateEndpointReasoningReturnMechanism left, PrivateEndpointReasoningReturnMechanism right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class PrivateEndpointReasoningReturnMechanismExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this PrivateEndpointReasoningReturnMechanism value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static PrivateEndpointReasoningReturnMechanism? ToEnum(string value) + { + return PrivateEndpointReasoningReturnMechanism.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointResponse.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointResponse.g.cs index 9dce8d681..6c37daf03 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointResponse.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointResponse.g.cs @@ -9,9 +9,9 @@ namespace OpenRouter public sealed partial class PrivateEndpointResponse { /// - /// Example: {"base_url":"https://contoso.openai.azure.com","declared_parameters":["temperature","seed"],"declared_region":"us","declared_zdr":true,"id":"5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11","max_completion_tokens":131072,"model_name":"OpenAI: GPT-4o","model_permaslug":"openai/gpt-4o-2024-08-06","model_slug":"openai/gpt-4o","pricing":{"cache_read":"0.00000025","cache_write":"0.000003125","completion":"0.00001","prompt":"0.0000025"},"provider_name":"Azure","provider_slug":"azure","status":"active","tested_parameters":["tools","tool_choice","response_format"],"upstream_model_id":"gpt-4o-prod"} + /// Example: {"base_url":"https://contoso.openai.azure.com","declared_parameters":["temperature","seed"],"declared_region":"us","declared_zdr":true,"id":"5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11","max_completion_tokens":131072,"model_name":"OpenAI: GPT-4o","model_permaslug":"openai/gpt-4o-2024-08-06","model_slug":"openai/gpt-4o","pricing":{"cache_read":"0.00000025","cache_write":"0.000003125","completion":"0.00001","prompt":"0.0000025"},"provider_name":"Azure","provider_slug":"azure","settings":{"completions":{"chat":true,"text":false},"context_length":128000,"excluded_parameters":["logit_bias"],"inputs":{"audio":false,"base64_files":null,"base64_images":true,"file_urls":null,"image_urls":true},"max_completion_tokens":16384,"max_prompt_tokens":null,"quantization":"bf16","reasoning":{"return_mechanism":"reasoning","supported":true},"tool_choice":{"auto":true,"function":false,"none":true,"required":true}},"status":"active","tested_parameters":["tools","tool_choice","response_format"],"upstream_model_id":"gpt-4o-prod"} /// - /// {"base_url":"https://contoso.openai.azure.com","declared_parameters":["temperature","seed"],"declared_region":"us","declared_zdr":true,"id":"5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11","max_completion_tokens":131072,"model_name":"OpenAI: GPT-4o","model_permaslug":"openai/gpt-4o-2024-08-06","model_slug":"openai/gpt-4o","pricing":{"cache_read":"0.00000025","cache_write":"0.000003125","completion":"0.00001","prompt":"0.0000025"},"provider_name":"Azure","provider_slug":"azure","status":"active","tested_parameters":["tools","tool_choice","response_format"],"upstream_model_id":"gpt-4o-prod"} + /// {"base_url":"https://contoso.openai.azure.com","declared_parameters":["temperature","seed"],"declared_region":"us","declared_zdr":true,"id":"5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11","max_completion_tokens":131072,"model_name":"OpenAI: GPT-4o","model_permaslug":"openai/gpt-4o-2024-08-06","model_slug":"openai/gpt-4o","pricing":{"cache_read":"0.00000025","cache_write":"0.000003125","completion":"0.00001","prompt":"0.0000025"},"provider_name":"Azure","provider_slug":"azure","settings":{"completions":{"chat":true,"text":false},"context_length":128000,"excluded_parameters":["logit_bias"],"inputs":{"audio":false,"base64_files":null,"base64_images":true,"file_urls":null,"image_urls":true},"max_completion_tokens":16384,"max_prompt_tokens":null,"quantization":"bf16","reasoning":{"return_mechanism":"reasoning","supported":true},"tool_choice":{"auto":true,"function":false,"none":true,"required":true}},"status":"active","tested_parameters":["tools","tool_choice","response_format"],"upstream_model_id":"gpt-4o-prod"} [global::System.Text.Json.Serialization.JsonPropertyName("data")] [global::System.Text.Json.Serialization.JsonRequired] public required global::OpenRouter.PrivateEndpoint Data { get; set; } @@ -26,7 +26,7 @@ public sealed partial class PrivateEndpointResponse /// Initializes a new instance of the class. ///
/// - /// Example: {"base_url":"https://contoso.openai.azure.com","declared_parameters":["temperature","seed"],"declared_region":"us","declared_zdr":true,"id":"5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11","max_completion_tokens":131072,"model_name":"OpenAI: GPT-4o","model_permaslug":"openai/gpt-4o-2024-08-06","model_slug":"openai/gpt-4o","pricing":{"cache_read":"0.00000025","cache_write":"0.000003125","completion":"0.00001","prompt":"0.0000025"},"provider_name":"Azure","provider_slug":"azure","status":"active","tested_parameters":["tools","tool_choice","response_format"],"upstream_model_id":"gpt-4o-prod"} + /// Example: {"base_url":"https://contoso.openai.azure.com","declared_parameters":["temperature","seed"],"declared_region":"us","declared_zdr":true,"id":"5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11","max_completion_tokens":131072,"model_name":"OpenAI: GPT-4o","model_permaslug":"openai/gpt-4o-2024-08-06","model_slug":"openai/gpt-4o","pricing":{"cache_read":"0.00000025","cache_write":"0.000003125","completion":"0.00001","prompt":"0.0000025"},"provider_name":"Azure","provider_slug":"azure","settings":{"completions":{"chat":true,"text":false},"context_length":128000,"excluded_parameters":["logit_bias"],"inputs":{"audio":false,"base64_files":null,"base64_images":true,"file_urls":null,"image_urls":true},"max_completion_tokens":16384,"max_prompt_tokens":null,"quantization":"bf16","reasoning":{"return_mechanism":"reasoning","supported":true},"tool_choice":{"auto":true,"function":false,"none":true,"required":true}},"status":"active","tested_parameters":["tools","tool_choice","response_format"],"upstream_model_id":"gpt-4o-prod"} /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettings.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettings.Json.g.cs new file mode 100644 index 000000000..b0352ba12 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettings.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PrivateEndpointSettings + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PrivateEndpointSettings? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PrivateEndpointSettings), + jsonSerializerContext) as global::OpenRouter.PrivateEndpointSettings; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PrivateEndpointSettings? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.PrivateEndpointSettings? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.PrivateEndpointSettings), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PrivateEndpointSettings; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettings.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettings.g.cs new file mode 100644 index 000000000..c98aac33d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettings.g.cs @@ -0,0 +1,149 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Capabilities and limits routing uses for this endpoint. A new endpoint copies them from the public endpoint for the same model and provider, or from the model, and the owner can change them. Rate limits are not part of this object: a private endpoint is billed to its own upstream key, so request limits stay with the provider.
+ /// Example: {"completions":{"chat":true,"text":false},"context_length":128000,"excluded_parameters":["logit_bias"],"inputs":{"audio":false,"base64_files":null,"base64_images":true,"file_urls":null,"image_urls":true},"max_completion_tokens":16384,"max_prompt_tokens":null,"quantization":"bf16","reasoning":{"return_mechanism":"reasoning","supported":true},"tool_choice":{"auto":true,"function":false,"none":true,"required":true}} + ///
+ public sealed partial class PrivateEndpointSettings + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completions")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.PrivateEndpointSettingsCompletions Completions { get; set; } + + /// + /// Longest prompt plus completion, in tokens, or `null` to keep the model default.
+ /// Example: 128000 + ///
+ /// 128000 + [global::System.Text.Json.Serialization.JsonPropertyName("context_length")] + public int? ContextLength { get; set; } + + /// + /// Request parameters the upstream rejects even though the model supports them; requests using one do not route here. Cannot name a tested parameter.
+ /// Example: [logit_bias] + ///
+ /// [logit_bias] + [global::System.Text.Json.Serialization.JsonPropertyName("excluded_parameters")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList ExcludedParameters { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inputs")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.PrivateEndpointSettingsInputs Inputs { get; set; } + + /// + /// Longest completion the upstream returns, in tokens, or `null` to keep the model default.
+ /// Example: 16384 + ///
+ /// 16384 + [global::System.Text.Json.Serialization.JsonPropertyName("max_completion_tokens")] + public int? MaxCompletionTokens { get; set; } + + /// + /// Longest prompt, in tokens, or `null` for no cap below the context length. Cannot exceed `context_length`, or the model context length while `context_length` is `null`.
+ /// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ /// openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + [global::System.Text.Json.Serialization.JsonPropertyName("max_prompt_tokens")] + public int? MaxPromptTokens { get; set; } + + /// + /// Weight precision the deployment runs at; `unknown` when not stated.
+ /// Example: bf16 + ///
+ /// bf16 + [global::System.Text.Json.Serialization.JsonPropertyName("quantization")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.PrivateEndpointQuantizationJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.PrivateEndpointQuantization Quantization { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reasoning")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.PrivateEndpointSettingsReasoning Reasoning { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tool_choice")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.PrivateEndpointSettingsToolChoice ToolChoice { 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. + /// + /// + /// + /// Request parameters the upstream rejects even though the model supports them; requests using one do not route here. Cannot name a tested parameter.
+ /// Example: [logit_bias] + /// + /// + /// + /// Weight precision the deployment runs at; `unknown` when not stated.
+ /// Example: bf16 + /// + /// + /// + /// + /// Longest prompt plus completion, in tokens, or `null` to keep the model default.
+ /// Example: 128000 + /// + /// + /// Longest completion the upstream returns, in tokens, or `null` to keep the model default.
+ /// Example: 16384 + /// + /// + /// Longest prompt, in tokens, or `null` for no cap below the context length. Cannot exceed `context_length`, or the model context length while `context_length` is `null`.
+ /// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PrivateEndpointSettings( + global::OpenRouter.PrivateEndpointSettingsCompletions completions, + global::System.Collections.Generic.IList excludedParameters, + global::OpenRouter.PrivateEndpointSettingsInputs inputs, + global::OpenRouter.PrivateEndpointQuantization quantization, + global::OpenRouter.PrivateEndpointSettingsReasoning reasoning, + global::OpenRouter.PrivateEndpointSettingsToolChoice toolChoice, + int? contextLength, + int? maxCompletionTokens, + int? maxPromptTokens) + { + this.Completions = completions ?? throw new global::System.ArgumentNullException(nameof(completions)); + this.ContextLength = contextLength; + this.ExcludedParameters = excludedParameters ?? throw new global::System.ArgumentNullException(nameof(excludedParameters)); + this.Inputs = inputs ?? throw new global::System.ArgumentNullException(nameof(inputs)); + this.MaxCompletionTokens = maxCompletionTokens; + this.MaxPromptTokens = maxPromptTokens; + this.Quantization = quantization; + this.Reasoning = reasoning ?? throw new global::System.ArgumentNullException(nameof(reasoning)); + this.ToolChoice = toolChoice ?? throw new global::System.ArgumentNullException(nameof(toolChoice)); + } + + /// + /// Initializes a new instance of the class. + /// + public PrivateEndpointSettings() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsCompletions.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsCompletions.Json.g.cs new file mode 100644 index 000000000..2ed3fa879 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsCompletions.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PrivateEndpointSettingsCompletions + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PrivateEndpointSettingsCompletions? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PrivateEndpointSettingsCompletions), + jsonSerializerContext) as global::OpenRouter.PrivateEndpointSettingsCompletions; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PrivateEndpointSettingsCompletions? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.PrivateEndpointSettingsCompletions? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.PrivateEndpointSettingsCompletions), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PrivateEndpointSettingsCompletions; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsCompletions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsCompletions.g.cs new file mode 100644 index 000000000..dc0d496b3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsCompletions.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class PrivateEndpointSettingsCompletions + { + /// + /// Serves `/chat/completions`; `null` uses the provider default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("chat")] + public bool? Chat { get; set; } + + /// + /// Serves `/completions`; `null` uses the provider default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("text")] + public bool? Text { 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. + /// + /// + /// Serves `/chat/completions`; `null` uses the provider default. + /// + /// + /// Serves `/completions`; `null` uses the provider default. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PrivateEndpointSettingsCompletions( + bool? chat, + bool? text) + { + this.Chat = chat; + this.Text = text; + } + + /// + /// Initializes a new instance of the class. + /// + public PrivateEndpointSettingsCompletions() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsExcludedParameter.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsExcludedParameter.g.cs new file mode 100644 index 000000000..259857322 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsExcludedParameter.g.cs @@ -0,0 +1,288 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct PrivateEndpointSettingsExcludedParameter : global::System.IEquatable + { + /// + /// + /// + public PrivateEndpointSettingsExcludedParameter(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter FrequencyPenalty { get; } = new("frequency_penalty"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter IncludeReasoning { get; } = new("include_reasoning"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter LogitBias { get; } = new("logit_bias"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter Logprobs { get; } = new("logprobs"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter MaxCompletionTokens { get; } = new("max_completion_tokens"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter MaxTokens { get; } = new("max_tokens"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter MinP { get; } = new("min_p"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter ParallelToolCalls { get; } = new("parallel_tool_calls"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter Prediction { get; } = new("prediction"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter PresencePenalty { get; } = new("presence_penalty"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter Reasoning { get; } = new("reasoning"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter ReasoningEffort { get; } = new("reasoning_effort"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter RepetitionPenalty { get; } = new("repetition_penalty"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter ResponseFormat { get; } = new("response_format"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter Seed { get; } = new("seed"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter Stop { get; } = new("stop"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter StructuredOutputs { get; } = new("structured_outputs"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter Temperature { get; } = new("temperature"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter ToolChoice { get; } = new("tool_choice"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter Tools { get; } = new("tools"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter TopA { get; } = new("top_a"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter TopK { get; } = new("top_k"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter TopLogprobs { get; } = new("top_logprobs"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter TopP { get; } = new("top_p"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter Verbosity { get; } = new("verbosity"); + + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter WebSearchOptions { get; } = new("web_search_options"); + /// + /// + /// + public static PrivateEndpointSettingsExcludedParameter FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "frequency_penalty" => FrequencyPenalty, + "include_reasoning" => IncludeReasoning, + "logit_bias" => LogitBias, + "logprobs" => Logprobs, + "max_completion_tokens" => MaxCompletionTokens, + "max_tokens" => MaxTokens, + "min_p" => MinP, + "parallel_tool_calls" => ParallelToolCalls, + "prediction" => Prediction, + "presence_penalty" => PresencePenalty, + "reasoning" => Reasoning, + "reasoning_effort" => ReasoningEffort, + "repetition_penalty" => RepetitionPenalty, + "response_format" => ResponseFormat, + "seed" => Seed, + "stop" => Stop, + "structured_outputs" => StructuredOutputs, + "temperature" => Temperature, + "tool_choice" => ToolChoice, + "tools" => Tools, + "top_a" => TopA, + "top_k" => TopK, + "top_logprobs" => TopLogprobs, + "top_p" => TopP, + "verbosity" => Verbosity, + "web_search_options" => WebSearchOptions, + _ => new PrivateEndpointSettingsExcludedParameter(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "frequency_penalty" => true, + "include_reasoning" => true, + "logit_bias" => true, + "logprobs" => true, + "max_completion_tokens" => true, + "max_tokens" => true, + "min_p" => true, + "parallel_tool_calls" => true, + "prediction" => true, + "presence_penalty" => true, + "reasoning" => true, + "reasoning_effort" => true, + "repetition_penalty" => true, + "response_format" => true, + "seed" => true, + "stop" => true, + "structured_outputs" => true, + "temperature" => true, + "tool_choice" => true, + "tools" => true, + "top_a" => true, + "top_k" => true, + "top_logprobs" => true, + "top_p" => true, + "verbosity" => true, + "web_search_options" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(PrivateEndpointSettingsExcludedParameter other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is PrivateEndpointSettingsExcludedParameter other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(PrivateEndpointSettingsExcludedParameter left, PrivateEndpointSettingsExcludedParameter right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(PrivateEndpointSettingsExcludedParameter left, PrivateEndpointSettingsExcludedParameter right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class PrivateEndpointSettingsExcludedParameterExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this PrivateEndpointSettingsExcludedParameter value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static PrivateEndpointSettingsExcludedParameter? ToEnum(string value) + { + return PrivateEndpointSettingsExcludedParameter.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsInputs.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsInputs.Json.g.cs new file mode 100644 index 000000000..60c64ac8e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsInputs.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PrivateEndpointSettingsInputs + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PrivateEndpointSettingsInputs? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PrivateEndpointSettingsInputs), + jsonSerializerContext) as global::OpenRouter.PrivateEndpointSettingsInputs; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PrivateEndpointSettingsInputs? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.PrivateEndpointSettingsInputs? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.PrivateEndpointSettingsInputs), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PrivateEndpointSettingsInputs; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsInputs.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsInputs.g.cs new file mode 100644 index 000000000..d09393c88 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsInputs.g.cs @@ -0,0 +1,90 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class PrivateEndpointSettingsInputs + { + /// + /// Accepts audio input. `null` keeps the provider default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("audio")] + public bool? Audio { get; set; } + + /// + /// Accepts base64 file data. `null` keeps the provider default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base64_files")] + public bool? Base64Files { get; set; } + + /// + /// Accepts base64 image data. `null` keeps the provider default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base64_images")] + public bool? Base64Images { get; set; } + + /// + /// Accepts file URLs. `null` keeps the provider default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("file_urls")] + public bool? FileUrls { get; set; } + + /// + /// Accepts image URLs. `null` keeps the provider default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("image_urls")] + public bool? ImageUrls { 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. + /// + /// + /// Accepts audio input. `null` keeps the provider default. + /// + /// + /// Accepts base64 file data. `null` keeps the provider default. + /// + /// + /// Accepts base64 image data. `null` keeps the provider default. + /// + /// + /// Accepts file URLs. `null` keeps the provider default. + /// + /// + /// Accepts image URLs. `null` keeps the provider default. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PrivateEndpointSettingsInputs( + bool? audio, + bool? base64Files, + bool? base64Images, + bool? fileUrls, + bool? imageUrls) + { + this.Audio = audio; + this.Base64Files = base64Files; + this.Base64Images = base64Images; + this.FileUrls = fileUrls; + this.ImageUrls = imageUrls; + } + + /// + /// Initializes a new instance of the class. + /// + public PrivateEndpointSettingsInputs() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsReasoning.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsReasoning.Json.g.cs new file mode 100644 index 000000000..a25ae706e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsReasoning.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PrivateEndpointSettingsReasoning + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PrivateEndpointSettingsReasoning? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PrivateEndpointSettingsReasoning), + jsonSerializerContext) as global::OpenRouter.PrivateEndpointSettingsReasoning; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PrivateEndpointSettingsReasoning? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.PrivateEndpointSettingsReasoning? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.PrivateEndpointSettingsReasoning), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PrivateEndpointSettingsReasoning; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsReasoning.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsReasoning.g.cs new file mode 100644 index 000000000..b47daa7ca --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsReasoning.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class PrivateEndpointSettingsReasoning + { + /// + /// Where the upstream puts reasoning tokens in its response: `reasoning` and `reasoning-content` are response fields, `content-string` is inline in the message, `none` returns no reasoning. `null` uses the provider default.
+ /// Example: reasoning + ///
+ /// reasoning + [global::System.Text.Json.Serialization.JsonPropertyName("return_mechanism")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.PrivateEndpointReasoningReturnMechanismJsonConverter))] + public global::OpenRouter.PrivateEndpointReasoningReturnMechanism? ReturnMechanism { get; set; } + + /// + /// Whether requests with `reasoning` route to this endpoint.
+ /// Example: true + ///
+ /// true + [global::System.Text.Json.Serialization.JsonPropertyName("supported")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Supported { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Whether requests with `reasoning` route to this endpoint.
+ /// Example: true + /// + /// + /// Where the upstream puts reasoning tokens in its response: `reasoning` and `reasoning-content` are response fields, `content-string` is inline in the message, `none` returns no reasoning. `null` uses the provider default.
+ /// Example: reasoning + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PrivateEndpointSettingsReasoning( + bool supported, + global::OpenRouter.PrivateEndpointReasoningReturnMechanism? returnMechanism) + { + this.ReturnMechanism = returnMechanism; + this.Supported = supported; + } + + /// + /// Initializes a new instance of the class. + /// + public PrivateEndpointSettingsReasoning() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsToolChoice.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsToolChoice.Json.g.cs new file mode 100644 index 000000000..09cd19f90 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsToolChoice.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PrivateEndpointSettingsToolChoice + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PrivateEndpointSettingsToolChoice? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PrivateEndpointSettingsToolChoice), + jsonSerializerContext) as global::OpenRouter.PrivateEndpointSettingsToolChoice; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PrivateEndpointSettingsToolChoice? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.PrivateEndpointSettingsToolChoice? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.PrivateEndpointSettingsToolChoice), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PrivateEndpointSettingsToolChoice; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsToolChoice.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsToolChoice.g.cs new file mode 100644 index 000000000..14bad1ecc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateEndpointSettingsToolChoice.g.cs @@ -0,0 +1,83 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class PrivateEndpointSettingsToolChoice + { + /// + /// Accepts `tool_choice: "auto"`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("auto")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Auto { get; set; } + + /// + /// Accepts a named function in `tool_choice`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("function")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Function { get; set; } + + /// + /// Accepts `tool_choice: "none"`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("none")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool None { get; set; } + + /// + /// Accepts `tool_choice: "required"`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("required")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Required { 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. + /// + /// + /// Accepts `tool_choice: "auto"`. + /// + /// + /// Accepts a named function in `tool_choice`. + /// + /// + /// Accepts `tool_choice: "none"`. + /// + /// + /// Accepts `tool_choice: "required"`. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PrivateEndpointSettingsToolChoice( + bool auto, + bool function, + bool none, + bool required) + { + this.Auto = auto; + this.Function = function; + this.None = none; + this.Required = required; + } + + /// + /// Initializes a new instance of the class. + /// + public PrivateEndpointSettingsToolChoice() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProvider.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProvider.Json.g.cs new file mode 100644 index 000000000..ae100ae78 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProvider.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PrivateProvider + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PrivateProvider? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PrivateProvider), + jsonSerializerContext) as global::OpenRouter.PrivateProvider; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PrivateProvider? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.PrivateProvider? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.PrivateProvider), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PrivateProvider; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProvider.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProvider.g.cs new file mode 100644 index 000000000..2ab563022 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProvider.g.cs @@ -0,0 +1,113 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Example: {"base_url":"https://inference.example.com/v1","created_at":"2026-10-06T12:00:00.000Z","data_policy":{"prompt_retention_days":null,"retains_prompts":false,"training":false},"display_name":"Acme","name":"Acme","slug":"acme"} + /// + public sealed partial class PrivateProvider + { + /// + /// HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.
+ /// Example: https://inference.example.com/v1 + ///
+ /// https://inference.example.com/v1 + [global::System.Text.Json.Serialization.JsonPropertyName("base_url")] + public string? BaseUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CreatedAt { get; set; } + + /// + /// Your declared data policy, or `null` when none was declared. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data_policy")] + public global::OpenRouter.PrivateProviderDataPolicy? DataPolicy { get; set; } + + /// + /// Example: Acme + /// + /// Acme + [global::System.Text.Json.Serialization.JsonPropertyName("display_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DisplayName { get; set; } + + /// + /// Provider name, shown in your activity, logs and Broadcast output. 2-64 letters, numbers, spaces, dots, underscores or hyphens. Cannot be changed later. Neither the name nor its slug may match a public provider name or slug (case-insensitive); other customers may use the same name.
+ /// Example: Acme + ///
+ /// Acme + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// The slug you chose, unique within your account. Use it as `provider_slug` when creating private endpoints and BYOK keys, and in `provider.order`, `only` and `ignore`.
+ /// Example: acme + ///
+ /// acme + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { 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. + /// + /// + /// + /// Example: Acme + /// + /// + /// Provider name, shown in your activity, logs and Broadcast output. 2-64 letters, numbers, spaces, dots, underscores or hyphens. Cannot be changed later. Neither the name nor its slug may match a public provider name or slug (case-insensitive); other customers may use the same name.
+ /// Example: Acme + /// + /// + /// The slug you chose, unique within your account. Use it as `provider_slug` when creating private endpoints and BYOK keys, and in `provider.order`, `only` and `ignore`.
+ /// Example: acme + /// + /// + /// HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.
+ /// Example: https://inference.example.com/v1 + /// + /// + /// Your declared data policy, or `null` when none was declared. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PrivateProvider( + string createdAt, + string displayName, + string name, + string slug, + string? baseUrl, + global::OpenRouter.PrivateProviderDataPolicy? dataPolicy) + { + this.BaseUrl = baseUrl; + this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); + this.DataPolicy = dataPolicy; + this.DisplayName = displayName ?? throw new global::System.ArgumentNullException(nameof(displayName)); + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Slug = slug ?? throw new global::System.ArgumentNullException(nameof(slug)); + } + + /// + /// Initializes a new instance of the class. + /// + public PrivateProvider() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy.Json.g.cs new file mode 100644 index 000000000..f02a988af --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PrivateProviderDataPolicy + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PrivateProviderDataPolicy? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PrivateProviderDataPolicy), + jsonSerializerContext) as global::OpenRouter.PrivateProviderDataPolicy; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PrivateProviderDataPolicy? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.PrivateProviderDataPolicy? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.PrivateProviderDataPolicy), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PrivateProviderDataPolicy; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy.g.cs new file mode 100644 index 000000000..9573f11b7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy.g.cs @@ -0,0 +1,70 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Your declared data policy, or `null` when none was declared. + /// + public sealed partial class PrivateProviderDataPolicy + { + /// + /// Days prompts are retained. Must be `null` unless `retains_prompts` is true. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prompt_retention_days")] + public int? PromptRetentionDays { get; set; } + + /// + /// Whether the provider retains prompts or completions. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("retains_prompts")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool RetainsPrompts { get; set; } + + /// + /// Whether the provider trains on prompts. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("training")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Training { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Whether the provider retains prompts or completions. + /// + /// + /// Whether the provider trains on prompts. + /// + /// + /// Days prompts are retained. Must be `null` unless `retains_prompts` is true. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PrivateProviderDataPolicy( + bool retainsPrompts, + bool training, + int? promptRetentionDays) + { + this.PromptRetentionDays = promptRetentionDays; + this.RetainsPrompts = retainsPrompts; + this.Training = training; + } + + /// + /// Initializes a new instance of the class. + /// + public PrivateProviderDataPolicy() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy2.Json.g.cs new file mode 100644 index 000000000..abdf8c63e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PrivateProviderDataPolicy2 + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PrivateProviderDataPolicy2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PrivateProviderDataPolicy2), + jsonSerializerContext) as global::OpenRouter.PrivateProviderDataPolicy2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PrivateProviderDataPolicy2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.PrivateProviderDataPolicy2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.PrivateProviderDataPolicy2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PrivateProviderDataPolicy2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy2.g.cs new file mode 100644 index 000000000..48ead9554 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PrivateProviderDataPolicy2.g.cs @@ -0,0 +1,71 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Defaults to training on and retaining prompts, the most conservative declaration. Your own declaration; it applies to your own traffic and OpenRouter does not verify it.
+ /// Example: {"prompt_retention_days":null,"retains_prompts":false,"training":false} + ///
+ public sealed partial class PrivateProviderDataPolicy2 + { + /// + /// Days prompts are retained. Must be `null` unless `retains_prompts` is true. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prompt_retention_days")] + public int? PromptRetentionDays { get; set; } + + /// + /// Whether the provider retains prompts or completions. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("retains_prompts")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool RetainsPrompts { get; set; } + + /// + /// Whether the provider trains on prompts. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("training")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Training { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Whether the provider retains prompts or completions. + /// + /// + /// Whether the provider trains on prompts. + /// + /// + /// Days prompts are retained. Must be `null` unless `retains_prompts` is true. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PrivateProviderDataPolicy2( + bool retainsPrompts, + bool training, + int? promptRetentionDays) + { + this.PromptRetentionDays = promptRetentionDays; + this.RetainsPrompts = retainsPrompts; + this.Training = training; + } + + /// + /// Initializes a new instance of the class. + /// + public PrivateProviderDataPolicy2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateGuardrailRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateGuardrailRequest.g.cs index fd7d72af7..5e6af3e40 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateGuardrailRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateGuardrailRequest.g.cs @@ -98,6 +98,14 @@ public sealed partial class UpdateGuardrailRequest [global::System.Text.Json.Serialization.JsonPropertyName("enable_paid_model_training")] public bool? EnablePaidModelTraining { get; set; } + /// + /// Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.
+ /// Example: true + ///
+ /// true + [global::System.Text.Json.Serialization.JsonPropertyName("enforce_first_party_harness_models")] + public bool? EnforceFirstPartyHarnessModels { get; set; } + /// /// Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.
/// Example: true @@ -249,6 +257,10 @@ public sealed partial class UpdateGuardrailRequest /// Whether this guardrail allows paid endpoints that train on request data.
/// Example: true /// + /// + /// Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.
+ /// Example: true + /// /// /// Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided.
/// Example: true @@ -308,6 +320,7 @@ public UpdateGuardrailRequest( bool? enableFreeModelPublication, bool? enableFreeModelTraining, bool? enablePaidModelTraining, + bool? enforceFirstPartyHarnessModels, bool? enforceZdrAnthropic, bool? enforceZdrGoogle, bool? enforceZdrOpenai, @@ -331,6 +344,7 @@ public UpdateGuardrailRequest( this.EnableFreeModelPublication = enableFreeModelPublication; this.EnableFreeModelTraining = enableFreeModelTraining; this.EnablePaidModelTraining = enablePaidModelTraining; + this.EnforceFirstPartyHarnessModels = enforceFirstPartyHarnessModels; this.EnforceZdrAnthropic = enforceZdrAnthropic; this.EnforceZdrGoogle = enforceZdrGoogle; this.EnforceZdrOpenai = enforceZdrOpenai; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateOrganizationSettingsRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateOrganizationSettingsRequest.g.cs index 619d1d7c8..09246083b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateOrganizationSettingsRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdateOrganizationSettingsRequest.g.cs @@ -9,7 +9,7 @@ namespace OpenRouter public sealed partial class UpdateOrganizationSettingsRequest { /// - /// When true, `GET /api/v1/models` called with one of the organization's API keys returns only the models that key can use (the `/api/v1/models/user` catalog), and the signed-in dashboard shows the same list. Anonymous requests always receive the public catalog.
+ /// When true, the signed-in dashboard lists only the models the organization can use. `GET /api/v1/models` called with an API key always returns only the models that key can use, whatever this setting says; anonymous requests receive the public catalog.
/// Example: true ///
/// true @@ -27,7 +27,7 @@ public sealed partial class UpdateOrganizationSettingsRequest /// Initializes a new instance of the class. ///
/// - /// When true, `GET /api/v1/models` called with one of the organization's API keys returns only the models that key can use (the `/api/v1/models/user` catalog), and the signed-in dashboard shows the same list. Anonymous requests always receive the public catalog.
+ /// When true, the signed-in dashboard lists only the models the organization can use. `GET /api/v1/models` called with an API key always returns only the models that key can use, whatever this setting says; anonymous requests receive the public catalog.
/// Example: true /// #if NET7_0_OR_GREATER diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequest.g.cs index e2d1cd617..b0542fafe 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequest.g.cs @@ -4,7 +4,8 @@ namespace OpenRouter { /// - /// + /// Only the fields present change. `base_url`, `upstream_model_id`, `declared_zdr` and `declared_region` are accepted on a draft only; `pricing` and `declared_parameters` replace their value; `settings` is itself a partial update where `null` clears a limit or restores the provider default.
+ /// Example: {"declared_parameters":["seed"],"settings":{"context_length":128000}} ///
public sealed partial class UpdatePrivateEndpointRequest { @@ -16,6 +17,14 @@ public sealed partial class UpdatePrivateEndpointRequest [global::System.Text.Json.Serialization.JsonPropertyName("base_url")] public string? BaseUrl { get; set; } + /// + /// Parameters the upstream supports beyond the tested ones. Replaces the earlier declaration; tested parameters stay. Order and repeated names are ignored, but the list holds at most as many entries as there are declarable parameters, repeats included. `tool_choice` requires `tools` to be tested or declared.
+ /// Example: [temperature, seed] + ///
+ /// [temperature, seed] + [global::System.Text.Json.Serialization.JsonPropertyName("declared_parameters")] + public global::System.Collections.Generic.IList? DeclaredParameters { get; set; } + /// /// Attest where this deployment processes data.
/// Example: us @@ -31,14 +40,27 @@ public sealed partial class UpdatePrivateEndpointRequest [global::System.Text.Json.Serialization.JsonPropertyName("declared_zdr")] public bool? DeclaredZdr { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.AllOfJsonConverter))] + public global::OpenRouter.AllOf? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("settings")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.AllOfJsonConverter))] + public global::OpenRouter.AllOf? Settings { get; set; } + /// /// Model or deployment identifier sent to the upstream provider.
/// Example: gpt-4o-prod ///
/// gpt-4o-prod [global::System.Text.Json.Serialization.JsonPropertyName("upstream_model_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string UpstreamModelId { get; set; } + public string? UpstreamModelId { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -49,14 +71,14 @@ public sealed partial class UpdatePrivateEndpointRequest /// /// Initializes a new instance of the class. /// - /// - /// Model or deployment identifier sent to the upstream provider.
- /// Example: gpt-4o-prod - /// /// /// HTTPS base URL of your deployment. Required unless the provider derives its URL from the BYOK credential (Azure, Amazon Bedrock, Google Vertex).
/// Example: https://contoso.openai.azure.com /// + /// + /// Parameters the upstream supports beyond the tested ones. Replaces the earlier declaration; tested parameters stay. Order and repeated names are ignored, but the list holds at most as many entries as there are declarable parameters, repeats included. `tool_choice` requires `tools` to be tested or declared.
+ /// Example: [temperature, seed] + /// /// /// Attest where this deployment processes data.
/// Example: us @@ -64,19 +86,31 @@ public sealed partial class UpdatePrivateEndpointRequest /// /// Attest that this deployment retains no prompt or completion data. /// + /// + /// + /// + /// Model or deployment identifier sent to the upstream provider.
+ /// Example: gpt-4o-prod + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public UpdatePrivateEndpointRequest( - string upstreamModelId, string? baseUrl, + global::System.Collections.Generic.IList? declaredParameters, global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion? declaredRegion, - bool? declaredZdr) + bool? declaredZdr, + global::OpenRouter.AllOf? pricing, + global::OpenRouter.AllOf? settings, + string? upstreamModelId) { this.BaseUrl = baseUrl; + this.DeclaredParameters = declaredParameters; this.DeclaredRegion = declaredRegion; this.DeclaredZdr = declaredZdr; - this.UpstreamModelId = upstreamModelId ?? throw new global::System.ArgumentNullException(nameof(upstreamModelId)); + this.Pricing = pricing; + this.Settings = settings; + this.UpstreamModelId = upstreamModelId; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestPricing.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestPricing.Json.g.cs new file mode 100644 index 000000000..5aa15a201 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestPricing.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class UpdatePrivateEndpointRequestPricing + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateEndpointRequestPricing? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.UpdatePrivateEndpointRequestPricing), + jsonSerializerContext) as global::OpenRouter.UpdatePrivateEndpointRequestPricing; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateEndpointRequestPricing? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.UpdatePrivateEndpointRequestPricing? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.UpdatePrivateEndpointRequestPricing), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.UpdatePrivateEndpointRequestPricing; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestPricing.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestPricing.g.cs new file mode 100644 index 000000000..29dba7be9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestPricing.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Replaces the whole pricing object: omitting `cache_read` or `cache_write` reverts that rate to the pricing strategy default. + /// + public sealed partial class UpdatePrivateEndpointRequestPricing + { + + /// + /// 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/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessageConfigurationUpdate.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestSettings.Json.g.cs similarity index 86% rename from src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessageConfigurationUpdate.Json.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestSettings.Json.g.cs index 268523f9f..f56da3324 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatSystemMessageConfigurationUpdate.Json.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestSettings.Json.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public sealed partial class ChatSystemMessageConfigurationUpdate + public sealed partial class UpdatePrivateEndpointRequestSettings { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::OpenRouter.ChatSystemMessageConfigurationUpdate? FromJson( + public static global::OpenRouter.UpdatePrivateEndpointRequestSettings? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::OpenRouter.ChatSystemMessageConfigurationUpdate), - jsonSerializerContext) as global::OpenRouter.ChatSystemMessageConfigurationUpdate; + typeof(global::OpenRouter.UpdatePrivateEndpointRequestSettings), + jsonSerializerContext) as global::OpenRouter.UpdatePrivateEndpointRequestSettings; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::OpenRouter.ChatSystemMessageConfigurationUpdate? FromJson( + public static global::OpenRouter.UpdatePrivateEndpointRequestSettings? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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::OpenRouter.ChatSystemMessageConfigurationUpdate? FromJson( + public static global::OpenRouter.UpdatePrivateEndpointRequestSettings? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::OpenRouter.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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::OpenRouter.ChatSystemMessageConfigurationUpdate), - jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ChatSystemMessageConfigurationUpdate; + typeof(global::OpenRouter.UpdatePrivateEndpointRequestSettings), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.UpdatePrivateEndpointRequestSettings; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::OpenRouter.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestSettings.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestSettings.g.cs new file mode 100644 index 000000000..8e7980aa8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointRequestSettings.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Only the fields present change; an omitted field keeps its stored value and `null` clears a limit or reverts a flag to the provider default. + /// + public sealed partial class UpdatePrivateEndpointRequestSettings + { + + /// + /// 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/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequest.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequest.Json.g.cs new file mode 100644 index 000000000..fc0e189ee --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class UpdatePrivateEndpointSettingsRequest + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateEndpointSettingsRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequest), + jsonSerializerContext) as global::OpenRouter.UpdatePrivateEndpointSettingsRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateEndpointSettingsRequest? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.UpdatePrivateEndpointSettingsRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.UpdatePrivateEndpointSettingsRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.UpdatePrivateEndpointSettingsRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequest.g.cs new file mode 100644 index 000000000..9ad5a1a7d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequest.g.cs @@ -0,0 +1,143 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Capabilities and limits to set over the ones copied from the public endpoint for this model and provider (or from the model). Omitted fields keep the copied values.
+ /// Example: {"context_length":128000,"reasoning":{"supported":true}} + ///
+ public sealed partial class UpdatePrivateEndpointSettingsRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completions")] + public global::OpenRouter.UpdatePrivateEndpointSettingsRequestCompletions? Completions { get; set; } + + /// + /// Longest prompt plus completion, in tokens, or `null` to keep the model default.
+ /// Example: 128000 + ///
+ /// 128000 + [global::System.Text.Json.Serialization.JsonPropertyName("context_length")] + public int? ContextLength { get; set; } + + /// + /// Request parameters the upstream rejects even though the model supports them; requests using one do not route here. Cannot name a tested parameter.
+ /// Example: [logit_bias] + ///
+ /// [logit_bias] + [global::System.Text.Json.Serialization.JsonPropertyName("excluded_parameters")] + public global::System.Collections.Generic.IList? ExcludedParameters { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inputs")] + public global::OpenRouter.UpdatePrivateEndpointSettingsRequestInputs? Inputs { get; set; } + + /// + /// Longest completion the upstream returns, in tokens, or `null` to keep the model default.
+ /// Example: 16384 + ///
+ /// 16384 + [global::System.Text.Json.Serialization.JsonPropertyName("max_completion_tokens")] + public int? MaxCompletionTokens { get; set; } + + /// + /// Longest prompt, in tokens, or `null` for no cap below the context length. Cannot exceed `context_length`, or the model context length while `context_length` is `null`.
+ /// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + ///
+ /// openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + [global::System.Text.Json.Serialization.JsonPropertyName("max_prompt_tokens")] + public int? MaxPromptTokens { get; set; } + + /// + /// Weight precision the deployment runs at; `unknown` when not stated.
+ /// Example: bf16 + ///
+ /// bf16 + [global::System.Text.Json.Serialization.JsonPropertyName("quantization")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.PrivateEndpointQuantizationJsonConverter))] + public global::OpenRouter.PrivateEndpointQuantization? Quantization { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reasoning")] + public global::OpenRouter.UpdatePrivateEndpointSettingsRequestReasoning? Reasoning { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tool_choice")] + public global::OpenRouter.UpdatePrivateEndpointSettingsRequestToolChoice? ToolChoice { 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. + /// + /// + /// + /// Longest prompt plus completion, in tokens, or `null` to keep the model default.
+ /// Example: 128000 + /// + /// + /// Request parameters the upstream rejects even though the model supports them; requests using one do not route here. Cannot name a tested parameter.
+ /// Example: [logit_bias] + /// + /// + /// + /// Longest completion the upstream returns, in tokens, or `null` to keep the model default.
+ /// Example: 16384 + /// + /// + /// Longest prompt, in tokens, or `null` for no cap below the context length. Cannot exceed `context_length`, or the model context length while `context_length` is `null`.
+ /// Example: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 + /// + /// + /// Weight precision the deployment runs at; `unknown` when not stated.
+ /// Example: bf16 + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdatePrivateEndpointSettingsRequest( + global::OpenRouter.UpdatePrivateEndpointSettingsRequestCompletions? completions, + int? contextLength, + global::System.Collections.Generic.IList? excludedParameters, + global::OpenRouter.UpdatePrivateEndpointSettingsRequestInputs? inputs, + int? maxCompletionTokens, + int? maxPromptTokens, + global::OpenRouter.PrivateEndpointQuantization? quantization, + global::OpenRouter.UpdatePrivateEndpointSettingsRequestReasoning? reasoning, + global::OpenRouter.UpdatePrivateEndpointSettingsRequestToolChoice? toolChoice) + { + this.Completions = completions; + this.ContextLength = contextLength; + this.ExcludedParameters = excludedParameters; + this.Inputs = inputs; + this.MaxCompletionTokens = maxCompletionTokens; + this.MaxPromptTokens = maxPromptTokens; + this.Quantization = quantization; + this.Reasoning = reasoning; + this.ToolChoice = toolChoice; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdatePrivateEndpointSettingsRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestCompletions.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestCompletions.Json.g.cs new file mode 100644 index 000000000..e1ee2ebdf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestCompletions.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class UpdatePrivateEndpointSettingsRequestCompletions + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateEndpointSettingsRequestCompletions? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequestCompletions), + jsonSerializerContext) as global::OpenRouter.UpdatePrivateEndpointSettingsRequestCompletions; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateEndpointSettingsRequestCompletions? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.UpdatePrivateEndpointSettingsRequestCompletions? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.UpdatePrivateEndpointSettingsRequestCompletions), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.UpdatePrivateEndpointSettingsRequestCompletions; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestCompletions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestCompletions.g.cs new file mode 100644 index 000000000..f2c0f759a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestCompletions.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class UpdatePrivateEndpointSettingsRequestCompletions + { + /// + /// Serves `/chat/completions`; `null` uses the provider default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("chat")] + public bool? Chat { get; set; } + + /// + /// Serves `/completions`; `null` uses the provider default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("text")] + public bool? Text { 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. + /// + /// + /// Serves `/chat/completions`; `null` uses the provider default. + /// + /// + /// Serves `/completions`; `null` uses the provider default. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdatePrivateEndpointSettingsRequestCompletions( + bool? chat, + bool? text) + { + this.Chat = chat; + this.Text = text; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdatePrivateEndpointSettingsRequestCompletions() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestExcludedParameter.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestExcludedParameter.g.cs new file mode 100644 index 000000000..e81a77809 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestExcludedParameter.g.cs @@ -0,0 +1,288 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct UpdatePrivateEndpointSettingsRequestExcludedParameter : global::System.IEquatable + { + /// + /// + /// + public UpdatePrivateEndpointSettingsRequestExcludedParameter(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter FrequencyPenalty { get; } = new("frequency_penalty"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter IncludeReasoning { get; } = new("include_reasoning"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter LogitBias { get; } = new("logit_bias"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter Logprobs { get; } = new("logprobs"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter MaxCompletionTokens { get; } = new("max_completion_tokens"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter MaxTokens { get; } = new("max_tokens"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter MinP { get; } = new("min_p"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter ParallelToolCalls { get; } = new("parallel_tool_calls"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter Prediction { get; } = new("prediction"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter PresencePenalty { get; } = new("presence_penalty"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter Reasoning { get; } = new("reasoning"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter ReasoningEffort { get; } = new("reasoning_effort"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter RepetitionPenalty { get; } = new("repetition_penalty"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter ResponseFormat { get; } = new("response_format"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter Seed { get; } = new("seed"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter Stop { get; } = new("stop"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter StructuredOutputs { get; } = new("structured_outputs"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter Temperature { get; } = new("temperature"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter ToolChoice { get; } = new("tool_choice"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter Tools { get; } = new("tools"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter TopA { get; } = new("top_a"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter TopK { get; } = new("top_k"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter TopLogprobs { get; } = new("top_logprobs"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter TopP { get; } = new("top_p"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter Verbosity { get; } = new("verbosity"); + + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter WebSearchOptions { get; } = new("web_search_options"); + /// + /// + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "frequency_penalty" => FrequencyPenalty, + "include_reasoning" => IncludeReasoning, + "logit_bias" => LogitBias, + "logprobs" => Logprobs, + "max_completion_tokens" => MaxCompletionTokens, + "max_tokens" => MaxTokens, + "min_p" => MinP, + "parallel_tool_calls" => ParallelToolCalls, + "prediction" => Prediction, + "presence_penalty" => PresencePenalty, + "reasoning" => Reasoning, + "reasoning_effort" => ReasoningEffort, + "repetition_penalty" => RepetitionPenalty, + "response_format" => ResponseFormat, + "seed" => Seed, + "stop" => Stop, + "structured_outputs" => StructuredOutputs, + "temperature" => Temperature, + "tool_choice" => ToolChoice, + "tools" => Tools, + "top_a" => TopA, + "top_k" => TopK, + "top_logprobs" => TopLogprobs, + "top_p" => TopP, + "verbosity" => Verbosity, + "web_search_options" => WebSearchOptions, + _ => new UpdatePrivateEndpointSettingsRequestExcludedParameter(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "frequency_penalty" => true, + "include_reasoning" => true, + "logit_bias" => true, + "logprobs" => true, + "max_completion_tokens" => true, + "max_tokens" => true, + "min_p" => true, + "parallel_tool_calls" => true, + "prediction" => true, + "presence_penalty" => true, + "reasoning" => true, + "reasoning_effort" => true, + "repetition_penalty" => true, + "response_format" => true, + "seed" => true, + "stop" => true, + "structured_outputs" => true, + "temperature" => true, + "tool_choice" => true, + "tools" => true, + "top_a" => true, + "top_k" => true, + "top_logprobs" => true, + "top_p" => true, + "verbosity" => true, + "web_search_options" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(UpdatePrivateEndpointSettingsRequestExcludedParameter other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is UpdatePrivateEndpointSettingsRequestExcludedParameter other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(UpdatePrivateEndpointSettingsRequestExcludedParameter left, UpdatePrivateEndpointSettingsRequestExcludedParameter right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(UpdatePrivateEndpointSettingsRequestExcludedParameter left, UpdatePrivateEndpointSettingsRequestExcludedParameter right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UpdatePrivateEndpointSettingsRequestExcludedParameterExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UpdatePrivateEndpointSettingsRequestExcludedParameter value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static UpdatePrivateEndpointSettingsRequestExcludedParameter? ToEnum(string value) + { + return UpdatePrivateEndpointSettingsRequestExcludedParameter.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestInputs.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestInputs.Json.g.cs new file mode 100644 index 000000000..9fdfc8e2d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestInputs.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class UpdatePrivateEndpointSettingsRequestInputs + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateEndpointSettingsRequestInputs? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequestInputs), + jsonSerializerContext) as global::OpenRouter.UpdatePrivateEndpointSettingsRequestInputs; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateEndpointSettingsRequestInputs? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.UpdatePrivateEndpointSettingsRequestInputs? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.UpdatePrivateEndpointSettingsRequestInputs), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.UpdatePrivateEndpointSettingsRequestInputs; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestInputs.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestInputs.g.cs new file mode 100644 index 000000000..43a09a392 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestInputs.g.cs @@ -0,0 +1,90 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class UpdatePrivateEndpointSettingsRequestInputs + { + /// + /// Accepts audio input. `null` keeps the provider default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("audio")] + public bool? Audio { get; set; } + + /// + /// Accepts base64 file data. `null` keeps the provider default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base64_files")] + public bool? Base64Files { get; set; } + + /// + /// Accepts base64 image data. `null` keeps the provider default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("base64_images")] + public bool? Base64Images { get; set; } + + /// + /// Accepts file URLs. `null` keeps the provider default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("file_urls")] + public bool? FileUrls { get; set; } + + /// + /// Accepts image URLs. `null` keeps the provider default. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("image_urls")] + public bool? ImageUrls { 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. + /// + /// + /// Accepts audio input. `null` keeps the provider default. + /// + /// + /// Accepts base64 file data. `null` keeps the provider default. + /// + /// + /// Accepts base64 image data. `null` keeps the provider default. + /// + /// + /// Accepts file URLs. `null` keeps the provider default. + /// + /// + /// Accepts image URLs. `null` keeps the provider default. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdatePrivateEndpointSettingsRequestInputs( + bool? audio, + bool? base64Files, + bool? base64Images, + bool? fileUrls, + bool? imageUrls) + { + this.Audio = audio; + this.Base64Files = base64Files; + this.Base64Images = base64Images; + this.FileUrls = fileUrls; + this.ImageUrls = imageUrls; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdatePrivateEndpointSettingsRequestInputs() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestReasoning.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestReasoning.Json.g.cs new file mode 100644 index 000000000..f6efaf9d8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestReasoning.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class UpdatePrivateEndpointSettingsRequestReasoning + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateEndpointSettingsRequestReasoning? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequestReasoning), + jsonSerializerContext) as global::OpenRouter.UpdatePrivateEndpointSettingsRequestReasoning; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateEndpointSettingsRequestReasoning? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.UpdatePrivateEndpointSettingsRequestReasoning? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.UpdatePrivateEndpointSettingsRequestReasoning), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.UpdatePrivateEndpointSettingsRequestReasoning; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestReasoning.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestReasoning.g.cs new file mode 100644 index 000000000..f8de45e85 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestReasoning.g.cs @@ -0,0 +1,64 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class UpdatePrivateEndpointSettingsRequestReasoning + { + /// + /// Where the upstream puts reasoning tokens in its response: `reasoning` and `reasoning-content` are response fields, `content-string` is inline in the message, `none` returns no reasoning. `null` uses the provider default.
+ /// Example: reasoning + ///
+ /// reasoning + [global::System.Text.Json.Serialization.JsonPropertyName("return_mechanism")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.PrivateEndpointReasoningReturnMechanismJsonConverter))] + public global::OpenRouter.PrivateEndpointReasoningReturnMechanism? ReturnMechanism { get; set; } + + /// + /// Whether requests with `reasoning` route to this endpoint.
+ /// Example: true + ///
+ /// true + [global::System.Text.Json.Serialization.JsonPropertyName("supported")] + public bool? Supported { 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. + /// + /// + /// Where the upstream puts reasoning tokens in its response: `reasoning` and `reasoning-content` are response fields, `content-string` is inline in the message, `none` returns no reasoning. `null` uses the provider default.
+ /// Example: reasoning + /// + /// + /// Whether requests with `reasoning` route to this endpoint.
+ /// Example: true + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdatePrivateEndpointSettingsRequestReasoning( + global::OpenRouter.PrivateEndpointReasoningReturnMechanism? returnMechanism, + bool? supported) + { + this.ReturnMechanism = returnMechanism; + this.Supported = supported; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdatePrivateEndpointSettingsRequestReasoning() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestToolChoice.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestToolChoice.Json.g.cs new file mode 100644 index 000000000..1b0e804e1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestToolChoice.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class UpdatePrivateEndpointSettingsRequestToolChoice + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateEndpointSettingsRequestToolChoice? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.UpdatePrivateEndpointSettingsRequestToolChoice), + jsonSerializerContext) as global::OpenRouter.UpdatePrivateEndpointSettingsRequestToolChoice; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateEndpointSettingsRequestToolChoice? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.UpdatePrivateEndpointSettingsRequestToolChoice? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.UpdatePrivateEndpointSettingsRequestToolChoice), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.UpdatePrivateEndpointSettingsRequestToolChoice; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestToolChoice.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestToolChoice.g.cs new file mode 100644 index 000000000..b454b97ff --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateEndpointSettingsRequestToolChoice.g.cs @@ -0,0 +1,79 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class UpdatePrivateEndpointSettingsRequestToolChoice + { + /// + /// Accepts `tool_choice: "auto"`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("auto")] + public bool? Auto { get; set; } + + /// + /// Accepts a named function in `tool_choice`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("function")] + public bool? Function { get; set; } + + /// + /// Accepts `tool_choice: "none"`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("none")] + public bool? None { get; set; } + + /// + /// Accepts `tool_choice: "required"`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("required")] + public bool? Required { 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. + /// + /// + /// Accepts `tool_choice: "auto"`. + /// + /// + /// Accepts a named function in `tool_choice`. + /// + /// + /// Accepts `tool_choice: "none"`. + /// + /// + /// Accepts `tool_choice: "required"`. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdatePrivateEndpointSettingsRequestToolChoice( + bool? auto, + bool? function, + bool? none, + bool? required) + { + this.Auto = auto; + this.Function = function; + this.None = none; + this.Required = required; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdatePrivateEndpointSettingsRequestToolChoice() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequest.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequest.Json.g.cs new file mode 100644 index 000000000..559ab26ac --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class UpdatePrivateProviderRequest + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateProviderRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.UpdatePrivateProviderRequest), + jsonSerializerContext) as global::OpenRouter.UpdatePrivateProviderRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateProviderRequest? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.UpdatePrivateProviderRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.UpdatePrivateProviderRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.UpdatePrivateProviderRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequest.g.cs new file mode 100644 index 000000000..6884b94c5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequest.g.cs @@ -0,0 +1,70 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class UpdatePrivateProviderRequest + { + /// + /// HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.
+ /// Example: https://inference.example.com/v1 + ///
+ /// https://inference.example.com/v1 + [global::System.Text.Json.Serialization.JsonPropertyName("base_url")] + public string? BaseUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data_policy")] + public global::OpenRouter.UpdatePrivateProviderRequestDataPolicy? DataPolicy { get; set; } + + /// + /// Example: Acme + /// + /// Acme + [global::System.Text.Json.Serialization.JsonPropertyName("display_name")] + public string? DisplayName { 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. + /// + /// + /// HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.
+ /// Example: https://inference.example.com/v1 + /// + /// + /// + /// Example: Acme + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdatePrivateProviderRequest( + string? baseUrl, + global::OpenRouter.UpdatePrivateProviderRequestDataPolicy? dataPolicy, + string? displayName) + { + this.BaseUrl = baseUrl; + this.DataPolicy = dataPolicy; + this.DisplayName = displayName; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdatePrivateProviderRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequestDataPolicy.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequestDataPolicy.Json.g.cs new file mode 100644 index 000000000..277130b52 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequestDataPolicy.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class UpdatePrivateProviderRequestDataPolicy + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateProviderRequestDataPolicy? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.UpdatePrivateProviderRequestDataPolicy), + jsonSerializerContext) as global::OpenRouter.UpdatePrivateProviderRequestDataPolicy; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateProviderRequestDataPolicy? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.UpdatePrivateProviderRequestDataPolicy? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.UpdatePrivateProviderRequestDataPolicy), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.UpdatePrivateProviderRequestDataPolicy; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequestDataPolicy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequestDataPolicy.g.cs new file mode 100644 index 000000000..33aee03fc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderRequestDataPolicy.g.cs @@ -0,0 +1,68 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class UpdatePrivateProviderRequestDataPolicy + { + /// + /// Days prompts are retained. Must be `null` unless `retains_prompts` is true. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prompt_retention_days")] + public int? PromptRetentionDays { get; set; } + + /// + /// Whether the provider retains prompts or completions. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("retains_prompts")] + public bool? RetainsPrompts { get; set; } + + /// + /// Whether the provider trains on prompts. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("training")] + public bool? Training { 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. + /// + /// + /// Days prompts are retained. Must be `null` unless `retains_prompts` is true. + /// + /// + /// Whether the provider retains prompts or completions. + /// + /// + /// Whether the provider trains on prompts. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdatePrivateProviderRequestDataPolicy( + int? promptRetentionDays, + bool? retainsPrompts, + bool? training) + { + this.PromptRetentionDays = promptRetentionDays; + this.RetainsPrompts = retainsPrompts; + this.Training = training; + } + + /// + /// Initializes a new instance of the class. + /// + public UpdatePrivateProviderRequestDataPolicy() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderResponse.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderResponse.Json.g.cs new file mode 100644 index 000000000..49d23a0c0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class UpdatePrivateProviderResponse + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateProviderResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.UpdatePrivateProviderResponse), + jsonSerializerContext) as global::OpenRouter.UpdatePrivateProviderResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.UpdatePrivateProviderResponse? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.UpdatePrivateProviderResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.UpdatePrivateProviderResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.UpdatePrivateProviderResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderResponse.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderResponse.g.cs new file mode 100644 index 000000000..660fbf939 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UpdatePrivateProviderResponse.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class UpdatePrivateProviderResponse + { + /// + /// Example: {"base_url":"https://inference.example.com/v1","created_at":"2026-10-06T12:00:00.000Z","data_policy":{"prompt_retention_days":null,"retains_prompts":false,"training":false},"display_name":"Acme","name":"Acme","slug":"acme"} + /// + /// {"base_url":"https://inference.example.com/v1","created_at":"2026-10-06T12:00:00.000Z","data_policy":{"prompt_retention_days":null,"retains_prompts":false,"training":false},"display_name":"Acme","name":"Acme","slug":"acme"} + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.PrivateProvider Data { 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. + /// + /// + /// Example: {"base_url":"https://inference.example.com/v1","created_at":"2026-10-06T12:00:00.000Z","data_policy":{"prompt_retention_days":null,"retains_prompts":false,"training":false},"display_name":"Acme","name":"Acme","slug":"acme"} + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UpdatePrivateProviderResponse( + global::OpenRouter.PrivateProvider data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public UpdatePrivateProviderResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTable.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTable.Json.g.cs new file mode 100644 index 000000000..ebe63cbf8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTable.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTable + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTable? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTable), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTable; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTable? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTable? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTable), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTable; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTable.g.cs new file mode 100644 index 000000000..757611df6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTable.g.cs @@ -0,0 +1,127 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// The intern's routing table, for the intern's own key only; null for any other caller or when the vault could not build it in time. The keys still list. + /// + public sealed partial class VaultRoutingTable + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("agent_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string AgentId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("custom_origins")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList CustomOrigins { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("github")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.VaultRoutingTableGithub Github { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("google")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.VaultRoutingTableGoogle Google { get; set; } + + /// + /// Built-in hosts the vault injects a named secret for, and whether that secret is stored. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("host_rules")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList HostRules { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mcp_origins")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList McpOrigins { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("read_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime ReadAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secrets")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Secrets { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slack")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.VaultRoutingTableSlack Slack { 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. + /// + /// + /// + /// + /// + /// + /// Built-in hosts the vault injects a named secret for, and whether that secret is stored. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public VaultRoutingTable( + string agentId, + global::System.Collections.Generic.IList customOrigins, + global::OpenRouter.VaultRoutingTableGithub github, + global::OpenRouter.VaultRoutingTableGoogle google, + global::System.Collections.Generic.IList hostRules, + global::System.Collections.Generic.IList mcpOrigins, + global::System.DateTime readAt, + global::System.Collections.Generic.IList secrets, + global::OpenRouter.VaultRoutingTableSlack slack) + { + this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); + this.CustomOrigins = customOrigins ?? throw new global::System.ArgumentNullException(nameof(customOrigins)); + this.Github = github ?? throw new global::System.ArgumentNullException(nameof(github)); + this.Google = google ?? throw new global::System.ArgumentNullException(nameof(google)); + this.HostRules = hostRules ?? throw new global::System.ArgumentNullException(nameof(hostRules)); + this.McpOrigins = mcpOrigins ?? throw new global::System.ArgumentNullException(nameof(mcpOrigins)); + this.ReadAt = readAt; + this.Secrets = secrets ?? throw new global::System.ArgumentNullException(nameof(secrets)); + this.Slack = slack ?? throw new global::System.ArgumentNullException(nameof(slack)); + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTable() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOrigin.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOrigin.Json.g.cs new file mode 100644 index 000000000..4c3194629 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOrigin.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableCustomOrigin + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableCustomOrigin? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableCustomOrigin), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableCustomOrigin; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableCustomOrigin? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableCustomOrigin? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableCustomOrigin), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableCustomOrigin; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOrigin.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOrigin.g.cs new file mode 100644 index 000000000..e6e4df569 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOrigin.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VaultRoutingTableCustomOrigin + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("host")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Host { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path_prefix")] + public string? PathPrefix { get; set; } + + /// + /// The vault injection decision for this destination, at `read_at`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.VaultRoutingTableCustomOriginStatus Status { 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 vault injection decision for this destination, at `read_at`. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public VaultRoutingTableCustomOrigin( + string host, + global::OpenRouter.VaultRoutingTableCustomOriginStatus status, + string? pathPrefix) + { + this.Host = host ?? throw new global::System.ArgumentNullException(nameof(host)); + this.PathPrefix = pathPrefix; + this.Status = status ?? throw new global::System.ArgumentNullException(nameof(status)); + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableCustomOrigin() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOriginStatus.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOriginStatus.Json.g.cs new file mode 100644 index 000000000..950853656 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOriginStatus.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableCustomOriginStatus + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableCustomOriginStatus? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableCustomOriginStatus), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableCustomOriginStatus; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableCustomOriginStatus? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableCustomOriginStatus? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableCustomOriginStatus), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableCustomOriginStatus; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOriginStatus.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOriginStatus.g.cs new file mode 100644 index 000000000..bb562ab4a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOriginStatus.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// The vault injection decision for this destination, at `read_at`. + /// + public sealed partial class VaultRoutingTableCustomOriginStatus + { + /// + /// The credential failure code when `state` is `failing`; null otherwise. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("failure")] + public string? Failure { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.VaultRoutingTableCustomOriginStatusStateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.VaultRoutingTableCustomOriginStatusState State { 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 credential failure code when `state` is `failing`; null otherwise. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public VaultRoutingTableCustomOriginStatus( + global::OpenRouter.VaultRoutingTableCustomOriginStatusState state, + string? failure) + { + this.Failure = failure; + this.State = state; + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableCustomOriginStatus() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOriginStatusState.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOriginStatusState.g.cs new file mode 100644 index 000000000..f9061b96e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableCustomOriginStatusState.g.cs @@ -0,0 +1,127 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct VaultRoutingTableCustomOriginStatusState : global::System.IEquatable + { + /// + /// + /// + public VaultRoutingTableCustomOriginStatusState(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static VaultRoutingTableCustomOriginStatusState Failing { get; } = new("failing"); + + /// + /// + /// + public static VaultRoutingTableCustomOriginStatusState NoCredential { get; } = new("no_credential"); + + /// + /// + /// + public static VaultRoutingTableCustomOriginStatusState Usable { get; } = new("usable"); + /// + /// + /// + public static VaultRoutingTableCustomOriginStatusState FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "failing" => Failing, + "no_credential" => NoCredential, + "usable" => Usable, + _ => new VaultRoutingTableCustomOriginStatusState(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "failing" => true, + "no_credential" => true, + "usable" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(VaultRoutingTableCustomOriginStatusState other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is VaultRoutingTableCustomOriginStatusState other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(VaultRoutingTableCustomOriginStatusState left, VaultRoutingTableCustomOriginStatusState right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(VaultRoutingTableCustomOriginStatusState left, VaultRoutingTableCustomOriginStatusState right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class VaultRoutingTableCustomOriginStatusStateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this VaultRoutingTableCustomOriginStatusState value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static VaultRoutingTableCustomOriginStatusState? ToEnum(string value) + { + return VaultRoutingTableCustomOriginStatusState.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithub.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithub.Json.g.cs new file mode 100644 index 000000000..896f332de --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithub.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableGithub + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGithub? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableGithub), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableGithub; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGithub? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableGithub? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableGithub), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableGithub; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithub.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithub.g.cs new file mode 100644 index 000000000..afb3b8296 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithub.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VaultRoutingTableGithub + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("apps")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Apps { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tokens")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Tokens { 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 VaultRoutingTableGithub( + global::System.Collections.Generic.IList apps, + global::System.Collections.Generic.IList tokens) + { + this.Apps = apps ?? throw new global::System.ArgumentNullException(nameof(apps)); + this.Tokens = tokens ?? throw new global::System.ArgumentNullException(nameof(tokens)); + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableGithub() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubApp.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubApp.Json.g.cs new file mode 100644 index 000000000..b7538d05b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubApp.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableGithubApp + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGithubApp? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableGithubApp), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableGithubApp; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGithubApp? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableGithubApp? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableGithubApp), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableGithubApp; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubApp.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubApp.g.cs new file mode 100644 index 000000000..cadc4aefb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubApp.g.cs @@ -0,0 +1,88 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VaultRoutingTableGithubApp + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("app_id")] + public string? AppId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("app_slug")] + public string? AppSlug { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("installations")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Installations { get; set; } + + /// + /// Members whose own account the vault would act as on this App's accounts; GitHub still limits a member's token to what that member can reach. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("member_links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList MemberLinks { get; set; } + + /// + /// `workspace` applies to every intern of the workspace; `intern` to this intern alone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scope")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppScopeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.VaultRoutingTableGithubAppScope Scope { 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. + /// + /// + /// + /// Members whose own account the vault would act as on this App's accounts; GitHub still limits a member's token to what that member can reach. + /// + /// + /// `workspace` applies to every intern of the workspace; `intern` to this intern alone. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public VaultRoutingTableGithubApp( + global::System.Collections.Generic.IList installations, + global::System.Collections.Generic.IList memberLinks, + global::OpenRouter.VaultRoutingTableGithubAppScope scope, + string? appId, + string? appSlug) + { + this.AppId = appId; + this.AppSlug = appSlug; + this.Installations = installations ?? throw new global::System.ArgumentNullException(nameof(installations)); + this.MemberLinks = memberLinks ?? throw new global::System.ArgumentNullException(nameof(memberLinks)); + this.Scope = scope; + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableGithubApp() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallation.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallation.Json.g.cs new file mode 100644 index 000000000..2b4a45cf6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallation.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableGithubAppInstallation + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGithubAppInstallation? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallation), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableGithubAppInstallation; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGithubAppInstallation? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableGithubAppInstallation? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableGithubAppInstallation), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableGithubAppInstallation; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallation.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallation.g.cs new file mode 100644 index 000000000..fa1dcb72d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallation.g.cs @@ -0,0 +1,124 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VaultRoutingTableGithubAppInstallation + { + /// + /// The account the App is installed on, as GitHub spells it. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("account")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Account { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("account_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationAccountTypeJsonConverter))] + public global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType? AccountType { get; set; } + + /// + /// What GitHub says the installation covers; null until read. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("coverage")] + public global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverage? Coverage { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("credential_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CredentialId { get; set; } + + /// + /// Whether the vault holds a current installation token to inject. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("holds_token")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HoldsToken { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_enabled")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool IsEnabled { get; set; } + + /// + /// The workspace turned this shared installation off or hid it for this intern. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_off_for_intern")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool IsOffForIntern { get; set; } + + /// + /// What egress uses instead of this installation for a request to its account: an earlier installation on the same account, or a token pinned to the account. Null when this installation answers. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("shadowed_by")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationShadowedByJsonConverter))] + public global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy? ShadowedBy { 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 account the App is installed on, as GitHub spells it. + /// + /// + /// + /// Whether the vault holds a current installation token to inject. + /// + /// + /// + /// The workspace turned this shared installation off or hid it for this intern. + /// + /// + /// + /// What GitHub says the installation covers; null until read. + /// + /// + /// What egress uses instead of this installation for a request to its account: an earlier installation on the same account, or a token pinned to the account. Null when this installation answers. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public VaultRoutingTableGithubAppInstallation( + string account, + string credentialId, + bool holdsToken, + bool isEnabled, + bool isOffForIntern, + global::OpenRouter.VaultRoutingTableGithubAppInstallationAccountType? accountType, + global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverage? coverage, + global::OpenRouter.VaultRoutingTableGithubAppInstallationShadowedBy? shadowedBy) + { + this.Account = account ?? throw new global::System.ArgumentNullException(nameof(account)); + this.AccountType = accountType; + this.Coverage = coverage; + this.CredentialId = credentialId ?? throw new global::System.ArgumentNullException(nameof(credentialId)); + this.HoldsToken = holdsToken; + this.IsEnabled = isEnabled; + this.IsOffForIntern = isOffForIntern; + this.ShadowedBy = shadowedBy; + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableGithubAppInstallation() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationAccountType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationAccountType.g.cs new file mode 100644 index 000000000..4ecfed7d9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationAccountType.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct VaultRoutingTableGithubAppInstallationAccountType : global::System.IEquatable + { + /// + /// + /// + public VaultRoutingTableGithubAppInstallationAccountType(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static VaultRoutingTableGithubAppInstallationAccountType Organization { get; } = new("organization"); + + /// + /// + /// + public static VaultRoutingTableGithubAppInstallationAccountType User { get; } = new("user"); + /// + /// + /// + public static VaultRoutingTableGithubAppInstallationAccountType FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "organization" => Organization, + "user" => User, + _ => new VaultRoutingTableGithubAppInstallationAccountType(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "organization" => true, + "user" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(VaultRoutingTableGithubAppInstallationAccountType other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is VaultRoutingTableGithubAppInstallationAccountType other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(VaultRoutingTableGithubAppInstallationAccountType left, VaultRoutingTableGithubAppInstallationAccountType right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(VaultRoutingTableGithubAppInstallationAccountType left, VaultRoutingTableGithubAppInstallationAccountType right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class VaultRoutingTableGithubAppInstallationAccountTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this VaultRoutingTableGithubAppInstallationAccountType value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static VaultRoutingTableGithubAppInstallationAccountType? ToEnum(string value) + { + return VaultRoutingTableGithubAppInstallationAccountType.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationCoverage.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationCoverage.Json.g.cs new file mode 100644 index 000000000..6b7a06a34 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationCoverage.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableGithubAppInstallationCoverage + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverage? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverage), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverage; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverage? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableGithubAppInstallationCoverage? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableGithubAppInstallationCoverage), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverage; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationCoverage.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationCoverage.g.cs new file mode 100644 index 000000000..fb435721d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationCoverage.g.cs @@ -0,0 +1,69 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// What GitHub says the installation covers; null until read. + /// + public sealed partial class VaultRoutingTableGithubAppInstallationCoverage + { + /// + /// When GitHub answered, through the installation token the vault holds. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("checked_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CheckedAt { get; set; } + + /// + /// Repositories the installation covers; null when GitHub did not count them. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_count")] + public int? RepositoryCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("selection")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppInstallationCoverageSelectionJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection Selection { 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. + /// + /// + /// When GitHub answered, through the installation token the vault holds. + /// + /// + /// + /// Repositories the installation covers; null when GitHub did not count them. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public VaultRoutingTableGithubAppInstallationCoverage( + global::System.DateTime checkedAt, + global::OpenRouter.VaultRoutingTableGithubAppInstallationCoverageSelection selection, + int? repositoryCount) + { + this.CheckedAt = checkedAt; + this.RepositoryCount = repositoryCount; + this.Selection = selection; + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableGithubAppInstallationCoverage() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationCoverageSelection.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationCoverageSelection.g.cs new file mode 100644 index 000000000..724d44f5a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationCoverageSelection.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct VaultRoutingTableGithubAppInstallationCoverageSelection : global::System.IEquatable + { + /// + /// + /// + public VaultRoutingTableGithubAppInstallationCoverageSelection(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static VaultRoutingTableGithubAppInstallationCoverageSelection All { get; } = new("all"); + + /// + /// + /// + public static VaultRoutingTableGithubAppInstallationCoverageSelection Selected { get; } = new("selected"); + /// + /// + /// + public static VaultRoutingTableGithubAppInstallationCoverageSelection FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "all" => All, + "selected" => Selected, + _ => new VaultRoutingTableGithubAppInstallationCoverageSelection(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "all" => true, + "selected" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(VaultRoutingTableGithubAppInstallationCoverageSelection other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is VaultRoutingTableGithubAppInstallationCoverageSelection other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(VaultRoutingTableGithubAppInstallationCoverageSelection left, VaultRoutingTableGithubAppInstallationCoverageSelection right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(VaultRoutingTableGithubAppInstallationCoverageSelection left, VaultRoutingTableGithubAppInstallationCoverageSelection right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class VaultRoutingTableGithubAppInstallationCoverageSelectionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this VaultRoutingTableGithubAppInstallationCoverageSelection value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static VaultRoutingTableGithubAppInstallationCoverageSelection? ToEnum(string value) + { + return VaultRoutingTableGithubAppInstallationCoverageSelection.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationShadowedBy.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationShadowedBy.g.cs new file mode 100644 index 000000000..203b48ff0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppInstallationShadowedBy.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// What egress uses instead of this installation for a request to its account: an earlier installation on the same account, or a token pinned to the account. Null when this installation answers. + /// + public readonly partial struct VaultRoutingTableGithubAppInstallationShadowedBy : global::System.IEquatable + { + /// + /// + /// + public VaultRoutingTableGithubAppInstallationShadowedBy(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// an earlier installation on the same account, or a token pinned to the account. Null when this installation answers. + /// + public static VaultRoutingTableGithubAppInstallationShadowedBy Installation { get; } = new("installation"); + + /// + /// an earlier installation on the same account, or a token pinned to the account. Null when this installation answers. + /// + public static VaultRoutingTableGithubAppInstallationShadowedBy Token { get; } = new("token"); + /// + /// + /// + public static VaultRoutingTableGithubAppInstallationShadowedBy FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "installation" => Installation, + "token" => Token, + _ => new VaultRoutingTableGithubAppInstallationShadowedBy(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "installation" => true, + "token" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(VaultRoutingTableGithubAppInstallationShadowedBy other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is VaultRoutingTableGithubAppInstallationShadowedBy other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(VaultRoutingTableGithubAppInstallationShadowedBy left, VaultRoutingTableGithubAppInstallationShadowedBy right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(VaultRoutingTableGithubAppInstallationShadowedBy left, VaultRoutingTableGithubAppInstallationShadowedBy right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class VaultRoutingTableGithubAppInstallationShadowedByExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this VaultRoutingTableGithubAppInstallationShadowedBy value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static VaultRoutingTableGithubAppInstallationShadowedBy? ToEnum(string value) + { + return VaultRoutingTableGithubAppInstallationShadowedBy.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppMemberLink.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppMemberLink.Json.g.cs new file mode 100644 index 000000000..fc62d4694 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppMemberLink.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableGithubAppMemberLink + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGithubAppMemberLink? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableGithubAppMemberLink), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableGithubAppMemberLink; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGithubAppMemberLink? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableGithubAppMemberLink? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableGithubAppMemberLink), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableGithubAppMemberLink; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppMemberLink.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppMemberLink.g.cs new file mode 100644 index 000000000..f95f37e62 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppMemberLink.g.cs @@ -0,0 +1,68 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VaultRoutingTableGithubAppMemberLink + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("holds_token")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HoldsToken { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// How the vault picks this link for the App, by the same selection egress uses. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("via")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.VaultRoutingTableGithubAppMemberLinkViaJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia Via { 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. + /// + /// + /// + /// + /// How the vault picks this link for the App, by the same selection egress uses. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public VaultRoutingTableGithubAppMemberLink( + bool holdsToken, + string login, + global::OpenRouter.VaultRoutingTableGithubAppMemberLinkVia via) + { + this.HoldsToken = holdsToken; + this.Login = login ?? throw new global::System.ArgumentNullException(nameof(login)); + this.Via = via; + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableGithubAppMemberLink() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppMemberLinkVia.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppMemberLinkVia.g.cs new file mode 100644 index 000000000..a85fc1087 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppMemberLinkVia.g.cs @@ -0,0 +1,127 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// How the vault picks this link for the App, by the same selection egress uses. + /// + public readonly partial struct VaultRoutingTableGithubAppMemberLinkVia : global::System.IEquatable + { + /// + /// + /// + public VaultRoutingTableGithubAppMemberLinkVia(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static VaultRoutingTableGithubAppMemberLinkVia AnyLink { get; } = new("any_link"); + + /// + /// + /// + public static VaultRoutingTableGithubAppMemberLinkVia AppLink { get; } = new("app_link"); + + /// + /// + /// + public static VaultRoutingTableGithubAppMemberLinkVia Token { get; } = new("token"); + /// + /// + /// + public static VaultRoutingTableGithubAppMemberLinkVia FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "any_link" => AnyLink, + "app_link" => AppLink, + "token" => Token, + _ => new VaultRoutingTableGithubAppMemberLinkVia(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "any_link" => true, + "app_link" => true, + "token" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(VaultRoutingTableGithubAppMemberLinkVia other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is VaultRoutingTableGithubAppMemberLinkVia other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(VaultRoutingTableGithubAppMemberLinkVia left, VaultRoutingTableGithubAppMemberLinkVia right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(VaultRoutingTableGithubAppMemberLinkVia left, VaultRoutingTableGithubAppMemberLinkVia right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class VaultRoutingTableGithubAppMemberLinkViaExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this VaultRoutingTableGithubAppMemberLinkVia value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static VaultRoutingTableGithubAppMemberLinkVia? ToEnum(string value) + { + return VaultRoutingTableGithubAppMemberLinkVia.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppScope.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppScope.g.cs new file mode 100644 index 000000000..c2d9c8122 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubAppScope.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// `workspace` applies to every intern of the workspace; `intern` to this intern alone. + /// + public readonly partial struct VaultRoutingTableGithubAppScope : global::System.IEquatable + { + /// + /// + /// + public VaultRoutingTableGithubAppScope(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static VaultRoutingTableGithubAppScope Intern { get; } = new("intern"); + + /// + /// + /// + public static VaultRoutingTableGithubAppScope Workspace { get; } = new("workspace"); + /// + /// + /// + public static VaultRoutingTableGithubAppScope FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "intern" => Intern, + "workspace" => Workspace, + _ => new VaultRoutingTableGithubAppScope(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "intern" => true, + "workspace" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(VaultRoutingTableGithubAppScope other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is VaultRoutingTableGithubAppScope other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(VaultRoutingTableGithubAppScope left, VaultRoutingTableGithubAppScope right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(VaultRoutingTableGithubAppScope left, VaultRoutingTableGithubAppScope right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class VaultRoutingTableGithubAppScopeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this VaultRoutingTableGithubAppScope value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static VaultRoutingTableGithubAppScope? ToEnum(string value) + { + return VaultRoutingTableGithubAppScope.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubToken.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubToken.Json.g.cs new file mode 100644 index 000000000..e02d12773 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubToken.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableGithubToken + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGithubToken? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableGithubToken), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableGithubToken; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGithubToken? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableGithubToken? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableGithubToken), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableGithubToken; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubToken.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubToken.g.cs new file mode 100644 index 000000000..d65989397 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubToken.g.cs @@ -0,0 +1,86 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VaultRoutingTableGithubToken + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("holds_token")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HoldsToken { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("login")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Login { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("owner")] + public string? Owner { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repository_count")] + public int? RepositoryCount { get; set; } + + /// + /// `workspace` applies to every intern of the workspace; `intern` to this intern alone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scope")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.VaultRoutingTableGithubTokenScopeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.VaultRoutingTableGithubTokenScope Scope { 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. + /// + /// + /// + /// + /// `workspace` applies to every intern of the workspace; `intern` to this intern alone. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public VaultRoutingTableGithubToken( + bool holdsToken, + string login, + global::OpenRouter.VaultRoutingTableGithubTokenScope scope, + string? owner, + int? repositoryCount) + { + this.HoldsToken = holdsToken; + this.Login = login ?? throw new global::System.ArgumentNullException(nameof(login)); + this.Owner = owner; + this.RepositoryCount = repositoryCount; + this.Scope = scope; + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableGithubToken() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubTokenScope.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubTokenScope.g.cs new file mode 100644 index 000000000..3d6499cb0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGithubTokenScope.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// `workspace` applies to every intern of the workspace; `intern` to this intern alone. + /// + public readonly partial struct VaultRoutingTableGithubTokenScope : global::System.IEquatable + { + /// + /// + /// + public VaultRoutingTableGithubTokenScope(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static VaultRoutingTableGithubTokenScope Intern { get; } = new("intern"); + + /// + /// + /// + public static VaultRoutingTableGithubTokenScope Workspace { get; } = new("workspace"); + /// + /// + /// + public static VaultRoutingTableGithubTokenScope FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "intern" => Intern, + "workspace" => Workspace, + _ => new VaultRoutingTableGithubTokenScope(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "intern" => true, + "workspace" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(VaultRoutingTableGithubTokenScope other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is VaultRoutingTableGithubTokenScope other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(VaultRoutingTableGithubTokenScope left, VaultRoutingTableGithubTokenScope right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(VaultRoutingTableGithubTokenScope left, VaultRoutingTableGithubTokenScope right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class VaultRoutingTableGithubTokenScopeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this VaultRoutingTableGithubTokenScope value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static VaultRoutingTableGithubTokenScope? ToEnum(string value) + { + return VaultRoutingTableGithubTokenScope.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogle.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogle.Json.g.cs new file mode 100644 index 000000000..5deb34056 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogle.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableGoogle + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGoogle? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableGoogle), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableGoogle; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGoogle? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableGoogle? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableGoogle), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableGoogle; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogle.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogle.g.cs new file mode 100644 index 000000000..51692fbb0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogle.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VaultRoutingTableGoogle + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("accounts")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Accounts { 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 VaultRoutingTableGoogle( + global::System.Collections.Generic.IList accounts) + { + this.Accounts = accounts ?? throw new global::System.ArgumentNullException(nameof(accounts)); + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableGoogle() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogleAccount.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogleAccount.Json.g.cs new file mode 100644 index 000000000..d3542c98c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogleAccount.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableGoogleAccount + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGoogleAccount? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableGoogleAccount), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableGoogleAccount; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableGoogleAccount? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableGoogleAccount? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableGoogleAccount), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableGoogleAccount; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogleAccount.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogleAccount.g.cs new file mode 100644 index 000000000..44d0b05aa --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogleAccount.g.cs @@ -0,0 +1,88 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VaultRoutingTableGoogleAccount + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("delegated_capabilities")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList DelegatedCapabilities { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("holds_grant")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HoldsGrant { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_delegated_to_intern")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool IsDelegatedToIntern { get; set; } + + /// + /// `workspace` applies to every intern of the workspace; `intern` to this intern alone. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scope")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.VaultRoutingTableGoogleAccountScopeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.VaultRoutingTableGoogleAccountScope Scope { 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. + /// + /// + /// + /// + /// + /// + /// `workspace` applies to every intern of the workspace; `intern` to this intern alone. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public VaultRoutingTableGoogleAccount( + global::System.Collections.Generic.IList delegatedCapabilities, + string email, + bool holdsGrant, + bool isDelegatedToIntern, + global::OpenRouter.VaultRoutingTableGoogleAccountScope scope) + { + this.DelegatedCapabilities = delegatedCapabilities ?? throw new global::System.ArgumentNullException(nameof(delegatedCapabilities)); + this.Email = email ?? throw new global::System.ArgumentNullException(nameof(email)); + this.HoldsGrant = holdsGrant; + this.IsDelegatedToIntern = isDelegatedToIntern; + this.Scope = scope; + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableGoogleAccount() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogleAccountScope.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogleAccountScope.g.cs new file mode 100644 index 000000000..8a39dae96 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableGoogleAccountScope.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// `workspace` applies to every intern of the workspace; `intern` to this intern alone. + /// + public readonly partial struct VaultRoutingTableGoogleAccountScope : global::System.IEquatable + { + /// + /// + /// + public VaultRoutingTableGoogleAccountScope(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static VaultRoutingTableGoogleAccountScope Intern { get; } = new("intern"); + + /// + /// + /// + public static VaultRoutingTableGoogleAccountScope Workspace { get; } = new("workspace"); + /// + /// + /// + public static VaultRoutingTableGoogleAccountScope FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "intern" => Intern, + "workspace" => Workspace, + _ => new VaultRoutingTableGoogleAccountScope(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "intern" => true, + "workspace" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(VaultRoutingTableGoogleAccountScope other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is VaultRoutingTableGoogleAccountScope other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(VaultRoutingTableGoogleAccountScope left, VaultRoutingTableGoogleAccountScope right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(VaultRoutingTableGoogleAccountScope left, VaultRoutingTableGoogleAccountScope right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class VaultRoutingTableGoogleAccountScopeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this VaultRoutingTableGoogleAccountScope value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static VaultRoutingTableGoogleAccountScope? ToEnum(string value) + { + return VaultRoutingTableGoogleAccountScope.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableHostRule.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableHostRule.Json.g.cs new file mode 100644 index 000000000..f85f260da --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableHostRule.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableHostRule + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableHostRule? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableHostRule), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableHostRule; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableHostRule? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableHostRule? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableHostRule), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableHostRule; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableHostRule.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableHostRule.g.cs new file mode 100644 index 000000000..197ec1662 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableHostRule.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VaultRoutingTableHostRule + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("holds_secret")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HoldsSecret { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("host")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Host { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SecretName { 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 VaultRoutingTableHostRule( + bool holdsSecret, + string host, + string secretName) + { + this.HoldsSecret = holdsSecret; + this.Host = host ?? throw new global::System.ArgumentNullException(nameof(host)); + this.SecretName = secretName ?? throw new global::System.ArgumentNullException(nameof(secretName)); + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableHostRule() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOrigin.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOrigin.Json.g.cs new file mode 100644 index 000000000..b461b8ed2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOrigin.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableMcpOrigin + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableMcpOrigin? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableMcpOrigin), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableMcpOrigin; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableMcpOrigin? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableMcpOrigin? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableMcpOrigin), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableMcpOrigin; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOrigin.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOrigin.g.cs new file mode 100644 index 000000000..9677ac2c2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOrigin.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VaultRoutingTableMcpOrigin + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("account_key")] + public string? AccountKey { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("host")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Host { get; set; } + + /// + /// Members' own accounts, matched to the acting member per turn. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_personal")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool IsPersonal { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("routes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Routes { get; set; } + + /// + /// The vault's decision for a request to this server; null for members' own accounts, decided per acting member. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + public global::OpenRouter.VaultRoutingTableMcpOriginStatus? Status { 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. + /// + /// + /// + /// Members' own accounts, matched to the acting member per turn. + /// + /// + /// + /// + /// The vault's decision for a request to this server; null for members' own accounts, decided per acting member. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public VaultRoutingTableMcpOrigin( + string host, + bool isPersonal, + global::System.Collections.Generic.IList routes, + string? accountKey, + global::OpenRouter.VaultRoutingTableMcpOriginStatus? status) + { + this.AccountKey = accountKey; + this.Host = host ?? throw new global::System.ArgumentNullException(nameof(host)); + this.IsPersonal = isPersonal; + this.Routes = routes ?? throw new global::System.ArgumentNullException(nameof(routes)); + this.Status = status; + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableMcpOrigin() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginRoute.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginRoute.Json.g.cs new file mode 100644 index 000000000..67846a39a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginRoute.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableMcpOriginRoute + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableMcpOriginRoute? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableMcpOriginRoute), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableMcpOriginRoute; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableMcpOriginRoute? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableMcpOriginRoute? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableMcpOriginRoute), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableMcpOriginRoute; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginRoute.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginRoute.g.cs new file mode 100644 index 000000000..5b5225bea --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginRoute.g.cs @@ -0,0 +1,54 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VaultRoutingTableMcpOriginRoute + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("host")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Host { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path_prefix")] + public string? PathPrefix { 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 VaultRoutingTableMcpOriginRoute( + string host, + string? pathPrefix) + { + this.Host = host ?? throw new global::System.ArgumentNullException(nameof(host)); + this.PathPrefix = pathPrefix; + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableMcpOriginRoute() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginStatus.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginStatus.Json.g.cs new file mode 100644 index 000000000..ad769cf1c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginStatus.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableMcpOriginStatus + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableMcpOriginStatus? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableMcpOriginStatus), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableMcpOriginStatus; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableMcpOriginStatus? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableMcpOriginStatus? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableMcpOriginStatus), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableMcpOriginStatus; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginStatus.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginStatus.g.cs new file mode 100644 index 000000000..2cd31eb40 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginStatus.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// The vault's decision for a request to this server; null for members' own accounts, decided per acting member. + /// + public sealed partial class VaultRoutingTableMcpOriginStatus + { + /// + /// The credential failure code when `state` is `failing`; null otherwise. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("failure")] + public string? Failure { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("state")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.VaultRoutingTableMcpOriginStatusStateJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.VaultRoutingTableMcpOriginStatusState State { 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 credential failure code when `state` is `failing`; null otherwise. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public VaultRoutingTableMcpOriginStatus( + global::OpenRouter.VaultRoutingTableMcpOriginStatusState state, + string? failure) + { + this.Failure = failure; + this.State = state; + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableMcpOriginStatus() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginStatusState.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginStatusState.g.cs new file mode 100644 index 000000000..36d52f64f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableMcpOriginStatusState.g.cs @@ -0,0 +1,127 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct VaultRoutingTableMcpOriginStatusState : global::System.IEquatable + { + /// + /// + /// + public VaultRoutingTableMcpOriginStatusState(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static VaultRoutingTableMcpOriginStatusState Failing { get; } = new("failing"); + + /// + /// + /// + public static VaultRoutingTableMcpOriginStatusState NoCredential { get; } = new("no_credential"); + + /// + /// + /// + public static VaultRoutingTableMcpOriginStatusState Usable { get; } = new("usable"); + /// + /// + /// + public static VaultRoutingTableMcpOriginStatusState FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "failing" => Failing, + "no_credential" => NoCredential, + "usable" => Usable, + _ => new VaultRoutingTableMcpOriginStatusState(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "failing" => true, + "no_credential" => true, + "usable" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(VaultRoutingTableMcpOriginStatusState other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is VaultRoutingTableMcpOriginStatusState other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(VaultRoutingTableMcpOriginStatusState left, VaultRoutingTableMcpOriginStatusState right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(VaultRoutingTableMcpOriginStatusState left, VaultRoutingTableMcpOriginStatusState right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class VaultRoutingTableMcpOriginStatusStateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this VaultRoutingTableMcpOriginStatusState value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static VaultRoutingTableMcpOriginStatusState? ToEnum(string value) + { + return VaultRoutingTableMcpOriginStatusState.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSecret.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSecret.Json.g.cs new file mode 100644 index 000000000..0fee5a1f8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSecret.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableSecret + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableSecret? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableSecret), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableSecret; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableSecret? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableSecret? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableSecret), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableSecret; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSecret.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSecret.g.cs new file mode 100644 index 000000000..c7ca763db --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSecret.g.cs @@ -0,0 +1,75 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VaultRoutingTableSecret + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hosts")] + public global::System.Collections.Generic.IList? Hosts { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("scope")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.VaultRoutingTableSecretScopeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.VaultRoutingTableSecretScope Scope { 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 VaultRoutingTableSecret( + string createdAt, + string name, + global::OpenRouter.VaultRoutingTableSecretScope scope, + global::System.Collections.Generic.IList? hosts) + { + this.CreatedAt = createdAt ?? throw new global::System.ArgumentNullException(nameof(createdAt)); + this.Hosts = hosts; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Scope = scope; + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableSecret() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSecretScope.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSecretScope.g.cs new file mode 100644 index 000000000..552585130 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSecretScope.g.cs @@ -0,0 +1,127 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct VaultRoutingTableSecretScope : global::System.IEquatable + { + /// + /// + /// + public VaultRoutingTableSecretScope(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static VaultRoutingTableSecretScope Attached { get; } = new("attached"); + + /// + /// + /// + public static VaultRoutingTableSecretScope Intern { get; } = new("intern"); + + /// + /// + /// + public static VaultRoutingTableSecretScope Workspace { get; } = new("workspace"); + /// + /// + /// + public static VaultRoutingTableSecretScope FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "attached" => Attached, + "intern" => Intern, + "workspace" => Workspace, + _ => new VaultRoutingTableSecretScope(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "attached" => true, + "intern" => true, + "workspace" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(VaultRoutingTableSecretScope other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is VaultRoutingTableSecretScope other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(VaultRoutingTableSecretScope left, VaultRoutingTableSecretScope right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(VaultRoutingTableSecretScope left, VaultRoutingTableSecretScope right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class VaultRoutingTableSecretScopeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this VaultRoutingTableSecretScope value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static VaultRoutingTableSecretScope? ToEnum(string value) + { + return VaultRoutingTableSecretScope.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlack.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlack.Json.g.cs new file mode 100644 index 000000000..651f0d344 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlack.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableSlack + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableSlack? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableSlack), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableSlack; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableSlack? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableSlack? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableSlack), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableSlack; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlack.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlack.g.cs new file mode 100644 index 000000000..36266b2f7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlack.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VaultRoutingTableSlack + { + /// + /// Members whose own Slack account the vault can act as; whether the intern's own Slack app runs is a runtime fact the `connections` tool reports. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("member_links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList MemberLinks { 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. + /// + /// + /// Members whose own Slack account the vault can act as; whether the intern's own Slack app runs is a runtime fact the `connections` tool reports. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public VaultRoutingTableSlack( + global::System.Collections.Generic.IList memberLinks) + { + this.MemberLinks = memberLinks ?? throw new global::System.ArgumentNullException(nameof(memberLinks)); + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableSlack() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlackMemberLink.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlackMemberLink.Json.g.cs new file mode 100644 index 000000000..8cfab88c3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlackMemberLink.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VaultRoutingTableSlackMemberLink + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableSlackMemberLink? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VaultRoutingTableSlackMemberLink), + jsonSerializerContext) as global::OpenRouter.VaultRoutingTableSlackMemberLink; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VaultRoutingTableSlackMemberLink? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VaultRoutingTableSlackMemberLink? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VaultRoutingTableSlackMemberLink), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VaultRoutingTableSlackMemberLink; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlackMemberLink.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlackMemberLink.g.cs new file mode 100644 index 000000000..7fc1e7fa1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VaultRoutingTableSlackMemberLink.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VaultRoutingTableSlackMemberLink + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("holds_token")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HoldsToken { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slack_user_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SlackUserId { 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 VaultRoutingTableSlackMemberLink( + bool holdsToken, + string slackUserId) + { + this.HoldsToken = holdsToken; + this.SlackUserId = slackUserId ?? throw new global::System.ArgumentNullException(nameof(slackUserId)); + } + + /// + /// Initializes a new instance of the class. + /// + public VaultRoutingTableSlackMemberLink() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchStatus.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchStatus.g.cs index d8bd25b86..7b7f10646 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchStatus.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchStatus.g.cs @@ -36,6 +36,11 @@ public WebSearchStatus(string value) ///
public static WebSearchStatus InProgress { get; } = new("in_progress"); + /// + /// + /// + public static WebSearchStatus Incomplete { get; } = new("incomplete"); + /// /// /// @@ -52,6 +57,7 @@ public static WebSearchStatus FromValue(string value) "completed" => Completed, "failed" => Failed, "in_progress" => InProgress, + "incomplete" => Incomplete, "searching" => Searching, _ => new WebSearchStatus(value), }; @@ -65,6 +71,7 @@ public static WebSearchStatus FromValue(string value) "completed" => true, "failed" => true, "in_progress" => true, + "incomplete" => true, "searching" => true, _ => false, }; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.List.g.cs index 5fcec9dcc..f11f01b6e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.List.g.cs @@ -822,6 +822,43 @@ partial void ProcessListResponseContent( h => h.Key, h => h.Value)); } + // Unauthorized - Authentication required or invalid credentials + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::OpenRouter.UnauthorizedResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } // Forbidden - Authentication successful but insufficient permissions if ((int)__response.StatusCode == 403) { @@ -859,6 +896,154 @@ partial void ProcessListResponseContent( h => h.Key, h => h.Value)); } + // Not Found - Resource does not exist + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::OpenRouter.NotFoundResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::OpenRouter.NotFoundResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::OpenRouter.NotFoundResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Request Timeout - Operation exceeded time limit + if ((int)__response.StatusCode == 408) + { + string? __content_408 = null; + global::System.Exception? __exception_408 = null; + global::OpenRouter.RequestTimeoutResponse? __value_408 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_408 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_408 = global::OpenRouter.RequestTimeoutResponse.FromJson(__content_408, JsonSerializerContext); + } + else + { + __content_408 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_408 = global::OpenRouter.RequestTimeoutResponse.FromJson(__content_408, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_408 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_408 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_408, + responseBody: __content_408, + responseObject: __value_408, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Conflict - Resource conflict or concurrent modification + if ((int)__response.StatusCode == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + global::OpenRouter.ConflictResponse? __value_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_409 = global::OpenRouter.ConflictResponse.FromJson(__content_409, JsonSerializerContext); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_409 = global::OpenRouter.ConflictResponse.FromJson(__content_409, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseObject: __value_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Too Many Requests - Rate limit exceeded + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::OpenRouter.TooManyRequestsResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::OpenRouter.TooManyRequestsResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::OpenRouter.TooManyRequestsResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } // Internal Server Error - Unexpected server error if ((int)__response.StatusCode == 500) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListForUser.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListForUser.g.cs index 65b6406cc..bddb40e15 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListForUser.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListForUser.g.cs @@ -498,6 +498,117 @@ partial void ProcessListForUserResponseContent( h => h.Key, h => h.Value)); } + // Request Timeout - Operation exceeded time limit + if ((int)__response.StatusCode == 408) + { + string? __content_408 = null; + global::System.Exception? __exception_408 = null; + global::OpenRouter.RequestTimeoutResponse? __value_408 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_408 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_408 = global::OpenRouter.RequestTimeoutResponse.FromJson(__content_408, JsonSerializerContext); + } + else + { + __content_408 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_408 = global::OpenRouter.RequestTimeoutResponse.FromJson(__content_408, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_408 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_408 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_408, + responseBody: __content_408, + responseObject: __value_408, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Conflict - Resource conflict or concurrent modification + if ((int)__response.StatusCode == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + global::OpenRouter.ConflictResponse? __value_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_409 = global::OpenRouter.ConflictResponse.FromJson(__content_409, JsonSerializerContext); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_409 = global::OpenRouter.ConflictResponse.FromJson(__content_409, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseObject: __value_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Too Many Requests - Rate limit exceeded + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::OpenRouter.TooManyRequestsResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::OpenRouter.TooManyRequestsResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::OpenRouter.TooManyRequestsResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } // Internal Server Error - Unexpected server error if ((int)__response.StatusCode == 500) { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.OpenRouterClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.OpenRouterClient.g.cs index e9766aba5..93d27580e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.OpenRouterClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.OpenRouterClient.g.cs @@ -318,6 +318,17 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli AutoSDKServerConfiguration = AutoSDKServerConfiguration, }; + /// + /// Private Providers endpoints. + /// + public PrivateProvidersClient PrivateProviders => new PrivateProvidersClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + CreateIdempotencyKey = CreateIdempotencyKey, + JsonSerializerContextProvider = JsonSerializerContextProvider, + AutoSDKServerConfiguration = AutoSDKServerConfiguration, + }; + /// /// Provider information endpoints. /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.OrganizationClient.UpdateSettings.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.OrganizationClient.UpdateSettings.g.cs index bef4d9ecd..129b1c75c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.OrganizationClient.UpdateSettings.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.OrganizationClient.UpdateSettings.g.cs @@ -623,7 +623,7 @@ partial void ProcessUpdateSettingsResponseContent( /// Update the settings of the organization associated with the authenticated management key. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// - /// When true, `GET /api/v1/models` called with one of the organization's API keys returns only the models that key can use (the `/api/v1/models/user` catalog), and the signed-in dashboard shows the same list. Anonymous requests always receive the public catalog.
+ /// When true, the signed-in dashboard lists only the models the organization can use. `GET /api/v1/models` called with an API key always returns only the models that key can use, whatever this setting says; anonymous requests receive the public catalog.
/// Example: true /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.PrivateEndpointsClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PrivateEndpointsClient.Create.g.cs index 52e71f0eb..4b679cb0a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.PrivateEndpointsClient.Create.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.PrivateEndpointsClient.Create.g.cs @@ -45,7 +45,7 @@ partial void ProcessCreateResponseContent( /// /// Create a private endpoint
- /// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.
@@ -74,7 +74,7 @@ partial void ProcessCreateResponseContent( } /// /// Create a private endpoint
- /// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.
@@ -789,7 +789,7 @@ partial void ProcessCreateResponseContent( } /// /// Create a private endpoint
- /// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.
@@ -830,6 +830,10 @@ partial void ProcessCreateResponseContent( /// Slug of the upstream provider.
/// Example: azure /// + /// + /// Capabilities and limits to set over the ones copied from the public endpoint for this model and provider (or from the model). Omitted fields keep the copied values.
+ /// Example: {"context_length":128000,"reasoning":{"supported":true}} + /// /// /// Model or deployment identifier sent to the upstream provider.
/// Example: gpt-4o-prod @@ -849,6 +853,7 @@ partial void ProcessCreateResponseContent( bool? declaredZdr = default, int? maxCompletionTokens = default, global::OpenRouter.PrivateEndpointPricing? pricing = default, + global::OpenRouter.UpdatePrivateEndpointSettingsRequest? settings = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -863,6 +868,7 @@ partial void ProcessCreateResponseContent( ModelPermaslug = modelPermaslug, Pricing = pricing, ProviderSlug = providerSlug, + Settings = settings, UpstreamModelId = upstreamModelId, }; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.PrivateEndpointsClient.Update.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PrivateEndpointsClient.Update.g.cs index 966b64450..3d07c811e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.PrivateEndpointsClient.Update.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.PrivateEndpointsClient.Update.g.cs @@ -44,8 +44,8 @@ partial void ProcessUpdateResponseContent( ref string content); /// - /// Update a draft private endpoint
- /// Replace a draft endpoint's upstream configuration: send `upstream_model_id`, and `base_url` to change it (an omitted `base_url` keeps the stored one). Omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes. Any change clears earlier validation. Active endpoints return 409; delete and re-create them instead. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update a private endpoint
+ /// Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `upstream_model_id`, `base_url`, `declared_zdr` and `declared_region` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any upstream change clears earlier validation. Naming an upstream field on an active endpoint returns 409 `already_active` and writes nothing; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Stable identifier of the private endpoint.
@@ -73,8 +73,8 @@ partial void ProcessUpdateResponseContent( return __response.Body; } /// - /// Update a draft private endpoint
- /// Replace a draft endpoint's upstream configuration: send `upstream_model_id`, and `base_url` to change it (an omitted `base_url` keeps the stored one). Omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes. Any change clears earlier validation. Active endpoints return 409; delete and re-create them instead. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update a private endpoint
+ /// Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `upstream_model_id`, `base_url`, `declared_zdr` and `declared_region` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any upstream change clears earlier validation. Naming an upstream field on an active endpoint returns 409 `already_active` and writes nothing; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Stable identifier of the private endpoint.
@@ -782,8 +782,8 @@ partial void ProcessUpdateResponseContent( } } /// - /// Update a draft private endpoint
- /// Replace a draft endpoint's upstream configuration: send `upstream_model_id`, and `base_url` to change it (an omitted `base_url` keeps the stored one). Omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes. Any change clears earlier validation. Active endpoints return 409; delete and re-create them instead. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update a private endpoint
+ /// Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `upstream_model_id`, `base_url`, `declared_zdr` and `declared_region` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any upstream change clears earlier validation. Naming an upstream field on an active endpoint returns 409 `already_active` and writes nothing; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
/// /// Stable identifier of the private endpoint.
@@ -793,6 +793,10 @@ partial void ProcessUpdateResponseContent( /// HTTPS base URL of your deployment. Required unless the provider derives its URL from the BYOK credential (Azure, Amazon Bedrock, Google Vertex).
/// Example: https://contoso.openai.azure.com /// + /// + /// Parameters the upstream supports beyond the tested ones. Replaces the earlier declaration; tested parameters stay. Order and repeated names are ignored, but the list holds at most as many entries as there are declarable parameters, repeats included. `tool_choice` requires `tools` to be tested or declared.
+ /// Example: [temperature, seed] + /// /// /// Attest where this deployment processes data.
/// Example: us @@ -800,6 +804,8 @@ partial void ProcessUpdateResponseContent( /// /// Attest that this deployment retains no prompt or completion data. /// + /// + /// /// /// Model or deployment identifier sent to the upstream provider.
/// Example: gpt-4o-prod @@ -809,18 +815,24 @@ partial void ProcessUpdateResponseContent( /// public async global::System.Threading.Tasks.Task UpdateAsync( global::System.Guid id, - string upstreamModelId, string? baseUrl = default, + global::System.Collections.Generic.IList? declaredParameters = default, global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion? declaredRegion = default, bool? declaredZdr = default, + global::OpenRouter.AllOf? pricing = default, + global::OpenRouter.AllOf? settings = default, + string? upstreamModelId = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::OpenRouter.UpdatePrivateEndpointRequest { BaseUrl = baseUrl, + DeclaredParameters = declaredParameters, DeclaredRegion = declaredRegion, DeclaredZdr = declaredZdr, + Pricing = pricing, + Settings = settings, UpstreamModelId = upstreamModelId, }; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.PrivateProviders.JsonSerializerContext.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PrivateProviders.JsonSerializerContext.g.cs new file mode 100644 index 000000000..a8f92b587 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.PrivateProviders.JsonSerializerContext.g.cs @@ -0,0 +1,109 @@ + +#nullable enable + +namespace OpenRouter +{ /// + /// + /// + public sealed partial class PrivateProvidersSourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext + { + private static readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Resolver = new LazyChunkResolver(); + + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + internal static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver TypeInfoResolver => Resolver; + + + private static readonly global::System.Text.Json.JsonSerializerOptions DefaultOptions = CreateDefaultOptions(); + + /// + /// + /// + public static PrivateProvidersSourceGenerationContext Default { get; } = new(DefaultOptions); + + private PrivateProvidersSourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) + : base(options) + { + } + + /// + protected override global::System.Text.Json.JsonSerializerOptions? GeneratedSerializerOptions => DefaultOptions; + + /// + public override global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(global::System.Type type) + { + return Resolver.GetTypeInfo(type, Options); + } + + /// + /// Adds this package's converters to . + /// + /// + /// A converter has to be on the options a chained resolver builds its JsonTypeInfo against, + /// and a context resolves types from every package below it. Each package contributes only + /// what it owns and calls down the chain for the rest, so the family's converter table is + /// written once rather than copied into all of them. + /// + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) + { + global::OpenRouter.SourceGenerationContext.AddConverters(options); + } + + private static global::System.Text.Json.JsonSerializerOptions CreateDefaultOptions() + { + var options = new global::System.Text.Json.JsonSerializerOptions + { + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + TypeInfoResolver = Resolver, + }; + AddConverters(options); + + return options; + } + + private sealed class LazyChunkResolver : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver + { + private readonly object _gate = new(); + private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[1]; + + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo( + global::System.Type type, + global::System.Text.Json.JsonSerializerOptions options) + { + for (var index = 0; index < _resolvers.Length; index++) + { + var typeInfo = GetResolver(index).GetTypeInfo(type, options); + if (typeInfo is not null) + { + return typeInfo; + } + } + + return null; + } + + private global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver GetResolver(int index) + { + var resolver = global::System.Threading.Volatile.Read(ref _resolvers[index]); + if (resolver is not null) + { + return resolver; + } + + lock (_gate) + { + return _resolvers[index] ??= CreateResolver(index); + } + } + + private static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver CreateResolver(int index) + { + return index switch + { + 0 => global::OpenRouter.SourceGenerationContext.TypeInfoResolver, + _ => throw new global::System.ArgumentOutOfRangeException(nameof(index)), + }; + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.Create.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.Create.g.cs new file mode 100644 index 000000000..1797dbd9a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.Create.g.cs @@ -0,0 +1,857 @@ + +#nullable enable + +namespace OpenRouter +{ + public partial class PrivateProvidersClient + { + + + private static readonly global::OpenRouter.EndPointSecurityRequirement s_CreateSecurityRequirement0 = + new global::OpenRouter.EndPointSecurityRequirement + { + Authorizations = new global::OpenRouter.EndPointAuthorizationRequirement[] + { new global::OpenRouter.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "Bearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::OpenRouter.EndPointSecurityRequirement[] s_CreateSecurityRequirements = + new global::OpenRouter.EndPointSecurityRequirement[] + { s_CreateSecurityRequirement0, + }; + partial void PrepareCreateArguments( + global::System.Net.Http.HttpClient httpClient, + global::OpenRouter.CreatePrivateProviderRequest request); + partial void PrepareCreateRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::OpenRouter.CreatePrivateProviderRequest request); + partial void ProcessCreateResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create a private provider
+ /// Create a private, bring-your-own-key provider visible only to your organization. Use its slug as `provider_slug` when creating private endpoints. Requires both the private endpoints and the private providers entitlements. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// 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 CreateAsync( + + global::OpenRouter.CreatePrivateProviderRequest request, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await CreateAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Create a private provider
+ /// Create a private, bring-your-own-key provider visible only to your organization. Use its slug as `provider_slug` when creating private endpoints. Requires both the private endpoints and the private providers entitlements. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// 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> CreateAsResponseAsync( + + global::OpenRouter.CreatePrivateProviderRequest request, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareCreateArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::OpenRouter.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateSecurityRequirements, + operationName: "CreateAsync"); + + using var __timeoutCancellationTokenSource = global::OpenRouter.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::OpenRouter.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::OpenRouter.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::OpenRouter.PathBuilder( + path: "/private-providers", + baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); + var __path = __pathBuilder.ToString(); + __path = global::OpenRouter.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::OpenRouter.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareCreateRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + 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::OpenRouter.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "Create", + methodName: "CreateAsync", + pathTemplate: "\"/private-providers\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "Create", + methodName: "CreateAsync", + pathTemplate: "\"/private-providers\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::OpenRouter.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "Create", + methodName: "CreateAsync", + pathTemplate: "\"/private-providers\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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::OpenRouter.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); + ProcessCreateResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "Create", + methodName: "CreateAsync", + pathTemplate: "\"/private-providers\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "Create", + methodName: "CreateAsync", + pathTemplate: "\"/private-providers\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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); + } + // Bad Request - Invalid request parameters or malformed input + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::OpenRouter.BadRequestResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::OpenRouter.BadRequestResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::OpenRouter.BadRequestResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized - Authentication required or invalid credentials + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::OpenRouter.UnauthorizedResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden - Authentication successful but insufficient permissions + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::OpenRouter.ForbiddenResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::OpenRouter.ForbiddenResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::OpenRouter.ForbiddenResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not Found - Resource does not exist + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::OpenRouter.NotFoundResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::OpenRouter.NotFoundResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::OpenRouter.NotFoundResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Request Timeout - Operation exceeded time limit + if ((int)__response.StatusCode == 408) + { + string? __content_408 = null; + global::System.Exception? __exception_408 = null; + global::OpenRouter.RequestTimeoutResponse? __value_408 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_408 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_408 = global::OpenRouter.RequestTimeoutResponse.FromJson(__content_408, JsonSerializerContext); + } + else + { + __content_408 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_408 = global::OpenRouter.RequestTimeoutResponse.FromJson(__content_408, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_408 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_408 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_408, + responseBody: __content_408, + responseObject: __value_408, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Conflict - Resource conflict or concurrent modification + if ((int)__response.StatusCode == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + global::OpenRouter.ConflictResponse? __value_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_409 = global::OpenRouter.ConflictResponse.FromJson(__content_409, JsonSerializerContext); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_409 = global::OpenRouter.ConflictResponse.FromJson(__content_409, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseObject: __value_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unprocessable Entity - Semantic validation failure + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::OpenRouter.UnprocessableEntityResponse? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::OpenRouter.UnprocessableEntityResponse.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::OpenRouter.UnprocessableEntityResponse.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Too Many Requests - Rate limit exceeded + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::OpenRouter.TooManyRequestsResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::OpenRouter.TooManyRequestsResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::OpenRouter.TooManyRequestsResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error - Unexpected server error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::OpenRouter.InternalServerResponse? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::OpenRouter.InternalServerResponse.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::OpenRouter.InternalServerResponse.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Bad Gateway - Provider/upstream API failure + if ((int)__response.StatusCode == 502) + { + string? __content_502 = null; + global::System.Exception? __exception_502 = null; + global::OpenRouter.BadGatewayResponse? __value_502 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_502 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_502 = global::OpenRouter.BadGatewayResponse.FromJson(__content_502, JsonSerializerContext); + } + else + { + __content_502 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_502 = global::OpenRouter.BadGatewayResponse.FromJson(__content_502, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_502 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_502 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_502, + responseBody: __content_502, + responseObject: __value_502, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + 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); + ProcessCreateResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::OpenRouter.CreatePrivateProviderResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + 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::OpenRouter.CreatePrivateProviderResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.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 global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Create a private provider
+ /// Create a private, bring-your-own-key provider visible only to your organization. Use its slug as `provider_slug` when creating private endpoints. Requires both the private endpoints and the private providers entitlements. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.
+ /// Example: https://inference.example.com/v1 + /// + /// + /// Defaults to training on and retaining prompts, the most conservative declaration. Your own declaration; it applies to your own traffic and OpenRouter does not verify it.
+ /// Example: {"prompt_retention_days":null,"retains_prompts":false,"training":false} + /// + /// + /// Defaults to `name`.
+ /// Example: Acme + /// + /// + /// Provider name, shown in your activity, logs and Broadcast output. 2-64 letters, numbers, spaces, dots, underscores or hyphens. Cannot be changed later. Neither the name nor its slug may match a public provider name or slug (case-insensitive); other customers may use the same name.
+ /// Example: Acme + /// + /// + /// 2-64 lowercase letters and numbers, separated by single hyphens. Cannot be changed later. Defaults to the name lowercased, with every run of other characters replaced by a hyphen (`Acme Inference` becomes `acme-inference`).
+ /// Example: acme + /// + /// 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 CreateAsync( + string name, + string? baseUrl = default, + global::OpenRouter.PrivateProviderDataPolicy2? dataPolicy = default, + string? displayName = default, + string? slug = default, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::OpenRouter.CreatePrivateProviderRequest + { + BaseUrl = baseUrl, + DataPolicy = dataPolicy, + DisplayName = displayName, + Name = name, + Slug = slug, + }; + + return await CreateAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.PrivateEndpointsClient.UpdatePricing.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.Delete.g.cs similarity index 84% rename from src/libs/OpenRouter/Generated/OpenRouter.PrivateEndpointsClient.UpdatePricing.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.Delete.g.cs index 7891c9e51..e298d298a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.PrivateEndpointsClient.UpdatePricing.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.Delete.g.cs @@ -3,11 +3,11 @@ namespace OpenRouter { - public partial class PrivateEndpointsClient + public partial class PrivateProvidersClient { - private static readonly global::OpenRouter.EndPointSecurityRequirement s_UpdatePricingSecurityRequirement0 = + private static readonly global::OpenRouter.EndPointSecurityRequirement s_DeleteSecurityRequirement0 = new global::OpenRouter.EndPointSecurityRequirement { Authorizations = new global::OpenRouter.EndPointAuthorizationRequirement[] @@ -21,51 +21,43 @@ public partial class PrivateEndpointsClient }, }, }; - private static readonly global::OpenRouter.EndPointSecurityRequirement[] s_UpdatePricingSecurityRequirements = + private static readonly global::OpenRouter.EndPointSecurityRequirement[] s_DeleteSecurityRequirements = new global::OpenRouter.EndPointSecurityRequirement[] - { s_UpdatePricingSecurityRequirement0, + { s_DeleteSecurityRequirement0, }; - partial void PrepareUpdatePricingArguments( + partial void PrepareDeleteArguments( global::System.Net.Http.HttpClient httpClient, - ref global::System.Guid id, - global::OpenRouter.UpdatePrivateEndpointPricingRequest request); - partial void PrepareUpdatePricingRequest( + ref string slug); + partial void PrepareDeleteRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::System.Guid id, - global::OpenRouter.UpdatePrivateEndpointPricingRequest request); - partial void ProcessUpdatePricingResponse( + string slug); + partial void ProcessDeleteResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessUpdatePricingResponseContent( + partial void ProcessDeleteResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// Set private endpoint pricing
- /// Set the negotiated per-token rates reported for requests routed to this endpoint. Applies to drafts and active endpoints; new rates take effect for subsequent requests. The body replaces the whole pricing object: omitting `cache_read` or `cache_write` reverts that rate to the provider pricing strategy's default, even if it was set before. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Delete a private provider
+ /// Delete a private provider. Refuses (409) while any private endpoint still runs under it. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
- /// - /// Stable identifier of the private endpoint.
- /// Example: 5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11 + /// + /// Example: acme /// - /// /// 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 UpdatePricingAsync( - global::System.Guid id, - - global::OpenRouter.UpdatePrivateEndpointPricingRequest request, + public async global::System.Threading.Tasks.Task DeleteAsync( + string slug, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await UpdatePricingAsResponseAsync( - id: id, - - request: request, + var __response = await DeleteAsResponseAsync( + slug: slug, requestOptions: requestOptions, cancellationToken: cancellationToken ).ConfigureAwait(false); @@ -73,38 +65,31 @@ partial void ProcessUpdatePricingResponseContent( return __response.Body; } /// - /// Set private endpoint pricing
- /// Set the negotiated per-token rates reported for requests routed to this endpoint. Applies to drafts and active endpoints; new rates take effect for subsequent requests. The body replaces the whole pricing object: omitting `cache_read` or `cache_write` reverts that rate to the provider pricing strategy's default, even if it was set before. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Delete a private provider
+ /// Delete a private provider. Refuses (409) while any private endpoint still runs under it. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
- /// - /// Stable identifier of the private endpoint.
- /// Example: 5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11 + /// + /// Example: acme /// - /// /// 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> UpdatePricingAsResponseAsync( - global::System.Guid id, - - global::OpenRouter.UpdatePrivateEndpointPricingRequest request, + public async global::System.Threading.Tasks.Task> DeleteAsResponseAsync( + string slug, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - PrepareArguments( client: HttpClient); - PrepareUpdatePricingArguments( + PrepareDeleteArguments( httpClient: HttpClient, - id: ref id, - request: request); + slug: ref slug); var __authorizations = global::OpenRouter.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_UpdatePricingSecurityRequirements, - operationName: "UpdatePricingAsync"); + securityRequirements: s_DeleteSecurityRequirements, + operationName: "DeleteAsync"); using var __timeoutCancellationTokenSource = global::OpenRouter.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -124,7 +109,7 @@ partial void ProcessUpdatePricingResponseContent( { var __pathBuilder = new global::OpenRouter.PathBuilder( - path: $"/private-endpoints/{id}/pricing", + path: $"/private-providers/{slug}", baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); var __path = __pathBuilder.ToString(); __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -132,7 +117,7 @@ partial void ProcessUpdatePricingResponseContent( clientParameters: Options.QueryParameters, requestParameters: requestOptions?.QueryParameters); var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Put, + 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; @@ -155,12 +140,6 @@ partial void ProcessUpdatePricingResponseContent( __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::OpenRouter.AutoSDKRequestOptionsSupport.ApplyHeaders( request: __httpRequest, clientHeaders: Options.Headers, @@ -169,11 +148,10 @@ partial void ProcessUpdatePricingResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareUpdatePricingRequest( + PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id, - request: request); + slug: slug); return __httpRequest; } @@ -190,10 +168,10 @@ partial void ProcessUpdatePricingResponseContent( await global::OpenRouter.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdatePricing", - methodName: "UpdatePricingAsync", - pathTemplate: "$\"/private-endpoints/{id}/pricing\"", - httpMethod: "PUT", + operationId: "Delete", + methodName: "DeleteAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, @@ -224,10 +202,10 @@ partial void ProcessUpdatePricingResponseContent( await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdatePricing", - methodName: "UpdatePricingAsync", - pathTemplate: "$\"/private-endpoints/{id}/pricing\"", - httpMethod: "PUT", + operationId: "Delete", + methodName: "DeleteAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, @@ -265,10 +243,10 @@ partial void ProcessUpdatePricingResponseContent( await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdatePricing", - methodName: "UpdatePricingAsync", - pathTemplate: "$\"/private-endpoints/{id}/pricing\"", - httpMethod: "PUT", + operationId: "Delete", + methodName: "DeleteAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, @@ -305,7 +283,7 @@ partial void ProcessUpdatePricingResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessUpdatePricingResponse( + ProcessDeleteResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -313,10 +291,10 @@ partial void ProcessUpdatePricingResponseContent( await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdatePricing", - methodName: "UpdatePricingAsync", - pathTemplate: "$\"/private-endpoints/{id}/pricing\"", - httpMethod: "PUT", + operationId: "Delete", + methodName: "DeleteAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, @@ -335,10 +313,10 @@ partial void ProcessUpdatePricingResponseContent( await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdatePricing", - methodName: "UpdatePricingAsync", - pathTemplate: "$\"/private-endpoints/{id}/pricing\"", - httpMethod: "PUT", + operationId: "Delete", + methodName: "DeleteAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "DELETE", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, @@ -611,6 +589,43 @@ partial void ProcessUpdatePricingResponseContent( h => h.Key, h => h.Value)); } + // Too Many Requests - Rate limit exceeded + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::OpenRouter.TooManyRequestsResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::OpenRouter.TooManyRequestsResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::OpenRouter.TooManyRequestsResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } // Internal Server Error - Unexpected server error if ((int)__response.StatusCode == 500) { @@ -698,7 +713,7 @@ partial void ProcessUpdatePricingResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessUpdatePricingResponseContent( + ProcessDeleteResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -707,9 +722,9 @@ partial void ProcessUpdatePricingResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::OpenRouter.PrivateEndpointResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::OpenRouter.DeletePrivateProviderResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::OpenRouter.AutoSDKHttpResponse( + return new global::OpenRouter.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -739,9 +754,9 @@ partial void ProcessUpdatePricingResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::OpenRouter.PrivateEndpointResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::OpenRouter.DeletePrivateProviderResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::OpenRouter.AutoSDKHttpResponse( + return new global::OpenRouter.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -781,37 +796,5 @@ partial void ProcessUpdatePricingResponseContent( __httpRequest?.Dispose(); } } - /// - /// Set private endpoint pricing
- /// Set the negotiated per-token rates reported for requests routed to this endpoint. Applies to drafts and active endpoints; new rates take effect for subsequent requests. The body replaces the whole pricing object: omitting `cache_read` or `cache_write` reverts that rate to the provider pricing strategy's default, even if it was set before. [Management key](/docs/guides/overview/auth/management-api-keys) required. - ///
- /// - /// Stable identifier of the private endpoint.
- /// Example: 5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11 - /// - /// - /// Negotiated per-token rates reported for requests routed to this endpoint.
- /// Example: {"cache_read":"0.00000025","cache_write":"0.000003125","completion":"0.00001","prompt":"0.0000025"} - /// - /// 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 UpdatePricingAsync( - global::System.Guid id, - global::OpenRouter.PrivateEndpointPricing pricing, - global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __request = new global::OpenRouter.UpdatePrivateEndpointPricingRequest - { - Pricing = pricing, - }; - - return await UpdatePricingAsync( - id: id, - request: __request, - requestOptions: requestOptions, - cancellationToken: cancellationToken).ConfigureAwait(false); - } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.Get.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.Get.g.cs new file mode 100644 index 000000000..7fb94e894 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.Get.g.cs @@ -0,0 +1,578 @@ + +#nullable enable + +namespace OpenRouter +{ + public partial class PrivateProvidersClient + { + + + private static readonly global::OpenRouter.EndPointSecurityRequirement s_GetSecurityRequirement0 = + new global::OpenRouter.EndPointSecurityRequirement + { + Authorizations = new global::OpenRouter.EndPointAuthorizationRequirement[] + { new global::OpenRouter.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "Bearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::OpenRouter.EndPointSecurityRequirement[] s_GetSecurityRequirements = + new global::OpenRouter.EndPointSecurityRequirement[] + { s_GetSecurityRequirement0, + }; + partial void PrepareGetArguments( + global::System.Net.Http.HttpClient httpClient, + ref string slug); + partial void PrepareGetRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string slug); + partial void ProcessGetResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a private provider
+ /// Get one of the organization’s private providers by slug. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// Example: acme + /// + /// 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 GetAsync( + string slug, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await GetAsResponseAsync( + slug: slug, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Get a private provider
+ /// Get one of the organization’s private providers by slug. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// + /// Example: acme + /// + /// 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> GetAsResponseAsync( + string slug, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareGetArguments( + httpClient: HttpClient, + slug: ref slug); + + + var __authorizations = global::OpenRouter.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetSecurityRequirements, + operationName: "GetAsync"); + + using var __timeoutCancellationTokenSource = global::OpenRouter.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::OpenRouter.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::OpenRouter.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::OpenRouter.PathBuilder( + path: $"/private-providers/{slug}", + baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); + var __path = __pathBuilder.ToString(); + __path = global::OpenRouter.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::OpenRouter.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareGetRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + slug: slug); + + 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::OpenRouter.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "Get", + methodName: "GetAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "Get", + methodName: "GetAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::OpenRouter.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "Get", + methodName: "GetAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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::OpenRouter.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); + ProcessGetResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "Get", + methodName: "GetAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "Get", + methodName: "GetAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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); + } + // Unauthorized - Authentication required or invalid credentials + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::OpenRouter.UnauthorizedResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden - Authentication successful but insufficient permissions + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::OpenRouter.ForbiddenResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::OpenRouter.ForbiddenResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::OpenRouter.ForbiddenResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not Found - Resource does not exist + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::OpenRouter.NotFoundResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::OpenRouter.NotFoundResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::OpenRouter.NotFoundResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error - Unexpected server error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::OpenRouter.InternalServerResponse? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::OpenRouter.InternalServerResponse.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::OpenRouter.InternalServerResponse.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + 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); + ProcessGetResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::OpenRouter.GetPrivateProviderResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + 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::OpenRouter.GetPrivateProviderResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.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 global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + 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/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.List.g.cs new file mode 100644 index 000000000..23684c68f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.List.g.cs @@ -0,0 +1,528 @@ + +#nullable enable + +namespace OpenRouter +{ + public partial class PrivateProvidersClient + { + + + private static readonly global::OpenRouter.EndPointSecurityRequirement s_ListSecurityRequirement0 = + new global::OpenRouter.EndPointSecurityRequirement + { + Authorizations = new global::OpenRouter.EndPointAuthorizationRequirement[] + { new global::OpenRouter.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "Bearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::OpenRouter.EndPointSecurityRequirement[] s_ListSecurityRequirements = + new global::OpenRouter.EndPointSecurityRequirement[] + { s_ListSecurityRequirement0, + }; + partial void PrepareListArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareListRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessListResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessListResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List private providers
+ /// List the organization's private providers. Requires the private endpoints entitlement. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// 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 ListAsync( + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ListAsResponseAsync( + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// List private providers
+ /// List the organization's private providers. Requires the private endpoints entitlement. [Management key](/docs/guides/overview/auth/management-api-keys) required. + ///
+ /// 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> ListAsResponseAsync( + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareListArguments( + httpClient: HttpClient); + + + var __authorizations = global::OpenRouter.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ListSecurityRequirements, + operationName: "ListAsync"); + + using var __timeoutCancellationTokenSource = global::OpenRouter.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::OpenRouter.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::OpenRouter.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::OpenRouter.PathBuilder( + path: "/private-providers", + baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); + var __path = __pathBuilder.ToString(); + __path = global::OpenRouter.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::OpenRouter.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareListRequest( + httpClient: HttpClient, + httpRequestMessage: __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::OpenRouter.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "List", + methodName: "ListAsync", + pathTemplate: "\"/private-providers\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "List", + methodName: "ListAsync", + pathTemplate: "\"/private-providers\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::OpenRouter.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "List", + methodName: "ListAsync", + pathTemplate: "\"/private-providers\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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::OpenRouter.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); + ProcessListResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "List", + methodName: "ListAsync", + pathTemplate: "\"/private-providers\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "List", + methodName: "ListAsync", + pathTemplate: "\"/private-providers\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + 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); + } + // Unauthorized - Authentication required or invalid credentials + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::OpenRouter.UnauthorizedResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Forbidden - Authentication successful but insufficient permissions + if ((int)__response.StatusCode == 403) + { + string? __content_403 = null; + global::System.Exception? __exception_403 = null; + global::OpenRouter.ForbiddenResponse? __value_403 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_403 = global::OpenRouter.ForbiddenResponse.FromJson(__content_403, JsonSerializerContext); + } + else + { + __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_403 = global::OpenRouter.ForbiddenResponse.FromJson(__content_403, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_403 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_403, + responseBody: __content_403, + responseObject: __value_403, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error - Unexpected server error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::OpenRouter.InternalServerResponse? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::OpenRouter.InternalServerResponse.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::OpenRouter.InternalServerResponse.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + 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); + ProcessListResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::OpenRouter.ListPrivateProvidersResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + 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::OpenRouter.ListPrivateProvidersResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.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 global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + 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/OpenRouter/Generated/OpenRouter.PrivateEndpointsClient.UpdateParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.Update.g.cs similarity index 85% rename from src/libs/OpenRouter/Generated/OpenRouter.PrivateEndpointsClient.UpdateParameters.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.Update.g.cs index 082ae2942..c0974312e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.PrivateEndpointsClient.UpdateParameters.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.Update.g.cs @@ -3,11 +3,11 @@ namespace OpenRouter { - public partial class PrivateEndpointsClient + public partial class PrivateProvidersClient { - private static readonly global::OpenRouter.EndPointSecurityRequirement s_UpdateParametersSecurityRequirement0 = + private static readonly global::OpenRouter.EndPointSecurityRequirement s_UpdateSecurityRequirement0 = new global::OpenRouter.EndPointSecurityRequirement { Authorizations = new global::OpenRouter.EndPointAuthorizationRequirement[] @@ -21,49 +21,48 @@ public partial class PrivateEndpointsClient }, }, }; - private static readonly global::OpenRouter.EndPointSecurityRequirement[] s_UpdateParametersSecurityRequirements = + private static readonly global::OpenRouter.EndPointSecurityRequirement[] s_UpdateSecurityRequirements = new global::OpenRouter.EndPointSecurityRequirement[] - { s_UpdateParametersSecurityRequirement0, + { s_UpdateSecurityRequirement0, }; - partial void PrepareUpdateParametersArguments( + partial void PrepareUpdateArguments( global::System.Net.Http.HttpClient httpClient, - ref global::System.Guid id, - global::OpenRouter.UpdatePrivateEndpointParametersRequest request); - partial void PrepareUpdateParametersRequest( + ref string slug, + global::OpenRouter.UpdatePrivateProviderRequest request); + partial void PrepareUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::System.Guid id, - global::OpenRouter.UpdatePrivateEndpointParametersRequest request); - partial void ProcessUpdateParametersResponse( + string slug, + global::OpenRouter.UpdatePrivateProviderRequest request); + partial void ProcessUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessUpdateParametersResponseContent( + partial void ProcessUpdateResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); /// - /// Set private endpoint supported parameters
- /// Declare which request parameters the upstream supports beyond the ones validation proved. Applies to drafts and active endpoints; routing picks the change up for subsequent requests. The body replaces the earlier declaration and is read as a set: order and repeated names do not matter, but the list holds at most as many entries as there are declarable parameters, repeats included. `tested_parameters` stay. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools` being tested or declared. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update a private provider
+ /// Update a private provider’s details or declared data policy. The name and slug cannot change. Refuses (409) a data-policy change while OpenRouter pins the declared policy on one of its endpoints. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
- /// - /// Stable identifier of the private endpoint.
- /// Example: 5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11 + /// + /// Example: acme /// /// /// 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 UpdateParametersAsync( - global::System.Guid id, + public async global::System.Threading.Tasks.Task UpdateAsync( + string slug, - global::OpenRouter.UpdatePrivateEndpointParametersRequest request, + global::OpenRouter.UpdatePrivateProviderRequest request, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await UpdateParametersAsResponseAsync( - id: id, + var __response = await UpdateAsResponseAsync( + slug: slug, request: request, requestOptions: requestOptions, @@ -73,21 +72,20 @@ partial void ProcessUpdateParametersResponseContent( return __response.Body; } /// - /// Set private endpoint supported parameters
- /// Declare which request parameters the upstream supports beyond the ones validation proved. Applies to drafts and active endpoints; routing picks the change up for subsequent requests. The body replaces the earlier declaration and is read as a set: order and repeated names do not matter, but the list holds at most as many entries as there are declarable parameters, repeats included. `tested_parameters` stay. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools` being tested or declared. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update a private provider
+ /// Update a private provider’s details or declared data policy. The name and slug cannot change. Refuses (409) a data-policy change while OpenRouter pins the declared policy on one of its endpoints. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
- /// - /// Stable identifier of the private endpoint.
- /// Example: 5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11 + /// + /// Example: acme /// /// /// 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> UpdateParametersAsResponseAsync( - global::System.Guid id, + public async global::System.Threading.Tasks.Task> UpdateAsResponseAsync( + string slug, - global::OpenRouter.UpdatePrivateEndpointParametersRequest request, + global::OpenRouter.UpdatePrivateProviderRequest request, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -95,16 +93,16 @@ partial void ProcessUpdateParametersResponseContent( PrepareArguments( client: HttpClient); - PrepareUpdateParametersArguments( + PrepareUpdateArguments( httpClient: HttpClient, - id: ref id, + slug: ref slug, request: request); var __authorizations = global::OpenRouter.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_UpdateParametersSecurityRequirements, - operationName: "UpdateParametersAsync"); + securityRequirements: s_UpdateSecurityRequirements, + operationName: "UpdateAsync"); using var __timeoutCancellationTokenSource = global::OpenRouter.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -124,7 +122,7 @@ partial void ProcessUpdateParametersResponseContent( { var __pathBuilder = new global::OpenRouter.PathBuilder( - path: $"/private-endpoints/{id}/parameters", + path: $"/private-providers/{slug}", baseUri: HttpClient.BaseAddress ?? new global::System.Uri("https://openrouter.ai/api/v1", global::System.UriKind.RelativeOrAbsolute)); var __path = __pathBuilder.ToString(); __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -132,7 +130,7 @@ partial void ProcessUpdateParametersResponseContent( clientParameters: Options.QueryParameters, requestParameters: requestOptions?.QueryParameters); var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Put, + method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); #if NET6_0_OR_GREATER __httpRequest.Version = global::System.Net.HttpVersion.Version11; @@ -169,10 +167,10 @@ partial void ProcessUpdateParametersResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareUpdateParametersRequest( + PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id, + slug: slug, request: request); return __httpRequest; @@ -190,10 +188,10 @@ partial void ProcessUpdateParametersResponseContent( await global::OpenRouter.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdateParameters", - methodName: "UpdateParametersAsync", - pathTemplate: "$\"/private-endpoints/{id}/parameters\"", - httpMethod: "PUT", + operationId: "Update", + methodName: "UpdateAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, @@ -224,10 +222,10 @@ partial void ProcessUpdateParametersResponseContent( await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdateParameters", - methodName: "UpdateParametersAsync", - pathTemplate: "$\"/private-endpoints/{id}/parameters\"", - httpMethod: "PUT", + operationId: "Update", + methodName: "UpdateAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, @@ -265,10 +263,10 @@ partial void ProcessUpdateParametersResponseContent( await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdateParameters", - methodName: "UpdateParametersAsync", - pathTemplate: "$\"/private-endpoints/{id}/parameters\"", - httpMethod: "PUT", + operationId: "Update", + methodName: "UpdateAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, @@ -305,7 +303,7 @@ partial void ProcessUpdateParametersResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessUpdateParametersResponse( + ProcessUpdateResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -313,10 +311,10 @@ partial void ProcessUpdateParametersResponseContent( await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdateParameters", - methodName: "UpdateParametersAsync", - pathTemplate: "$\"/private-endpoints/{id}/parameters\"", - httpMethod: "PUT", + operationId: "Update", + methodName: "UpdateAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, @@ -335,10 +333,10 @@ partial void ProcessUpdateParametersResponseContent( await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "UpdateParameters", - methodName: "UpdateParametersAsync", - pathTemplate: "$\"/private-endpoints/{id}/parameters\"", - httpMethod: "PUT", + operationId: "Update", + methodName: "UpdateAsync", + pathTemplate: "$\"/private-providers/{slug}\"", + httpMethod: "PATCH", baseUri: BaseUri, request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, @@ -611,6 +609,43 @@ partial void ProcessUpdateParametersResponseContent( h => h.Key, h => h.Value)); } + // Too Many Requests - Rate limit exceeded + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::OpenRouter.TooManyRequestsResponse? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::OpenRouter.TooManyRequestsResponse.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::OpenRouter.TooManyRequestsResponse.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } // Internal Server Error - Unexpected server error if ((int)__response.StatusCode == 500) { @@ -698,7 +733,7 @@ partial void ProcessUpdateParametersResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessUpdateParametersResponseContent( + ProcessUpdateResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); @@ -707,9 +742,9 @@ partial void ProcessUpdateParametersResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::OpenRouter.PrivateEndpointResponse.FromJson(__content, JsonSerializerContext) ?? + var __value = global::OpenRouter.UpdatePrivateProviderResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::OpenRouter.AutoSDKHttpResponse( + return new global::OpenRouter.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -739,9 +774,9 @@ partial void ProcessUpdateParametersResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::OpenRouter.PrivateEndpointResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::OpenRouter.UpdatePrivateProviderResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::OpenRouter.AutoSDKHttpResponse( + return new global::OpenRouter.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -782,33 +817,40 @@ partial void ProcessUpdateParametersResponseContent( } } /// - /// Set private endpoint supported parameters
- /// Declare which request parameters the upstream supports beyond the ones validation proved. Applies to drafts and active endpoints; routing picks the change up for subsequent requests. The body replaces the earlier declaration and is read as a set: order and repeated names do not matter, but the list holds at most as many entries as there are declarable parameters, repeats included. `tested_parameters` stay. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools` being tested or declared. [Management key](/docs/guides/overview/auth/management-api-keys) required. + /// Update a private provider
+ /// Update a private provider’s details or declared data policy. The name and slug cannot change. Refuses (409) a data-policy change while OpenRouter pins the declared policy on one of its endpoints. [Management key](/docs/guides/overview/auth/management-api-keys) required. ///
- /// - /// Stable identifier of the private endpoint.
- /// Example: 5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11 + /// + /// Example: acme + /// + /// + /// HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.
+ /// Example: https://inference.example.com/v1 /// - /// - /// Parameters the upstream supports beyond the tested ones. Replaces the earlier declaration; tested parameters stay. Order and repeated names are ignored, but the list holds at most as many entries as there are declarable parameters, repeats included. `tool_choice` requires `tools` to be tested or declared.
- /// Example: [temperature, seed] + /// + /// + /// Example: Acme /// /// 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 UpdateParametersAsync( - global::System.Guid id, - global::System.Collections.Generic.IList declaredParameters, + public async global::System.Threading.Tasks.Task UpdateAsync( + string slug, + string? baseUrl = default, + global::OpenRouter.UpdatePrivateProviderRequestDataPolicy? dataPolicy = default, + string? displayName = default, global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::OpenRouter.UpdatePrivateEndpointParametersRequest + var __request = new global::OpenRouter.UpdatePrivateProviderRequest { - DeclaredParameters = declaredParameters, + BaseUrl = baseUrl, + DataPolicy = dataPolicy, + DisplayName = displayName, }; - return await UpdateParametersAsync( - id: id, + return await UpdateAsync( + slug: slug, request: __request, requestOptions: requestOptions, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.g.cs new file mode 100644 index 000000000..db31c7c55 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.PrivateProvidersClient.g.cs @@ -0,0 +1,156 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Private Providers endpoints
+ /// 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 PrivateProvidersClient : global::OpenRouter.IPrivateProvidersClient, global::System.IDisposable + { + /// + /// Production server + /// + public const string DefaultBaseUrl = "https://openrouter.ai/api/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::OpenRouter.AutoSDKClientOptions Options { get; } + + + /// + public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); + + + internal global::OpenRouter.AutoSDKServerConfiguration AutoSDKServerConfiguration { get; set; } = new global::OpenRouter.AutoSDKServerConfiguration(); + + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider?.Value ?? global::OpenRouter.PrivateProvidersSourceGenerationContext.Default; + set => JsonSerializerContextProvider = new(() => value); + } + + + /// + /// Creates a new instance of the PrivateProvidersClient. + /// 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 PrivateProvidersClient( + 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 PrivateProvidersClient 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 PrivateProvidersClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::OpenRouter.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the PrivateProvidersClient. + /// 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 PrivateProvidersClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::OpenRouter.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + if (baseUri is not null) + { + HttpClient.BaseAddress ??= baseUri; + } + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + AutoSDKServerConfiguration.ExplicitBaseUri = baseUri ?? httpClient?.BaseAddress; + + 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/OpenRouter/Generated/OpenRouter.VaultClient.ListInternConnections.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.VaultClient.ListInternConnections.g.cs index e86984261..1ea4f73b0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.VaultClient.ListInternConnections.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.VaultClient.ListInternConnections.g.cs @@ -43,7 +43,7 @@ partial void ProcessListInternConnectionsResponseContent( /// /// List the connections an intern can use
- /// Lists the connections in scope for the intern, by the key of their card on the dashboard's Connections tab: `github`, `slack`, `google`, a catalog MCP server such as `linear` or `notion`, or `mcp:<host>` for a custom MCP server. A connection is listed when it is stored, enabled, and not turned off or hidden for this intern, as the Connections tab lists it; whether its last test passed is not part of the rule. `ori features add` checks a feature's `ori.requires.connections` against this list. Keys only, never credentials. Returns 404 for an intern the key cannot see. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern's own API key is confined to that intern: it can always read the intern's secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required. + /// Lists the connections in scope for the intern, by the key of their card on the dashboard's Connections tab: `github`, `slack`, `google`, a catalog MCP server such as `linear` or `notion`, or `mcp:<host>` for a custom MCP server. A connection is listed when it is stored, enabled, and not turned off or hidden for this intern, as the Connections tab lists it; whether its last test passed is not part of the rule. `ori features add` checks a feature's `ori.requires.connections` against this list. `routing` is the vault's routing table for the intern: the credentials it holds and what it would inject each for, from the same lookups the egress proxy picks a credential with, GitHub repository coverage read through the installation token and cached. `routing_text` is that table as the lines the intern reads in its instructions. Never credentials. Returns 404 for an intern the key cannot see. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern's own API key is confined to that intern: it can always read the intern's secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required. ///
/// /// UUID of an intern in the workspace selected by the API key.
@@ -67,7 +67,7 @@ partial void ProcessListInternConnectionsResponseContent( } /// /// List the connections an intern can use
- /// Lists the connections in scope for the intern, by the key of their card on the dashboard's Connections tab: `github`, `slack`, `google`, a catalog MCP server such as `linear` or `notion`, or `mcp:<host>` for a custom MCP server. A connection is listed when it is stored, enabled, and not turned off or hidden for this intern, as the Connections tab lists it; whether its last test passed is not part of the rule. `ori features add` checks a feature's `ori.requires.connections` against this list. Keys only, never credentials. Returns 404 for an intern the key cannot see. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern's own API key is confined to that intern: it can always read the intern's secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required. + /// Lists the connections in scope for the intern, by the key of their card on the dashboard's Connections tab: `github`, `slack`, `google`, a catalog MCP server such as `linear` or `notion`, or `mcp:<host>` for a custom MCP server. A connection is listed when it is stored, enabled, and not turned off or hidden for this intern, as the Connections tab lists it; whether its last test passed is not part of the rule. `ori features add` checks a feature's `ori.requires.connections` against this list. `routing` is the vault's routing table for the intern: the credentials it holds and what it would inject each for, from the same lookups the egress proxy picks a credential with, GitHub repository coverage read through the installation token and cached. `routing_text` is that table as the lines the intern reads in its instructions. Never credentials. Returns 404 for an intern the key cannot see. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern's own API key is confined to that intern: it can always read the intern's secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required. ///
/// /// UUID of an intern in the workspace selected by the API key.
diff --git a/src/libs/OpenRouter/Generated/autosdk.generated-examples.json b/src/libs/OpenRouter/Generated/autosdk.generated-examples.json index 21eceb892..5176f77ba 100644 --- a/src/libs/OpenRouter/Generated/autosdk.generated-examples.json +++ b/src/libs/OpenRouter/Generated/autosdk.generated-examples.json @@ -961,9 +961,9 @@ "Order": 88, "Title": "Create a private endpoint", "Slug": "createprivateendpoint", - "Description": "Create a private endpoint as a draft. Drafts are not routable: validate one with \u0060POST /private-endpoints/{id}/validate\u0060, then activate it with \u0060POST /private-endpoints/{id}/activate\u0060. Pass \u0060activate\u0060 to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an \u0060Idempotency-Key\u0060 header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 \u0060idempotency_key_reused\u0060. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Create a private endpoint as a draft. Drafts are not routable: validate one with \u0060POST /private-endpoints/{id}/validate\u0060, then activate it with \u0060POST /private-endpoints/{id}/activate\u0060. Pass \u0060activate\u0060 to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an \u0060Idempotency-Key\u0060 header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 \u0060idempotency_key_reused\u0060. Returns 400 \u0060parameters_invalid\u0060 when \u0060tool_choice\u0060 is declared without \u0060tools\u0060. The response does not echo \u0060declared_parameters\u0060 or \u0060tested_parameters\u0060; read them with \u0060GET /private-endpoints/{id}\u0060. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", - "Code": "### Create a private endpoint\n# @name createPrivateEndpoint\nPOST {{host}}/private-endpoints\nAuthorization: Bearer {{token}}\nidempotency-key: {{idempotency-key}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022activate\u0022: {\n \u0022workspace_id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022\n },\n \u0022base_url\u0022: \u0022https://contoso.openai.azure.com\u0022,\n \u0022declared_parameters\u0022: [\n \u0022temperature\u0022,\n \u0022seed\u0022\n ],\n \u0022declared_region\u0022: \u0022us\u0022,\n \u0022declared_zdr\u0022: true,\n \u0022max_completion_tokens\u0022: 131072,\n \u0022model_permaslug\u0022: \u0022openai/gpt-4o-2024-08-06\u0022,\n \u0022pricing\u0022: {\n \u0022cache_read\u0022: \u00220.00000025\u0022,\n \u0022cache_write\u0022: \u00220.000003125\u0022,\n \u0022completion\u0022: \u00220.00001\u0022,\n \u0022prompt\u0022: \u00220.0000025\u0022\n },\n \u0022provider_slug\u0022: \u0022azure\u0022,\n \u0022upstream_model_id\u0022: \u0022gpt-4o-prod\u0022\n}\n\n## Responses\n# 201\n# Description: The created endpoint: a draft, or active when \u0060activate\u0060 was passed\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: The model, provider, or validation workspace was not found. When \u0060activate\u0060 was passed and the draft was created, \u0060data\u0060 carries it and any validation checks.\n# Content-Type: application/json\n# 408\n# Description: Request Timeout - Operation exceeded time limit\n# Content-Type: application/json\n# 409\n# Description: The request conflicts with the endpoint state, such as a stale validation. When \u0060activate\u0060 was passed and the draft was created, \u0060data\u0060 carries it and any validation checks.\n# Content-Type: application/json\n# 422\n# Description: The request was invalid, or validation failed. When \u0060activate\u0060 was passed and the draft was created, \u0060data\u0060 carries it and any validation checks.\n# Content-Type: application/json\n# 500\n# Description: Internal server error. When \u0060activate\u0060 was passed and the draft was created, \u0060data\u0060 carries it and any validation checks.\n# Content-Type: application/json\n# 502\n# Description: An upstream dependency failed. When \u0060activate\u0060 was passed and the draft was created, \u0060data\u0060 carries it and any validation checks.\n# Content-Type: application/json", + "Code": "### Create a private endpoint\n# @name createPrivateEndpoint\nPOST {{host}}/private-endpoints\nAuthorization: Bearer {{token}}\nidempotency-key: {{idempotency-key}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022activate\u0022: {\n \u0022workspace_id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022\n },\n \u0022base_url\u0022: \u0022https://contoso.openai.azure.com\u0022,\n \u0022declared_parameters\u0022: [\n \u0022temperature\u0022,\n \u0022seed\u0022\n ],\n \u0022declared_region\u0022: \u0022us\u0022,\n \u0022declared_zdr\u0022: true,\n \u0022max_completion_tokens\u0022: 131072,\n \u0022model_permaslug\u0022: \u0022openai/gpt-4o-2024-08-06\u0022,\n \u0022pricing\u0022: {\n \u0022cache_read\u0022: \u00220.00000025\u0022,\n \u0022cache_write\u0022: \u00220.000003125\u0022,\n \u0022completion\u0022: \u00220.00001\u0022,\n \u0022prompt\u0022: \u00220.0000025\u0022\n },\n \u0022provider_slug\u0022: \u0022azure\u0022,\n \u0022settings\u0022: {\n \u0022context_length\u0022: 128000,\n \u0022reasoning\u0022: {\n \u0022supported\u0022: true\n }\n },\n \u0022upstream_model_id\u0022: \u0022gpt-4o-prod\u0022\n}\n\n## Responses\n# 201\n# Description: The created endpoint: a draft, or active when \u0060activate\u0060 was passed\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: The model, provider, or validation workspace was not found. When \u0060activate\u0060 was passed and the draft was created, \u0060data\u0060 carries it and any validation checks.\n# Content-Type: application/json\n# 408\n# Description: Request Timeout - Operation exceeded time limit\n# Content-Type: application/json\n# 409\n# Description: The request conflicts with the endpoint state, such as a stale validation. When \u0060activate\u0060 was passed and the draft was created, \u0060data\u0060 carries it and any validation checks.\n# Content-Type: application/json\n# 422\n# Description: The request was invalid, or validation failed. When \u0060activate\u0060 was passed and the draft was created, \u0060data\u0060 carries it and any validation checks.\n# Content-Type: application/json\n# 500\n# Description: Internal server error. When \u0060activate\u0060 was passed and the draft was created, \u0060data\u0060 carries it and any validation checks.\n# Content-Type: application/json\n# 502\n# Description: An upstream dependency failed. When \u0060activate\u0060 was passed and the draft was created, \u0060data\u0060 carries it and any validation checks.\n# Content-Type: application/json", "Format": "http", "OperationId": "createPrivateEndpoint", "Setup": null @@ -1025,50 +1025,83 @@ }, { "Order": 94, - "Title": "Update a draft private endpoint", + "Title": "Update a private endpoint", "Slug": "updateprivateendpoint", - "Description": "Replace a draft endpoint\u0027s upstream configuration: send \u0060upstream_model_id\u0060, and \u0060base_url\u0060 to change it (an omitted \u0060base_url\u0060 keeps the stored one). Omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes. Any change clears earlier validation. Active endpoints return 409; delete and re-create them instead. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Description": "Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. \u0060pricing\u0060 and \u0060declared_parameters\u0060 replace their stored value, \u0060settings\u0060 changes only the fields it names (\u0060null\u0060 clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. \u0060upstream_model_id\u0060, \u0060base_url\u0060, \u0060declared_zdr\u0060 and \u0060declared_region\u0060 re-point a draft: an omitted \u0060upstream_model_id\u0060 or \u0060base_url\u0060 keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any upstream change clears earlier validation. Naming an upstream field on an active endpoint returns 409 \u0060already_active\u0060 and writes nothing; delete and re-create instead. Every group is checked before anything is written: 400 \u0060parameters_invalid\u0060 when \u0060tool_choice\u0060 is declared without \u0060tools\u0060 tested or declared, 400 \u0060settings_invalid\u0060 when \u0060max_prompt_tokens\u0060 exceeds the context length, both completion APIs are off, or \u0060excluded_parameters\u0060 names a tested parameter, 422 \u0060pricing_invalid\u0060 for rates the provider strategy cannot represent. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", - "Code": "### Update a draft private endpoint\n# @name updatePrivateEndpoint\nPATCH {{host}}/private-endpoints/{{id}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022base_url\u0022: \u0022https://contoso.openai.azure.com\u0022,\n \u0022declared_region\u0022: \u0022us\u0022,\n \u0022declared_zdr\u0022: true,\n \u0022upstream_model_id\u0022: \u0022gpt-4o-prod\u0022\n}\n\n## Responses\n# 200\n# Description: The updated endpoint\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 408\n# Description: Request Timeout - Operation exceeded time limit\n# Content-Type: application/json\n# 409\n# Description: Conflict - Resource conflict or concurrent modification\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Entity - Semantic validation failure\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json\n# 502\n# Description: Bad Gateway - Provider/upstream API failure\n# Content-Type: application/json", + "Code": "### Update a private endpoint\n# @name updatePrivateEndpoint\nPATCH {{host}}/private-endpoints/{{id}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022declared_parameters\u0022: [\n \u0022seed\u0022\n ],\n \u0022settings\u0022: {\n \u0022context_length\u0022: 128000\n }\n}\n\n## Responses\n# 200\n# Description: The updated endpoint\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 408\n# Description: Request Timeout - Operation exceeded time limit\n# Content-Type: application/json\n# 409\n# Description: Conflict - Resource conflict or concurrent modification\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Entity - Semantic validation failure\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json\n# 502\n# Description: Bad Gateway - Provider/upstream API failure\n# Content-Type: application/json", "Format": "http", "OperationId": "updatePrivateEndpoint", "Setup": null }, { "Order": 95, - "Title": "Set private endpoint supported parameters", - "Slug": "updateprivateendpointparameters", - "Description": "Declare which request parameters the upstream supports beyond the ones validation proved. Applies to drafts and active endpoints; routing picks the change up for subsequent requests. The body replaces the earlier declaration and is read as a set: order and repeated names do not matter, but the list holds at most as many entries as there are declarable parameters, repeats included. \u0060tested_parameters\u0060 stay. Returns 400 \u0060parameters_invalid\u0060 when \u0060tool_choice\u0060 is declared without \u0060tools\u0060 being tested or declared. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Title": "Validate a draft private endpoint", + "Slug": "validateprivateendpoint", + "Description": "Send a live test request to the draft endpoint using the given workspace\u0027s BYOK credential for its provider. A passing validation is required before activation. Failed checks return 200 with \u0060passed: false\u0060. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", - "Code": "### Set private endpoint supported parameters\n# @name updatePrivateEndpointParameters\nPUT {{host}}/private-endpoints/{{id}}/parameters\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022declared_parameters\u0022: [\n \u0022temperature\u0022,\n \u0022seed\u0022\n ]\n}\n\n## Responses\n# 200\n# Description: The endpoint with its new declared parameters\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 408\n# Description: Request Timeout - Operation exceeded time limit\n# Content-Type: application/json\n# 409\n# Description: Conflict - Resource conflict or concurrent modification\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Entity - Semantic validation failure\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json\n# 502\n# Description: Bad Gateway - Provider/upstream API failure\n# Content-Type: application/json", + "Code": "### Validate a draft private endpoint\n# @name validatePrivateEndpoint\nPOST {{host}}/private-endpoints/{{id}}/validate\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022workspace_id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022\n}\n\n## Responses\n# 200\n# Description: Validation checks\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 408\n# Description: Request Timeout - Operation exceeded time limit\n# Content-Type: application/json\n# 409\n# Description: Conflict - Resource conflict or concurrent modification\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Entity - Semantic validation failure\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json\n# 502\n# Description: Bad Gateway - Provider/upstream API failure\n# Content-Type: application/json", "Format": "http", - "OperationId": "updatePrivateEndpointParameters", + "OperationId": "validatePrivateEndpoint", "Setup": null }, { "Order": 96, - "Title": "Set private endpoint pricing", - "Slug": "updateprivateendpointpricing", - "Description": "Set the negotiated per-token rates reported for requests routed to this endpoint. Applies to drafts and active endpoints; new rates take effect for subsequent requests. The body replaces the whole pricing object: omitting \u0060cache_read\u0060 or \u0060cache_write\u0060 reverts that rate to the provider pricing strategy\u0027s default, even if it was set before. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Title": "Create a private provider", + "Slug": "createprivateprovider", + "Description": "Create a private, bring-your-own-key provider visible only to your organization. Use its slug as \u0060provider_slug\u0060 when creating private endpoints. Requires both the private endpoints and the private providers entitlements. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", - "Code": "### Set private endpoint pricing\n# @name updatePrivateEndpointPricing\nPUT {{host}}/private-endpoints/{{id}}/pricing\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022pricing\u0022: {\n \u0022cache_read\u0022: \u00220.00000025\u0022,\n \u0022cache_write\u0022: \u00220.000003125\u0022,\n \u0022completion\u0022: \u00220.00001\u0022,\n \u0022prompt\u0022: \u00220.0000025\u0022\n }\n}\n\n## Responses\n# 200\n# Description: The endpoint with its new pricing\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 408\n# Description: Request Timeout - Operation exceeded time limit\n# Content-Type: application/json\n# 409\n# Description: Conflict - Resource conflict or concurrent modification\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Entity - Semantic validation failure\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json\n# 502\n# Description: Bad Gateway - Provider/upstream API failure\n# Content-Type: application/json", + "Code": "### Create a private provider\n# @name createPrivateProvider\nPOST {{host}}/private-providers\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022base_url\u0022: \u0022https://inference.example.com/v1\u0022,\n \u0022data_policy\u0022: {\n \u0022prompt_retention_days\u0022: null,\n \u0022retains_prompts\u0022: false,\n \u0022training\u0022: false\n },\n \u0022display_name\u0022: \u0022Acme\u0022,\n \u0022name\u0022: \u0022Acme\u0022,\n \u0022slug\u0022: \u0022acme\u0022\n}\n\n## Responses\n# 201\n# Description: The provider was created\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 408\n# Description: Request Timeout - Operation exceeded time limit\n# Content-Type: application/json\n# 409\n# Description: Conflict - Resource conflict or concurrent modification\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Entity - Semantic validation failure\n# Content-Type: application/json\n# 429\n# Description: Too Many Requests - Rate limit exceeded\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json\n# 502\n# Description: Bad Gateway - Provider/upstream API failure\n# Content-Type: application/json", "Format": "http", - "OperationId": "updatePrivateEndpointPricing", + "OperationId": "createPrivateProvider", "Setup": null }, { "Order": 97, - "Title": "Validate a draft private endpoint", - "Slug": "validateprivateendpoint", - "Description": "Send a live test request to the draft endpoint using the given workspace\u0027s BYOK credential for its provider. A passing validation is required before activation. Failed checks return 200 with \u0060passed: false\u0060. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Title": "Delete a private provider", + "Slug": "deleteprivateprovider", + "Description": "Delete a private provider. Refuses (409) while any private endpoint still runs under it. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "Language": "http", - "Code": "### Validate a draft private endpoint\n# @name validatePrivateEndpoint\nPOST {{host}}/private-endpoints/{{id}}/validate\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022workspace_id\u0022: \u0022550e8400-e29b-41d4-a716-446655440000\u0022\n}\n\n## Responses\n# 200\n# Description: Validation checks\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 408\n# Description: Request Timeout - Operation exceeded time limit\n# Content-Type: application/json\n# 409\n# Description: Conflict - Resource conflict or concurrent modification\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Entity - Semantic validation failure\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json\n# 502\n# Description: Bad Gateway - Provider/upstream API failure\n# Content-Type: application/json", + "Code": "### Delete a private provider\n# @name deletePrivateProvider\nDELETE {{host}}/private-providers/{{slug}}\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: The provider was deleted\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 408\n# Description: Request Timeout - Operation exceeded time limit\n# Content-Type: application/json\n# 409\n# Description: Conflict - Resource conflict or concurrent modification\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Entity - Semantic validation failure\n# Content-Type: application/json\n# 429\n# Description: Too Many Requests - Rate limit exceeded\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json\n# 502\n# Description: Bad Gateway - Provider/upstream API failure\n# Content-Type: application/json", "Format": "http", - "OperationId": "validatePrivateEndpoint", + "OperationId": "deletePrivateProvider", "Setup": null }, { "Order": 98, + "Title": "Get a private provider", + "Slug": "getprivateprovider", + "Description": "Get one of the organization\u2019s private providers by slug. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Language": "http", + "Code": "### Get a private provider\n# @name getPrivateProvider\nGET {{host}}/private-providers/{{slug}}\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: The private provider\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", + "Format": "http", + "OperationId": "getPrivateProvider", + "Setup": null + }, + { + "Order": 99, + "Title": "List private providers", + "Slug": "listprivateproviders", + "Description": "List the organization\u0027s private providers. Requires the private endpoints entitlement. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Language": "csharp", + "Code": "using var client = new OpenRouterClient(apiKey);\nvar response = await client.ApiKeys.ListAsync();", + "Format": "sdk", + "OperationId": "listPrivateProviders", + "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." + }, + { + "Order": 100, + "Title": "Update a private provider", + "Slug": "updateprivateprovider", + "Description": "Update a private provider\u2019s details or declared data policy. The name and slug cannot change. Refuses (409) a data-policy change while OpenRouter pins the declared policy on one of its endpoints. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "Language": "http", + "Code": "### Update a private provider\n# @name updatePrivateProvider\nPATCH {{host}}/private-providers/{{slug}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022base_url\u0022: \u0022https://inference.example.com/v1\u0022,\n \u0022data_policy\u0022: {\n \u0022prompt_retention_days\u0022: 0,\n \u0022retains_prompts\u0022: true,\n \u0022training\u0022: true\n },\n \u0022display_name\u0022: \u0022Acme\u0022\n}\n\n## Responses\n# 200\n# Description: The updated provider\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 403\n# Description: Forbidden - Authentication successful but insufficient permissions\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 408\n# Description: Request Timeout - Operation exceeded time limit\n# Content-Type: application/json\n# 409\n# Description: Conflict - Resource conflict or concurrent modification\n# Content-Type: application/json\n# 422\n# Description: Unprocessable Entity - Semantic validation failure\n# Content-Type: application/json\n# 429\n# Description: Too Many Requests - Rate limit exceeded\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json\n# 502\n# Description: Bad Gateway - Provider/upstream API failure\n# Content-Type: application/json", + "Format": "http", + "OperationId": "updatePrivateProvider", + "Setup": null + }, + { + "Order": 101, "Title": "List all providers", "Slug": "listproviders", "Description": "Generated from OpenAPI examples.", @@ -1079,7 +1112,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 99, + "Order": 102, "Title": "Submit a rerank request", "Slug": "creatererank", "Description": "Submits a rerank request to the rerank router", @@ -1090,7 +1123,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 100, + "Order": 103, "Title": "Create a response", "Slug": "createresponses", "Description": "Creates a streaming or non-streaming response using OpenResponses API format", @@ -1101,7 +1134,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 101, + "Order": 104, "Title": "Create a SCIM group mapping", "Slug": "createscimgroupmapping", "Description": "Create a SCIM group-to-workspace role mapping. Creating a mapping that already exists with the same role succeeds and re-applies the mapping to the group members. Requesting a different role for an existing mapping returns 409. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1112,7 +1145,7 @@ "Setup": null }, { - "Order": 102, + "Order": 105, "Title": "Start a SCIM directory sync", "Slug": "createscimsyncjob", "Description": "Start a SCIM directory sync. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1123,7 +1156,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 103, + "Order": 106, "Title": "Delete a SCIM group mapping", "Slug": "deletescimgroupmapping", "Description": "Delete a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1134,7 +1167,7 @@ "Setup": null }, { - "Order": 104, + "Order": 107, "Title": "Get SCIM directory sync status", "Slug": "getscimsyncjob", "Description": "Get SCIM directory sync status. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1145,7 +1178,7 @@ "Setup": null }, { - "Order": 105, + "Order": 108, "Title": "List SCIM groups", "Slug": "listscimgroups", "Description": "List SCIM groups for the organization. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1156,7 +1189,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 106, + "Order": 109, "Title": "List SCIM group mappings", "Slug": "listscimgroupmappings", "Description": "List SCIM group-to-workspace mappings for the organization. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1167,7 +1200,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 107, + "Order": 110, "Title": "Get a SCIM group mapping", "Slug": "getscimgroupmapping", "Description": "Get a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1178,7 +1211,7 @@ "Setup": null }, { - "Order": 108, + "Order": 111, "Title": "Update a SCIM group mapping", "Slug": "updatescimgroupmapping", "Description": "Update a SCIM group mapping role. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1189,7 +1222,7 @@ "Setup": null }, { - "Order": 109, + "Order": 112, "Title": "Create transcription", "Slug": "createaudiotranscriptions", "Description": "Transcribes audio into text. Accepts base64-encoded audio input as JSON, an OpenAI-style multipart/form-data file upload, or a URL the provider downloads directly, and returns the transcribed text.", @@ -1200,7 +1233,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 110, + "Order": 113, "Title": "Submit a System One request", "Slug": "createsystemone", "Description": "Sends state and typed questions to a System One model such as Jev and returns its answers. Compatible with the TypeSafe SDKs. Bare System One model IDs such as \u0060jev-1.13\u0060 and \u0060jev-latest\u0060 are mapped onto the \u0060typesafe/\u0060 namespace.", @@ -1211,7 +1244,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 111, + "Order": 114, "Title": "Get a server tool", "Slug": "gettool", "Description": "One server tool by canonical name or any accepted alias, with the models that run it natively.", @@ -1222,7 +1255,7 @@ "Setup": null }, { - "Order": 112, + "Order": 115, "Title": "List server tools", "Slug": "listtools", "Description": "Lists every server tool OpenRouter can run on behalf of a model: accepted \u0060tools[].type\u0060 spellings per API format, the engines behind it with their pricing, and how many endpoints run it natively.", @@ -1233,7 +1266,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 113, + "Order": 116, "Title": "Create speech", "Slug": "createaudiospeech", "Description": "Synthesizes audio from the input text. Returns a raw audio bytestream in the requested format (e.g. mp3, pcm, wav).", @@ -1244,7 +1277,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 114, + "Order": 117, "Title": "Copy workspace secrets to an intern", "Slug": "copyvaultsecretstointern", "Description": "Copies the named workspace secrets into one intern\u0027s scope, replacing any intern secret with the same name. Each copy keeps the source value and host bindings. Every name must exist in the workspace scope or the request fails with 404 and nothing is copied. A workspace secret whose \u0060hosts\u0060 is \u0060null\u0060 cannot be copied: the request fails with 409 and nothing is copied until that secret is stored again with hosts. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1255,7 +1288,7 @@ "Setup": null }, { - "Order": 115, + "Order": 118, "Title": "Delete an intern secret", "Slug": "deleteinternvaultsecret", "Description": "Deletes a secret stored for one intern. Returns 204 with no body on success and 404 when the secret does not exist in the selected scope. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1266,7 +1299,7 @@ "Setup": null }, { - "Order": 116, + "Order": 119, "Title": "Delete a workspace secret", "Slug": "deletevaultsecret", "Description": "Deletes a secret from the workspace of the authenticated API key. Returns 204 with no body on success and 404 when the secret does not exist in the selected scope. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1277,10 +1310,10 @@ "Setup": null }, { - "Order": 117, + "Order": 120, "Title": "List the connections an intern can use", "Slug": "listinternconnections", - "Description": "Lists the connections in scope for the intern, by the key of their card on the dashboard\u0027s Connections tab: \u0060github\u0060, \u0060slack\u0060, \u0060google\u0060, a catalog MCP server such as \u0060linear\u0060 or \u0060notion\u0060, or \u0060mcp:\u003Chost\u003E\u0060 for a custom MCP server. A connection is listed when it is stored, enabled, and not turned off or hidden for this intern, as the Connections tab lists it; whether its last test passed is not part of the rule. \u0060ori features add\u0060 checks a feature\u0027s \u0060ori.requires.connections\u0060 against this list. Keys only, never credentials. Returns 404 for an intern the key cannot see. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", + "Description": "Lists the connections in scope for the intern, by the key of their card on the dashboard\u0027s Connections tab: \u0060github\u0060, \u0060slack\u0060, \u0060google\u0060, a catalog MCP server such as \u0060linear\u0060 or \u0060notion\u0060, or \u0060mcp:\u003Chost\u003E\u0060 for a custom MCP server. A connection is listed when it is stored, enabled, and not turned off or hidden for this intern, as the Connections tab lists it; whether its last test passed is not part of the rule. \u0060ori features add\u0060 checks a feature\u0027s \u0060ori.requires.connections\u0060 against this list. \u0060routing\u0060 is the vault\u0027s routing table for the intern: the credentials it holds and what it would inject each for, from the same lookups the egress proxy picks a credential with, GitHub repository coverage read through the installation token and cached. \u0060routing_text\u0060 is that table as the lines the intern reads in its instructions. Never credentials. Returns 404 for an intern the key cannot see. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", "Language": "http", "Code": "### List the connections an intern can use\n# @name listInternConnections\nGET {{host}}/vault/interns/{{internId}}/connections\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: The connections the intern can use.\n# Content-Type: application/json\n# 400\n# Description: Bad Request - The secret name, path, query or JSON body failed validation. The vault returns 400 for a malformed request as well.\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Missing or unknown API key. Provisioning keys cannot call vault routes.\n# Content-Type: application/json\n# 403\n# Description: Forbidden - The key has no usable workspace scope, or the request arrived on a regional hostname.\n# Content-Type: application/json\n# 404\n# Description: Not Found - The intern is not in the selected workspace or is not visible to the key (a member key without an admin role sees only interns its member created or interns in workspaces they administer), the secret does not exist in the selected scope, or the caller is outside the intern programme.\n# Content-Type: application/json\n# 408\n# Description: Request Timeout - The route deadline passed before the request completed, or the request body stopped arriving.\n# Content-Type: application/json\n# 429\n# Description: Too Many Requests - The vault rate limit was reached.\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Scope lookup failed.\n# Content-Type: application/json\n# 502\n# Description: Bad Gateway - The vault could not be reached or returned an unexpected response.\n# Content-Type: application/json\n# 503\n# Description: Service Unavailable - Vault writes are disabled for the caller, or the vault is not configured.\n# Content-Type: application/json\n# 504\n# Description: Gateway Timeout - The vault did not answer in time.\n# Content-Type: application/json", "Format": "http", @@ -1288,7 +1321,7 @@ "Setup": null }, { - "Order": 118, + "Order": 121, "Title": "List the secrets an intern receives", "Slug": "listinterneffectivevaultsecrets", "Description": "Lists, one entry per name, the secret the intern\u0027s outbound requests receive: its own secrets, secrets from an attached vault, and workspace secrets, including ones stored before workspace-scoped storage. Where several vaults hold a name, the entry is the one that wins, in the order intern, attached, workspace. The same resolution decides what outbound requests receive, so this list and the intern\u0027s requests agree. \u0060scope\u0060 says which vault the entry comes from. Responses carry metadata only, never values. Results are ordered by name and paginated with \u0060limit\u0060 and \u0060offset\u0060. Returns 404 when the intern\u0027s attached vault is no longer available, since the intern then receives no secrets. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1299,7 +1332,7 @@ "Setup": null }, { - "Order": 119, + "Order": 122, "Title": "List intern secrets", "Slug": "listinternvaultsecrets", "Description": "Lists secret metadata stored for one intern. The list includes secrets stored from the dashboard or at provisioning before workspace-scoped storage; where both exist under one name, the one stored through this API is listed. Those older secrets cannot be deleted or copied through this API, and storing the same name through this API replaces them. Responses contain names, bound hosts, fingerprints and creation times, never secret values. Results are ordered by name and paginated with \u0060limit\u0060 and \u0060offset\u0060. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1310,7 +1343,7 @@ "Setup": null }, { - "Order": 120, + "Order": 123, "Title": "List workspace secrets", "Slug": "listvaultsecrets", "Description": "Lists secret metadata for the workspace of the authenticated API key. The list includes secrets stored from the dashboard or at provisioning before workspace-scoped storage; where both exist under one name, the one stored through this API is listed. Those older secrets cannot be deleted or copied through this API, and storing the same name through this API replaces them. Responses contain names, bound hosts, fingerprints and creation times, never secret values. Results are ordered by name and paginated with \u0060limit\u0060 and \u0060offset\u0060. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1321,7 +1354,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 121, + "Order": 124, "Title": "Store an intern secret", "Slug": "storeinternvaultsecret", "Description": "Creates or replaces a secret stored for one intern. The value is encrypted at rest and released only to the exact hostnames in \u0060hosts\u0060. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1332,7 +1365,7 @@ "Setup": null }, { - "Order": 122, + "Order": 125, "Title": "Store a workspace secret", "Slug": "storevaultsecret", "Description": "Creates or replaces a secret in the workspace of the authenticated API key. The value is encrypted at rest and released only to the exact hostnames in \u0060hosts\u0060. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1343,7 +1376,7 @@ "Setup": null }, { - "Order": 123, + "Order": 126, "Title": "Submit a video generation request", "Slug": "createvideos", "Description": "Submits a video generation request and returns a polling URL to check status", @@ -1354,7 +1387,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 124, + "Order": 127, "Title": "Poll video generation status", "Slug": "getvideos", "Description": "Returns job status and content URLs when completed", @@ -1365,7 +1398,7 @@ "Setup": null }, { - "Order": 125, + "Order": 128, "Title": "Download generated video content", "Slug": "listvideoscontent", "Description": "Streams the generated video content from the upstream provider", @@ -1376,7 +1409,7 @@ "Setup": null }, { - "Order": 126, + "Order": 129, "Title": "List all video generation models", "Slug": "listvideosmodels", "Description": "Returns a list of all available video generation models and their properties", @@ -1387,7 +1420,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 127, + "Order": 130, "Title": "Bulk add members to a workspace", "Slug": "bulkaddworkspacemembers", "Description": "Add multiple organization members to a workspace. Members are assigned the same role they hold in the organization. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1398,7 +1431,7 @@ "Setup": null }, { - "Order": 128, + "Order": 131, "Title": "Bulk remove members from a workspace", "Slug": "bulkremoveworkspacemembers", "Description": "Remove multiple members from a workspace. Members with active API keys in the workspace cannot be removed. SCIM-managed members cannot be removed; changes must be made in your identity provider. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1409,7 +1442,7 @@ "Setup": null }, { - "Order": 129, + "Order": 132, "Title": "Create a workspace", "Slug": "createworkspace", "Description": "Create a new workspace for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1420,7 +1453,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 130, + "Order": 133, "Title": "Delete a workspace", "Slug": "deleteworkspace", "Description": "Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace requires confirm_default_workspace_deletion=true. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1431,7 +1464,7 @@ "Setup": null }, { - "Order": 131, + "Order": 134, "Title": "Delete a workspace budget", "Slug": "deleteworkspacebudget", "Description": "Remove the budget for a given interval. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1442,7 +1475,7 @@ "Setup": null }, { - "Order": 132, + "Order": 135, "Title": "Get a workspace", "Slug": "getworkspace", "Description": "Get a single workspace by ID or slug. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1453,7 +1486,7 @@ "Setup": null }, { - "Order": 133, + "Order": 136, "Title": "Get a workspace budget", "Slug": "getworkspacebudget", "Description": "Retrieve the budget for a given interval. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1464,7 +1497,7 @@ "Setup": null }, { - "Order": 134, + "Order": 137, "Title": "List workspaces", "Slug": "listworkspaces", "Description": "List all workspaces for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1475,7 +1508,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 135, + "Order": 138, "Title": "List workspace budgets", "Slug": "listworkspacebudgets", "Description": "List all budgets configured for a workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1486,7 +1519,7 @@ "Setup": null }, { - "Order": 136, + "Order": 139, "Title": "List workspace members", "Slug": "listworkspacemembers", "Description": "List all members of a workspace. Returns paginated results. For the default workspace, returns all organization members (implicit membership). [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1497,7 +1530,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 137, + "Order": 140, "Title": "Create or update a workspace budget", "Slug": "upsertworkspacebudget", "Description": "Create or update the budget for a given interval. Budget limits must strictly decrease as the interval narrows (lifetime \u003E monthly \u003E weekly \u003E daily). The optional \u0060include_byok_in_budgets\u0060 flag is a workspace-wide setting: when provided it applies to every budget interval for the workspace, not just the interval in this request. Note that a change made here is applied to budget enforcement immediately, but an already-open workspace settings page in the web dashboard may keep showing the previous value until it is reloaded. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1508,7 +1541,7 @@ "Setup": null }, { - "Order": 138, + "Order": 141, "Title": "Update a workspace", "Slug": "updateworkspace", "Description": "Update an existing workspace by ID or slug. [Management key](/docs/guides/overview/auth/management-api-keys) required.", diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index 825f281a0..c5de40e2b 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -10766,25 +10766,23 @@ }, "properties": { "configuration_update": { - "additionalProperties": false, + "anyOf": [ + { + "$ref": "#/components/schemas/ConfigurationUpdate" + }, + { + "type": "null" + }, + { + "type": "null" + } + ], "description": "OpenRouter extension. Same as the system message `configuration_update`: changes reasoning effort from this point in the conversation onward without invalidating the prompt cache for the preceding turns.", "example": { "reasoning": { "effort": "low" } - }, - "properties": { - "reasoning": { - "$ref": "#/components/schemas/ConfigurationUpdateReasoning" - } - }, - "required": [ - "reasoning" - ], - "type": [ - "object", - "null" - ] + } }, "content": { "anyOf": [ @@ -12261,25 +12259,23 @@ }, "properties": { "configuration_update": { - "additionalProperties": false, + "anyOf": [ + { + "$ref": "#/components/schemas/ConfigurationUpdate" + }, + { + "type": "null" + }, + { + "type": "null" + } + ], "description": "OpenRouter extension. Changes reasoning effort from this point in the conversation onward without invalidating the prompt cache for the preceding turns. Place it on a content-less system message (`content: \"\"`) directly before the user message it should apply to, and keep it at that position in later requests. Equivalent to the OpenAI Responses `configuration_update` input item and the Anthropic Messages per-message `output_config.effort`.", "example": { "reasoning": { "effort": "low" } - }, - "properties": { - "reasoning": { - "$ref": "#/components/schemas/ConfigurationUpdateReasoning" - } - }, - "required": [ - "reasoning" - ], - "type": [ - "object", - "null" - ] + } }, "content": { "anyOf": [ @@ -13308,6 +13304,24 @@ ], "type": "object" }, + "ConfigurationUpdate": { + "additionalProperties": false, + "description": "Mid-conversation configuration update. Changes reasoning effort from this point onward without invalidating the prompt cache for the preceding turns.", + "example": { + "reasoning": { + "effort": "low" + } + }, + "properties": { + "reasoning": { + "$ref": "#/components/schemas/ConfigurationUpdateReasoning" + } + }, + "required": [ + "reasoning" + ], + "type": "object" + }, "ConfigurationUpdateItem": { "description": "Changes reasoning effort from this point in the conversation onward without invalidating the prompt cache for the preceding items. Place it before the user message it should apply to; it stays in effect until another configuration update. Two adjacent configuration updates are rejected. Only supported by models that accept mid-conversation effort changes.", "example": { @@ -14521,6 +14535,14 @@ "null" ] }, + "enforce_first_party_harness_models": { + "description": "Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.", + "example": false, + "type": [ + "boolean", + "null" + ] + }, "enforce_zdr": { "deprecated": true, "description": "Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.", @@ -14978,6 +15000,9 @@ "minLength": 1, "type": "string" }, + "settings": { + "$ref": "#/components/schemas/UpdatePrivateEndpointSettingsRequest" + }, "upstream_model_id": { "description": "Model or deployment identifier sent to the upstream provider.", "example": "gpt-4o-prod", @@ -15031,6 +15056,37 @@ ], "type": "object" }, + "CreatePrivateProviderRequest": { + "properties": { + "base_url": { + "description": "HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.", + "example": "https://inference.example.com/v1", + "type": "string" + }, + "data_policy": { + "$ref": "#/components/schemas/PrivateProviderDataPolicy" + }, + "display_name": { + "description": "Defaults to `name`.", + "example": "Acme", + "type": "string" + }, + "name": { + "description": "Provider name, shown in your activity, logs and Broadcast output. 2-64 letters, numbers, spaces, dots, underscores or hyphens. Cannot be changed later. Neither the name nor its slug may match a public provider name or slug (case-insensitive); other customers may use the same name.", + "example": "Acme", + "type": "string" + }, + "slug": { + "description": "2-64 lowercase letters and numbers, separated by single hyphens. Cannot be changed later. Defaults to the name lowercased, with every run of other characters replaced by a hyphen (`Acme Inference` becomes `acme-inference`).", + "example": "acme", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, "CreateScimGroupMappingRequest": { "properties": { "role": { @@ -19865,6 +19921,14 @@ "null" ] }, + "enforce_first_party_harness_models": { + "description": "Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.", + "example": false, + "type": [ + "boolean", + "null" + ] + }, "enforce_zdr": { "deprecated": true, "description": "Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.", @@ -32984,7 +33048,7 @@ "type": "string" }, "is_filtered_model_catalog_enabled": { - "description": "When true, `GET /api/v1/models` called with one of the organization's API keys returns only the models that key can use (the `/api/v1/models/user` catalog), and the signed-in dashboard shows the same list. Anonymous requests always receive the public catalog.", + "description": "When true, the signed-in dashboard lists only the models the organization can use. `GET /api/v1/models` called with an API key always returns only the models that key can use, whatever this setting says; anonymous requests receive the public catalog.", "example": true, "type": "boolean" } @@ -36674,6 +36738,36 @@ }, "provider_name": "Azure", "provider_slug": "azure", + "settings": { + "completions": { + "chat": true, + "text": false + }, + "context_length": 128000, + "excluded_parameters": [ + "logit_bias" + ], + "inputs": { + "audio": false, + "base64_files": null, + "base64_images": true, + "file_urls": null, + "image_urls": true + }, + "max_completion_tokens": 16384, + "max_prompt_tokens": null, + "quantization": "bf16", + "reasoning": { + "return_mechanism": "reasoning", + "supported": true + }, + "tool_choice": { + "auto": true, + "function": false, + "none": true, + "required": true + } + }, "status": "active", "tested_parameters": [ "tools", @@ -36764,6 +36858,9 @@ "null" ] }, + "settings": { + "$ref": "#/components/schemas/PrivateEndpointSettings" + }, "status": { "$ref": "#/components/schemas/PrivateEndpointStatus" }, @@ -36799,7 +36896,8 @@ "declared_region", "pricing", "tested_parameters", - "declared_parameters" + "declared_parameters", + "settings" ], "type": "object" }, @@ -36997,6 +37095,42 @@ ], "type": "object" }, + "PrivateEndpointQuantization": { + "description": "Weight precision the deployment runs at; `unknown` when not stated.", + "enum": [ + "int4", + "int8", + "fp4", + "mxfp4", + "nvfp4", + "fp6", + "fp8", + "mxfp8", + "fp16", + "bf16", + "fp32", + "unknown" + ], + "example": "bf16", + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "PrivateEndpointReasoningReturnMechanism": { + "description": "Where the upstream puts reasoning tokens in its response: `reasoning` and `reasoning-content` are response fields, `content-string` is inline in the message, `none` returns no reasoning. `null` uses the provider default.", + "enum": [ + "content-string", + "reasoning-content", + "reasoning", + "none", + null + ], + "example": "reasoning", + "type": [ + "string", + "null" + ], + "x-speakeasy-unknown-values": "allow" + }, "PrivateEndpointResponse": { "properties": { "data": { @@ -37008,6 +37142,236 @@ ], "type": "object" }, + "PrivateEndpointSettings": { + "description": "Capabilities and limits routing uses for this endpoint. A new endpoint copies them from the public endpoint for the same model and provider, or from the model, and the owner can change them. Rate limits are not part of this object: a private endpoint is billed to its own upstream key, so request limits stay with the provider.", + "example": { + "completions": { + "chat": true, + "text": false + }, + "context_length": 128000, + "excluded_parameters": [ + "logit_bias" + ], + "inputs": { + "audio": false, + "base64_files": null, + "base64_images": true, + "file_urls": null, + "image_urls": true + }, + "max_completion_tokens": 16384, + "max_prompt_tokens": null, + "quantization": "bf16", + "reasoning": { + "return_mechanism": "reasoning", + "supported": true + }, + "tool_choice": { + "auto": true, + "function": false, + "none": true, + "required": true + } + }, + "properties": { + "completions": { + "properties": { + "chat": { + "description": "Serves `/chat/completions`; `null` uses the provider default.", + "type": [ + "boolean", + "null" + ] + }, + "text": { + "description": "Serves `/completions`; `null` uses the provider default.", + "type": [ + "boolean", + "null" + ] + } + }, + "required": [ + "chat", + "text" + ], + "type": "object" + }, + "context_length": { + "description": "Longest prompt plus completion, in tokens, or `null` to keep the model default.", + "example": 128000, + "minimum": 1, + "type": [ + "integer", + "null" + ] + }, + "excluded_parameters": { + "description": "Request parameters the upstream rejects even though the model supports them; requests using one do not route here. Cannot name a tested parameter.", + "example": [ + "logit_bias" + ], + "items": { + "enum": [ + "temperature", + "top_p", + "top_k", + "min_p", + "top_a", + "frequency_penalty", + "presence_penalty", + "repetition_penalty", + "max_tokens", + "max_completion_tokens", + "logit_bias", + "logprobs", + "top_logprobs", + "prediction", + "seed", + "response_format", + "structured_outputs", + "stop", + "tools", + "tool_choice", + "parallel_tool_calls", + "include_reasoning", + "reasoning", + "reasoning_effort", + "web_search_options", + "verbosity" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": "array" + }, + "inputs": { + "properties": { + "audio": { + "description": "Accepts audio input. `null` keeps the provider default.", + "type": [ + "boolean", + "null" + ] + }, + "base64_files": { + "description": "Accepts base64 file data. `null` keeps the provider default.", + "type": [ + "boolean", + "null" + ] + }, + "base64_images": { + "description": "Accepts base64 image data. `null` keeps the provider default.", + "type": [ + "boolean", + "null" + ] + }, + "file_urls": { + "description": "Accepts file URLs. `null` keeps the provider default.", + "type": [ + "boolean", + "null" + ] + }, + "image_urls": { + "description": "Accepts image URLs. `null` keeps the provider default.", + "type": [ + "boolean", + "null" + ] + } + }, + "required": [ + "image_urls", + "base64_images", + "file_urls", + "base64_files", + "audio" + ], + "type": "object" + }, + "max_completion_tokens": { + "description": "Longest completion the upstream returns, in tokens, or `null` to keep the model default.", + "example": 16384, + "minimum": 1, + "type": [ + "integer", + "null" + ] + }, + "max_prompt_tokens": { + "description": "Longest prompt, in tokens, or `null` for no cap below the context length. Cannot exceed `context_length`, or the model context length while `context_length` is `null`.", + "example": null, + "minimum": 1, + "type": [ + "integer", + "null" + ] + }, + "quantization": { + "$ref": "#/components/schemas/PrivateEndpointQuantization" + }, + "reasoning": { + "properties": { + "return_mechanism": { + "$ref": "#/components/schemas/PrivateEndpointReasoningReturnMechanism" + }, + "supported": { + "description": "Whether requests with `reasoning` route to this endpoint.", + "example": true, + "type": "boolean" + } + }, + "required": [ + "supported", + "return_mechanism" + ], + "type": "object" + }, + "tool_choice": { + "properties": { + "auto": { + "description": "Accepts `tool_choice: \"auto\"`.", + "type": "boolean" + }, + "function": { + "description": "Accepts a named function in `tool_choice`.", + "type": "boolean" + }, + "none": { + "description": "Accepts `tool_choice: \"none\"`.", + "type": "boolean" + }, + "required": { + "description": "Accepts `tool_choice: \"required\"`.", + "type": "boolean" + } + }, + "required": [ + "none", + "auto", + "required", + "function" + ], + "type": "object" + } + }, + "required": [ + "context_length", + "max_prompt_tokens", + "max_completion_tokens", + "quantization", + "reasoning", + "inputs", + "tool_choice", + "excluded_parameters", + "completions" + ], + "type": "object" + }, "PrivateEndpointStatus": { "description": "Lifecycle state. `draft` endpoints are not routable until validated and activated; `disabled` endpoints are activated but temporarily not routable.", "enum": [ @@ -37141,6 +37505,116 @@ ], "type": "object" }, + "PrivateProvider": { + "example": { + "base_url": "https://inference.example.com/v1", + "created_at": "2026-10-06T12:00:00.000Z", + "data_policy": { + "prompt_retention_days": null, + "retains_prompts": false, + "training": false + }, + "display_name": "Acme", + "name": "Acme", + "slug": "acme" + }, + "properties": { + "base_url": { + "description": "HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.", + "example": "https://inference.example.com/v1", + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "data_policy": { + "description": "Your declared data policy, or `null` when none was declared.", + "properties": { + "prompt_retention_days": { + "description": "Days prompts are retained. Must be `null` unless `retains_prompts` is true.", + "type": [ + "integer", + "null" + ] + }, + "retains_prompts": { + "description": "Whether the provider retains prompts or completions.", + "type": "boolean" + }, + "training": { + "description": "Whether the provider trains on prompts.", + "type": "boolean" + } + }, + "required": [ + "training", + "retains_prompts", + "prompt_retention_days" + ], + "type": [ + "object", + "null" + ] + }, + "display_name": { + "example": "Acme", + "type": "string" + }, + "name": { + "description": "Provider name, shown in your activity, logs and Broadcast output. 2-64 letters, numbers, spaces, dots, underscores or hyphens. Cannot be changed later. Neither the name nor its slug may match a public provider name or slug (case-insensitive); other customers may use the same name.", + "example": "Acme", + "type": "string" + }, + "slug": { + "description": "The slug you chose, unique within your account. Use it as `provider_slug` when creating private endpoints and BYOK keys, and in `provider.order`, `only` and `ignore`.", + "example": "acme", + "type": "string" + } + }, + "required": [ + "name", + "slug", + "display_name", + "base_url", + "data_policy", + "created_at" + ], + "type": "object" + }, + "PrivateProviderDataPolicy": { + "description": "Defaults to training on and retaining prompts, the most conservative declaration. Your own declaration; it applies to your own traffic and OpenRouter does not verify it.", + "example": { + "prompt_retention_days": null, + "retains_prompts": false, + "training": false + }, + "properties": { + "prompt_retention_days": { + "description": "Days prompts are retained. Must be `null` unless `retains_prompts` is true.", + "type": [ + "integer", + "null" + ] + }, + "retains_prompts": { + "description": "Whether the provider retains prompts or completions.", + "type": "boolean" + }, + "training": { + "description": "Whether the provider trains on prompts.", + "type": "boolean" + } + }, + "required": [ + "training", + "retains_prompts", + "prompt_retention_days" + ], + "type": "object" + }, "PromptCacheBreakpoint": { "description": "Marks an explicit prompt-cache boundary on this content block (OpenAI-style). Everything through the block carrying this marker is part of the candidate cached prefix. Supported natively by OpenAI GPT-5.6 and newer; on providers that use Anthropic-style `cache_control`, OpenRouter converts the marker to that format automatically. `ttl` (\"30m\" or \"12h\") overrides the request-level `prompt_cache_options.ttl` for this boundary; 12h writes bill at the higher cache-write rate.", "example": { @@ -45737,6 +46211,14 @@ "null" ] }, + "enforce_first_party_harness_models": { + "description": "Whether coding harnesses list only their vendor's own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.", + "example": true, + "type": [ + "boolean", + "null" + ] + }, "enforce_zdr": { "deprecated": true, "description": "Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.", @@ -46037,7 +46519,7 @@ "additionalProperties": false, "properties": { "is_filtered_model_catalog_enabled": { - "description": "When true, `GET /api/v1/models` called with one of the organization's API keys returns only the models that key can use (the `/api/v1/models/user` catalog), and the signed-in dashboard shows the same list. Anonymous requests always receive the public catalog.", + "description": "When true, the signed-in dashboard lists only the models the organization can use. `GET /api/v1/models` called with an API key always returns only the models that key can use, whatever this setting says; anonymous requests receive the public catalog.", "example": true, "type": "boolean" } @@ -46079,6 +46561,15 @@ "type": "object" }, "UpdatePrivateEndpointRequest": { + "description": "Only the fields present change. `base_url`, `upstream_model_id`, `declared_zdr` and `declared_region` are accepted on a draft only; `pricing` and `declared_parameters` replace their value; `settings` is itself a partial update where `null` clears a limit or restores the provider default.", + "example": { + "declared_parameters": [ + "seed" + ], + "settings": { + "context_length": 128000 + } + }, "properties": { "base_url": { "description": "HTTPS base URL of your deployment. Required unless the provider derives its URL from the BYOK credential (Azure, Amazon Bedrock, Google Vertex).", @@ -46086,6 +46577,18 @@ "minLength": 1, "type": "string" }, + "declared_parameters": { + "description": "Parameters the upstream supports beyond the tested ones. Replaces the earlier declaration; tested parameters stay. Order and repeated names are ignored, but the list holds at most as many entries as there are declarable parameters, repeats included. `tool_choice` requires `tools` to be tested or declared.", + "example": [ + "temperature", + "seed" + ], + "items": { + "$ref": "#/components/schemas/PrivateEndpointDeclaredParameter" + }, + "maxItems": 25, + "type": "array" + }, "declared_region": { "description": "Attest where this deployment processes data.", "enum": [ @@ -46108,6 +46611,26 @@ "null" ] }, + "pricing": { + "allOf": [ + { + "$ref": "#/components/schemas/PrivateEndpointPricing" + }, + { + "description": "Replaces the whole pricing object: omitting `cache_read` or `cache_write` reverts that rate to the pricing strategy default." + } + ] + }, + "settings": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdatePrivateEndpointSettingsRequest" + }, + { + "description": "Only the fields present change; an omitted field keeps its stored value and `null` clears a limit or reverts a flag to the provider default." + } + ] + }, "upstream_model_id": { "description": "Model or deployment identifier sent to the upstream provider.", "example": "gpt-4o-prod", @@ -46115,9 +46638,214 @@ "type": "string" } }, - "required": [ - "upstream_model_id" - ], + "type": "object" + }, + "UpdatePrivateEndpointSettingsRequest": { + "description": "Capabilities and limits to set over the ones copied from the public endpoint for this model and provider (or from the model). Omitted fields keep the copied values.", + "example": { + "context_length": 128000, + "reasoning": { + "supported": true + } + }, + "properties": { + "completions": { + "properties": { + "chat": { + "description": "Serves `/chat/completions`; `null` uses the provider default.", + "type": [ + "boolean", + "null" + ] + }, + "text": { + "description": "Serves `/completions`; `null` uses the provider default.", + "type": [ + "boolean", + "null" + ] + } + }, + "type": "object" + }, + "context_length": { + "description": "Longest prompt plus completion, in tokens, or `null` to keep the model default.", + "example": 128000, + "minimum": 1, + "type": [ + "integer", + "null" + ] + }, + "excluded_parameters": { + "description": "Request parameters the upstream rejects even though the model supports them; requests using one do not route here. Cannot name a tested parameter.", + "example": [ + "logit_bias" + ], + "items": { + "enum": [ + "temperature", + "top_p", + "top_k", + "min_p", + "top_a", + "frequency_penalty", + "presence_penalty", + "repetition_penalty", + "max_tokens", + "max_completion_tokens", + "logit_bias", + "logprobs", + "top_logprobs", + "prediction", + "seed", + "response_format", + "structured_outputs", + "stop", + "tools", + "tool_choice", + "parallel_tool_calls", + "include_reasoning", + "reasoning", + "reasoning_effort", + "web_search_options", + "verbosity" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": "array" + }, + "inputs": { + "properties": { + "audio": { + "description": "Accepts audio input. `null` keeps the provider default.", + "type": [ + "boolean", + "null" + ] + }, + "base64_files": { + "description": "Accepts base64 file data. `null` keeps the provider default.", + "type": [ + "boolean", + "null" + ] + }, + "base64_images": { + "description": "Accepts base64 image data. `null` keeps the provider default.", + "type": [ + "boolean", + "null" + ] + }, + "file_urls": { + "description": "Accepts file URLs. `null` keeps the provider default.", + "type": [ + "boolean", + "null" + ] + }, + "image_urls": { + "description": "Accepts image URLs. `null` keeps the provider default.", + "type": [ + "boolean", + "null" + ] + } + }, + "type": "object" + }, + "max_completion_tokens": { + "description": "Longest completion the upstream returns, in tokens, or `null` to keep the model default.", + "example": 16384, + "minimum": 1, + "type": [ + "integer", + "null" + ] + }, + "max_prompt_tokens": { + "description": "Longest prompt, in tokens, or `null` for no cap below the context length. Cannot exceed `context_length`, or the model context length while `context_length` is `null`.", + "example": null, + "minimum": 1, + "type": [ + "integer", + "null" + ] + }, + "quantization": { + "$ref": "#/components/schemas/PrivateEndpointQuantization" + }, + "reasoning": { + "properties": { + "return_mechanism": { + "$ref": "#/components/schemas/PrivateEndpointReasoningReturnMechanism" + }, + "supported": { + "description": "Whether requests with `reasoning` route to this endpoint.", + "example": true, + "type": "boolean" + } + }, + "type": "object" + }, + "tool_choice": { + "properties": { + "auto": { + "description": "Accepts `tool_choice: \"auto\"`.", + "type": "boolean" + }, + "function": { + "description": "Accepts a named function in `tool_choice`.", + "type": "boolean" + }, + "none": { + "description": "Accepts `tool_choice: \"none\"`.", + "type": "boolean" + }, + "required": { + "description": "Accepts `tool_choice: \"required\"`.", + "type": "boolean" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "UpdatePrivateProviderRequest": { + "properties": { + "base_url": { + "description": "HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.", + "example": "https://inference.example.com/v1", + "type": "string" + }, + "data_policy": { + "properties": { + "prompt_retention_days": { + "description": "Days prompts are retained. Must be `null` unless `retains_prompts` is true.", + "type": [ + "integer", + "null" + ] + }, + "retains_prompts": { + "description": "Whether the provider retains prompts or completions.", + "type": "boolean" + }, + "training": { + "description": "Whether the provider trains on prompts.", + "type": "boolean" + } + }, + "type": "object" + }, + "display_name": { + "example": "Acme", + "type": "string" + } + }, "type": "object" }, "UpdateScimGroupMappingRequest": { @@ -46615,6 +47343,506 @@ ], "type": "object" }, + "VaultRoutingTable": { + "description": "The intern's routing table, for the intern's own key only; null for any other caller or when the vault could not build it in time. The keys still list.", + "properties": { + "agent_id": { + "type": "string" + }, + "custom_origins": { + "items": { + "properties": { + "host": { + "type": "string" + }, + "path_prefix": { + "type": [ + "string", + "null" + ] + }, + "status": { + "description": "The vault injection decision for this destination, at `read_at`.", + "properties": { + "failure": { + "description": "The credential failure code when `state` is `failing`; null otherwise.", + "type": [ + "string", + "null" + ] + }, + "state": { + "enum": [ + "usable", + "no_credential", + "failing" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + } + }, + "required": [ + "state", + "failure" + ], + "type": "object" + } + }, + "required": [ + "host", + "path_prefix", + "status" + ], + "type": "object" + }, + "type": "array" + }, + "github": { + "properties": { + "apps": { + "items": { + "properties": { + "app_id": { + "type": [ + "string", + "null" + ] + }, + "app_slug": { + "type": [ + "string", + "null" + ] + }, + "installations": { + "items": { + "properties": { + "account": { + "description": "The account the App is installed on, as GitHub spells it.", + "type": "string" + }, + "account_type": { + "enum": [ + "organization", + "user", + null + ], + "type": [ + "string", + "null" + ], + "x-speakeasy-unknown-values": "allow" + }, + "coverage": { + "description": "What GitHub says the installation covers; null until read.", + "properties": { + "checked_at": { + "description": "When GitHub answered, through the installation token the vault holds.", + "format": "date-time", + "type": "string" + }, + "repository_count": { + "description": "Repositories the installation covers; null when GitHub did not count them.", + "type": [ + "integer", + "null" + ] + }, + "selection": { + "enum": [ + "all", + "selected" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + } + }, + "required": [ + "selection", + "repository_count", + "checked_at" + ], + "type": [ + "object", + "null" + ] + }, + "credential_id": { + "type": "string" + }, + "holds_token": { + "description": "Whether the vault holds a current installation token to inject.", + "type": "boolean" + }, + "is_enabled": { + "type": "boolean" + }, + "is_off_for_intern": { + "description": "The workspace turned this shared installation off or hid it for this intern.", + "type": "boolean" + }, + "shadowed_by": { + "description": "What egress uses instead of this installation for a request to its account: an earlier installation on the same account, or a token pinned to the account. Null when this installation answers.", + "enum": [ + "installation", + "token", + null + ], + "type": [ + "string", + "null" + ], + "x-speakeasy-unknown-values": "allow" + } + }, + "required": [ + "credential_id", + "account", + "account_type", + "is_enabled", + "is_off_for_intern", + "holds_token", + "coverage", + "shadowed_by" + ], + "type": "object" + }, + "type": "array" + }, + "member_links": { + "description": "Members whose own account the vault would act as on this App's accounts; GitHub still limits a member's token to what that member can reach.", + "items": { + "properties": { + "holds_token": { + "type": "boolean" + }, + "login": { + "type": "string" + }, + "via": { + "description": "How the vault picks this link for the App, by the same selection egress uses.", + "enum": [ + "app_link", + "token", + "any_link" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + } + }, + "required": [ + "login", + "via", + "holds_token" + ], + "type": "object" + }, + "type": "array" + }, + "scope": { + "description": "`workspace` applies to every intern of the workspace; `intern` to this intern alone.", + "enum": [ + "workspace", + "intern" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + } + }, + "required": [ + "app_id", + "app_slug", + "scope", + "installations", + "member_links" + ], + "type": "object" + }, + "type": "array" + }, + "tokens": { + "items": { + "properties": { + "holds_token": { + "type": "boolean" + }, + "login": { + "type": "string" + }, + "owner": { + "type": [ + "string", + "null" + ] + }, + "repository_count": { + "type": [ + "integer", + "null" + ] + }, + "scope": { + "description": "`workspace` applies to every intern of the workspace; `intern` to this intern alone.", + "enum": [ + "workspace", + "intern" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + } + }, + "required": [ + "login", + "owner", + "repository_count", + "scope", + "holds_token" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "apps", + "tokens" + ], + "type": "object" + }, + "google": { + "properties": { + "accounts": { + "items": { + "properties": { + "delegated_capabilities": { + "items": { + "type": "string" + }, + "type": "array" + }, + "email": { + "type": "string" + }, + "holds_grant": { + "type": "boolean" + }, + "is_delegated_to_intern": { + "type": "boolean" + }, + "scope": { + "description": "`workspace` applies to every intern of the workspace; `intern` to this intern alone.", + "enum": [ + "workspace", + "intern" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + } + }, + "required": [ + "email", + "scope", + "is_delegated_to_intern", + "delegated_capabilities", + "holds_grant" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "accounts" + ], + "type": "object" + }, + "host_rules": { + "description": "Built-in hosts the vault injects a named secret for, and whether that secret is stored.", + "items": { + "properties": { + "holds_secret": { + "type": "boolean" + }, + "host": { + "type": "string" + }, + "secret_name": { + "type": "string" + } + }, + "required": [ + "host", + "secret_name", + "holds_secret" + ], + "type": "object" + }, + "type": "array" + }, + "mcp_origins": { + "items": { + "properties": { + "account_key": { + "type": [ + "string", + "null" + ] + }, + "host": { + "type": "string" + }, + "is_personal": { + "description": "Members' own accounts, matched to the acting member per turn.", + "type": "boolean" + }, + "routes": { + "items": { + "properties": { + "host": { + "type": "string" + }, + "path_prefix": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "host", + "path_prefix" + ], + "type": "object" + }, + "type": "array" + }, + "status": { + "description": "The vault's decision for a request to this server; null for members' own accounts, decided per acting member.", + "properties": { + "failure": { + "description": "The credential failure code when `state` is `failing`; null otherwise.", + "type": [ + "string", + "null" + ] + }, + "state": { + "enum": [ + "usable", + "no_credential", + "failing" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + } + }, + "required": [ + "state", + "failure" + ], + "type": [ + "object", + "null" + ] + } + }, + "required": [ + "host", + "account_key", + "is_personal", + "routes", + "status" + ], + "type": "object" + }, + "type": "array" + }, + "read_at": { + "format": "date-time", + "type": "string" + }, + "secrets": { + "items": { + "properties": { + "created_at": { + "type": "string" + }, + "hosts": { + "items": { + "type": "string" + }, + "type": [ + "array", + "null" + ] + }, + "name": { + "type": "string" + }, + "scope": { + "enum": [ + "intern", + "attached", + "workspace" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + } + }, + "required": [ + "name", + "hosts", + "scope", + "created_at" + ], + "type": "object" + }, + "type": "array" + }, + "slack": { + "properties": { + "member_links": { + "description": "Members whose own Slack account the vault can act as; whether the intern's own Slack app runs is a runtime fact the `connections` tool reports.", + "items": { + "properties": { + "holds_token": { + "type": "boolean" + }, + "slack_user_id": { + "type": "string" + } + }, + "required": [ + "slack_user_id", + "holds_token" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "member_links" + ], + "type": "object" + } + }, + "required": [ + "agent_id", + "read_at", + "github", + "google", + "slack", + "mcp_origins", + "host_rules", + "custom_origins", + "secrets" + ], + "type": [ + "object", + "null" + ] + }, "VaultSecret": { "additionalProperties": false, "description": "Metadata for one stored secret. The secret value is never returned. `fingerprint` is an HMAC-SHA-256 of the value keyed with that vault's own data key, so it is comparable only within one vault: equal fingerprints in one vault mean equal values, and rewriting the same value keeps its fingerprint. The same value stored in two vaults (for example a workspace secret and its intern copy) carries different fingerprints, so comparing fingerprints across vaults cannot show that a copy matches or that a rotation propagated. `hosts` and `fingerprint` are `null` only for legacy rows written before host binding was required; storing the secret again assigns hosts.", @@ -47965,7 +49193,8 @@ "completed", "searching", "in_progress", - "failed" + "failed", + "incomplete" ], "example": "completed", "type": "string", @@ -61546,7 +62775,9 @@ "limit": { "description": "Optional spending limit for the API key in USD", "example": 50, + "exclusiveMaximum": 1000000, "format": "double", + "minimum": 0, "type": [ "number", "null" @@ -61570,6 +62801,7 @@ "name": { "description": "Name for the new API key", "example": "My New API Key", + "maxLength": 256, "minLength": 1, "type": "string" }, @@ -62499,7 +63731,9 @@ "limit": { "description": "New spending limit for the API key in USD", "example": 75, + "exclusiveMaximum": 1000000, "format": "double", + "minimum": 0, "type": [ "number", "null" @@ -62523,6 +63757,8 @@ "name": { "description": "New name for the API key", "example": "Updated API Key Name", + "maxLength": 256, + "minLength": 1, "type": "string" }, "workspace_id": { @@ -63899,6 +65135,22 @@ }, "description": "Bad Request - Invalid request parameters or malformed input" }, + "401": { + "content": { + "application/json": { + "example": { + "error": { + "code": 401, + "message": "Missing Authentication header" + } + }, + "schema": { + "$ref": "#/components/schemas/UnauthorizedResponse" + } + } + }, + "description": "Unauthorized - Authentication required or invalid credentials" + }, "403": { "content": { "application/json": { @@ -63915,6 +65167,70 @@ }, "description": "Forbidden - Authentication successful but insufficient permissions" }, + "404": { + "content": { + "application/json": { + "example": { + "error": { + "code": 404, + "message": "Resource not found" + } + }, + "schema": { + "$ref": "#/components/schemas/NotFoundResponse" + } + } + }, + "description": "Not Found - Resource does not exist" + }, + "408": { + "content": { + "application/json": { + "example": { + "error": { + "code": 408, + "message": "Operation timed out. Please try again later." + } + }, + "schema": { + "$ref": "#/components/schemas/RequestTimeoutResponse" + } + } + }, + "description": "Request Timeout - Operation exceeded time limit" + }, + "409": { + "content": { + "application/json": { + "example": { + "error": { + "code": 409, + "message": "Resource conflict. Please try again later." + } + }, + "schema": { + "$ref": "#/components/schemas/ConflictResponse" + } + } + }, + "description": "Conflict - Resource conflict or concurrent modification" + }, + "429": { + "content": { + "application/json": { + "example": { + "error": { + "code": 429, + "message": "Rate limit exceeded" + } + }, + "schema": { + "$ref": "#/components/schemas/TooManyRequestsResponse" + } + } + }, + "description": "Too Many Requests - Rate limit exceeded" + }, "500": { "content": { "application/json": { @@ -64473,6 +65789,54 @@ }, "description": "Not Found - Resource does not exist" }, + "408": { + "content": { + "application/json": { + "example": { + "error": { + "code": 408, + "message": "Operation timed out. Please try again later." + } + }, + "schema": { + "$ref": "#/components/schemas/RequestTimeoutResponse" + } + } + }, + "description": "Request Timeout - Operation exceeded time limit" + }, + "409": { + "content": { + "application/json": { + "example": { + "error": { + "code": 409, + "message": "Resource conflict. Please try again later." + } + }, + "schema": { + "$ref": "#/components/schemas/ConflictResponse" + } + } + }, + "description": "Conflict - Resource conflict or concurrent modification" + }, + "429": { + "content": { + "application/json": { + "example": { + "error": { + "code": 429, + "message": "Rate limit exceeded" + } + }, + "schema": { + "$ref": "#/components/schemas/TooManyRequestsResponse" + } + } + }, + "description": "Too Many Requests - Rate limit exceeded" + }, "500": { "content": { "application/json": { @@ -67193,60 +68557,562 @@ }, "description": "Internal Server Error - Unexpected server error" }, - "503": { + "503": { + "content": { + "application/json": { + "example": { + "error": { + "code": 503, + "message": "Service temporarily unavailable" + } + }, + "schema": { + "$ref": "#/components/schemas/ServiceUnavailableResponse" + } + } + }, + "description": "Service Unavailable - Service temporarily unavailable" + } + }, + "security": [ + { + "apiKey": [] + } + ], + "summary": "Get a specific version of a preset", + "tags": [ + "Presets" + ], + "x-speakeasy-name-override": "getVersion" + }, + "parameters": [ + { + "$ref": "#/components/parameters/AppIdentifier" + }, + { + "$ref": "#/components/parameters/AppDisplayName" + }, + { + "$ref": "#/components/parameters/AppCategories" + } + ] + }, + "/private-endpoints": { + "get": { + "description": "List the organization's private endpoints, including drafts. Requires the private endpoints entitlement. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "listPrivateEndpoints", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ListPrivateEndpointsResponse" + } + } + }, + "description": "Private endpoints for the organization" + }, + "401": { + "content": { + "application/json": { + "example": { + "error": { + "code": 401, + "message": "Missing Authentication header" + } + }, + "schema": { + "$ref": "#/components/schemas/UnauthorizedResponse" + } + } + }, + "description": "Unauthorized - Authentication required or invalid credentials" + }, + "403": { + "content": { + "application/json": { + "example": { + "error": { + "code": 403, + "message": "Only management keys can perform this operation" + } + }, + "schema": { + "$ref": "#/components/schemas/ForbiddenResponse" + } + } + }, + "description": "Forbidden - Authentication successful but insufficient permissions" + }, + "408": { + "content": { + "application/json": { + "example": { + "error": { + "code": 408, + "message": "Operation timed out. Please try again later." + } + }, + "schema": { + "$ref": "#/components/schemas/RequestTimeoutResponse" + } + } + }, + "description": "Request Timeout - Operation exceeded time limit" + }, + "500": { + "content": { + "application/json": { + "example": { + "error": { + "code": 500, + "message": "Internal Server Error" + } + }, + "schema": { + "$ref": "#/components/schemas/InternalServerResponse" + } + } + }, + "description": "Internal Server Error - Unexpected server error" + } + }, + "summary": "List private endpoints", + "tags": [ + "Private Endpoints" + ], + "x-speakeasy-name-override": "list", + "parameters": [] + }, + "post": { + "description": "Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools`. The response does not echo `declared_parameters` or `tested_parameters`; read them with `GET /private-endpoints/{id}`. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "createPrivateEndpoint", + "parameters": [ + { + "description": "Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.", + "in": "header", + "name": "idempotency-key", + "required": false, + "schema": { + "description": "Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.", + "example": "wayfair-gpt-4o-eastus-2026-09", + "maxLength": 255, + "minLength": 1, + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreatePrivateEndpointRequest" + } + } + }, + "required": true + }, + "responses": { + "201": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagedPrivateEndpointResponse" + } + } + }, + "description": "The created endpoint: a draft, or active when `activate` was passed" + }, + "400": { + "content": { + "application/json": { + "example": { + "error": { + "code": 400, + "message": "Invalid request parameters" + } + }, + "schema": { + "$ref": "#/components/schemas/BadRequestResponse" + } + } + }, + "description": "Bad Request - Invalid request parameters or malformed input" + }, + "401": { + "content": { + "application/json": { + "example": { + "error": { + "code": 401, + "message": "Missing Authentication header" + } + }, + "schema": { + "$ref": "#/components/schemas/UnauthorizedResponse" + } + } + }, + "description": "Unauthorized - Authentication required or invalid credentials" + }, + "403": { + "content": { + "application/json": { + "example": { + "error": { + "code": 403, + "message": "Only management keys can perform this operation" + } + }, + "schema": { + "$ref": "#/components/schemas/ForbiddenResponse" + } + } + }, + "description": "Forbidden - Authentication successful but insufficient permissions" + }, + "404": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/CreatePrivateEndpointValidationFailedResponse" + }, + { + "$ref": "#/components/schemas/NotFoundResponse" + } + ] + } + } + }, + "description": "The model, provider, or validation workspace was not found. When `activate` was passed and the draft was created, `data` carries it and any validation checks." + }, + "408": { + "content": { + "application/json": { + "example": { + "error": { + "code": 408, + "message": "Operation timed out. Please try again later." + } + }, + "schema": { + "$ref": "#/components/schemas/RequestTimeoutResponse" + } + } + }, + "description": "Request Timeout - Operation exceeded time limit" + }, + "409": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/CreatePrivateEndpointValidationFailedResponse" + }, + { + "$ref": "#/components/schemas/ConflictResponse" + } + ] + } + } + }, + "description": "The request conflicts with the endpoint state, such as a stale validation. When `activate` was passed and the draft was created, `data` carries it and any validation checks." + }, + "422": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/CreatePrivateEndpointValidationFailedResponse" + }, + { + "$ref": "#/components/schemas/UnprocessableEntityResponse" + } + ] + } + } + }, + "description": "The request was invalid, or validation failed. When `activate` was passed and the draft was created, `data` carries it and any validation checks." + }, + "500": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/CreatePrivateEndpointValidationFailedResponse" + }, + { + "$ref": "#/components/schemas/InternalServerResponse" + } + ] + } + } + }, + "description": "Internal server error. When `activate` was passed and the draft was created, `data` carries it and any validation checks." + }, + "502": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/CreatePrivateEndpointValidationFailedResponse" + }, + { + "$ref": "#/components/schemas/BadGatewayResponse" + } + ] + } + } + }, + "description": "An upstream dependency failed. When `activate` was passed and the draft was created, `data` carries it and any validation checks." + } + }, + "summary": "Create a private endpoint", + "tags": [ + "Private Endpoints" + ], + "x-speakeasy-name-override": "create" + }, + "parameters": [ + { + "$ref": "#/components/parameters/AppIdentifier" + }, + { + "$ref": "#/components/parameters/AppDisplayName" + }, + { + "$ref": "#/components/parameters/AppCategories" + } + ] + }, + "/private-endpoints/{id}": { + "delete": { + "description": "Delete a private endpoint and stop routing to it. Pass `draft_only=true` to refuse (409) when the endpoint has been activated. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "deletePrivateEndpoint", + "parameters": [ + { + "description": "Stable identifier of the private endpoint.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "description": "Stable identifier of the private endpoint.", + "example": "5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11", + "format": "uuid", + "type": "string" + } + }, + { + "description": "When `true`, only delete the endpoint if it is still a draft (409 otherwise).", + "in": "query", + "name": "draft_only", + "required": false, + "schema": { + "description": "When `true`, only delete the endpoint if it is still a draft (409 otherwise).", + "enum": [ + "true", + "false" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeletePrivateEndpointResponse" + } + } + }, + "description": "The endpoint was deleted" + }, + "400": { + "content": { + "application/json": { + "example": { + "error": { + "code": 400, + "message": "Invalid request parameters" + } + }, + "schema": { + "$ref": "#/components/schemas/BadRequestResponse" + } + } + }, + "description": "Bad Request - Invalid request parameters or malformed input" + }, + "401": { + "content": { + "application/json": { + "example": { + "error": { + "code": 401, + "message": "Missing Authentication header" + } + }, + "schema": { + "$ref": "#/components/schemas/UnauthorizedResponse" + } + } + }, + "description": "Unauthorized - Authentication required or invalid credentials" + }, + "403": { + "content": { + "application/json": { + "example": { + "error": { + "code": 403, + "message": "Only management keys can perform this operation" + } + }, + "schema": { + "$ref": "#/components/schemas/ForbiddenResponse" + } + } + }, + "description": "Forbidden - Authentication successful but insufficient permissions" + }, + "404": { + "content": { + "application/json": { + "example": { + "error": { + "code": 404, + "message": "Resource not found" + } + }, + "schema": { + "$ref": "#/components/schemas/NotFoundResponse" + } + } + }, + "description": "Not Found - Resource does not exist" + }, + "408": { + "content": { + "application/json": { + "example": { + "error": { + "code": 408, + "message": "Operation timed out. Please try again later." + } + }, + "schema": { + "$ref": "#/components/schemas/RequestTimeoutResponse" + } + } + }, + "description": "Request Timeout - Operation exceeded time limit" + }, + "409": { + "content": { + "application/json": { + "example": { + "error": { + "code": 409, + "message": "Resource conflict. Please try again later." + } + }, + "schema": { + "$ref": "#/components/schemas/ConflictResponse" + } + } + }, + "description": "Conflict - Resource conflict or concurrent modification" + }, + "422": { + "content": { + "application/json": { + "example": { + "error": { + "code": 422, + "message": "Invalid argument" + } + }, + "schema": { + "$ref": "#/components/schemas/UnprocessableEntityResponse" + } + } + }, + "description": "Unprocessable Entity - Semantic validation failure" + }, + "500": { + "content": { + "application/json": { + "example": { + "error": { + "code": 500, + "message": "Internal Server Error" + } + }, + "schema": { + "$ref": "#/components/schemas/InternalServerResponse" + } + } + }, + "description": "Internal Server Error - Unexpected server error" + }, + "502": { "content": { "application/json": { "example": { "error": { - "code": 503, - "message": "Service temporarily unavailable" + "code": 502, + "message": "Provider returned error" } }, "schema": { - "$ref": "#/components/schemas/ServiceUnavailableResponse" + "$ref": "#/components/schemas/BadGatewayResponse" } } }, - "description": "Service Unavailable - Service temporarily unavailable" + "description": "Bad Gateway - Provider/upstream API failure" } }, - "security": [ - { - "apiKey": [] - } - ], - "summary": "Get a specific version of a preset", + "summary": "Delete a private endpoint", "tags": [ - "Presets" + "Private Endpoints" ], - "x-speakeasy-name-override": "getVersion" + "x-speakeasy-name-override": "delete" }, - "parameters": [ - { - "$ref": "#/components/parameters/AppIdentifier" - }, - { - "$ref": "#/components/parameters/AppDisplayName" - }, - { - "$ref": "#/components/parameters/AppCategories" - } - ] - }, - "/private-endpoints": { "get": { - "description": "List the organization's private endpoints, including drafts. Requires the private endpoints entitlement. [Management key](/docs/guides/overview/auth/management-api-keys) required.", - "operationId": "listPrivateEndpoints", + "description": "Get one private endpoint with its upstream configuration and current pricing. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "getPrivateEndpoint", + "parameters": [ + { + "description": "Stable identifier of the private endpoint.", + "in": "path", + "name": "id", + "required": true, + "schema": { + "description": "Stable identifier of the private endpoint.", + "example": "5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11", + "format": "uuid", + "type": "string" + } + } + ], "responses": { "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListPrivateEndpointsResponse" + "$ref": "#/components/schemas/PrivateEndpointResponse" } } }, - "description": "Private endpoints for the organization" + "description": "The private endpoint" }, "401": { "content": { @@ -67280,6 +69146,22 @@ }, "description": "Forbidden - Authentication successful but insufficient permissions" }, + "404": { + "content": { + "application/json": { + "example": { + "error": { + "code": 404, + "message": "Resource not found" + } + }, + "schema": { + "$ref": "#/components/schemas/NotFoundResponse" + } + } + }, + "description": "Not Found - Resource does not exist" + }, "408": { "content": { "application/json": { @@ -67313,27 +69195,25 @@ "description": "Internal Server Error - Unexpected server error" } }, - "summary": "List private endpoints", + "summary": "Get a private endpoint", "tags": [ "Private Endpoints" ], - "x-speakeasy-name-override": "list", - "parameters": [] + "x-speakeasy-name-override": "get" }, - "post": { - "description": "Create a private endpoint as a draft. Drafts are not routable: validate one with `POST /private-endpoints/{id}/validate`, then activate it with `POST /private-endpoints/{id}/activate`. Pass `activate` to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an `Idempotency-Key` header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 `idempotency_key_reused`. [Management key](/docs/guides/overview/auth/management-api-keys) required.", - "operationId": "createPrivateEndpoint", + "patch": { + "description": "Change any of the endpoint fields you own in one call; only the fields present change, and the response is the whole endpoint. `pricing` and `declared_parameters` replace their stored value, `settings` changes only the fields it names (`null` clears a limit or restores the provider default); routing picks these up for subsequent requests on drafts and active endpoints alike. `upstream_model_id`, `base_url`, `declared_zdr` and `declared_region` re-point a draft: an omitted `upstream_model_id` or `base_url` keeps the stored one, omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes, and any upstream change clears earlier validation. Naming an upstream field on an active endpoint returns 409 `already_active` and writes nothing; delete and re-create instead. Every group is checked before anything is written: 400 `parameters_invalid` when `tool_choice` is declared without `tools` tested or declared, 400 `settings_invalid` when `max_prompt_tokens` exceeds the context length, both completion APIs are off, or `excluded_parameters` names a tested parameter, 422 `pricing_invalid` for rates the provider strategy cannot represent. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "updatePrivateEndpoint", "parameters": [ { - "description": "Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.", - "in": "header", - "name": "idempotency-key", - "required": false, + "description": "Stable identifier of the private endpoint.", + "in": "path", + "name": "id", + "required": true, "schema": { - "description": "Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, pricing, or declared parameters) is rejected with 422 `idempotency_key_reused`. Declared parameters are compared as a set, so a retry that reorders or repeats a name replays the endpoint. `activate` and `max_completion_tokens` are not compared, and later edits to the endpoint do not affect the comparison.", - "example": "wayfair-gpt-4o-eastus-2026-09", - "maxLength": 255, - "minLength": 1, + "description": "Stable identifier of the private endpoint.", + "example": "5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11", + "format": "uuid", "type": "string" } } @@ -67342,22 +69222,22 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreatePrivateEndpointRequest" + "$ref": "#/components/schemas/UpdatePrivateEndpointRequest" } } }, "required": true }, "responses": { - "201": { + "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ManagedPrivateEndpointResponse" + "$ref": "#/components/schemas/PrivateEndpointResponse" } } }, - "description": "The created endpoint: a draft, or active when `activate` was passed" + "description": "The updated endpoint" }, "400": { "content": { @@ -67410,19 +69290,18 @@ "404": { "content": { "application/json": { + "example": { + "error": { + "code": 404, + "message": "Resource not found" + } + }, "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/CreatePrivateEndpointValidationFailedResponse" - }, - { - "$ref": "#/components/schemas/NotFoundResponse" - } - ] + "$ref": "#/components/schemas/NotFoundResponse" } } }, - "description": "The model, provider, or validation workspace was not found. When `activate` was passed and the draft was created, `data` carries it and any validation checks." + "description": "Not Found - Resource does not exist" }, "408": { "content": { @@ -67443,77 +69322,73 @@ "409": { "content": { "application/json": { + "example": { + "error": { + "code": 409, + "message": "Resource conflict. Please try again later." + } + }, "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/CreatePrivateEndpointValidationFailedResponse" - }, - { - "$ref": "#/components/schemas/ConflictResponse" - } - ] + "$ref": "#/components/schemas/ConflictResponse" } } }, - "description": "The request conflicts with the endpoint state, such as a stale validation. When `activate` was passed and the draft was created, `data` carries it and any validation checks." + "description": "Conflict - Resource conflict or concurrent modification" }, "422": { "content": { "application/json": { + "example": { + "error": { + "code": 422, + "message": "Invalid argument" + } + }, "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/CreatePrivateEndpointValidationFailedResponse" - }, - { - "$ref": "#/components/schemas/UnprocessableEntityResponse" - } - ] + "$ref": "#/components/schemas/UnprocessableEntityResponse" } } }, - "description": "The request was invalid, or validation failed. When `activate` was passed and the draft was created, `data` carries it and any validation checks." + "description": "Unprocessable Entity - Semantic validation failure" }, "500": { "content": { "application/json": { + "example": { + "error": { + "code": 500, + "message": "Internal Server Error" + } + }, "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/CreatePrivateEndpointValidationFailedResponse" - }, - { - "$ref": "#/components/schemas/InternalServerResponse" - } - ] + "$ref": "#/components/schemas/InternalServerResponse" } } }, - "description": "Internal server error. When `activate` was passed and the draft was created, `data` carries it and any validation checks." + "description": "Internal Server Error - Unexpected server error" }, "502": { "content": { "application/json": { + "example": { + "error": { + "code": 502, + "message": "Provider returned error" + } + }, "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/CreatePrivateEndpointValidationFailedResponse" - }, - { - "$ref": "#/components/schemas/BadGatewayResponse" - } - ] + "$ref": "#/components/schemas/BadGatewayResponse" } } }, - "description": "An upstream dependency failed. When `activate` was passed and the draft was created, `data` carries it and any validation checks." + "description": "Bad Gateway - Provider/upstream API failure" } }, - "summary": "Create a private endpoint", + "summary": "Update a private endpoint", "tags": [ "Private Endpoints" ], - "x-speakeasy-name-override": "create" + "x-speakeasy-name-override": "update" }, "parameters": [ { @@ -67527,10 +69402,10 @@ } ] }, - "/private-endpoints/{id}": { - "delete": { - "description": "Delete a private endpoint and stop routing to it. Pass `draft_only=true` to refuse (409) when the endpoint has been activated. [Management key](/docs/guides/overview/auth/management-api-keys) required.", - "operationId": "deletePrivateEndpoint", + "/private-endpoints/{id}/activate": { + "post": { + "description": "Make a validated draft routable. Returns 409 when the endpoint was never validated, the validation is stale, or it is already active. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "activatePrivateEndpoint", "parameters": [ { "description": "Stable identifier of the private endpoint.", @@ -67543,21 +69418,6 @@ "format": "uuid", "type": "string" } - }, - { - "description": "When `true`, only delete the endpoint if it is still a draft (409 otherwise).", - "in": "query", - "name": "draft_only", - "required": false, - "schema": { - "description": "When `true`, only delete the endpoint if it is still a draft (409 otherwise).", - "enum": [ - "true", - "false" - ], - "type": "string", - "x-speakeasy-unknown-values": "allow" - } } ], "responses": { @@ -67565,11 +69425,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeletePrivateEndpointResponse" + "$ref": "#/components/schemas/ManagedPrivateEndpointResponse" } } }, - "description": "The endpoint was deleted" + "description": "The endpoint after the change" }, "400": { "content": { @@ -67716,15 +69576,28 @@ "description": "Bad Gateway - Provider/upstream API failure" } }, - "summary": "Delete a private endpoint", + "summary": "Activate a validated private endpoint", "tags": [ "Private Endpoints" ], - "x-speakeasy-name-override": "delete" + "x-speakeasy-name-override": "activate" }, - "get": { - "description": "Get one private endpoint with its upstream configuration and current pricing. [Management key](/docs/guides/overview/auth/management-api-keys) required.", - "operationId": "getPrivateEndpoint", + "parameters": [ + { + "$ref": "#/components/parameters/AppIdentifier" + }, + { + "$ref": "#/components/parameters/AppDisplayName" + }, + { + "$ref": "#/components/parameters/AppCategories" + } + ] + }, + "/private-endpoints/{id}/disable": { + "post": { + "description": "Stop routing to an active endpoint without deleting it. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "disablePrivateEndpoint", "parameters": [ { "description": "Stable identifier of the private endpoint.", @@ -67744,11 +69617,27 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PrivateEndpointResponse" + "$ref": "#/components/schemas/ManagedPrivateEndpointResponse" } } }, - "description": "The private endpoint" + "description": "The endpoint after the change" + }, + "400": { + "content": { + "application/json": { + "example": { + "error": { + "code": 400, + "message": "Invalid request parameters" + } + }, + "schema": { + "$ref": "#/components/schemas/BadRequestResponse" + } + } + }, + "description": "Bad Request - Invalid request parameters or malformed input" }, "401": { "content": { @@ -67814,6 +69703,38 @@ }, "description": "Request Timeout - Operation exceeded time limit" }, + "409": { + "content": { + "application/json": { + "example": { + "error": { + "code": 409, + "message": "Resource conflict. Please try again later." + } + }, + "schema": { + "$ref": "#/components/schemas/ConflictResponse" + } + } + }, + "description": "Conflict - Resource conflict or concurrent modification" + }, + "422": { + "content": { + "application/json": { + "example": { + "error": { + "code": 422, + "message": "Invalid argument" + } + }, + "schema": { + "$ref": "#/components/schemas/UnprocessableEntityResponse" + } + } + }, + "description": "Unprocessable Entity - Semantic validation failure" + }, "500": { "content": { "application/json": { @@ -67829,17 +69750,46 @@ } }, "description": "Internal Server Error - Unexpected server error" + }, + "502": { + "content": { + "application/json": { + "example": { + "error": { + "code": 502, + "message": "Provider returned error" + } + }, + "schema": { + "$ref": "#/components/schemas/BadGatewayResponse" + } + } + }, + "description": "Bad Gateway - Provider/upstream API failure" } }, - "summary": "Get a private endpoint", + "summary": "Disable a private endpoint", "tags": [ "Private Endpoints" ], - "x-speakeasy-name-override": "get" + "x-speakeasy-name-override": "disable" }, - "patch": { - "description": "Replace a draft endpoint's upstream configuration: send `upstream_model_id`, and `base_url` to change it (an omitted `base_url` keeps the stored one). Omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes. Any change clears earlier validation. Active endpoints return 409; delete and re-create them instead. [Management key](/docs/guides/overview/auth/management-api-keys) required.", - "operationId": "updatePrivateEndpoint", + "parameters": [ + { + "$ref": "#/components/parameters/AppIdentifier" + }, + { + "$ref": "#/components/parameters/AppDisplayName" + }, + { + "$ref": "#/components/parameters/AppCategories" + } + ] + }, + "/private-endpoints/{id}/enable": { + "post": { + "description": "Resume routing to a disabled endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "enablePrivateEndpoint", "parameters": [ { "description": "Stable identifier of the private endpoint.", @@ -67854,26 +69804,16 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdatePrivateEndpointRequest" - } - } - }, - "required": true - }, "responses": { "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PrivateEndpointResponse" + "$ref": "#/components/schemas/ManagedPrivateEndpointResponse" } } }, - "description": "The updated endpoint" + "description": "The endpoint after the change" }, "400": { "content": { @@ -68020,11 +69960,11 @@ "description": "Bad Gateway - Provider/upstream API failure" } }, - "summary": "Update a draft private endpoint", + "summary": "Enable a private endpoint", "tags": [ "Private Endpoints" ], - "x-speakeasy-name-override": "update" + "x-speakeasy-name-override": "enable" }, "parameters": [ { @@ -68038,10 +69978,11 @@ } ] }, - "/private-endpoints/{id}/activate": { - "post": { - "description": "Make a validated draft routable. Returns 409 when the endpoint was never validated, the validation is stale, or it is already active. [Management key](/docs/guides/overview/auth/management-api-keys) required.", - "operationId": "activatePrivateEndpoint", + "/private-endpoints/{id}/parameters": { + "put": { + "deprecated": true, + "description": "Deprecated: send `declared_parameters` to `PATCH /private-endpoints/{id}` instead; this route behaves exactly like that call and will be removed. The body replaces the earlier declaration and is read as a set; `tested_parameters` stay. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools` being tested or declared. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "updatePrivateEndpointParameters", "parameters": [ { "description": "Stable identifier of the private endpoint.", @@ -68056,16 +69997,26 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdatePrivateEndpointParametersRequest" + } + } + }, + "required": true + }, "responses": { "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ManagedPrivateEndpointResponse" + "$ref": "#/components/schemas/PrivateEndpointResponse" } } }, - "description": "The endpoint after the change" + "description": "The endpoint with its new declared parameters" }, "400": { "content": { @@ -68212,11 +70163,11 @@ "description": "Bad Gateway - Provider/upstream API failure" } }, - "summary": "Activate a validated private endpoint", + "summary": "Set private endpoint supported parameters (deprecated)", "tags": [ "Private Endpoints" ], - "x-speakeasy-name-override": "activate" + "x-speakeasy-name-override": "updateParameters" }, "parameters": [ { @@ -68230,10 +70181,11 @@ } ] }, - "/private-endpoints/{id}/disable": { - "post": { - "description": "Stop routing to an active endpoint without deleting it. [Management key](/docs/guides/overview/auth/management-api-keys) required.", - "operationId": "disablePrivateEndpoint", + "/private-endpoints/{id}/pricing": { + "put": { + "deprecated": true, + "description": "Deprecated: send `pricing` to `PATCH /private-endpoints/{id}` instead; this route behaves exactly like that call and will be removed. The body replaces the whole pricing object: omitting `cache_read` or `cache_write` reverts that rate to the provider pricing strategy default. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "updatePrivateEndpointPricing", "parameters": [ { "description": "Stable identifier of the private endpoint.", @@ -68248,16 +70200,26 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdatePrivateEndpointPricingRequest" + } + } + }, + "required": true + }, "responses": { "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ManagedPrivateEndpointResponse" + "$ref": "#/components/schemas/PrivateEndpointResponse" } } }, - "description": "The endpoint after the change" + "description": "The endpoint with its new pricing" }, "400": { "content": { @@ -68404,11 +70366,11 @@ "description": "Bad Gateway - Provider/upstream API failure" } }, - "summary": "Disable a private endpoint", + "summary": "Set private endpoint pricing (deprecated)", "tags": [ "Private Endpoints" ], - "x-speakeasy-name-override": "disable" + "x-speakeasy-name-override": "updatePricing" }, "parameters": [ { @@ -68422,10 +70384,10 @@ } ] }, - "/private-endpoints/{id}/enable": { + "/private-endpoints/{id}/validate": { "post": { - "description": "Resume routing to a disabled endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required.", - "operationId": "enablePrivateEndpoint", + "description": "Send a live test request to the draft endpoint using the given workspace's BYOK credential for its provider. A passing validation is required before activation. Failed checks return 200 with `passed: false`. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "validatePrivateEndpoint", "parameters": [ { "description": "Stable identifier of the private endpoint.", @@ -68440,16 +70402,26 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidatePrivateEndpointRequest" + } + } + }, + "required": true + }, "responses": { "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ManagedPrivateEndpointResponse" + "$ref": "#/components/schemas/PrivateEndpointValidationResponse" } } }, - "description": "The endpoint after the change" + "description": "Validation checks" }, "400": { "content": { @@ -68596,11 +70568,11 @@ "description": "Bad Gateway - Provider/upstream API failure" } }, - "summary": "Enable a private endpoint", + "summary": "Validate a draft private endpoint", "tags": [ "Private Endpoints" ], - "x-speakeasy-name-override": "enable" + "x-speakeasy-name-override": "validate" }, "parameters": [ { @@ -68614,44 +70586,119 @@ } ] }, - "/private-endpoints/{id}/parameters": { - "put": { - "description": "Declare which request parameters the upstream supports beyond the ones validation proved. Applies to drafts and active endpoints; routing picks the change up for subsequent requests. The body replaces the earlier declaration and is read as a set: order and repeated names do not matter, but the list holds at most as many entries as there are declarable parameters, repeats included. `tested_parameters` stay. Returns 400 `parameters_invalid` when `tool_choice` is declared without `tools` being tested or declared. [Management key](/docs/guides/overview/auth/management-api-keys) required.", - "operationId": "updatePrivateEndpointParameters", - "parameters": [ - { - "description": "Stable identifier of the private endpoint.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "description": "Stable identifier of the private endpoint.", - "example": "5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11", - "format": "uuid", - "type": "string" - } + "/private-providers": { + "get": { + "description": "List the organization's private providers. Requires the private endpoints entitlement. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "listPrivateProviders", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/PrivateProvider" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + } + } + }, + "description": "Private providers for the organization" + }, + "401": { + "content": { + "application/json": { + "example": { + "error": { + "code": 401, + "message": "Missing Authentication header" + } + }, + "schema": { + "$ref": "#/components/schemas/UnauthorizedResponse" + } + } + }, + "description": "Unauthorized - Authentication required or invalid credentials" + }, + "403": { + "content": { + "application/json": { + "example": { + "error": { + "code": 403, + "message": "Only management keys can perform this operation" + } + }, + "schema": { + "$ref": "#/components/schemas/ForbiddenResponse" + } + } + }, + "description": "Forbidden - Authentication successful but insufficient permissions" + }, + "500": { + "content": { + "application/json": { + "example": { + "error": { + "code": 500, + "message": "Internal Server Error" + } + }, + "schema": { + "$ref": "#/components/schemas/InternalServerResponse" + } + } + }, + "description": "Internal Server Error - Unexpected server error" } + }, + "summary": "List private providers", + "tags": [ + "Private Providers" ], + "x-speakeasy-name-override": "list", + "parameters": [] + }, + "post": { + "description": "Create a private, bring-your-own-key provider visible only to your organization. Use its slug as `provider_slug` when creating private endpoints. Requires both the private endpoints and the private providers entitlements. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "createPrivateProvider", "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdatePrivateEndpointParametersRequest" + "$ref": "#/components/schemas/CreatePrivateProviderRequest" } } }, "required": true }, "responses": { - "200": { + "201": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PrivateEndpointResponse" + "properties": { + "data": { + "$ref": "#/components/schemas/PrivateProvider" + } + }, + "required": [ + "data" + ], + "type": "object" } } }, - "description": "The endpoint with its new declared parameters" + "description": "The provider was created" }, "400": { "content": { @@ -68765,6 +70812,22 @@ }, "description": "Unprocessable Entity - Semantic validation failure" }, + "429": { + "content": { + "application/json": { + "example": { + "error": { + "code": 429, + "message": "Rate limit exceeded" + } + }, + "schema": { + "$ref": "#/components/schemas/TooManyRequestsResponse" + } + } + }, + "description": "Too Many Requests - Rate limit exceeded" + }, "500": { "content": { "application/json": { @@ -68798,11 +70861,12 @@ "description": "Bad Gateway - Provider/upstream API failure" } }, - "summary": "Set private endpoint supported parameters", + "summary": "Create a private provider", "tags": [ - "Private Endpoints" + "Private Providers" ], - "x-speakeasy-name-override": "updateParameters" + "x-speakeasy-name-override": "create", + "parameters": [] }, "parameters": [ { @@ -68816,44 +70880,49 @@ } ] }, - "/private-endpoints/{id}/pricing": { - "put": { - "description": "Set the negotiated per-token rates reported for requests routed to this endpoint. Applies to drafts and active endpoints; new rates take effect for subsequent requests. The body replaces the whole pricing object: omitting `cache_read` or `cache_write` reverts that rate to the provider pricing strategy's default, even if it was set before. [Management key](/docs/guides/overview/auth/management-api-keys) required.", - "operationId": "updatePrivateEndpointPricing", + "/private-providers/{slug}": { + "delete": { + "description": "Delete a private provider. Refuses (409) while any private endpoint still runs under it. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "deletePrivateProvider", "parameters": [ { - "description": "Stable identifier of the private endpoint.", "in": "path", - "name": "id", + "name": "slug", "required": true, "schema": { - "description": "Stable identifier of the private endpoint.", - "example": "5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11", - "format": "uuid", + "example": "acme", "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdatePrivateEndpointPricingRequest" - } - } - }, - "required": true - }, "responses": { "200": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PrivateEndpointResponse" + "properties": { + "data": { + "properties": { + "slug": { + "description": "The slug you chose, unique within your account. Use it as `provider_slug` when creating private endpoints and BYOK keys, and in `provider.order`, `only` and `ignore`.", + "example": "acme", + "type": "string" + } + }, + "required": [ + "slug" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" } } }, - "description": "The endpoint with its new pricing" + "description": "The provider was deleted" }, "400": { "content": { @@ -68967,6 +71036,22 @@ }, "description": "Unprocessable Entity - Semantic validation failure" }, + "429": { + "content": { + "application/json": { + "example": { + "error": { + "code": 429, + "message": "Rate limit exceeded" + } + }, + "schema": { + "$ref": "#/components/schemas/TooManyRequestsResponse" + } + } + }, + "description": "Too Many Requests - Rate limit exceeded" + }, "500": { "content": { "application/json": { @@ -69000,38 +71085,126 @@ "description": "Bad Gateway - Provider/upstream API failure" } }, - "summary": "Set private endpoint pricing", + "summary": "Delete a private provider", "tags": [ - "Private Endpoints" + "Private Providers" ], - "x-speakeasy-name-override": "updatePricing" + "x-speakeasy-name-override": "delete" }, - "parameters": [ - { - "$ref": "#/components/parameters/AppIdentifier" - }, - { - "$ref": "#/components/parameters/AppDisplayName" + "get": { + "description": "Get one of the organization’s private providers by slug. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "getPrivateProvider", + "parameters": [ + { + "in": "path", + "name": "slug", + "required": true, + "schema": { + "example": "acme", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "$ref": "#/components/schemas/PrivateProvider" + } + }, + "required": [ + "data" + ], + "type": "object" + } + } + }, + "description": "The private provider" + }, + "401": { + "content": { + "application/json": { + "example": { + "error": { + "code": 401, + "message": "Missing Authentication header" + } + }, + "schema": { + "$ref": "#/components/schemas/UnauthorizedResponse" + } + } + }, + "description": "Unauthorized - Authentication required or invalid credentials" + }, + "403": { + "content": { + "application/json": { + "example": { + "error": { + "code": 403, + "message": "Only management keys can perform this operation" + } + }, + "schema": { + "$ref": "#/components/schemas/ForbiddenResponse" + } + } + }, + "description": "Forbidden - Authentication successful but insufficient permissions" + }, + "404": { + "content": { + "application/json": { + "example": { + "error": { + "code": 404, + "message": "Resource not found" + } + }, + "schema": { + "$ref": "#/components/schemas/NotFoundResponse" + } + } + }, + "description": "Not Found - Resource does not exist" + }, + "500": { + "content": { + "application/json": { + "example": { + "error": { + "code": 500, + "message": "Internal Server Error" + } + }, + "schema": { + "$ref": "#/components/schemas/InternalServerResponse" + } + } + }, + "description": "Internal Server Error - Unexpected server error" + } }, - { - "$ref": "#/components/parameters/AppCategories" - } - ] - }, - "/private-endpoints/{id}/validate": { - "post": { - "description": "Send a live test request to the draft endpoint using the given workspace's BYOK credential for its provider. A passing validation is required before activation. Failed checks return 200 with `passed: false`. [Management key](/docs/guides/overview/auth/management-api-keys) required.", - "operationId": "validatePrivateEndpoint", + "summary": "Get a private provider", + "tags": [ + "Private Providers" + ], + "x-speakeasy-name-override": "get" + }, + "patch": { + "description": "Update a private provider’s details or declared data policy. The name and slug cannot change. Refuses (409) a data-policy change while OpenRouter pins the declared policy on one of its endpoints. [Management key](/docs/guides/overview/auth/management-api-keys) required.", + "operationId": "updatePrivateProvider", "parameters": [ { - "description": "Stable identifier of the private endpoint.", "in": "path", - "name": "id", + "name": "slug", "required": true, "schema": { - "description": "Stable identifier of the private endpoint.", - "example": "5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11", - "format": "uuid", + "example": "acme", "type": "string" } } @@ -69040,7 +71213,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ValidatePrivateEndpointRequest" + "$ref": "#/components/schemas/UpdatePrivateProviderRequest" } } }, @@ -69051,11 +71224,19 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PrivateEndpointValidationResponse" + "properties": { + "data": { + "$ref": "#/components/schemas/PrivateProvider" + } + }, + "required": [ + "data" + ], + "type": "object" } } }, - "description": "Validation checks" + "description": "The updated provider" }, "400": { "content": { @@ -69169,6 +71350,22 @@ }, "description": "Unprocessable Entity - Semantic validation failure" }, + "429": { + "content": { + "application/json": { + "example": { + "error": { + "code": 429, + "message": "Rate limit exceeded" + } + }, + "schema": { + "$ref": "#/components/schemas/TooManyRequestsResponse" + } + } + }, + "description": "Too Many Requests - Rate limit exceeded" + }, "500": { "content": { "application/json": { @@ -69202,11 +71399,11 @@ "description": "Bad Gateway - Provider/upstream API failure" } }, - "summary": "Validate a draft private endpoint", + "summary": "Update a private provider", "tags": [ - "Private Endpoints" + "Private Providers" ], - "x-speakeasy-name-override": "validate" + "x-speakeasy-name-override": "update" }, "parameters": [ { @@ -72380,7 +74577,7 @@ }, "/vault/interns/{internId}/connections": { "get": { - "description": "Lists the connections in scope for the intern, by the key of their card on the dashboard's Connections tab: `github`, `slack`, `google`, a catalog MCP server such as `linear` or `notion`, or `mcp:` for a custom MCP server. A connection is listed when it is stored, enabled, and not turned off or hidden for this intern, as the Connections tab lists it; whether its last test passed is not part of the rule. `ori features add` checks a feature's `ori.requires.connections` against this list. Keys only, never credentials. Returns 404 for an intern the key cannot see. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern's own API key is confined to that intern: it can always read the intern's secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.", + "description": "Lists the connections in scope for the intern, by the key of their card on the dashboard's Connections tab: `github`, `slack`, `google`, a catalog MCP server such as `linear` or `notion`, or `mcp:` for a custom MCP server. A connection is listed when it is stored, enabled, and not turned off or hidden for this intern, as the Connections tab lists it; whether its last test passed is not part of the rule. `ori features add` checks a feature's `ori.requires.connections` against this list. `routing` is the vault's routing table for the intern: the credentials it holds and what it would inject each for, from the same lookups the egress proxy picks a credential with, GitHub repository coverage read through the installation token and cached. `routing_text` is that table as the lines the intern reads in its instructions. Never credentials. Returns 404 for an intern the key cannot see. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern's own API key is confined to that intern: it can always read the intern's secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.", "operationId": "listInternConnections", "parameters": [ { @@ -72408,7 +74605,83 @@ { "key": "linear" } - ] + ], + "routing": { + "agent_id": "intern_123", + "custom_origins": [], + "github": { + "apps": [ + { + "app_id": "71000003", + "app_slug": "openrouter-interns", + "installations": [ + { + "account": "OpenRouterTeam", + "account_type": "organization", + "coverage": { + "checked_at": "2026-10-27T19:30:00.000Z", + "repository_count": 42, + "selection": "all" + }, + "credential_id": "cred_1", + "holds_token": true, + "is_enabled": true, + "is_off_for_intern": false + } + ], + "member_links": [ + { + "holds_token": true, + "login": "gfadlallah", + "member_user_id": "user_1" + } + ], + "scope": "workspace" + } + ], + "tokens": [] + }, + "google": { + "accounts": [] + }, + "host_rules": [ + { + "holds_secret": false, + "host": "api.openai.com", + "secret_name": "openai_api_key" + } + ], + "mcp_origins": [ + { + "account_key": null, + "holds_secret": true, + "host": "mcp.linear.app", + "injects": "bearer", + "is_personal": false, + "routes": [ + { + "host": "mcp.linear.app", + "path_prefix": null + } + ] + } + ], + "read_at": "2026-10-27T20:00:00.000Z", + "secrets": [ + { + "created_at": "2026-09-15T10:00:00.000Z", + "hosts": [ + "api.linear.app" + ], + "name": "linear_api_key", + "scope": "workspace" + } + ], + "slack": { + "member_links": [] + } + }, + "routing_text": "## Connections\n\n..." }, "schema": { "properties": { @@ -72425,10 +74698,22 @@ "type": "object" }, "type": "array" + }, + "routing": { + "$ref": "#/components/schemas/VaultRoutingTable" + }, + "routing_text": { + "description": "The routing table as the plain lines the intern reads in its instructions' Connections section, or a notice that it could not be read; null for a caller other than the intern.", + "type": [ + "string", + "null" + ] } }, "required": [ - "data" + "data", + "routing", + "routing_text" ], "type": "object" } @@ -77936,6 +80221,10 @@ "description": "Private Endpoints endpoints", "name": "Private Endpoints" }, + { + "description": "Private Providers endpoints", + "name": "Private Providers" + }, { "description": "Provider information endpoints", "name": "Providers"