From 61cf795efb9f1d32618733173dd0931ee5b2b475 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 4 Jul 2026 08:45:16 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...uter.AnalyticsClient.GetUserActivity.g.cs} | 2 +- ...t.g.cs => OpenRouter.AnalyticsClient.g.cs} | 14 +- ...thropicMessagesClient.CreateMessages.g.cs} | 2 +- ...> OpenRouter.AnthropicMessagesClient.g.cs} | 14 +- ... OpenRouter.ApiKeysClient.CreateKeys.g.cs} | 2 +- ... OpenRouter.ApiKeysClient.DeleteKeys.g.cs} | 2 +- ...enRouter.ApiKeysClient.GetCurrentKey.g.cs} | 2 +- ...s => OpenRouter.ApiKeysClient.GetKey.g.cs} | 2 +- ....cs => OpenRouter.ApiKeysClient.List.g.cs} | 2 +- ... OpenRouter.ApiKeysClient.UpdateKeys.g.cs} | 2 +- ...ent.g.cs => OpenRouter.ApiKeysClient.g.cs} | 14 +- ...outer.BenchmarksClient.GetBenchmarks.g.cs} | 2 +- .../OpenRouter.BenchmarksClient.g.cs | 136 ++++++++++++++ ...BetaAnalyticsClient.GetAnalyticsMeta.g.cs} | 2 +- ...r.BetaAnalyticsClient.QueryAnalytics.g.cs} | 2 +- ...cs => OpenRouter.BetaAnalyticsClient.g.cs} | 14 +- ....BetaResponsesClient.CreateResponses.g.cs} | 2 +- ...cs => OpenRouter.BetaResponsesClient.g.cs} | 14 +- ... OpenRouter.ByokClient.CreateByokKey.g.cs} | 2 +- ... OpenRouter.ByokClient.DeleteByokKey.g.cs} | 2 +- ... => OpenRouter.ByokClient.GetByokKey.g.cs} | 2 +- ...> OpenRouter.ByokClient.ListByokKeys.g.cs} | 2 +- ... OpenRouter.ByokClient.UpdateByokKey.g.cs} | 2 +- .../Generated/OpenRouter.ByokClient.g.cs | 136 ++++++++++++++ ...ChatClient.SendChatCompletionRequest.g.cs} | 2 +- .../Generated/OpenRouter.ChatClient.g.cs | 136 ++++++++++++++ ...cationsClient.GetTaskClassifications.g.cs} | 2 +- ... => OpenRouter.ClassificationsClient.g.cs} | 14 +- ... OpenRouter.CreditsClient.GetCredits.g.cs} | 2 +- .../Generated/OpenRouter.CreditsClient.g.cs | 136 ++++++++++++++ ...Router.DatasetsClient.GetAppRankings.g.cs} | 2 +- ...uter.DatasetsClient.GetRankingsDaily.g.cs} | 2 +- .../Generated/OpenRouter.DatasetsClient.g.cs | 136 ++++++++++++++ ...er.EmbeddingsClient.CreateEmbeddings.g.cs} | 2 +- ...mbeddingsClient.ListEmbeddingsModels.g.cs} | 2 +- .../OpenRouter.EmbeddingsClient.g.cs | 136 ++++++++++++++ ...Router.EndpointsClient.ListEndpoints.g.cs} | 2 +- ...ter.EndpointsClient.ListEndpointsZdr.g.cs} | 2 +- .../Generated/OpenRouter.EndpointsClient.g.cs | 136 ++++++++++++++ ...=> OpenRouter.FilesClient.DeleteFile.g.cs} | 2 +- ...uter.FilesClient.DownloadFileContent.g.cs} | 2 +- ...enRouter.FilesClient.GetFileMetadata.g.cs} | 2 +- ... => OpenRouter.FilesClient.ListFiles.g.cs} | 2 +- ...=> OpenRouter.FilesClient.UploadFile.g.cs} | 2 +- .../Generated/OpenRouter.FilesClient.g.cs | 136 ++++++++++++++ ...uter.GenerationsClient.GetGeneration.g.cs} | 2 +- ...erationsClient.ListGenerationContent.g.cs} | 2 +- .../OpenRouter.GenerationsClient.g.cs | 136 ++++++++++++++ ...ailsClient.BulkAssignKeysToGuardrail.g.cs} | 2 +- ...sClient.BulkAssignMembersToGuardrail.g.cs} | 2 +- ...Client.BulkUnassignKeysFromGuardrail.g.cs} | 2 +- ...ent.BulkUnassignMembersFromGuardrail.g.cs} | 2 +- ...ter.GuardrailsClient.CreateGuardrail.g.cs} | 2 +- ...ter.GuardrailsClient.DeleteGuardrail.g.cs} | 2 +- ...Router.GuardrailsClient.GetGuardrail.g.cs} | 2 +- ...lsClient.ListGuardrailKeyAssignments.g.cs} | 2 +- ...lient.ListGuardrailMemberAssignments.g.cs} | 2 +- ...uter.GuardrailsClient.ListGuardrails.g.cs} | 2 +- ....GuardrailsClient.ListKeyAssignments.g.cs} | 2 +- ...ardrailsClient.ListMemberAssignments.g.cs} | 2 +- ...ter.GuardrailsClient.UpdateGuardrail.g.cs} | 2 +- .../OpenRouter.GuardrailsClient.g.cs | 136 ++++++++++++++ ...ter.IAnalyticsClient.GetUserActivity.g.cs} | 2 +- ....g.cs => OpenRouter.IAnalyticsClient.g.cs} | 2 +- ...thropicMessagesClient.CreateMessages.g.cs} | 2 +- ... OpenRouter.IAnthropicMessagesClient.g.cs} | 2 +- ...OpenRouter.IApiKeysClient.CreateKeys.g.cs} | 2 +- ...OpenRouter.IApiKeysClient.DeleteKeys.g.cs} | 2 +- ...nRouter.IApiKeysClient.GetCurrentKey.g.cs} | 2 +- ... => OpenRouter.IApiKeysClient.GetKey.g.cs} | 2 +- ...cs => OpenRouter.IApiKeysClient.List.g.cs} | 2 +- ...OpenRouter.IApiKeysClient.UpdateKeys.g.cs} | 2 +- ...nt.g.cs => OpenRouter.IApiKeysClient.g.cs} | 2 +- ...uter.IBenchmarksClient.GetBenchmarks.g.cs} | 2 +- .../OpenRouter.IBenchmarksClient.g.cs | 48 +++++ ...BetaAnalyticsClient.GetAnalyticsMeta.g.cs} | 2 +- ....IBetaAnalyticsClient.QueryAnalytics.g.cs} | 2 +- ...s => OpenRouter.IBetaAnalyticsClient.g.cs} | 2 +- ...IBetaResponsesClient.CreateResponses.g.cs} | 2 +- ...s => OpenRouter.IBetaResponsesClient.g.cs} | 2 +- ...OpenRouter.IByokClient.CreateByokKey.g.cs} | 2 +- ...OpenRouter.IByokClient.DeleteByokKey.g.cs} | 2 +- ...=> OpenRouter.IByokClient.GetByokKey.g.cs} | 2 +- ... OpenRouter.IByokClient.ListByokKeys.g.cs} | 2 +- ...OpenRouter.IByokClient.UpdateByokKey.g.cs} | 2 +- .../Generated/OpenRouter.IByokClient.g.cs | 48 +++++ ...ChatClient.SendChatCompletionRequest.g.cs} | 2 +- .../Generated/OpenRouter.IChatClient.g.cs | 48 +++++ ...cationsClient.GetTaskClassifications.g.cs} | 2 +- ...=> OpenRouter.IClassificationsClient.g.cs} | 2 +- ...OpenRouter.ICreditsClient.GetCredits.g.cs} | 2 +- .../Generated/OpenRouter.ICreditsClient.g.cs | 48 +++++ ...outer.IDatasetsClient.GetAppRankings.g.cs} | 2 +- ...ter.IDatasetsClient.GetRankingsDaily.g.cs} | 2 +- .../Generated/OpenRouter.IDatasetsClient.g.cs | 48 +++++ ...r.IEmbeddingsClient.CreateEmbeddings.g.cs} | 2 +- ...mbeddingsClient.ListEmbeddingsModels.g.cs} | 2 +- .../OpenRouter.IEmbeddingsClient.g.cs | 48 +++++ ...outer.IEndpointsClient.ListEndpoints.g.cs} | 2 +- ...er.IEndpointsClient.ListEndpointsZdr.g.cs} | 2 +- .../OpenRouter.IEndpointsClient.g.cs | 48 +++++ ...> OpenRouter.IFilesClient.DeleteFile.g.cs} | 2 +- ...ter.IFilesClient.DownloadFileContent.g.cs} | 2 +- ...nRouter.IFilesClient.GetFileMetadata.g.cs} | 2 +- ...=> OpenRouter.IFilesClient.ListFiles.g.cs} | 2 +- ...> OpenRouter.IFilesClient.UploadFile.g.cs} | 2 +- .../Generated/OpenRouter.IFilesClient.g.cs | 48 +++++ ...ter.IGenerationsClient.GetGeneration.g.cs} | 2 +- ...erationsClient.ListGenerationContent.g.cs} | 2 +- .../OpenRouter.IGenerationsClient.g.cs | 48 +++++ ...ailsClient.BulkAssignKeysToGuardrail.g.cs} | 2 +- ...sClient.BulkAssignMembersToGuardrail.g.cs} | 2 +- ...Client.BulkUnassignKeysFromGuardrail.g.cs} | 2 +- ...ent.BulkUnassignMembersFromGuardrail.g.cs} | 2 +- ...er.IGuardrailsClient.CreateGuardrail.g.cs} | 2 +- ...er.IGuardrailsClient.DeleteGuardrail.g.cs} | 2 +- ...outer.IGuardrailsClient.GetGuardrail.g.cs} | 2 +- ...lsClient.ListGuardrailKeyAssignments.g.cs} | 2 +- ...lient.ListGuardrailMemberAssignments.g.cs} | 2 +- ...ter.IGuardrailsClient.ListGuardrails.g.cs} | 2 +- ...IGuardrailsClient.ListKeyAssignments.g.cs} | 2 +- ...ardrailsClient.ListMemberAssignments.g.cs} | 2 +- ...er.IGuardrailsClient.UpdateGuardrail.g.cs} | 2 +- .../OpenRouter.IGuardrailsClient.g.cs | 48 +++++ ...penRouter.IImagesClient.CreateImages.g.cs} | 2 +- ...ImagesClient.ListImageModelEndpoints.g.cs} | 2 +- ...Router.IImagesClient.ListImageModels.g.cs} | 2 +- .../Generated/OpenRouter.IImagesClient.g.cs | 48 +++++ ...=> OpenRouter.IModelsClient.GetModel.g.cs} | 2 +- ...> OpenRouter.IModelsClient.GetModels.g.cs} | 2 +- ...Router.IModelsClient.ListModelsCount.g.cs} | 2 +- ...nRouter.IModelsClient.ListModelsUser.g.cs} | 2 +- .../Generated/OpenRouter.IModelsClient.g.cs | 48 +++++ ...uter.IOAuthClient.CreateAuthKeysCode.g.cs} | 2 +- ...AuthClient.ExchangeAuthCodeForApiKey.g.cs} | 2 +- .../Generated/OpenRouter.IOAuthClient.g.cs | 48 +++++ ...lient.CreateObservabilityDestination.g.cs} | 2 +- ...lient.DeleteObservabilityDestination.g.cs} | 2 +- ...tyClient.GetObservabilityDestination.g.cs} | 2 +- ...Client.ListObservabilityDestinations.g.cs} | 2 +- ...lient.UpdateObservabilityDestination.g.cs} | 2 +- .../OpenRouter.IObservabilityClient.g.cs | 48 +++++ .../OpenRouter.IOpenRouterClient.g.cs | 56 +++--- ...zationClient.ListOrganizationMembers.g.cs} | 2 +- .../OpenRouter.IOrganizationClient.g.cs | 48 +++++ ...sClient.CreatePresetsChatCompletions.g.cs} | 2 +- ...IPresetsClient.CreatePresetsMessages.g.cs} | 2 +- ...PresetsClient.CreatePresetsResponses.g.cs} | 2 +- ... OpenRouter.IPresetsClient.GetPreset.g.cs} | 2 +- ...uter.IPresetsClient.GetPresetVersion.g.cs} | 2 +- ...er.IPresetsClient.ListPresetVersions.g.cs} | 2 +- ...penRouter.IPresetsClient.ListPresets.g.cs} | 2 +- .../Generated/OpenRouter.IPresetsClient.g.cs | 48 +++++ ...outer.IProvidersClient.ListProviders.g.cs} | 2 +- .../OpenRouter.IProvidersClient.g.cs | 48 +++++ ...penRouter.IRerankClient.CreateRerank.g.cs} | 2 +- .../Generated/OpenRouter.IRerankClient.g.cs | 48 +++++ ...ISttClient.CreateAudioTranscriptions.g.cs} | 2 +- .../Generated/OpenRouter.ISttClient.g.cs | 48 +++++ ...OpenRouter.ISubpackageAnalyticsClient.g.cs | 48 ----- ...er.ISubpackageAnthropicMessagesClient.g.cs | 48 ----- .../OpenRouter.ISubpackageApiKeysClient.g.cs | 48 ----- ...penRouter.ISubpackageBenchmarksClient.g.cs | 48 ----- ...Router.ISubpackageBetaAnalyticsClient.g.cs | 48 ----- ...Router.ISubpackageBetaResponsesClient.g.cs | 48 ----- ...uter.ISubpackageClassificationsClient.g.cs | 48 ----- .../OpenRouter.ISubpackageCreditsClient.g.cs | 48 ----- .../OpenRouter.ISubpackageDatasetsClient.g.cs | 48 ----- ...penRouter.ISubpackageEmbeddingsClient.g.cs | 48 ----- ...OpenRouter.ISubpackageEndpointsClient.g.cs | 48 ----- ...enRouter.ISubpackageGenerationsClient.g.cs | 48 ----- ...penRouter.ISubpackageGuardrailsClient.g.cs | 48 ----- .../OpenRouter.ISubpackageImagesClient.g.cs | 48 ----- .../OpenRouter.ISubpackageModelsClient.g.cs | 48 ----- ...Router.ISubpackageObservabilityClient.g.cs | 48 ----- ...nRouter.ISubpackageOrganizationClient.g.cs | 48 ----- ...OpenRouter.ISubpackageProvidersClient.g.cs | 48 ----- .../OpenRouter.ISubpackageRerankClient.g.cs | 48 ----- ...uter.ISubpackageVideoGenerationClient.g.cs | 48 ----- ...penRouter.ISubpackageWorkspacesClient.g.cs | 48 ----- ...nRouter.ITtsClient.CreateAudioSpeech.g.cs} | 2 +- .../Generated/OpenRouter.ITtsClient.g.cs | 48 +++++ ....IVideoGenerationClient.CreateVideos.g.cs} | 2 +- ...ter.IVideoGenerationClient.GetVideos.g.cs} | 2 +- ...eoGenerationClient.ListVideosContent.g.cs} | 2 +- ...deoGenerationClient.ListVideosModels.g.cs} | 2 +- ...=> OpenRouter.IVideoGenerationClient.g.cs} | 2 +- ...spacesClient.BulkAddWorkspaceMembers.g.cs} | 2 +- ...cesClient.BulkRemoveWorkspaceMembers.g.cs} | 2 +- ...er.IWorkspacesClient.CreateWorkspace.g.cs} | 2 +- ...er.IWorkspacesClient.DeleteWorkspace.g.cs} | 2 +- ...rkspacesClient.DeleteWorkspaceBudget.g.cs} | 2 +- ...outer.IWorkspacesClient.GetWorkspace.g.cs} | 2 +- ...orkspacesClient.ListWorkspaceBudgets.g.cs} | 2 +- ...ter.IWorkspacesClient.ListWorkspaces.g.cs} | 2 +- ...er.IWorkspacesClient.UpdateWorkspace.g.cs} | 2 +- ...rkspacesClient.UpsertWorkspaceBudget.g.cs} | 2 +- .../OpenRouter.IWorkspacesClient.g.cs | 48 +++++ ...OpenRouter.ImagesClient.CreateImages.g.cs} | 2 +- ...ImagesClient.ListImageModelEndpoints.g.cs} | 2 +- ...nRouter.ImagesClient.ListImageModels.g.cs} | 2 +- .../Generated/OpenRouter.ImagesClient.g.cs | 136 ++++++++++++++ ... => OpenRouter.ModelsClient.GetModel.g.cs} | 2 +- ...=> OpenRouter.ModelsClient.GetModels.g.cs} | 2 +- ...nRouter.ModelsClient.ListModelsCount.g.cs} | 2 +- ...enRouter.ModelsClient.ListModelsUser.g.cs} | 2 +- .../Generated/OpenRouter.ModelsClient.g.cs | 136 ++++++++++++++ ...outer.OAuthClient.CreateAuthKeysCode.g.cs} | 2 +- ...AuthClient.ExchangeAuthCodeForApiKey.g.cs} | 2 +- .../Generated/OpenRouter.OAuthClient.g.cs | 136 ++++++++++++++ ...lient.CreateObservabilityDestination.g.cs} | 2 +- ...lient.DeleteObservabilityDestination.g.cs} | 2 +- ...tyClient.GetObservabilityDestination.g.cs} | 2 +- ...Client.ListObservabilityDestinations.g.cs} | 2 +- ...lient.UpdateObservabilityDestination.g.cs} | 2 +- .../OpenRouter.ObservabilityClient.g.cs | 136 ++++++++++++++ .../OpenRouter.OpenRouterClient.g.cs | 56 +++--- ...zationClient.ListOrganizationMembers.g.cs} | 2 +- .../OpenRouter.OrganizationClient.g.cs | 136 ++++++++++++++ ...sClient.CreatePresetsChatCompletions.g.cs} | 2 +- ....PresetsClient.CreatePresetsMessages.g.cs} | 2 +- ...PresetsClient.CreatePresetsResponses.g.cs} | 2 +- ...> OpenRouter.PresetsClient.GetPreset.g.cs} | 2 +- ...outer.PresetsClient.GetPresetVersion.g.cs} | 2 +- ...ter.PresetsClient.ListPresetVersions.g.cs} | 2 +- ...OpenRouter.PresetsClient.ListPresets.g.cs} | 2 +- .../Generated/OpenRouter.PresetsClient.g.cs | 136 ++++++++++++++ ...Router.ProvidersClient.ListProviders.g.cs} | 2 +- .../Generated/OpenRouter.ProvidersClient.g.cs | 136 ++++++++++++++ ...OpenRouter.RerankClient.CreateRerank.g.cs} | 2 +- .../Generated/OpenRouter.RerankClient.g.cs | 136 ++++++++++++++ ....SttClient.CreateAudioTranscriptions.g.cs} | 2 +- .../Generated/OpenRouter.SttClient.g.cs | 136 ++++++++++++++ .../OpenRouter.SubpackageAnalyticsClient.g.cs | 136 -------------- ...ter.SubpackageAnthropicMessagesClient.g.cs | 136 -------------- .../OpenRouter.SubpackageApiKeysClient.g.cs | 136 -------------- ...OpenRouter.SubpackageBenchmarksClient.g.cs | 136 -------------- ...nRouter.SubpackageBetaAnalyticsClient.g.cs | 136 -------------- ...nRouter.SubpackageBetaResponsesClient.g.cs | 136 -------------- ...outer.SubpackageClassificationsClient.g.cs | 136 -------------- .../OpenRouter.SubpackageCreditsClient.g.cs | 136 -------------- .../OpenRouter.SubpackageDatasetsClient.g.cs | 136 -------------- ...OpenRouter.SubpackageEmbeddingsClient.g.cs | 136 -------------- .../OpenRouter.SubpackageEndpointsClient.g.cs | 136 -------------- ...penRouter.SubpackageGenerationsClient.g.cs | 136 -------------- ...OpenRouter.SubpackageGuardrailsClient.g.cs | 136 -------------- .../OpenRouter.SubpackageImagesClient.g.cs | 136 -------------- .../OpenRouter.SubpackageModelsClient.g.cs | 136 -------------- ...nRouter.SubpackageObservabilityClient.g.cs | 136 -------------- ...enRouter.SubpackageOrganizationClient.g.cs | 136 -------------- .../OpenRouter.SubpackageProvidersClient.g.cs | 136 -------------- .../OpenRouter.SubpackageRerankClient.g.cs | 136 -------------- ...outer.SubpackageVideoGenerationClient.g.cs | 136 -------------- ...OpenRouter.SubpackageWorkspacesClient.g.cs | 136 -------------- ...enRouter.TtsClient.CreateAudioSpeech.g.cs} | 2 +- .../Generated/OpenRouter.TtsClient.g.cs | 136 ++++++++++++++ ...r.VideoGenerationClient.CreateVideos.g.cs} | 2 +- ...uter.VideoGenerationClient.GetVideos.g.cs} | 2 +- ...eoGenerationClient.ListVideosContent.g.cs} | 2 +- ...deoGenerationClient.ListVideosModels.g.cs} | 2 +- ... => OpenRouter.VideoGenerationClient.g.cs} | 14 +- ...spacesClient.BulkAddWorkspaceMembers.g.cs} | 2 +- ...cesClient.BulkRemoveWorkspaceMembers.g.cs} | 2 +- ...ter.WorkspacesClient.CreateWorkspace.g.cs} | 2 +- ...ter.WorkspacesClient.DeleteWorkspace.g.cs} | 2 +- ...rkspacesClient.DeleteWorkspaceBudget.g.cs} | 2 +- ...Router.WorkspacesClient.GetWorkspace.g.cs} | 2 +- ...orkspacesClient.ListWorkspaceBudgets.g.cs} | 2 +- ...uter.WorkspacesClient.ListWorkspaces.g.cs} | 2 +- ...ter.WorkspacesClient.UpdateWorkspace.g.cs} | 2 +- ...rkspacesClient.UpsertWorkspaceBudget.g.cs} | 2 +- .../OpenRouter.WorkspacesClient.g.cs | 136 ++++++++++++++ src/libs/OpenRouter/openapi.yaml | 172 +++++++++--------- 273 files changed, 4234 insertions(+), 4234 deletions(-) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageAnalyticsClient.GetUserActivity.g.cs => OpenRouter.AnalyticsClient.GetUserActivity.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageChatClient.g.cs => OpenRouter.AnalyticsClient.g.cs} (92%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageAnthropicMessagesClient.CreateMessages.g.cs => OpenRouter.AnthropicMessagesClient.CreateMessages.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackagePresetsClient.g.cs => OpenRouter.AnthropicMessagesClient.g.cs} (93%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageApiKeysClient.CreateKeys.g.cs => OpenRouter.ApiKeysClient.CreateKeys.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageApiKeysClient.DeleteKeys.g.cs => OpenRouter.ApiKeysClient.DeleteKeys.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageApiKeysClient.GetCurrentKey.g.cs => OpenRouter.ApiKeysClient.GetCurrentKey.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageApiKeysClient.GetKey.g.cs => OpenRouter.ApiKeysClient.GetKey.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageApiKeysClient.List.g.cs => OpenRouter.ApiKeysClient.List.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageApiKeysClient.UpdateKeys.g.cs => OpenRouter.ApiKeysClient.UpdateKeys.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageByokClient.g.cs => OpenRouter.ApiKeysClient.g.cs} (92%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageBenchmarksClient.GetBenchmarks.g.cs => OpenRouter.BenchmarksClient.GetBenchmarks.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.BenchmarksClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageBetaAnalyticsClient.GetAnalyticsMeta.g.cs => OpenRouter.BetaAnalyticsClient.GetAnalyticsMeta.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageBetaAnalyticsClient.QueryAnalytics.g.cs => OpenRouter.BetaAnalyticsClient.QueryAnalytics.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageSttClient.g.cs => OpenRouter.BetaAnalyticsClient.g.cs} (93%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageBetaResponsesClient.CreateResponses.g.cs => OpenRouter.BetaResponsesClient.CreateResponses.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageTtsClient.g.cs => OpenRouter.BetaResponsesClient.g.cs} (93%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageByokClient.CreateByokKey.g.cs => OpenRouter.ByokClient.CreateByokKey.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageByokClient.DeleteByokKey.g.cs => OpenRouter.ByokClient.DeleteByokKey.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageByokClient.GetByokKey.g.cs => OpenRouter.ByokClient.GetByokKey.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageByokClient.ListByokKeys.g.cs => OpenRouter.ByokClient.ListByokKeys.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageByokClient.UpdateByokKey.g.cs => OpenRouter.ByokClient.UpdateByokKey.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ByokClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageChatClient.SendChatCompletionRequest.g.cs => OpenRouter.ChatClient.SendChatCompletionRequest.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ChatClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageClassificationsClient.GetTaskClassifications.g.cs => OpenRouter.ClassificationsClient.GetTaskClassifications.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageFilesClient.g.cs => OpenRouter.ClassificationsClient.g.cs} (93%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageCreditsClient.GetCredits.g.cs => OpenRouter.CreditsClient.GetCredits.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageDatasetsClient.GetAppRankings.g.cs => OpenRouter.DatasetsClient.GetAppRankings.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageDatasetsClient.GetRankingsDaily.g.cs => OpenRouter.DatasetsClient.GetRankingsDaily.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.DatasetsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageEmbeddingsClient.CreateEmbeddings.g.cs => OpenRouter.EmbeddingsClient.CreateEmbeddings.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageEmbeddingsClient.ListEmbeddingsModels.g.cs => OpenRouter.EmbeddingsClient.ListEmbeddingsModels.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.EmbeddingsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageEndpointsClient.ListEndpoints.g.cs => OpenRouter.EndpointsClient.ListEndpoints.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageEndpointsClient.ListEndpointsZdr.g.cs => OpenRouter.EndpointsClient.ListEndpointsZdr.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageFilesClient.DeleteFile.g.cs => OpenRouter.FilesClient.DeleteFile.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageFilesClient.DownloadFileContent.g.cs => OpenRouter.FilesClient.DownloadFileContent.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageFilesClient.GetFileMetadata.g.cs => OpenRouter.FilesClient.GetFileMetadata.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageFilesClient.ListFiles.g.cs => OpenRouter.FilesClient.ListFiles.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageFilesClient.UploadFile.g.cs => OpenRouter.FilesClient.UploadFile.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.FilesClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGenerationsClient.GetGeneration.g.cs => OpenRouter.GenerationsClient.GetGeneration.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGenerationsClient.ListGenerationContent.g.cs => OpenRouter.GenerationsClient.ListGenerationContent.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.GenerationsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGuardrailsClient.BulkAssignKeysToGuardrail.g.cs => OpenRouter.GuardrailsClient.BulkAssignKeysToGuardrail.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGuardrailsClient.BulkAssignMembersToGuardrail.g.cs => OpenRouter.GuardrailsClient.BulkAssignMembersToGuardrail.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs => OpenRouter.GuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs => OpenRouter.GuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGuardrailsClient.CreateGuardrail.g.cs => OpenRouter.GuardrailsClient.CreateGuardrail.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGuardrailsClient.DeleteGuardrail.g.cs => OpenRouter.GuardrailsClient.DeleteGuardrail.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGuardrailsClient.GetGuardrail.g.cs => OpenRouter.GuardrailsClient.GetGuardrail.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGuardrailsClient.ListGuardrailKeyAssignments.g.cs => OpenRouter.GuardrailsClient.ListGuardrailKeyAssignments.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGuardrailsClient.ListGuardrailMemberAssignments.g.cs => OpenRouter.GuardrailsClient.ListGuardrailMemberAssignments.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGuardrailsClient.ListGuardrails.g.cs => OpenRouter.GuardrailsClient.ListGuardrails.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGuardrailsClient.ListKeyAssignments.g.cs => OpenRouter.GuardrailsClient.ListKeyAssignments.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGuardrailsClient.ListMemberAssignments.g.cs => OpenRouter.GuardrailsClient.ListMemberAssignments.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageGuardrailsClient.UpdateGuardrail.g.cs => OpenRouter.GuardrailsClient.UpdateGuardrail.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageAnalyticsClient.GetUserActivity.g.cs => OpenRouter.IAnalyticsClient.GetUserActivity.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageChatClient.g.cs => OpenRouter.IAnalyticsClient.g.cs} (95%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageAnthropicMessagesClient.CreateMessages.g.cs => OpenRouter.IAnthropicMessagesClient.CreateMessages.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackagePresetsClient.g.cs => OpenRouter.IAnthropicMessagesClient.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageApiKeysClient.CreateKeys.g.cs => OpenRouter.IApiKeysClient.CreateKeys.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageApiKeysClient.DeleteKeys.g.cs => OpenRouter.IApiKeysClient.DeleteKeys.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageApiKeysClient.GetCurrentKey.g.cs => OpenRouter.IApiKeysClient.GetCurrentKey.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageApiKeysClient.GetKey.g.cs => OpenRouter.IApiKeysClient.GetKey.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageApiKeysClient.List.g.cs => OpenRouter.IApiKeysClient.List.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageApiKeysClient.UpdateKeys.g.cs => OpenRouter.IApiKeysClient.UpdateKeys.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageByokClient.g.cs => OpenRouter.IApiKeysClient.g.cs} (95%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageBenchmarksClient.GetBenchmarks.g.cs => OpenRouter.IBenchmarksClient.GetBenchmarks.g.cs} (98%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IBenchmarksClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageBetaAnalyticsClient.GetAnalyticsMeta.g.cs => OpenRouter.IBetaAnalyticsClient.GetAnalyticsMeta.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageBetaAnalyticsClient.QueryAnalytics.g.cs => OpenRouter.IBetaAnalyticsClient.QueryAnalytics.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageSttClient.g.cs => OpenRouter.IBetaAnalyticsClient.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageBetaResponsesClient.CreateResponses.g.cs => OpenRouter.IBetaResponsesClient.CreateResponses.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageTtsClient.g.cs => OpenRouter.IBetaResponsesClient.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageByokClient.CreateByokKey.g.cs => OpenRouter.IByokClient.CreateByokKey.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageByokClient.DeleteByokKey.g.cs => OpenRouter.IByokClient.DeleteByokKey.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageByokClient.GetByokKey.g.cs => OpenRouter.IByokClient.GetByokKey.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageByokClient.ListByokKeys.g.cs => OpenRouter.IByokClient.ListByokKeys.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageByokClient.UpdateByokKey.g.cs => OpenRouter.IByokClient.UpdateByokKey.g.cs} (98%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IByokClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageChatClient.SendChatCompletionRequest.g.cs => OpenRouter.IChatClient.SendChatCompletionRequest.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IChatClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageClassificationsClient.GetTaskClassifications.g.cs => OpenRouter.IClassificationsClient.GetTaskClassifications.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageFilesClient.g.cs => OpenRouter.IClassificationsClient.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageCreditsClient.GetCredits.g.cs => OpenRouter.ICreditsClient.GetCredits.g.cs} (97%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageDatasetsClient.GetAppRankings.g.cs => OpenRouter.IDatasetsClient.GetAppRankings.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageDatasetsClient.GetRankingsDaily.g.cs => OpenRouter.IDatasetsClient.GetRankingsDaily.g.cs} (98%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IDatasetsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageEmbeddingsClient.CreateEmbeddings.g.cs => OpenRouter.IEmbeddingsClient.CreateEmbeddings.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageEmbeddingsClient.ListEmbeddingsModels.g.cs => OpenRouter.IEmbeddingsClient.ListEmbeddingsModels.g.cs} (96%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IEmbeddingsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageEndpointsClient.ListEndpoints.g.cs => OpenRouter.IEndpointsClient.ListEndpoints.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageEndpointsClient.ListEndpointsZdr.g.cs => OpenRouter.IEndpointsClient.ListEndpointsZdr.g.cs} (96%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IEndpointsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageFilesClient.DeleteFile.g.cs => OpenRouter.IFilesClient.DeleteFile.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageFilesClient.DownloadFileContent.g.cs => OpenRouter.IFilesClient.DownloadFileContent.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageFilesClient.GetFileMetadata.g.cs => OpenRouter.IFilesClient.GetFileMetadata.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageFilesClient.ListFiles.g.cs => OpenRouter.IFilesClient.ListFiles.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageFilesClient.UploadFile.g.cs => OpenRouter.IFilesClient.UploadFile.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGenerationsClient.GetGeneration.g.cs => OpenRouter.IGenerationsClient.GetGeneration.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGenerationsClient.ListGenerationContent.g.cs => OpenRouter.IGenerationsClient.ListGenerationContent.g.cs} (96%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IGenerationsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGuardrailsClient.BulkAssignKeysToGuardrail.g.cs => OpenRouter.IGuardrailsClient.BulkAssignKeysToGuardrail.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGuardrailsClient.BulkAssignMembersToGuardrail.g.cs => OpenRouter.IGuardrailsClient.BulkAssignMembersToGuardrail.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs => OpenRouter.IGuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs => OpenRouter.IGuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGuardrailsClient.CreateGuardrail.g.cs => OpenRouter.IGuardrailsClient.CreateGuardrail.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGuardrailsClient.DeleteGuardrail.g.cs => OpenRouter.IGuardrailsClient.DeleteGuardrail.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGuardrailsClient.GetGuardrail.g.cs => OpenRouter.IGuardrailsClient.GetGuardrail.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGuardrailsClient.ListGuardrailKeyAssignments.g.cs => OpenRouter.IGuardrailsClient.ListGuardrailKeyAssignments.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGuardrailsClient.ListGuardrailMemberAssignments.g.cs => OpenRouter.IGuardrailsClient.ListGuardrailMemberAssignments.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGuardrailsClient.ListGuardrails.g.cs => OpenRouter.IGuardrailsClient.ListGuardrails.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGuardrailsClient.ListKeyAssignments.g.cs => OpenRouter.IGuardrailsClient.ListKeyAssignments.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGuardrailsClient.ListMemberAssignments.g.cs => OpenRouter.IGuardrailsClient.ListMemberAssignments.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageGuardrailsClient.UpdateGuardrail.g.cs => OpenRouter.IGuardrailsClient.UpdateGuardrail.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageImagesClient.CreateImages.g.cs => OpenRouter.IImagesClient.CreateImages.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageImagesClient.ListImageModelEndpoints.g.cs => OpenRouter.IImagesClient.ListImageModelEndpoints.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageImagesClient.ListImageModels.g.cs => OpenRouter.IImagesClient.ListImageModels.g.cs} (97%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IImagesClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageModelsClient.GetModel.g.cs => OpenRouter.IModelsClient.GetModel.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageModelsClient.GetModels.g.cs => OpenRouter.IModelsClient.GetModels.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageModelsClient.ListModelsCount.g.cs => OpenRouter.IModelsClient.ListModelsCount.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageModelsClient.ListModelsUser.g.cs => OpenRouter.IModelsClient.ListModelsUser.g.cs} (97%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageOAuthClient.CreateAuthKeysCode.g.cs => OpenRouter.IOAuthClient.CreateAuthKeysCode.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageOAuthClient.ExchangeAuthCodeForApiKey.g.cs => OpenRouter.IOAuthClient.ExchangeAuthCodeForApiKey.g.cs} (98%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IOAuthClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageObservabilityClient.CreateObservabilityDestination.g.cs => OpenRouter.IObservabilityClient.CreateObservabilityDestination.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageObservabilityClient.DeleteObservabilityDestination.g.cs => OpenRouter.IObservabilityClient.DeleteObservabilityDestination.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageObservabilityClient.GetObservabilityDestination.g.cs => OpenRouter.IObservabilityClient.GetObservabilityDestination.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageObservabilityClient.ListObservabilityDestinations.g.cs => OpenRouter.IObservabilityClient.ListObservabilityDestinations.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageObservabilityClient.UpdateObservabilityDestination.g.cs => OpenRouter.IObservabilityClient.UpdateObservabilityDestination.g.cs} (98%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageOrganizationClient.ListOrganizationMembers.g.cs => OpenRouter.IOrganizationClient.ListOrganizationMembers.g.cs} (97%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IOrganizationClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackagePresetsClient.CreatePresetsChatCompletions.g.cs => OpenRouter.IPresetsClient.CreatePresetsChatCompletions.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackagePresetsClient.CreatePresetsMessages.g.cs => OpenRouter.IPresetsClient.CreatePresetsMessages.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackagePresetsClient.CreatePresetsResponses.g.cs => OpenRouter.IPresetsClient.CreatePresetsResponses.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackagePresetsClient.GetPreset.g.cs => OpenRouter.IPresetsClient.GetPreset.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackagePresetsClient.GetPresetVersion.g.cs => OpenRouter.IPresetsClient.GetPresetVersion.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackagePresetsClient.ListPresetVersions.g.cs => OpenRouter.IPresetsClient.ListPresetVersions.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackagePresetsClient.ListPresets.g.cs => OpenRouter.IPresetsClient.ListPresets.g.cs} (97%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageProvidersClient.ListProviders.g.cs => OpenRouter.IProvidersClient.ListProviders.g.cs} (96%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IProvidersClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageRerankClient.CreateRerank.g.cs => OpenRouter.IRerankClient.CreateRerank.g.cs} (98%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IRerankClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageSttClient.CreateAudioTranscriptions.g.cs => OpenRouter.ISttClient.CreateAudioTranscriptions.g.cs} (98%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISttClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnalyticsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnthropicMessagesClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBenchmarksClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaResponsesClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageClassificationsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageCreditsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageDatasetsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEmbeddingsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEndpointsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGenerationsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOrganizationClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageProvidersClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageRerankClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageTtsClient.CreateAudioSpeech.g.cs => OpenRouter.ITtsClient.CreateAudioSpeech.g.cs} (98%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageVideoGenerationClient.CreateVideos.g.cs => OpenRouter.IVideoGenerationClient.CreateVideos.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageVideoGenerationClient.GetVideos.g.cs => OpenRouter.IVideoGenerationClient.GetVideos.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageVideoGenerationClient.ListVideosContent.g.cs => OpenRouter.IVideoGenerationClient.ListVideosContent.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageVideoGenerationClient.ListVideosModels.g.cs => OpenRouter.IVideoGenerationClient.ListVideosModels.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageOAuthClient.g.cs => OpenRouter.IVideoGenerationClient.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageWorkspacesClient.BulkAddWorkspaceMembers.g.cs => OpenRouter.IWorkspacesClient.BulkAddWorkspaceMembers.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageWorkspacesClient.BulkRemoveWorkspaceMembers.g.cs => OpenRouter.IWorkspacesClient.BulkRemoveWorkspaceMembers.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageWorkspacesClient.CreateWorkspace.g.cs => OpenRouter.IWorkspacesClient.CreateWorkspace.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageWorkspacesClient.DeleteWorkspace.g.cs => OpenRouter.IWorkspacesClient.DeleteWorkspace.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageWorkspacesClient.DeleteWorkspaceBudget.g.cs => OpenRouter.IWorkspacesClient.DeleteWorkspaceBudget.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageWorkspacesClient.GetWorkspace.g.cs => OpenRouter.IWorkspacesClient.GetWorkspace.g.cs} (96%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageWorkspacesClient.ListWorkspaceBudgets.g.cs => OpenRouter.IWorkspacesClient.ListWorkspaceBudgets.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageWorkspacesClient.ListWorkspaces.g.cs => OpenRouter.IWorkspacesClient.ListWorkspaces.g.cs} (97%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageWorkspacesClient.UpdateWorkspace.g.cs => OpenRouter.IWorkspacesClient.UpdateWorkspace.g.cs} (98%) rename src/libs/OpenRouter/Generated/{OpenRouter.ISubpackageWorkspacesClient.UpsertWorkspaceBudget.g.cs => OpenRouter.IWorkspacesClient.UpsertWorkspaceBudget.g.cs} (98%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageImagesClient.CreateImages.g.cs => OpenRouter.ImagesClient.CreateImages.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageImagesClient.ListImageModelEndpoints.g.cs => OpenRouter.ImagesClient.ListImageModelEndpoints.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageImagesClient.ListImageModels.g.cs => OpenRouter.ImagesClient.ListImageModels.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ImagesClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageModelsClient.GetModel.g.cs => OpenRouter.ModelsClient.GetModel.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageModelsClient.GetModels.g.cs => OpenRouter.ModelsClient.GetModels.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageModelsClient.ListModelsCount.g.cs => OpenRouter.ModelsClient.ListModelsCount.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageModelsClient.ListModelsUser.g.cs => OpenRouter.ModelsClient.ListModelsUser.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageOAuthClient.CreateAuthKeysCode.g.cs => OpenRouter.OAuthClient.CreateAuthKeysCode.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageOAuthClient.ExchangeAuthCodeForApiKey.g.cs => OpenRouter.OAuthClient.ExchangeAuthCodeForApiKey.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.OAuthClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageObservabilityClient.CreateObservabilityDestination.g.cs => OpenRouter.ObservabilityClient.CreateObservabilityDestination.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageObservabilityClient.DeleteObservabilityDestination.g.cs => OpenRouter.ObservabilityClient.DeleteObservabilityDestination.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageObservabilityClient.GetObservabilityDestination.g.cs => OpenRouter.ObservabilityClient.GetObservabilityDestination.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageObservabilityClient.ListObservabilityDestinations.g.cs => OpenRouter.ObservabilityClient.ListObservabilityDestinations.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageObservabilityClient.UpdateObservabilityDestination.g.cs => OpenRouter.ObservabilityClient.UpdateObservabilityDestination.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageOrganizationClient.ListOrganizationMembers.g.cs => OpenRouter.OrganizationClient.ListOrganizationMembers.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.OrganizationClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackagePresetsClient.CreatePresetsChatCompletions.g.cs => OpenRouter.PresetsClient.CreatePresetsChatCompletions.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackagePresetsClient.CreatePresetsMessages.g.cs => OpenRouter.PresetsClient.CreatePresetsMessages.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackagePresetsClient.CreatePresetsResponses.g.cs => OpenRouter.PresetsClient.CreatePresetsResponses.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackagePresetsClient.GetPreset.g.cs => OpenRouter.PresetsClient.GetPreset.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackagePresetsClient.GetPresetVersion.g.cs => OpenRouter.PresetsClient.GetPresetVersion.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackagePresetsClient.ListPresetVersions.g.cs => OpenRouter.PresetsClient.ListPresetVersions.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackagePresetsClient.ListPresets.g.cs => OpenRouter.PresetsClient.ListPresets.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageProvidersClient.ListProviders.g.cs => OpenRouter.ProvidersClient.ListProviders.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ProvidersClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageRerankClient.CreateRerank.g.cs => OpenRouter.RerankClient.CreateRerank.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.RerankClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageSttClient.CreateAudioTranscriptions.g.cs => OpenRouter.SttClient.CreateAudioTranscriptions.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SttClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnalyticsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnthropicMessagesClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageBenchmarksClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaResponsesClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageClassificationsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageCreditsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageDatasetsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageEmbeddingsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageEndpointsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageGenerationsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageOrganizationClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageProvidersClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageRerankClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.g.cs delete mode 100644 src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageTtsClient.CreateAudioSpeech.g.cs => OpenRouter.TtsClient.CreateAudioSpeech.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.TtsClient.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageVideoGenerationClient.CreateVideos.g.cs => OpenRouter.VideoGenerationClient.CreateVideos.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageVideoGenerationClient.GetVideos.g.cs => OpenRouter.VideoGenerationClient.GetVideos.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageVideoGenerationClient.ListVideosContent.g.cs => OpenRouter.VideoGenerationClient.ListVideosContent.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageVideoGenerationClient.ListVideosModels.g.cs => OpenRouter.VideoGenerationClient.ListVideosModels.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageOAuthClient.g.cs => OpenRouter.VideoGenerationClient.g.cs} (93%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageWorkspacesClient.BulkAddWorkspaceMembers.g.cs => OpenRouter.WorkspacesClient.BulkAddWorkspaceMembers.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageWorkspacesClient.BulkRemoveWorkspaceMembers.g.cs => OpenRouter.WorkspacesClient.BulkRemoveWorkspaceMembers.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageWorkspacesClient.CreateWorkspace.g.cs => OpenRouter.WorkspacesClient.CreateWorkspace.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageWorkspacesClient.DeleteWorkspace.g.cs => OpenRouter.WorkspacesClient.DeleteWorkspace.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageWorkspacesClient.DeleteWorkspaceBudget.g.cs => OpenRouter.WorkspacesClient.DeleteWorkspaceBudget.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageWorkspacesClient.GetWorkspace.g.cs => OpenRouter.WorkspacesClient.GetWorkspace.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageWorkspacesClient.ListWorkspaceBudgets.g.cs => OpenRouter.WorkspacesClient.ListWorkspaceBudgets.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageWorkspacesClient.ListWorkspaces.g.cs => OpenRouter.WorkspacesClient.ListWorkspaces.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageWorkspacesClient.UpdateWorkspace.g.cs => OpenRouter.WorkspacesClient.UpdateWorkspace.g.cs} (99%) rename src/libs/OpenRouter/Generated/{OpenRouter.SubpackageWorkspacesClient.UpsertWorkspaceBudget.g.cs => OpenRouter.WorkspacesClient.UpsertWorkspaceBudget.g.cs} (99%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.g.cs diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnalyticsClient.GetUserActivity.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.GetUserActivity.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnalyticsClient.GetUserActivity.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.GetUserActivity.g.cs index 72243e7b..4213887d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnalyticsClient.GetUserActivity.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.GetUserActivity.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageAnalyticsClient + public partial class AnalyticsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageChatClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.g.cs similarity index 92% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageChatClient.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.g.cs index 54c74089..6dce9854 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageChatClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.AnalyticsClient.g.cs @@ -7,7 +7,7 @@ namespace OpenRouter /// 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 SubpackageChatClient : global::OpenRouter.ISubpackageChatClient, global::System.IDisposable + public sealed partial class AnalyticsClient : global::OpenRouter.IAnalyticsClient, global::System.IDisposable { /// /// Production server @@ -40,7 +40,7 @@ public sealed partial class SubpackageChatClient : global::OpenRouter.ISubpackag /// - /// Creates a new instance of the SubpackageChatClient. + /// Creates a new instance of the AnalyticsClient. /// 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. /// @@ -48,7 +48,7 @@ public sealed partial class SubpackageChatClient : global::OpenRouter.ISubpackag /// 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 SubpackageChatClient( + public AnalyticsClient( global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, global::System.Collections.Generic.List? authorizations = null, @@ -62,14 +62,14 @@ public SubpackageChatClient( } /// - /// Creates a new instance of the SubpackageChatClient with explicit options but no base URL override. + /// Creates a new instance of the AnalyticsClient 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 SubpackageChatClient( + public AnalyticsClient( global::System.Net.Http.HttpClient? httpClient, global::System.Collections.Generic.List? authorizations, global::OpenRouter.AutoSDKClientOptions? options, @@ -83,7 +83,7 @@ public SubpackageChatClient( } /// - /// Creates a new instance of the SubpackageChatClient. + /// Creates a new instance of the AnalyticsClient. /// 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. /// @@ -92,7 +92,7 @@ public SubpackageChatClient( /// 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 SubpackageChatClient( + public AnalyticsClient( global::System.Net.Http.HttpClient? httpClient, global::System.Uri? baseUri, global::System.Collections.Generic.List? authorizations, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnthropicMessagesClient.CreateMessages.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.AnthropicMessagesClient.CreateMessages.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnthropicMessagesClient.CreateMessages.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.AnthropicMessagesClient.CreateMessages.g.cs index d4d46c4c..93d04e21 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnthropicMessagesClient.CreateMessages.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.AnthropicMessagesClient.CreateMessages.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageAnthropicMessagesClient + public partial class AnthropicMessagesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.AnthropicMessagesClient.g.cs similarity index 93% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.AnthropicMessagesClient.g.cs index e5f5c91c..b0f0890f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.AnthropicMessagesClient.g.cs @@ -7,7 +7,7 @@ namespace OpenRouter /// 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 SubpackagePresetsClient : global::OpenRouter.ISubpackagePresetsClient, global::System.IDisposable + public sealed partial class AnthropicMessagesClient : global::OpenRouter.IAnthropicMessagesClient, global::System.IDisposable { /// /// Production server @@ -40,7 +40,7 @@ public sealed partial class SubpackagePresetsClient : global::OpenRouter.ISubpac /// - /// Creates a new instance of the SubpackagePresetsClient. + /// Creates a new instance of the AnthropicMessagesClient. /// 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. /// @@ -48,7 +48,7 @@ public sealed partial class SubpackagePresetsClient : global::OpenRouter.ISubpac /// 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 SubpackagePresetsClient( + public AnthropicMessagesClient( global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, global::System.Collections.Generic.List? authorizations = null, @@ -62,14 +62,14 @@ public SubpackagePresetsClient( } /// - /// Creates a new instance of the SubpackagePresetsClient with explicit options but no base URL override. + /// Creates a new instance of the AnthropicMessagesClient 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 SubpackagePresetsClient( + public AnthropicMessagesClient( global::System.Net.Http.HttpClient? httpClient, global::System.Collections.Generic.List? authorizations, global::OpenRouter.AutoSDKClientOptions? options, @@ -83,7 +83,7 @@ public SubpackagePresetsClient( } /// - /// Creates a new instance of the SubpackagePresetsClient. + /// Creates a new instance of the AnthropicMessagesClient. /// 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. /// @@ -92,7 +92,7 @@ public SubpackagePresetsClient( /// 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 SubpackagePresetsClient( + public AnthropicMessagesClient( global::System.Net.Http.HttpClient? httpClient, global::System.Uri? baseUri, global::System.Collections.Generic.List? authorizations, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.CreateKeys.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.CreateKeys.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.CreateKeys.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.CreateKeys.g.cs index c25c59ba..e464ae24 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.CreateKeys.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.CreateKeys.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageApiKeysClient + public partial class ApiKeysClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.DeleteKeys.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.DeleteKeys.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.DeleteKeys.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.DeleteKeys.g.cs index 6f762961..64b0561e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.DeleteKeys.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.DeleteKeys.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageApiKeysClient + public partial class ApiKeysClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.GetCurrentKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.GetCurrentKey.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.GetCurrentKey.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.GetCurrentKey.g.cs index 89f625d1..ace5e69a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.GetCurrentKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.GetCurrentKey.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageApiKeysClient + public partial class ApiKeysClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.GetKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.GetKey.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.GetKey.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.GetKey.g.cs index 4a6e60c8..1d360219 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.GetKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.GetKey.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageApiKeysClient + public partial class ApiKeysClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.List.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.List.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.List.g.cs index 426e6715..7107279f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.List.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageApiKeysClient + public partial class ApiKeysClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.UpdateKeys.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.UpdateKeys.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.UpdateKeys.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.UpdateKeys.g.cs index b2c91cdd..99c7bf42 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.UpdateKeys.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.UpdateKeys.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageApiKeysClient + public partial class ApiKeysClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.g.cs similarity index 92% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.g.cs index 0b2e9ec9..4c083bbe 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ApiKeysClient.g.cs @@ -7,7 +7,7 @@ namespace OpenRouter /// 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 SubpackageByokClient : global::OpenRouter.ISubpackageByokClient, global::System.IDisposable + public sealed partial class ApiKeysClient : global::OpenRouter.IApiKeysClient, global::System.IDisposable { /// /// Production server @@ -40,7 +40,7 @@ public sealed partial class SubpackageByokClient : global::OpenRouter.ISubpackag /// - /// Creates a new instance of the SubpackageByokClient. + /// Creates a new instance of the ApiKeysClient. /// 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. /// @@ -48,7 +48,7 @@ public sealed partial class SubpackageByokClient : global::OpenRouter.ISubpackag /// 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 SubpackageByokClient( + public ApiKeysClient( global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, global::System.Collections.Generic.List? authorizations = null, @@ -62,14 +62,14 @@ public SubpackageByokClient( } /// - /// Creates a new instance of the SubpackageByokClient with explicit options but no base URL override. + /// Creates a new instance of the ApiKeysClient 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 SubpackageByokClient( + public ApiKeysClient( global::System.Net.Http.HttpClient? httpClient, global::System.Collections.Generic.List? authorizations, global::OpenRouter.AutoSDKClientOptions? options, @@ -83,7 +83,7 @@ public SubpackageByokClient( } /// - /// Creates a new instance of the SubpackageByokClient. + /// Creates a new instance of the ApiKeysClient. /// 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. /// @@ -92,7 +92,7 @@ public SubpackageByokClient( /// 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 SubpackageByokClient( + public ApiKeysClient( global::System.Net.Http.HttpClient? httpClient, global::System.Uri? baseUri, global::System.Collections.Generic.List? authorizations, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBenchmarksClient.GetBenchmarks.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.BenchmarksClient.GetBenchmarks.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageBenchmarksClient.GetBenchmarks.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.BenchmarksClient.GetBenchmarks.g.cs index 4e462ea0..4b0b4ae6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBenchmarksClient.GetBenchmarks.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.BenchmarksClient.GetBenchmarks.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageBenchmarksClient + public partial class BenchmarksClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.BenchmarksClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.BenchmarksClient.g.cs new file mode 100644 index 00000000..f1dcddf4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.BenchmarksClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 BenchmarksClient : global::OpenRouter.IBenchmarksClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the BenchmarksClient. + /// 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 BenchmarksClient( + 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 BenchmarksClient 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 BenchmarksClient( + 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 BenchmarksClient. + /// 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 BenchmarksClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.GetAnalyticsMeta.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.BetaAnalyticsClient.GetAnalyticsMeta.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.GetAnalyticsMeta.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.BetaAnalyticsClient.GetAnalyticsMeta.g.cs index 76b5289a..98bf4641 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.GetAnalyticsMeta.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.BetaAnalyticsClient.GetAnalyticsMeta.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageBetaAnalyticsClient + public partial class BetaAnalyticsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.QueryAnalytics.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.BetaAnalyticsClient.QueryAnalytics.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.QueryAnalytics.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.BetaAnalyticsClient.QueryAnalytics.g.cs index 32f74b41..8ea39e87 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.QueryAnalytics.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.BetaAnalyticsClient.QueryAnalytics.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageBetaAnalyticsClient + public partial class BetaAnalyticsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageSttClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.BetaAnalyticsClient.g.cs similarity index 93% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageSttClient.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.BetaAnalyticsClient.g.cs index 8268f7f2..3d022514 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageSttClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.BetaAnalyticsClient.g.cs @@ -7,7 +7,7 @@ namespace OpenRouter /// 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 SubpackageSttClient : global::OpenRouter.ISubpackageSttClient, global::System.IDisposable + public sealed partial class BetaAnalyticsClient : global::OpenRouter.IBetaAnalyticsClient, global::System.IDisposable { /// /// Production server @@ -40,7 +40,7 @@ public sealed partial class SubpackageSttClient : global::OpenRouter.ISubpackage /// - /// Creates a new instance of the SubpackageSttClient. + /// Creates a new instance of the BetaAnalyticsClient. /// 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. /// @@ -48,7 +48,7 @@ public sealed partial class SubpackageSttClient : global::OpenRouter.ISubpackage /// 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 SubpackageSttClient( + public BetaAnalyticsClient( global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, global::System.Collections.Generic.List? authorizations = null, @@ -62,14 +62,14 @@ public SubpackageSttClient( } /// - /// Creates a new instance of the SubpackageSttClient with explicit options but no base URL override. + /// Creates a new instance of the BetaAnalyticsClient 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 SubpackageSttClient( + public BetaAnalyticsClient( global::System.Net.Http.HttpClient? httpClient, global::System.Collections.Generic.List? authorizations, global::OpenRouter.AutoSDKClientOptions? options, @@ -83,7 +83,7 @@ public SubpackageSttClient( } /// - /// Creates a new instance of the SubpackageSttClient. + /// Creates a new instance of the BetaAnalyticsClient. /// 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. /// @@ -92,7 +92,7 @@ public SubpackageSttClient( /// 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 SubpackageSttClient( + public BetaAnalyticsClient( global::System.Net.Http.HttpClient? httpClient, global::System.Uri? baseUri, global::System.Collections.Generic.List? authorizations, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaResponsesClient.CreateResponses.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.BetaResponsesClient.CreateResponses.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaResponsesClient.CreateResponses.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.BetaResponsesClient.CreateResponses.g.cs index 664d9dd5..98629015 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaResponsesClient.CreateResponses.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.BetaResponsesClient.CreateResponses.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageBetaResponsesClient + public partial class BetaResponsesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageTtsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.BetaResponsesClient.g.cs similarity index 93% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageTtsClient.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.BetaResponsesClient.g.cs index 66ba11c9..9b541211 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageTtsClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.BetaResponsesClient.g.cs @@ -7,7 +7,7 @@ namespace OpenRouter /// 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 SubpackageTtsClient : global::OpenRouter.ISubpackageTtsClient, global::System.IDisposable + public sealed partial class BetaResponsesClient : global::OpenRouter.IBetaResponsesClient, global::System.IDisposable { /// /// Production server @@ -40,7 +40,7 @@ public sealed partial class SubpackageTtsClient : global::OpenRouter.ISubpackage /// - /// Creates a new instance of the SubpackageTtsClient. + /// Creates a new instance of the BetaResponsesClient. /// 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. /// @@ -48,7 +48,7 @@ public sealed partial class SubpackageTtsClient : global::OpenRouter.ISubpackage /// 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 SubpackageTtsClient( + public BetaResponsesClient( global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, global::System.Collections.Generic.List? authorizations = null, @@ -62,14 +62,14 @@ public SubpackageTtsClient( } /// - /// Creates a new instance of the SubpackageTtsClient with explicit options but no base URL override. + /// Creates a new instance of the BetaResponsesClient 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 SubpackageTtsClient( + public BetaResponsesClient( global::System.Net.Http.HttpClient? httpClient, global::System.Collections.Generic.List? authorizations, global::OpenRouter.AutoSDKClientOptions? options, @@ -83,7 +83,7 @@ public SubpackageTtsClient( } /// - /// Creates a new instance of the SubpackageTtsClient. + /// Creates a new instance of the BetaResponsesClient. /// 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. /// @@ -92,7 +92,7 @@ public SubpackageTtsClient( /// 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 SubpackageTtsClient( + public BetaResponsesClient( global::System.Net.Http.HttpClient? httpClient, global::System.Uri? baseUri, global::System.Collections.Generic.List? authorizations, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.CreateByokKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.CreateByokKey.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.CreateByokKey.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ByokClient.CreateByokKey.g.cs index ef08d5a0..fa6d02cc 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.CreateByokKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.CreateByokKey.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageByokClient + public partial class ByokClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.DeleteByokKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.DeleteByokKey.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.DeleteByokKey.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ByokClient.DeleteByokKey.g.cs index 813b8ec9..a7d3affa 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.DeleteByokKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.DeleteByokKey.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageByokClient + public partial class ByokClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.GetByokKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.GetByokKey.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.GetByokKey.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ByokClient.GetByokKey.g.cs index bdbeb289..cd0f525c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.GetByokKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.GetByokKey.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageByokClient + public partial class ByokClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.ListByokKeys.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.ListByokKeys.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.ListByokKeys.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ByokClient.ListByokKeys.g.cs index fc1cd543..024b2e00 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.ListByokKeys.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.ListByokKeys.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageByokClient + public partial class ByokClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.UpdateByokKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.UpdateByokKey.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.UpdateByokKey.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ByokClient.UpdateByokKey.g.cs index 35942f22..ba570237 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageByokClient.UpdateByokKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.UpdateByokKey.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageByokClient + public partial class ByokClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.g.cs new file mode 100644 index 00000000..f49bb4f3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.ByokClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 ByokClient : global::OpenRouter.IByokClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the ByokClient. + /// 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 ByokClient( + 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 ByokClient 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 ByokClient( + 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 ByokClient. + /// 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 ByokClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageChatClient.SendChatCompletionRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ChatClient.SendChatCompletionRequest.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageChatClient.SendChatCompletionRequest.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ChatClient.SendChatCompletionRequest.g.cs index 82e54d03..3e804f6a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageChatClient.SendChatCompletionRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ChatClient.SendChatCompletionRequest.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageChatClient + public partial class ChatClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ChatClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ChatClient.g.cs new file mode 100644 index 00000000..36d435fa --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.ChatClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 ChatClient : global::OpenRouter.IChatClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the ChatClient. + /// 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 ChatClient( + 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 ChatClient 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 ChatClient( + 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 ChatClient. + /// 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 ChatClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageClassificationsClient.GetTaskClassifications.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ClassificationsClient.GetTaskClassifications.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageClassificationsClient.GetTaskClassifications.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ClassificationsClient.GetTaskClassifications.g.cs index 23773176..0a389afb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageClassificationsClient.GetTaskClassifications.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ClassificationsClient.GetTaskClassifications.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageClassificationsClient + public partial class ClassificationsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ClassificationsClient.g.cs similarity index 93% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ClassificationsClient.g.cs index f76778e5..17fc9173 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ClassificationsClient.g.cs @@ -7,7 +7,7 @@ namespace OpenRouter /// 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 SubpackageFilesClient : global::OpenRouter.ISubpackageFilesClient, global::System.IDisposable + public sealed partial class ClassificationsClient : global::OpenRouter.IClassificationsClient, global::System.IDisposable { /// /// Production server @@ -40,7 +40,7 @@ public sealed partial class SubpackageFilesClient : global::OpenRouter.ISubpacka /// - /// Creates a new instance of the SubpackageFilesClient. + /// Creates a new instance of the ClassificationsClient. /// 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. /// @@ -48,7 +48,7 @@ public sealed partial class SubpackageFilesClient : global::OpenRouter.ISubpacka /// 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 SubpackageFilesClient( + public ClassificationsClient( global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, global::System.Collections.Generic.List? authorizations = null, @@ -62,14 +62,14 @@ public SubpackageFilesClient( } /// - /// Creates a new instance of the SubpackageFilesClient with explicit options but no base URL override. + /// Creates a new instance of the ClassificationsClient 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 SubpackageFilesClient( + public ClassificationsClient( global::System.Net.Http.HttpClient? httpClient, global::System.Collections.Generic.List? authorizations, global::OpenRouter.AutoSDKClientOptions? options, @@ -83,7 +83,7 @@ public SubpackageFilesClient( } /// - /// Creates a new instance of the SubpackageFilesClient. + /// Creates a new instance of the ClassificationsClient. /// 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. /// @@ -92,7 +92,7 @@ public SubpackageFilesClient( /// 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 SubpackageFilesClient( + public ClassificationsClient( global::System.Net.Http.HttpClient? httpClient, global::System.Uri? baseUri, global::System.Collections.Generic.List? authorizations, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageCreditsClient.GetCredits.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.GetCredits.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageCreditsClient.GetCredits.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.GetCredits.g.cs index 4f24aa68..9cadea43 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageCreditsClient.GetCredits.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.GetCredits.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageCreditsClient + public partial class CreditsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.g.cs new file mode 100644 index 00000000..7d398b7d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.CreditsClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 CreditsClient : global::OpenRouter.ICreditsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the CreditsClient. + /// 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 CreditsClient( + 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 CreditsClient 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 CreditsClient( + 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 CreditsClient. + /// 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 CreditsClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageDatasetsClient.GetAppRankings.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.DatasetsClient.GetAppRankings.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageDatasetsClient.GetAppRankings.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.DatasetsClient.GetAppRankings.g.cs index 1cd95a61..a68a0666 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageDatasetsClient.GetAppRankings.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.DatasetsClient.GetAppRankings.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageDatasetsClient + public partial class DatasetsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageDatasetsClient.GetRankingsDaily.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.DatasetsClient.GetRankingsDaily.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageDatasetsClient.GetRankingsDaily.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.DatasetsClient.GetRankingsDaily.g.cs index c94d90c3..afe89ad5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageDatasetsClient.GetRankingsDaily.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.DatasetsClient.GetRankingsDaily.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageDatasetsClient + public partial class DatasetsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.DatasetsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.DatasetsClient.g.cs new file mode 100644 index 00000000..9267c936 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.DatasetsClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 DatasetsClient : global::OpenRouter.IDatasetsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the DatasetsClient. + /// 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 DatasetsClient( + 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 DatasetsClient 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 DatasetsClient( + 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 DatasetsClient. + /// 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 DatasetsClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageEmbeddingsClient.CreateEmbeddings.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.EmbeddingsClient.CreateEmbeddings.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageEmbeddingsClient.CreateEmbeddings.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.EmbeddingsClient.CreateEmbeddings.g.cs index 4c850254..2b3e2097 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageEmbeddingsClient.CreateEmbeddings.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.EmbeddingsClient.CreateEmbeddings.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageEmbeddingsClient + public partial class EmbeddingsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageEmbeddingsClient.ListEmbeddingsModels.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.EmbeddingsClient.ListEmbeddingsModels.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageEmbeddingsClient.ListEmbeddingsModels.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.EmbeddingsClient.ListEmbeddingsModels.g.cs index b203a2b7..041b229c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageEmbeddingsClient.ListEmbeddingsModels.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.EmbeddingsClient.ListEmbeddingsModels.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageEmbeddingsClient + public partial class EmbeddingsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.EmbeddingsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.EmbeddingsClient.g.cs new file mode 100644 index 00000000..aef0ff8b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.EmbeddingsClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 EmbeddingsClient : global::OpenRouter.IEmbeddingsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the EmbeddingsClient. + /// 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 EmbeddingsClient( + 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 EmbeddingsClient 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 EmbeddingsClient( + 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 EmbeddingsClient. + /// 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 EmbeddingsClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageEndpointsClient.ListEndpoints.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.ListEndpoints.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageEndpointsClient.ListEndpoints.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.ListEndpoints.g.cs index a32acb3b..2fb9c05d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageEndpointsClient.ListEndpoints.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.ListEndpoints.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageEndpointsClient + public partial class EndpointsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageEndpointsClient.ListEndpointsZdr.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.ListEndpointsZdr.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageEndpointsClient.ListEndpointsZdr.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.ListEndpointsZdr.g.cs index 98cdf014..45381bba 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageEndpointsClient.ListEndpointsZdr.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.ListEndpointsZdr.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageEndpointsClient + public partial class EndpointsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.g.cs new file mode 100644 index 00000000..ed5be837 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.EndpointsClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 EndpointsClient : global::OpenRouter.IEndpointsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the EndpointsClient. + /// 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 EndpointsClient( + 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 EndpointsClient 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 EndpointsClient( + 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 EndpointsClient. + /// 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 EndpointsClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.DeleteFile.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.FilesClient.DeleteFile.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.DeleteFile.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.FilesClient.DeleteFile.g.cs index 94e7cdef..4d561e58 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.DeleteFile.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.FilesClient.DeleteFile.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageFilesClient + public partial class FilesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.DownloadFileContent.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.FilesClient.DownloadFileContent.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.DownloadFileContent.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.FilesClient.DownloadFileContent.g.cs index 888bae4c..0d4409c7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.DownloadFileContent.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.FilesClient.DownloadFileContent.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageFilesClient + public partial class FilesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.GetFileMetadata.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.FilesClient.GetFileMetadata.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.GetFileMetadata.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.FilesClient.GetFileMetadata.g.cs index b7715a21..a671075a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.GetFileMetadata.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.FilesClient.GetFileMetadata.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageFilesClient + public partial class FilesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.ListFiles.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.FilesClient.ListFiles.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.ListFiles.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.FilesClient.ListFiles.g.cs index 0b8300ec..b1f07226 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.ListFiles.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.FilesClient.ListFiles.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageFilesClient + public partial class FilesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.UploadFile.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.FilesClient.UploadFile.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.UploadFile.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.FilesClient.UploadFile.g.cs index 00c94909..d39433ff 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageFilesClient.UploadFile.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.FilesClient.UploadFile.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageFilesClient + public partial class FilesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.FilesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.FilesClient.g.cs new file mode 100644 index 00000000..920b724e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.FilesClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 FilesClient : global::OpenRouter.IFilesClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the FilesClient. + /// 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 FilesClient( + 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 FilesClient 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 FilesClient( + 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 FilesClient. + /// 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 FilesClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGenerationsClient.GetGeneration.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GenerationsClient.GetGeneration.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGenerationsClient.GetGeneration.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GenerationsClient.GetGeneration.g.cs index 6d2ee100..9c6ecdc0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGenerationsClient.GetGeneration.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GenerationsClient.GetGeneration.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGenerationsClient + public partial class GenerationsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGenerationsClient.ListGenerationContent.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GenerationsClient.ListGenerationContent.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGenerationsClient.ListGenerationContent.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GenerationsClient.ListGenerationContent.g.cs index da2cf20f..018c97a2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGenerationsClient.ListGenerationContent.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GenerationsClient.ListGenerationContent.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGenerationsClient + public partial class GenerationsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GenerationsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GenerationsClient.g.cs new file mode 100644 index 00000000..4a4fd303 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.GenerationsClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 GenerationsClient : global::OpenRouter.IGenerationsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the GenerationsClient. + /// 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 GenerationsClient( + 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 GenerationsClient 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 GenerationsClient( + 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 GenerationsClient. + /// 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 GenerationsClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.BulkAssignKeysToGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignKeysToGuardrail.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.BulkAssignKeysToGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignKeysToGuardrail.g.cs index a4a91a83..9a1e68f1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.BulkAssignKeysToGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignKeysToGuardrail.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGuardrailsClient + public partial class GuardrailsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.BulkAssignMembersToGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignMembersToGuardrail.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.BulkAssignMembersToGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignMembersToGuardrail.g.cs index cf42051f..4e579ecc 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.BulkAssignMembersToGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkAssignMembersToGuardrail.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGuardrailsClient + public partial class GuardrailsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs index 72ded9c1..a7e1ebd5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGuardrailsClient + public partial class GuardrailsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs index f0039305..55edb78a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGuardrailsClient + public partial class GuardrailsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.CreateGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.CreateGuardrail.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.CreateGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.CreateGuardrail.g.cs index d5146426..7748ea8a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.CreateGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.CreateGuardrail.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGuardrailsClient + public partial class GuardrailsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.DeleteGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.DeleteGuardrail.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.DeleteGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.DeleteGuardrail.g.cs index 71bbae2b..fe7dd737 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.DeleteGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.DeleteGuardrail.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGuardrailsClient + public partial class GuardrailsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.GetGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.GetGuardrail.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.GetGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.GetGuardrail.g.cs index e7bbd8c6..070ee343 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.GetGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.GetGuardrail.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGuardrailsClient + public partial class GuardrailsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListGuardrailKeyAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrailKeyAssignments.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListGuardrailKeyAssignments.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrailKeyAssignments.g.cs index 35bab671..dff8449f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListGuardrailKeyAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrailKeyAssignments.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGuardrailsClient + public partial class GuardrailsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListGuardrailMemberAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrailMemberAssignments.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListGuardrailMemberAssignments.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrailMemberAssignments.g.cs index 57c67019..800bb95d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListGuardrailMemberAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrailMemberAssignments.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGuardrailsClient + public partial class GuardrailsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListGuardrails.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrails.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListGuardrails.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrails.g.cs index 7f87dac5..a88c26c0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListGuardrails.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListGuardrails.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGuardrailsClient + public partial class GuardrailsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListKeyAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListKeyAssignments.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListKeyAssignments.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListKeyAssignments.g.cs index 5a008d68..abd0f0b1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListKeyAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListKeyAssignments.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGuardrailsClient + public partial class GuardrailsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListMemberAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListMemberAssignments.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListMemberAssignments.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListMemberAssignments.g.cs index 94923873..e20025bc 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.ListMemberAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.ListMemberAssignments.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGuardrailsClient + public partial class GuardrailsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.UpdateGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.UpdateGuardrail.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.UpdateGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.UpdateGuardrail.g.cs index 42541157..2e422b80 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.UpdateGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.UpdateGuardrail.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageGuardrailsClient + public partial class GuardrailsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.g.cs new file mode 100644 index 00000000..88a36e45 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.GuardrailsClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 GuardrailsClient : global::OpenRouter.IGuardrailsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the GuardrailsClient. + /// 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 GuardrailsClient( + 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 GuardrailsClient 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 GuardrailsClient( + 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 GuardrailsClient. + /// 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 GuardrailsClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnalyticsClient.GetUserActivity.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.GetUserActivity.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnalyticsClient.GetUserActivity.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.GetUserActivity.g.cs index dc0d6620..a84c095b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnalyticsClient.GetUserActivity.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.GetUserActivity.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageAnalyticsClient + public partial interface IAnalyticsClient { /// /// Get user activity grouped by endpoint
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageChatClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.g.cs similarity index 95% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageChatClient.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.g.cs index 1bf80c51..495549c9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageChatClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IAnalyticsClient.g.cs @@ -7,7 +7,7 @@ namespace OpenRouter /// 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 ISubpackageChatClient : global::System.IDisposable + public partial interface IAnalyticsClient : global::System.IDisposable { /// /// The HttpClient instance. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnthropicMessagesClient.CreateMessages.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IAnthropicMessagesClient.CreateMessages.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnthropicMessagesClient.CreateMessages.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IAnthropicMessagesClient.CreateMessages.g.cs index 6a382f42..ee576e17 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnthropicMessagesClient.CreateMessages.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IAnthropicMessagesClient.CreateMessages.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageAnthropicMessagesClient + public partial interface IAnthropicMessagesClient { /// /// Create a message
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IAnthropicMessagesClient.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IAnthropicMessagesClient.g.cs index 599c9954..8d6914fb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IAnthropicMessagesClient.g.cs @@ -7,7 +7,7 @@ namespace OpenRouter /// 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 ISubpackagePresetsClient : global::System.IDisposable + public partial interface IAnthropicMessagesClient : global::System.IDisposable { /// /// The HttpClient instance. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.CreateKeys.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.CreateKeys.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.CreateKeys.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.CreateKeys.g.cs index 8e486db2..0b332f23 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.CreateKeys.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.CreateKeys.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageApiKeysClient + public partial interface IApiKeysClient { /// /// Create a new API key
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.DeleteKeys.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.DeleteKeys.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.DeleteKeys.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.DeleteKeys.g.cs index b5e0b57b..b17a2e7c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.DeleteKeys.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.DeleteKeys.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageApiKeysClient + public partial interface IApiKeysClient { /// /// Delete an API key
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.GetCurrentKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.GetCurrentKey.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.GetCurrentKey.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.GetCurrentKey.g.cs index 013c6897..ccc4dd91 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.GetCurrentKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.GetCurrentKey.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageApiKeysClient + public partial interface IApiKeysClient { /// /// Get current API key
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.GetKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.GetKey.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.GetKey.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.GetKey.g.cs index 93a020da..69499a12 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.GetKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.GetKey.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageApiKeysClient + public partial interface IApiKeysClient { /// /// Get a single API key
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.List.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.List.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.List.g.cs index 035340ac..41068252 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.List.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageApiKeysClient + public partial interface IApiKeysClient { /// /// List API keys
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.UpdateKeys.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.UpdateKeys.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.UpdateKeys.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.UpdateKeys.g.cs index d68a6202..36d4b2cc 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.UpdateKeys.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.UpdateKeys.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageApiKeysClient + public partial interface IApiKeysClient { /// /// Update an API key
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.g.cs similarity index 95% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.g.cs index d6f096a7..1f65a5de 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IApiKeysClient.g.cs @@ -7,7 +7,7 @@ namespace OpenRouter /// 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 ISubpackageByokClient : global::System.IDisposable + public partial interface IApiKeysClient : global::System.IDisposable { /// /// The HttpClient instance. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBenchmarksClient.GetBenchmarks.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IBenchmarksClient.GetBenchmarks.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBenchmarksClient.GetBenchmarks.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IBenchmarksClient.GetBenchmarks.g.cs index 5fc619b1..2b764309 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBenchmarksClient.GetBenchmarks.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IBenchmarksClient.GetBenchmarks.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageBenchmarksClient + public partial interface IBenchmarksClient { /// /// List Benchmarks
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IBenchmarksClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IBenchmarksClient.g.cs new file mode 100644 index 00000000..bdc8f31f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IBenchmarksClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IBenchmarksClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.GetAnalyticsMeta.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IBetaAnalyticsClient.GetAnalyticsMeta.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.GetAnalyticsMeta.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IBetaAnalyticsClient.GetAnalyticsMeta.g.cs index b7db2065..96ecf482 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.GetAnalyticsMeta.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IBetaAnalyticsClient.GetAnalyticsMeta.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageBetaAnalyticsClient + public partial interface IBetaAnalyticsClient { /// /// Get available analytics metrics and dimensions
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.QueryAnalytics.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IBetaAnalyticsClient.QueryAnalytics.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.QueryAnalytics.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IBetaAnalyticsClient.QueryAnalytics.g.cs index 75ac6806..4e80aea0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.QueryAnalytics.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IBetaAnalyticsClient.QueryAnalytics.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageBetaAnalyticsClient + public partial interface IBetaAnalyticsClient { /// /// Query analytics data
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageSttClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IBetaAnalyticsClient.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageSttClient.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IBetaAnalyticsClient.g.cs index 15c63a27..26091a11 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageSttClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IBetaAnalyticsClient.g.cs @@ -7,7 +7,7 @@ namespace OpenRouter /// 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 ISubpackageSttClient : global::System.IDisposable + public partial interface IBetaAnalyticsClient : global::System.IDisposable { /// /// The HttpClient instance. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaResponsesClient.CreateResponses.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IBetaResponsesClient.CreateResponses.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaResponsesClient.CreateResponses.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IBetaResponsesClient.CreateResponses.g.cs index 605e105a..5412c4c8 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaResponsesClient.CreateResponses.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IBetaResponsesClient.CreateResponses.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageBetaResponsesClient + public partial interface IBetaResponsesClient { /// /// Create a response
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageTtsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IBetaResponsesClient.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageTtsClient.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IBetaResponsesClient.g.cs index 3a6ca974..60d22294 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageTtsClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IBetaResponsesClient.g.cs @@ -7,7 +7,7 @@ namespace OpenRouter /// 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 ISubpackageTtsClient : global::System.IDisposable + public partial interface IBetaResponsesClient : global::System.IDisposable { /// /// The HttpClient instance. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.CreateByokKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.CreateByokKey.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.CreateByokKey.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IByokClient.CreateByokKey.g.cs index bdc4fe16..a1ef0ec9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.CreateByokKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.CreateByokKey.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageByokClient + public partial interface IByokClient { /// /// Create a BYOK provider credential
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.DeleteByokKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.DeleteByokKey.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.DeleteByokKey.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IByokClient.DeleteByokKey.g.cs index 42dbb70c..897e582c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.DeleteByokKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.DeleteByokKey.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageByokClient + public partial interface IByokClient { /// /// Delete a BYOK provider credential
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.GetByokKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.GetByokKey.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.GetByokKey.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IByokClient.GetByokKey.g.cs index 6e2380d6..bb929400 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.GetByokKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.GetByokKey.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageByokClient + public partial interface IByokClient { /// /// Get a BYOK provider credential
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.ListByokKeys.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.ListByokKeys.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.ListByokKeys.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IByokClient.ListByokKeys.g.cs index 50acc255..e5b1d4bc 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.ListByokKeys.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.ListByokKeys.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageByokClient + public partial interface IByokClient { /// /// List BYOK provider credentials
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.UpdateByokKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.UpdateByokKey.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.UpdateByokKey.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IByokClient.UpdateByokKey.g.cs index ce52a29e..7939adc3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageByokClient.UpdateByokKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.UpdateByokKey.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageByokClient + public partial interface IByokClient { /// /// Update a BYOK provider credential
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.g.cs new file mode 100644 index 00000000..1c1dd651 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IByokClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IByokClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageChatClient.SendChatCompletionRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IChatClient.SendChatCompletionRequest.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageChatClient.SendChatCompletionRequest.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IChatClient.SendChatCompletionRequest.g.cs index cf7a05c0..b2ded56f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageChatClient.SendChatCompletionRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IChatClient.SendChatCompletionRequest.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageChatClient + public partial interface IChatClient { /// /// Create a chat completion
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IChatClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IChatClient.g.cs new file mode 100644 index 00000000..96d05ba0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IChatClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IChatClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageClassificationsClient.GetTaskClassifications.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IClassificationsClient.GetTaskClassifications.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageClassificationsClient.GetTaskClassifications.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IClassificationsClient.GetTaskClassifications.g.cs index a538fea6..3264ae29 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageClassificationsClient.GetTaskClassifications.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IClassificationsClient.GetTaskClassifications.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageClassificationsClient + public partial interface IClassificationsClient { /// /// Task classification market share
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IClassificationsClient.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IClassificationsClient.g.cs index 05982af3..8510cc1f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IClassificationsClient.g.cs @@ -7,7 +7,7 @@ namespace OpenRouter /// 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 ISubpackageFilesClient : global::System.IDisposable + public partial interface IClassificationsClient : global::System.IDisposable { /// /// The HttpClient instance. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageCreditsClient.GetCredits.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.GetCredits.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageCreditsClient.GetCredits.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.GetCredits.g.cs index aa183ebd..862703ad 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageCreditsClient.GetCredits.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.GetCredits.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageCreditsClient + public partial interface ICreditsClient { /// /// Get remaining credits
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.g.cs new file mode 100644 index 00000000..6711c69d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.ICreditsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 ICreditsClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageDatasetsClient.GetAppRankings.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IDatasetsClient.GetAppRankings.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageDatasetsClient.GetAppRankings.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IDatasetsClient.GetAppRankings.g.cs index d3cb6271..98c5e132 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageDatasetsClient.GetAppRankings.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IDatasetsClient.GetAppRankings.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageDatasetsClient + public partial interface IDatasetsClient { /// /// Top apps by token usage
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageDatasetsClient.GetRankingsDaily.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IDatasetsClient.GetRankingsDaily.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageDatasetsClient.GetRankingsDaily.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IDatasetsClient.GetRankingsDaily.g.cs index 33432029..7aaad27d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageDatasetsClient.GetRankingsDaily.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IDatasetsClient.GetRankingsDaily.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageDatasetsClient + public partial interface IDatasetsClient { /// /// Daily token totals for top 50 models
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IDatasetsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IDatasetsClient.g.cs new file mode 100644 index 00000000..f7902df5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IDatasetsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IDatasetsClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEmbeddingsClient.CreateEmbeddings.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IEmbeddingsClient.CreateEmbeddings.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEmbeddingsClient.CreateEmbeddings.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IEmbeddingsClient.CreateEmbeddings.g.cs index 4df019f8..096bd865 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEmbeddingsClient.CreateEmbeddings.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IEmbeddingsClient.CreateEmbeddings.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageEmbeddingsClient + public partial interface IEmbeddingsClient { /// /// Submit an embedding request
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEmbeddingsClient.ListEmbeddingsModels.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IEmbeddingsClient.ListEmbeddingsModels.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEmbeddingsClient.ListEmbeddingsModels.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IEmbeddingsClient.ListEmbeddingsModels.g.cs index 598b5bf7..c28e9bb6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEmbeddingsClient.ListEmbeddingsModels.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IEmbeddingsClient.ListEmbeddingsModels.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageEmbeddingsClient + public partial interface IEmbeddingsClient { /// /// List all embeddings models
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IEmbeddingsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IEmbeddingsClient.g.cs new file mode 100644 index 00000000..2d3331ef --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IEmbeddingsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IEmbeddingsClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEndpointsClient.ListEndpoints.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IEndpointsClient.ListEndpoints.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEndpointsClient.ListEndpoints.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IEndpointsClient.ListEndpoints.g.cs index b8c06dd4..17ffe143 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEndpointsClient.ListEndpoints.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IEndpointsClient.ListEndpoints.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageEndpointsClient + public partial interface IEndpointsClient { /// /// List all endpoints for a model diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEndpointsClient.ListEndpointsZdr.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IEndpointsClient.ListEndpointsZdr.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEndpointsClient.ListEndpointsZdr.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IEndpointsClient.ListEndpointsZdr.g.cs index 3f2fc507..0c3637c5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEndpointsClient.ListEndpointsZdr.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IEndpointsClient.ListEndpointsZdr.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageEndpointsClient + public partial interface IEndpointsClient { /// /// Preview the impact of ZDR on the available endpoints diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IEndpointsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IEndpointsClient.g.cs new file mode 100644 index 00000000..4d40d7b9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IEndpointsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IEndpointsClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.DeleteFile.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.DeleteFile.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.DeleteFile.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.DeleteFile.g.cs index 008855d7..193e7607 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.DeleteFile.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.DeleteFile.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageFilesClient + public partial interface IFilesClient { /// /// Delete a file
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.DownloadFileContent.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.DownloadFileContent.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.DownloadFileContent.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.DownloadFileContent.g.cs index 4a7ee9e1..0cfcb0cb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.DownloadFileContent.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.DownloadFileContent.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageFilesClient + public partial interface IFilesClient { /// /// Download file content
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.GetFileMetadata.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.GetFileMetadata.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.GetFileMetadata.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.GetFileMetadata.g.cs index eaffbe6a..50befbf1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.GetFileMetadata.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.GetFileMetadata.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageFilesClient + public partial interface IFilesClient { /// /// Get file metadata
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.ListFiles.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.ListFiles.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.ListFiles.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.ListFiles.g.cs index 2a2ae854..e9c53c00 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.ListFiles.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.ListFiles.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageFilesClient + public partial interface IFilesClient { /// /// List files
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.UploadFile.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.UploadFile.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.UploadFile.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.UploadFile.g.cs index 29b6ab67..1f09e687 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageFilesClient.UploadFile.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.UploadFile.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageFilesClient + public partial interface IFilesClient { /// /// Upload a file
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.g.cs new file mode 100644 index 00000000..28295a67 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IFilesClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IFilesClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGenerationsClient.GetGeneration.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGenerationsClient.GetGeneration.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGenerationsClient.GetGeneration.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGenerationsClient.GetGeneration.g.cs index 58d00472..f4d31d74 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGenerationsClient.GetGeneration.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGenerationsClient.GetGeneration.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGenerationsClient + public partial interface IGenerationsClient { /// /// Get request & usage metadata for a generation diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGenerationsClient.ListGenerationContent.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGenerationsClient.ListGenerationContent.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGenerationsClient.ListGenerationContent.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGenerationsClient.ListGenerationContent.g.cs index 94d6b105..336b1281 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGenerationsClient.ListGenerationContent.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGenerationsClient.ListGenerationContent.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGenerationsClient + public partial interface IGenerationsClient { /// /// Get stored prompt and completion content for a generation diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGenerationsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGenerationsClient.g.cs new file mode 100644 index 00000000..fd0d08d4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGenerationsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IGenerationsClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.BulkAssignKeysToGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkAssignKeysToGuardrail.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.BulkAssignKeysToGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkAssignKeysToGuardrail.g.cs index ed7f6985..33a76f37 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.BulkAssignKeysToGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkAssignKeysToGuardrail.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGuardrailsClient + public partial interface IGuardrailsClient { /// /// Bulk assign keys to a guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.BulkAssignMembersToGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkAssignMembersToGuardrail.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.BulkAssignMembersToGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkAssignMembersToGuardrail.g.cs index aa0460a1..0e1c3c08 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.BulkAssignMembersToGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkAssignMembersToGuardrail.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGuardrailsClient + public partial interface IGuardrailsClient { /// /// Bulk assign members to a guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs index 9dc5f09a..f1acb5db 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkUnassignKeysFromGuardrail.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGuardrailsClient + public partial interface IGuardrailsClient { /// /// Bulk unassign keys from a guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs index 92649a23..3358e65b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.BulkUnassignMembersFromGuardrail.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGuardrailsClient + public partial interface IGuardrailsClient { /// /// Bulk unassign members from a guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.CreateGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.CreateGuardrail.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.CreateGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.CreateGuardrail.g.cs index f2d12ed0..21b76f33 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.CreateGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.CreateGuardrail.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGuardrailsClient + public partial interface IGuardrailsClient { /// /// Create a guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.DeleteGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.DeleteGuardrail.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.DeleteGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.DeleteGuardrail.g.cs index a8f73924..a6fb433c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.DeleteGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.DeleteGuardrail.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGuardrailsClient + public partial interface IGuardrailsClient { /// /// Delete a guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.GetGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.GetGuardrail.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.GetGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.GetGuardrail.g.cs index 81e80b18..8c59dbc1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.GetGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.GetGuardrail.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGuardrailsClient + public partial interface IGuardrailsClient { /// /// Get a guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListGuardrailKeyAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrailKeyAssignments.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListGuardrailKeyAssignments.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrailKeyAssignments.g.cs index a8a7a28c..cd775758 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListGuardrailKeyAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrailKeyAssignments.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGuardrailsClient + public partial interface IGuardrailsClient { /// /// List key assignments for a guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListGuardrailMemberAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrailMemberAssignments.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListGuardrailMemberAssignments.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrailMemberAssignments.g.cs index 932a0906..b2bbbf49 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListGuardrailMemberAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrailMemberAssignments.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGuardrailsClient + public partial interface IGuardrailsClient { /// /// List member assignments for a guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListGuardrails.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrails.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListGuardrails.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrails.g.cs index 041d8574..817c303e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListGuardrails.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListGuardrails.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGuardrailsClient + public partial interface IGuardrailsClient { /// /// List guardrails
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListKeyAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListKeyAssignments.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListKeyAssignments.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListKeyAssignments.g.cs index b0564a75..b366d906 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListKeyAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListKeyAssignments.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGuardrailsClient + public partial interface IGuardrailsClient { /// /// List all key assignments
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListMemberAssignments.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListMemberAssignments.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListMemberAssignments.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListMemberAssignments.g.cs index dfb6bc6d..fd2d7036 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.ListMemberAssignments.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.ListMemberAssignments.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGuardrailsClient + public partial interface IGuardrailsClient { /// /// List all member assignments
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.UpdateGuardrail.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.UpdateGuardrail.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.UpdateGuardrail.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.UpdateGuardrail.g.cs index c5d9aed1..4c6ace4e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.UpdateGuardrail.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.UpdateGuardrail.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageGuardrailsClient + public partial interface IGuardrailsClient { /// /// Update a guardrail
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.g.cs new file mode 100644 index 00000000..eb3f7e77 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IGuardrailsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IGuardrailsClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.CreateImages.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IImagesClient.CreateImages.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.CreateImages.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IImagesClient.CreateImages.g.cs index a5f26547..daaa9aaf 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.CreateImages.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IImagesClient.CreateImages.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageImagesClient + public partial interface IImagesClient { /// /// Generate an image
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.ListImageModelEndpoints.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IImagesClient.ListImageModelEndpoints.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.ListImageModelEndpoints.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IImagesClient.ListImageModelEndpoints.g.cs index 9c0de893..09e84fb9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.ListImageModelEndpoints.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IImagesClient.ListImageModelEndpoints.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageImagesClient + public partial interface IImagesClient { /// /// List endpoints for an image model
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.ListImageModels.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IImagesClient.ListImageModels.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.ListImageModels.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IImagesClient.ListImageModels.g.cs index 6011297c..c837a905 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.ListImageModels.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IImagesClient.ListImageModels.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageImagesClient + public partial interface IImagesClient { /// /// List image generation models
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IImagesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IImagesClient.g.cs new file mode 100644 index 00000000..95b21b27 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IImagesClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IImagesClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.GetModel.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.GetModel.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.GetModel.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.GetModel.g.cs index 631d4a2c..2e1ce015 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.GetModel.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.GetModel.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageModelsClient + public partial interface IModelsClient { /// /// Get a model by its slug
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.GetModels.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.GetModels.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.GetModels.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.GetModels.g.cs index 622a9b9c..f8e05713 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.GetModels.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.GetModels.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageModelsClient + public partial interface IModelsClient { /// /// List all models and their properties diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.ListModelsCount.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.ListModelsCount.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.ListModelsCount.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.ListModelsCount.g.cs index 85b264b0..b0b99047 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.ListModelsCount.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.ListModelsCount.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageModelsClient + public partial interface IModelsClient { /// /// Get total count of available models diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.ListModelsUser.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.ListModelsUser.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.ListModelsUser.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.ListModelsUser.g.cs index a0c58f9f..d1329166 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.ListModelsUser.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.ListModelsUser.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageModelsClient + public partial interface IModelsClient { /// /// List models filtered by user provider preferences, privacy settings, and guardrails
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.g.cs new file mode 100644 index 00000000..23ac179c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IModelsClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOAuthClient.CreateAuthKeysCode.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IOAuthClient.CreateAuthKeysCode.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOAuthClient.CreateAuthKeysCode.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IOAuthClient.CreateAuthKeysCode.g.cs index 0fb62ddf..1d0af937 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOAuthClient.CreateAuthKeysCode.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IOAuthClient.CreateAuthKeysCode.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageOAuthClient + public partial interface IOAuthClient { /// /// Create authorization code
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOAuthClient.ExchangeAuthCodeForApiKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IOAuthClient.ExchangeAuthCodeForApiKey.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOAuthClient.ExchangeAuthCodeForApiKey.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IOAuthClient.ExchangeAuthCodeForApiKey.g.cs index c7089852..35bbb744 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOAuthClient.ExchangeAuthCodeForApiKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IOAuthClient.ExchangeAuthCodeForApiKey.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageOAuthClient + public partial interface IOAuthClient { /// /// Exchange authorization code for API key
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IOAuthClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IOAuthClient.g.cs new file mode 100644 index 00000000..a2e30c19 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IOAuthClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IOAuthClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.CreateObservabilityDestination.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.CreateObservabilityDestination.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.CreateObservabilityDestination.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.CreateObservabilityDestination.g.cs index 50238804..03e995b1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.CreateObservabilityDestination.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.CreateObservabilityDestination.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageObservabilityClient + public partial interface IObservabilityClient { /// /// Create an observability destination
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.DeleteObservabilityDestination.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.DeleteObservabilityDestination.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.DeleteObservabilityDestination.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.DeleteObservabilityDestination.g.cs index 45400fa7..25e0427f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.DeleteObservabilityDestination.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.DeleteObservabilityDestination.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageObservabilityClient + public partial interface IObservabilityClient { /// /// Delete an observability destination
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.GetObservabilityDestination.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.GetObservabilityDestination.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.GetObservabilityDestination.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.GetObservabilityDestination.g.cs index 78a1f9b2..197dac58 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.GetObservabilityDestination.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.GetObservabilityDestination.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageObservabilityClient + public partial interface IObservabilityClient { /// /// Get an observability destination
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.ListObservabilityDestinations.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.ListObservabilityDestinations.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.ListObservabilityDestinations.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.ListObservabilityDestinations.g.cs index eb32ab3b..e7d6b2ac 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.ListObservabilityDestinations.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.ListObservabilityDestinations.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageObservabilityClient + public partial interface IObservabilityClient { /// /// List observability destinations
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.UpdateObservabilityDestination.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.UpdateObservabilityDestination.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.UpdateObservabilityDestination.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.UpdateObservabilityDestination.g.cs index bce4cc21..77bafba9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.UpdateObservabilityDestination.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.UpdateObservabilityDestination.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageObservabilityClient + public partial interface IObservabilityClient { /// /// Update an observability destination
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.g.cs new file mode 100644 index 00000000..8ec7aea4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IObservabilityClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IObservabilityClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IOpenRouterClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IOpenRouterClient.g.cs index e612b96d..bd25019b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IOpenRouterClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IOpenRouterClient.g.cs @@ -47,142 +47,142 @@ public partial interface IOpenRouterClient : global::System.IDisposable /// /// /// - public SubpackageAnalyticsClient SubpackageAnalytics { get; } + public AnalyticsClient Analytics { get; } /// /// /// - public SubpackageAnthropicMessagesClient SubpackageAnthropicMessages { get; } + public AnthropicMessagesClient AnthropicMessages { get; } /// /// /// - public SubpackageApiKeysClient SubpackageApiKeys { get; } + public ApiKeysClient ApiKeys { get; } /// /// /// - public SubpackageBenchmarksClient SubpackageBenchmarks { get; } + public BenchmarksClient Benchmarks { get; } /// /// /// - public SubpackageBetaAnalyticsClient SubpackageBetaAnalytics { get; } + public BetaAnalyticsClient BetaAnalytics { get; } /// /// /// - public SubpackageBetaResponsesClient SubpackageBetaResponses { get; } + public BetaResponsesClient BetaResponses { get; } /// /// /// - public SubpackageByokClient SubpackageByok { get; } + public ByokClient Byok { get; } /// /// /// - public SubpackageChatClient SubpackageChat { get; } + public ChatClient Chat { get; } /// /// /// - public SubpackageClassificationsClient SubpackageClassifications { get; } + public ClassificationsClient Classifications { get; } /// /// /// - public SubpackageCreditsClient SubpackageCredits { get; } + public CreditsClient Credits { get; } /// /// /// - public SubpackageDatasetsClient SubpackageDatasets { get; } + public DatasetsClient Datasets { get; } /// /// /// - public SubpackageEmbeddingsClient SubpackageEmbeddings { get; } + public EmbeddingsClient Embeddings { get; } /// /// /// - public SubpackageEndpointsClient SubpackageEndpoints { get; } + public EndpointsClient Endpoints { get; } /// /// /// - public SubpackageFilesClient SubpackageFiles { get; } + public FilesClient Files { get; } /// /// /// - public SubpackageGenerationsClient SubpackageGenerations { get; } + public GenerationsClient Generations { get; } /// /// /// - public SubpackageGuardrailsClient SubpackageGuardrails { get; } + public GuardrailsClient Guardrails { get; } /// /// /// - public SubpackageImagesClient SubpackageImages { get; } + public ImagesClient Images { get; } /// /// /// - public SubpackageModelsClient SubpackageModels { get; } + public ModelsClient Models { get; } /// /// /// - public SubpackageOAuthClient SubpackageOAuth { get; } + public OAuthClient OAuth { get; } /// /// /// - public SubpackageObservabilityClient SubpackageObservability { get; } + public ObservabilityClient Observability { get; } /// /// /// - public SubpackageOrganizationClient SubpackageOrganization { get; } + public OrganizationClient Organization { get; } /// /// /// - public SubpackagePresetsClient SubpackagePresets { get; } + public PresetsClient Presets { get; } /// /// /// - public SubpackageProvidersClient SubpackageProviders { get; } + public ProvidersClient Providers { get; } /// /// /// - public SubpackageRerankClient SubpackageRerank { get; } + public RerankClient Rerank { get; } /// /// /// - public SubpackageSttClient SubpackageStt { get; } + public SttClient Stt { get; } /// /// /// - public SubpackageTtsClient SubpackageTts { get; } + public TtsClient Tts { get; } /// /// /// - public SubpackageVideoGenerationClient SubpackageVideoGeneration { get; } + public VideoGenerationClient VideoGeneration { get; } /// /// /// - public SubpackageWorkspacesClient SubpackageWorkspaces { get; } + public WorkspacesClient Workspaces { get; } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOrganizationClient.ListOrganizationMembers.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IOrganizationClient.ListOrganizationMembers.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOrganizationClient.ListOrganizationMembers.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IOrganizationClient.ListOrganizationMembers.g.cs index 1e982136..05086679 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOrganizationClient.ListOrganizationMembers.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IOrganizationClient.ListOrganizationMembers.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageOrganizationClient + public partial interface IOrganizationClient { /// /// List organization members
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IOrganizationClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IOrganizationClient.g.cs new file mode 100644 index 00000000..90c3e114 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IOrganizationClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IOrganizationClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.CreatePresetsChatCompletions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsChatCompletions.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.CreatePresetsChatCompletions.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsChatCompletions.g.cs index 8ab79079..bbe2f6e9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.CreatePresetsChatCompletions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsChatCompletions.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackagePresetsClient + public partial interface IPresetsClient { /// /// Create a preset from a chat-completions request body
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.CreatePresetsMessages.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsMessages.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.CreatePresetsMessages.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsMessages.g.cs index 1ac53b47..1e137441 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.CreatePresetsMessages.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsMessages.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackagePresetsClient + public partial interface IPresetsClient { /// /// Create a preset from a messages request body
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.CreatePresetsResponses.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsResponses.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.CreatePresetsResponses.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsResponses.g.cs index 7927401b..672b1ab0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.CreatePresetsResponses.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.CreatePresetsResponses.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackagePresetsClient + public partial interface IPresetsClient { /// /// Create a preset from a responses request body
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.GetPreset.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.GetPreset.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.GetPreset.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.GetPreset.g.cs index b53fb92a..e2382b93 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.GetPreset.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.GetPreset.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackagePresetsClient + public partial interface IPresetsClient { /// /// Get a preset
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.GetPresetVersion.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.GetPresetVersion.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.GetPresetVersion.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.GetPresetVersion.g.cs index 5fabfc01..6f66cfec 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.GetPresetVersion.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.GetPresetVersion.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackagePresetsClient + public partial interface IPresetsClient { /// /// Get a specific version of a preset
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.ListPresetVersions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.ListPresetVersions.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.ListPresetVersions.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.ListPresetVersions.g.cs index 13023b7b..cd7fffb6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.ListPresetVersions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.ListPresetVersions.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackagePresetsClient + public partial interface IPresetsClient { /// /// List versions of a preset
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.ListPresets.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.ListPresets.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.ListPresets.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.ListPresets.g.cs index 0a6a703a..679a0124 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackagePresetsClient.ListPresets.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.ListPresets.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackagePresetsClient + public partial interface IPresetsClient { /// /// List presets
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.g.cs new file mode 100644 index 00000000..eff88f1b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IPresetsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IPresetsClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageProvidersClient.ListProviders.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IProvidersClient.ListProviders.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageProvidersClient.ListProviders.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IProvidersClient.ListProviders.g.cs index e6d88133..c4980deb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageProvidersClient.ListProviders.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IProvidersClient.ListProviders.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageProvidersClient + public partial interface IProvidersClient { /// /// List all providers diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IProvidersClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IProvidersClient.g.cs new file mode 100644 index 00000000..1fea7b58 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IProvidersClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IProvidersClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageRerankClient.CreateRerank.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IRerankClient.CreateRerank.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageRerankClient.CreateRerank.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IRerankClient.CreateRerank.g.cs index 7cea0073..c8cb6216 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageRerankClient.CreateRerank.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IRerankClient.CreateRerank.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageRerankClient + public partial interface IRerankClient { /// /// Submit a rerank request
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IRerankClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IRerankClient.g.cs new file mode 100644 index 00000000..d1209e6b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IRerankClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IRerankClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageSttClient.CreateAudioTranscriptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISttClient.CreateAudioTranscriptions.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageSttClient.CreateAudioTranscriptions.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ISttClient.CreateAudioTranscriptions.g.cs index 0cc7597f..0ed08821 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageSttClient.CreateAudioTranscriptions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ISttClient.CreateAudioTranscriptions.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageSttClient + public partial interface ISttClient { /// /// Create transcription
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISttClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISttClient.g.cs new file mode 100644 index 00000000..8e649e70 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.ISttClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 ISttClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnalyticsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnalyticsClient.g.cs deleted file mode 100644 index 14e3a04e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnalyticsClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageAnalyticsClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnthropicMessagesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnthropicMessagesClient.g.cs deleted file mode 100644 index 9276755f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageAnthropicMessagesClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageAnthropicMessagesClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.g.cs deleted file mode 100644 index af770e48..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageApiKeysClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageApiKeysClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBenchmarksClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBenchmarksClient.g.cs deleted file mode 100644 index 0cec72e8..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBenchmarksClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageBenchmarksClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.g.cs deleted file mode 100644 index 9a79ab7a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaAnalyticsClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageBetaAnalyticsClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaResponsesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaResponsesClient.g.cs deleted file mode 100644 index 233c1f2d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageBetaResponsesClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageBetaResponsesClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageClassificationsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageClassificationsClient.g.cs deleted file mode 100644 index 28add273..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageClassificationsClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageClassificationsClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageCreditsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageCreditsClient.g.cs deleted file mode 100644 index 1640d25d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageCreditsClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageCreditsClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageDatasetsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageDatasetsClient.g.cs deleted file mode 100644 index a8ad24f7..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageDatasetsClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageDatasetsClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEmbeddingsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEmbeddingsClient.g.cs deleted file mode 100644 index cf6f3ec5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEmbeddingsClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageEmbeddingsClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEndpointsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEndpointsClient.g.cs deleted file mode 100644 index a5433e53..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageEndpointsClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageEndpointsClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGenerationsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGenerationsClient.g.cs deleted file mode 100644 index e87d9376..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGenerationsClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageGenerationsClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.g.cs deleted file mode 100644 index bd6875c5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageGuardrailsClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageGuardrailsClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.g.cs deleted file mode 100644 index 8550e4d9..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageImagesClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageImagesClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.g.cs deleted file mode 100644 index 7620fd13..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageModelsClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageModelsClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.g.cs deleted file mode 100644 index 6ed02838..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageObservabilityClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageObservabilityClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOrganizationClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOrganizationClient.g.cs deleted file mode 100644 index f960aa77..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOrganizationClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageOrganizationClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageProvidersClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageProvidersClient.g.cs deleted file mode 100644 index 69b91a76..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageProvidersClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageProvidersClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageRerankClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageRerankClient.g.cs deleted file mode 100644 index bb95e628..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageRerankClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageRerankClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.g.cs deleted file mode 100644 index b6163970..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageVideoGenerationClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.g.cs deleted file mode 100644 index 9274b44e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.g.cs +++ /dev/null @@ -1,48 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 ISubpackageWorkspacesClient : 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; } - - - /// - /// - /// - global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } - - - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageTtsClient.CreateAudioSpeech.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.CreateAudioSpeech.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageTtsClient.CreateAudioSpeech.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.CreateAudioSpeech.g.cs index c45b2f8d..b392ca09 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageTtsClient.CreateAudioSpeech.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.CreateAudioSpeech.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageTtsClient + public partial interface ITtsClient { /// /// Create speech
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.g.cs new file mode 100644 index 00000000..65d0478d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 ITtsClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.CreateVideos.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.CreateVideos.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.CreateVideos.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.CreateVideos.g.cs index d1eafeb6..7b5ebe76 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.CreateVideos.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.CreateVideos.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageVideoGenerationClient + public partial interface IVideoGenerationClient { /// /// Submit a video generation request
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.GetVideos.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.GetVideos.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.GetVideos.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.GetVideos.g.cs index 37389f4c..b9ff69f5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.GetVideos.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.GetVideos.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageVideoGenerationClient + public partial interface IVideoGenerationClient { /// /// Poll video generation status
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.ListVideosContent.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.ListVideosContent.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.ListVideosContent.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.ListVideosContent.g.cs index 371ee8a0..d51ce2e1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.ListVideosContent.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.ListVideosContent.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageVideoGenerationClient + public partial interface IVideoGenerationClient { /// /// Download generated video content
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.ListVideosModels.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.ListVideosModels.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.ListVideosModels.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.ListVideosModels.g.cs index 4c8fcb9c..dfabe235 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageVideoGenerationClient.ListVideosModels.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.ListVideosModels.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageVideoGenerationClient + public partial interface IVideoGenerationClient { /// /// List all video generation models
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOAuthClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOAuthClient.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.g.cs index e1c05dd1..59740974 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageOAuthClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IVideoGenerationClient.g.cs @@ -7,7 +7,7 @@ namespace OpenRouter /// 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 ISubpackageOAuthClient : global::System.IDisposable + public partial interface IVideoGenerationClient : global::System.IDisposable { /// /// The HttpClient instance. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.BulkAddWorkspaceMembers.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.BulkAddWorkspaceMembers.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.BulkAddWorkspaceMembers.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.BulkAddWorkspaceMembers.g.cs index b6c66564..3844dde9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.BulkAddWorkspaceMembers.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.BulkAddWorkspaceMembers.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageWorkspacesClient + public partial interface IWorkspacesClient { /// /// Bulk add members to a workspace
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.BulkRemoveWorkspaceMembers.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.BulkRemoveWorkspaceMembers.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.BulkRemoveWorkspaceMembers.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.BulkRemoveWorkspaceMembers.g.cs index 58ea1791..b243dbae 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.BulkRemoveWorkspaceMembers.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.BulkRemoveWorkspaceMembers.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageWorkspacesClient + public partial interface IWorkspacesClient { /// /// Bulk remove members from a workspace
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.CreateWorkspace.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.CreateWorkspace.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.CreateWorkspace.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.CreateWorkspace.g.cs index 671723e8..3ce01218 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.CreateWorkspace.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.CreateWorkspace.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageWorkspacesClient + public partial interface IWorkspacesClient { /// /// Create a workspace
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.DeleteWorkspace.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.DeleteWorkspace.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.DeleteWorkspace.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.DeleteWorkspace.g.cs index 07df4a6d..75603f80 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.DeleteWorkspace.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.DeleteWorkspace.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageWorkspacesClient + public partial interface IWorkspacesClient { /// /// Delete a workspace
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.DeleteWorkspaceBudget.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.DeleteWorkspaceBudget.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.DeleteWorkspaceBudget.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.DeleteWorkspaceBudget.g.cs index 3eaf814a..8eef5080 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.DeleteWorkspaceBudget.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.DeleteWorkspaceBudget.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageWorkspacesClient + public partial interface IWorkspacesClient { /// /// Delete a workspace budget
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.GetWorkspace.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.GetWorkspace.g.cs similarity index 96% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.GetWorkspace.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.GetWorkspace.g.cs index 0a831762..6ceb3880 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.GetWorkspace.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.GetWorkspace.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageWorkspacesClient + public partial interface IWorkspacesClient { /// /// Get a workspace
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.ListWorkspaceBudgets.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.ListWorkspaceBudgets.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.ListWorkspaceBudgets.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.ListWorkspaceBudgets.g.cs index 071f7a11..affe241b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.ListWorkspaceBudgets.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.ListWorkspaceBudgets.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageWorkspacesClient + public partial interface IWorkspacesClient { /// /// List workspace budgets
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.ListWorkspaces.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.ListWorkspaces.g.cs similarity index 97% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.ListWorkspaces.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.ListWorkspaces.g.cs index 2801ff23..e0c3aed2 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.ListWorkspaces.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.ListWorkspaces.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageWorkspacesClient + public partial interface IWorkspacesClient { /// /// List workspaces
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.UpdateWorkspace.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.UpdateWorkspace.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.UpdateWorkspace.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.UpdateWorkspace.g.cs index 1296d2b7..7e8b50d1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.UpdateWorkspace.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.UpdateWorkspace.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageWorkspacesClient + public partial interface IWorkspacesClient { /// /// Update a workspace
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.UpsertWorkspaceBudget.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.UpsertWorkspaceBudget.g.cs similarity index 98% rename from src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.UpsertWorkspaceBudget.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.UpsertWorkspaceBudget.g.cs index 71e1d664..4dfe32de 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISubpackageWorkspacesClient.UpsertWorkspaceBudget.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.UpsertWorkspaceBudget.g.cs @@ -2,7 +2,7 @@ namespace OpenRouter { - public partial interface ISubpackageWorkspacesClient + public partial interface IWorkspacesClient { /// /// Create or update a workspace budget
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.g.cs new file mode 100644 index 00000000..7cf72b69 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IWorkspacesClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 IWorkspacesClient : 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; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.CreateImages.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ImagesClient.CreateImages.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.CreateImages.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ImagesClient.CreateImages.g.cs index 1ab529db..087e7bab 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.CreateImages.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ImagesClient.CreateImages.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageImagesClient + public partial class ImagesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.ListImageModelEndpoints.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ImagesClient.ListImageModelEndpoints.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.ListImageModelEndpoints.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ImagesClient.ListImageModelEndpoints.g.cs index bd964ca7..94d23c6b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.ListImageModelEndpoints.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ImagesClient.ListImageModelEndpoints.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageImagesClient + public partial class ImagesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.ListImageModels.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ImagesClient.ListImageModels.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.ListImageModels.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ImagesClient.ListImageModels.g.cs index bd8459b0..52752b00 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.ListImageModels.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ImagesClient.ListImageModels.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageImagesClient + public partial class ImagesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ImagesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ImagesClient.g.cs new file mode 100644 index 00000000..7d545f94 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.ImagesClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 ImagesClient : global::OpenRouter.IImagesClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the ImagesClient. + /// 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 ImagesClient( + 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 ImagesClient 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 ImagesClient( + 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 ImagesClient. + /// 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 ImagesClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.GetModel.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.GetModel.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.GetModel.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.GetModel.g.cs index fb73bd96..3c9c8ea3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.GetModel.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.GetModel.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageModelsClient + public partial class ModelsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.GetModels.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.GetModels.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.GetModels.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.GetModels.g.cs index 851d64d6..938a8f26 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.GetModels.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.GetModels.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageModelsClient + public partial class ModelsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.ListModelsCount.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListModelsCount.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.ListModelsCount.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListModelsCount.g.cs index b9d66caf..2a820f85 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.ListModelsCount.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListModelsCount.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageModelsClient + public partial class ModelsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.ListModelsUser.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListModelsUser.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.ListModelsUser.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListModelsUser.g.cs index b63f5662..d04bba47 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.ListModelsUser.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListModelsUser.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageModelsClient + public partial class ModelsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.g.cs new file mode 100644 index 00000000..447507c2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 ModelsClient : global::OpenRouter.IModelsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the ModelsClient. + /// 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 ModelsClient( + 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 ModelsClient 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 ModelsClient( + 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 ModelsClient. + /// 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 ModelsClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageOAuthClient.CreateAuthKeysCode.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.OAuthClient.CreateAuthKeysCode.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageOAuthClient.CreateAuthKeysCode.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.OAuthClient.CreateAuthKeysCode.g.cs index 2ca9fd80..07d4bf7a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageOAuthClient.CreateAuthKeysCode.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.OAuthClient.CreateAuthKeysCode.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageOAuthClient + public partial class OAuthClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageOAuthClient.ExchangeAuthCodeForApiKey.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.OAuthClient.ExchangeAuthCodeForApiKey.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageOAuthClient.ExchangeAuthCodeForApiKey.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.OAuthClient.ExchangeAuthCodeForApiKey.g.cs index 64ee6caf..4c887a1c 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageOAuthClient.ExchangeAuthCodeForApiKey.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.OAuthClient.ExchangeAuthCodeForApiKey.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageOAuthClient + public partial class OAuthClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.OAuthClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.OAuthClient.g.cs new file mode 100644 index 00000000..1d7a05e3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.OAuthClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 OAuthClient : global::OpenRouter.IOAuthClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the OAuthClient. + /// 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 OAuthClient( + 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 OAuthClient 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 OAuthClient( + 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 OAuthClient. + /// 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 OAuthClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.CreateObservabilityDestination.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.CreateObservabilityDestination.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.CreateObservabilityDestination.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.CreateObservabilityDestination.g.cs index dfcaba4a..ebe135e6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.CreateObservabilityDestination.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.CreateObservabilityDestination.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageObservabilityClient + public partial class ObservabilityClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.DeleteObservabilityDestination.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.DeleteObservabilityDestination.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.DeleteObservabilityDestination.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.DeleteObservabilityDestination.g.cs index 5e48ac2f..0813f558 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.DeleteObservabilityDestination.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.DeleteObservabilityDestination.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageObservabilityClient + public partial class ObservabilityClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.GetObservabilityDestination.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.GetObservabilityDestination.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.GetObservabilityDestination.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.GetObservabilityDestination.g.cs index 3246af81..22433f7d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.GetObservabilityDestination.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.GetObservabilityDestination.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageObservabilityClient + public partial class ObservabilityClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.ListObservabilityDestinations.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.ListObservabilityDestinations.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.ListObservabilityDestinations.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.ListObservabilityDestinations.g.cs index fda02b41..5adec5dd 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.ListObservabilityDestinations.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.ListObservabilityDestinations.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageObservabilityClient + public partial class ObservabilityClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.UpdateObservabilityDestination.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.UpdateObservabilityDestination.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.UpdateObservabilityDestination.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.UpdateObservabilityDestination.g.cs index b3d68177..36ed2d19 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.UpdateObservabilityDestination.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.UpdateObservabilityDestination.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageObservabilityClient + public partial class ObservabilityClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.g.cs new file mode 100644 index 00000000..f7c46c6f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.ObservabilityClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 ObservabilityClient : global::OpenRouter.IObservabilityClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the ObservabilityClient. + /// 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 ObservabilityClient( + 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 ObservabilityClient 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 ObservabilityClient( + 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 ObservabilityClient. + /// 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 ObservabilityClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.OpenRouterClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.OpenRouterClient.g.cs index 3efe990f..27bf6391 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.OpenRouterClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.OpenRouterClient.g.cs @@ -42,7 +42,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageAnalyticsClient SubpackageAnalytics => new SubpackageAnalyticsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public AnalyticsClient Analytics => new AnalyticsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -51,7 +51,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageAnthropicMessagesClient SubpackageAnthropicMessages => new SubpackageAnthropicMessagesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public AnthropicMessagesClient AnthropicMessages => new AnthropicMessagesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -60,7 +60,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageApiKeysClient SubpackageApiKeys => new SubpackageApiKeysClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public ApiKeysClient ApiKeys => new ApiKeysClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -69,7 +69,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageBenchmarksClient SubpackageBenchmarks => new SubpackageBenchmarksClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public BenchmarksClient Benchmarks => new BenchmarksClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -78,7 +78,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageBetaAnalyticsClient SubpackageBetaAnalytics => new SubpackageBetaAnalyticsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public BetaAnalyticsClient BetaAnalytics => new BetaAnalyticsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -87,7 +87,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageBetaResponsesClient SubpackageBetaResponses => new SubpackageBetaResponsesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public BetaResponsesClient BetaResponses => new BetaResponsesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -96,7 +96,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageByokClient SubpackageByok => new SubpackageByokClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public ByokClient Byok => new ByokClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -105,7 +105,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageChatClient SubpackageChat => new SubpackageChatClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public ChatClient Chat => new ChatClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -114,7 +114,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageClassificationsClient SubpackageClassifications => new SubpackageClassificationsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public ClassificationsClient Classifications => new ClassificationsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -123,7 +123,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageCreditsClient SubpackageCredits => new SubpackageCreditsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public CreditsClient Credits => new CreditsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -132,7 +132,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageDatasetsClient SubpackageDatasets => new SubpackageDatasetsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public DatasetsClient Datasets => new DatasetsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -141,7 +141,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageEmbeddingsClient SubpackageEmbeddings => new SubpackageEmbeddingsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public EmbeddingsClient Embeddings => new EmbeddingsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -150,7 +150,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageEndpointsClient SubpackageEndpoints => new SubpackageEndpointsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public EndpointsClient Endpoints => new EndpointsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -159,7 +159,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageFilesClient SubpackageFiles => new SubpackageFilesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public FilesClient Files => new FilesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -168,7 +168,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageGenerationsClient SubpackageGenerations => new SubpackageGenerationsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public GenerationsClient Generations => new GenerationsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -177,7 +177,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageGuardrailsClient SubpackageGuardrails => new SubpackageGuardrailsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public GuardrailsClient Guardrails => new GuardrailsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -186,7 +186,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageImagesClient SubpackageImages => new SubpackageImagesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public ImagesClient Images => new ImagesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -195,7 +195,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageModelsClient SubpackageModels => new SubpackageModelsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public ModelsClient Models => new ModelsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -204,7 +204,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageOAuthClient SubpackageOAuth => new SubpackageOAuthClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public OAuthClient OAuth => new OAuthClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -213,7 +213,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageObservabilityClient SubpackageObservability => new SubpackageObservabilityClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public ObservabilityClient Observability => new ObservabilityClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -222,7 +222,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageOrganizationClient SubpackageOrganization => new SubpackageOrganizationClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public OrganizationClient Organization => new OrganizationClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -231,7 +231,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackagePresetsClient SubpackagePresets => new SubpackagePresetsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public PresetsClient Presets => new PresetsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -240,7 +240,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageProvidersClient SubpackageProviders => new SubpackageProvidersClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public ProvidersClient Providers => new ProvidersClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -249,7 +249,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageRerankClient SubpackageRerank => new SubpackageRerankClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public RerankClient Rerank => new RerankClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -258,7 +258,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageSttClient SubpackageStt => new SubpackageSttClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public SttClient Stt => new SttClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -267,7 +267,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageTtsClient SubpackageTts => new SubpackageTtsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public TtsClient Tts => new TtsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -276,7 +276,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageVideoGenerationClient SubpackageVideoGeneration => new SubpackageVideoGenerationClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public VideoGenerationClient VideoGeneration => new VideoGenerationClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -285,7 +285,7 @@ public sealed partial class OpenRouterClient : global::OpenRouter.IOpenRouterCli /// /// /// - public SubpackageWorkspacesClient SubpackageWorkspaces => new SubpackageWorkspacesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + public WorkspacesClient Workspaces => new WorkspacesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageOrganizationClient.ListOrganizationMembers.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.OrganizationClient.ListOrganizationMembers.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageOrganizationClient.ListOrganizationMembers.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.OrganizationClient.ListOrganizationMembers.g.cs index a40ed35f..cf7171ac 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageOrganizationClient.ListOrganizationMembers.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.OrganizationClient.ListOrganizationMembers.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageOrganizationClient + public partial class OrganizationClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.OrganizationClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.OrganizationClient.g.cs new file mode 100644 index 00000000..862c3b2b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.OrganizationClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 OrganizationClient : global::OpenRouter.IOrganizationClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the OrganizationClient. + /// 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 OrganizationClient( + 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 OrganizationClient 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 OrganizationClient( + 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 OrganizationClient. + /// 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 OrganizationClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.CreatePresetsChatCompletions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsChatCompletions.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.CreatePresetsChatCompletions.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsChatCompletions.g.cs index ad4eab06..52780e69 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.CreatePresetsChatCompletions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsChatCompletions.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackagePresetsClient + public partial class PresetsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.CreatePresetsMessages.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsMessages.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.CreatePresetsMessages.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsMessages.g.cs index 8ae01211..9a99dc40 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.CreatePresetsMessages.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsMessages.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackagePresetsClient + public partial class PresetsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.CreatePresetsResponses.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsResponses.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.CreatePresetsResponses.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsResponses.g.cs index 056f77f4..24407345 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.CreatePresetsResponses.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.CreatePresetsResponses.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackagePresetsClient + public partial class PresetsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.GetPreset.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.GetPreset.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.GetPreset.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.GetPreset.g.cs index 16e68b63..0d6b6665 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.GetPreset.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.GetPreset.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackagePresetsClient + public partial class PresetsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.GetPresetVersion.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.GetPresetVersion.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.GetPresetVersion.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.GetPresetVersion.g.cs index 15c39ae2..55010837 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.GetPresetVersion.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.GetPresetVersion.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackagePresetsClient + public partial class PresetsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.ListPresetVersions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.ListPresetVersions.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.ListPresetVersions.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.ListPresetVersions.g.cs index e906f26b..aa8b61c0 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.ListPresetVersions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.ListPresetVersions.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackagePresetsClient + public partial class PresetsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.ListPresets.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.ListPresets.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.ListPresets.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.ListPresets.g.cs index 78a8c74b..ddde0cb1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackagePresetsClient.ListPresets.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.ListPresets.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackagePresetsClient + public partial class PresetsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.g.cs new file mode 100644 index 00000000..fda7e3f6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.PresetsClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 PresetsClient : global::OpenRouter.IPresetsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the PresetsClient. + /// 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 PresetsClient( + 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 PresetsClient 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 PresetsClient( + 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 PresetsClient. + /// 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 PresetsClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageProvidersClient.ListProviders.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ProvidersClient.ListProviders.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageProvidersClient.ListProviders.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.ProvidersClient.ListProviders.g.cs index 266149ec..489b6cc3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageProvidersClient.ListProviders.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ProvidersClient.ListProviders.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageProvidersClient + public partial class ProvidersClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ProvidersClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ProvidersClient.g.cs new file mode 100644 index 00000000..74e5f9ca --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.ProvidersClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 ProvidersClient : global::OpenRouter.IProvidersClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the ProvidersClient. + /// 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 ProvidersClient( + 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 ProvidersClient 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 ProvidersClient( + 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 ProvidersClient. + /// 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 ProvidersClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageRerankClient.CreateRerank.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.RerankClient.CreateRerank.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageRerankClient.CreateRerank.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.RerankClient.CreateRerank.g.cs index 56675e16..184abcc1 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageRerankClient.CreateRerank.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.RerankClient.CreateRerank.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageRerankClient + public partial class RerankClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.RerankClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.RerankClient.g.cs new file mode 100644 index 00000000..029c06f3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.RerankClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 RerankClient : global::OpenRouter.IRerankClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the RerankClient. + /// 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 RerankClient( + 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 RerankClient 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 RerankClient( + 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 RerankClient. + /// 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 RerankClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageSttClient.CreateAudioTranscriptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SttClient.CreateAudioTranscriptions.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageSttClient.CreateAudioTranscriptions.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.SttClient.CreateAudioTranscriptions.g.cs index c2ff9ef1..ab94bc9d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageSttClient.CreateAudioTranscriptions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.SttClient.CreateAudioTranscriptions.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageSttClient + public partial class SttClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SttClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SttClient.g.cs new file mode 100644 index 00000000..6a8db039 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.SttClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 SttClient : global::OpenRouter.ISttClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the SttClient. + /// 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 SttClient( + 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 SttClient 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 SttClient( + 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 SttClient. + /// 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 SttClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnalyticsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnalyticsClient.g.cs deleted file mode 100644 index 57845ae2..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnalyticsClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageAnalyticsClient : global::OpenRouter.ISubpackageAnalyticsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageAnalyticsClient. - /// 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 SubpackageAnalyticsClient( - 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 SubpackageAnalyticsClient 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 SubpackageAnalyticsClient( - 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 SubpackageAnalyticsClient. - /// 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 SubpackageAnalyticsClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnthropicMessagesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnthropicMessagesClient.g.cs deleted file mode 100644 index 252ae970..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageAnthropicMessagesClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageAnthropicMessagesClient : global::OpenRouter.ISubpackageAnthropicMessagesClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageAnthropicMessagesClient. - /// 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 SubpackageAnthropicMessagesClient( - 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 SubpackageAnthropicMessagesClient 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 SubpackageAnthropicMessagesClient( - 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 SubpackageAnthropicMessagesClient. - /// 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 SubpackageAnthropicMessagesClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.g.cs deleted file mode 100644 index 7ba2aa80..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageApiKeysClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageApiKeysClient : global::OpenRouter.ISubpackageApiKeysClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageApiKeysClient. - /// 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 SubpackageApiKeysClient( - 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 SubpackageApiKeysClient 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 SubpackageApiKeysClient( - 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 SubpackageApiKeysClient. - /// 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 SubpackageApiKeysClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBenchmarksClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBenchmarksClient.g.cs deleted file mode 100644 index 7cf6ae8a..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBenchmarksClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageBenchmarksClient : global::OpenRouter.ISubpackageBenchmarksClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageBenchmarksClient. - /// 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 SubpackageBenchmarksClient( - 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 SubpackageBenchmarksClient 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 SubpackageBenchmarksClient( - 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 SubpackageBenchmarksClient. - /// 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 SubpackageBenchmarksClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.g.cs deleted file mode 100644 index 35347598..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaAnalyticsClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageBetaAnalyticsClient : global::OpenRouter.ISubpackageBetaAnalyticsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageBetaAnalyticsClient. - /// 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 SubpackageBetaAnalyticsClient( - 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 SubpackageBetaAnalyticsClient 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 SubpackageBetaAnalyticsClient( - 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 SubpackageBetaAnalyticsClient. - /// 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 SubpackageBetaAnalyticsClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaResponsesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaResponsesClient.g.cs deleted file mode 100644 index ee61837f..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageBetaResponsesClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageBetaResponsesClient : global::OpenRouter.ISubpackageBetaResponsesClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageBetaResponsesClient. - /// 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 SubpackageBetaResponsesClient( - 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 SubpackageBetaResponsesClient 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 SubpackageBetaResponsesClient( - 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 SubpackageBetaResponsesClient. - /// 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 SubpackageBetaResponsesClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageClassificationsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageClassificationsClient.g.cs deleted file mode 100644 index 2ed9ee16..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageClassificationsClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageClassificationsClient : global::OpenRouter.ISubpackageClassificationsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageClassificationsClient. - /// 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 SubpackageClassificationsClient( - 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 SubpackageClassificationsClient 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 SubpackageClassificationsClient( - 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 SubpackageClassificationsClient. - /// 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 SubpackageClassificationsClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageCreditsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageCreditsClient.g.cs deleted file mode 100644 index 3230726d..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageCreditsClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageCreditsClient : global::OpenRouter.ISubpackageCreditsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageCreditsClient. - /// 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 SubpackageCreditsClient( - 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 SubpackageCreditsClient 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 SubpackageCreditsClient( - 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 SubpackageCreditsClient. - /// 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 SubpackageCreditsClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageDatasetsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageDatasetsClient.g.cs deleted file mode 100644 index db7d7db4..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageDatasetsClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageDatasetsClient : global::OpenRouter.ISubpackageDatasetsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageDatasetsClient. - /// 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 SubpackageDatasetsClient( - 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 SubpackageDatasetsClient 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 SubpackageDatasetsClient( - 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 SubpackageDatasetsClient. - /// 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 SubpackageDatasetsClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageEmbeddingsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageEmbeddingsClient.g.cs deleted file mode 100644 index 28efd2d4..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageEmbeddingsClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageEmbeddingsClient : global::OpenRouter.ISubpackageEmbeddingsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageEmbeddingsClient. - /// 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 SubpackageEmbeddingsClient( - 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 SubpackageEmbeddingsClient 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 SubpackageEmbeddingsClient( - 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 SubpackageEmbeddingsClient. - /// 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 SubpackageEmbeddingsClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageEndpointsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageEndpointsClient.g.cs deleted file mode 100644 index 409dc30c..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageEndpointsClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageEndpointsClient : global::OpenRouter.ISubpackageEndpointsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageEndpointsClient. - /// 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 SubpackageEndpointsClient( - 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 SubpackageEndpointsClient 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 SubpackageEndpointsClient( - 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 SubpackageEndpointsClient. - /// 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 SubpackageEndpointsClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGenerationsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGenerationsClient.g.cs deleted file mode 100644 index 2f35d8d5..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGenerationsClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageGenerationsClient : global::OpenRouter.ISubpackageGenerationsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageGenerationsClient. - /// 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 SubpackageGenerationsClient( - 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 SubpackageGenerationsClient 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 SubpackageGenerationsClient( - 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 SubpackageGenerationsClient. - /// 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 SubpackageGenerationsClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.g.cs deleted file mode 100644 index b4716d64..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageGuardrailsClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageGuardrailsClient : global::OpenRouter.ISubpackageGuardrailsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageGuardrailsClient. - /// 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 SubpackageGuardrailsClient( - 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 SubpackageGuardrailsClient 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 SubpackageGuardrailsClient( - 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 SubpackageGuardrailsClient. - /// 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 SubpackageGuardrailsClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.g.cs deleted file mode 100644 index 4104b6a8..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageImagesClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageImagesClient : global::OpenRouter.ISubpackageImagesClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageImagesClient. - /// 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 SubpackageImagesClient( - 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 SubpackageImagesClient 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 SubpackageImagesClient( - 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 SubpackageImagesClient. - /// 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 SubpackageImagesClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.g.cs deleted file mode 100644 index 7986df99..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageModelsClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageModelsClient : global::OpenRouter.ISubpackageModelsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageModelsClient. - /// 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 SubpackageModelsClient( - 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 SubpackageModelsClient 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 SubpackageModelsClient( - 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 SubpackageModelsClient. - /// 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 SubpackageModelsClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.g.cs deleted file mode 100644 index 2f2fec7b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageObservabilityClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageObservabilityClient : global::OpenRouter.ISubpackageObservabilityClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageObservabilityClient. - /// 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 SubpackageObservabilityClient( - 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 SubpackageObservabilityClient 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 SubpackageObservabilityClient( - 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 SubpackageObservabilityClient. - /// 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 SubpackageObservabilityClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageOrganizationClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageOrganizationClient.g.cs deleted file mode 100644 index d3bdc70b..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageOrganizationClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageOrganizationClient : global::OpenRouter.ISubpackageOrganizationClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageOrganizationClient. - /// 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 SubpackageOrganizationClient( - 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 SubpackageOrganizationClient 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 SubpackageOrganizationClient( - 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 SubpackageOrganizationClient. - /// 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 SubpackageOrganizationClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageProvidersClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageProvidersClient.g.cs deleted file mode 100644 index 4b0d482e..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageProvidersClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageProvidersClient : global::OpenRouter.ISubpackageProvidersClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageProvidersClient. - /// 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 SubpackageProvidersClient( - 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 SubpackageProvidersClient 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 SubpackageProvidersClient( - 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 SubpackageProvidersClient. - /// 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 SubpackageProvidersClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageRerankClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageRerankClient.g.cs deleted file mode 100644 index d9c640cd..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageRerankClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageRerankClient : global::OpenRouter.ISubpackageRerankClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageRerankClient. - /// 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 SubpackageRerankClient( - 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 SubpackageRerankClient 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 SubpackageRerankClient( - 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 SubpackageRerankClient. - /// 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 SubpackageRerankClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.g.cs deleted file mode 100644 index f730e4be..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageVideoGenerationClient : global::OpenRouter.ISubpackageVideoGenerationClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageVideoGenerationClient. - /// 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 SubpackageVideoGenerationClient( - 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 SubpackageVideoGenerationClient 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 SubpackageVideoGenerationClient( - 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 SubpackageVideoGenerationClient. - /// 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 SubpackageVideoGenerationClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.g.cs deleted file mode 100644 index f2ddcef7..00000000 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace OpenRouter -{ - /// - /// 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 SubpackageWorkspacesClient : global::OpenRouter.ISubpackageWorkspacesClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; - - - /// - /// Creates a new instance of the SubpackageWorkspacesClient. - /// 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 SubpackageWorkspacesClient( - 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 SubpackageWorkspacesClient 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 SubpackageWorkspacesClient( - 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 SubpackageWorkspacesClient. - /// 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 SubpackageWorkspacesClient( - 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(); - HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); - Authorizations = authorizations ?? new global::System.Collections.Generic.List(); - Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); - _disposeHttpClient = disposeHttpClient; - - Initialized(HttpClient); - } - - /// - public void Dispose() - { - if (_disposeHttpClient) - { - HttpClient.Dispose(); - } - } - - partial void Initialized( - global::System.Net.Http.HttpClient client); - partial void PrepareArguments( - global::System.Net.Http.HttpClient client); - partial void PrepareRequest( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpRequestMessage request); - partial void ProcessResponse( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response); - partial void ProcessResponseContent( - global::System.Net.Http.HttpClient client, - global::System.Net.Http.HttpResponseMessage response, - ref string content); - } -} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageTtsClient.CreateAudioSpeech.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.TtsClient.CreateAudioSpeech.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageTtsClient.CreateAudioSpeech.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.TtsClient.CreateAudioSpeech.g.cs index ef1c7deb..bf89a0f4 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageTtsClient.CreateAudioSpeech.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.TtsClient.CreateAudioSpeech.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageTtsClient + public partial class TtsClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.TtsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.TtsClient.g.cs new file mode 100644 index 00000000..672c7a3c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.TtsClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 TtsClient : global::OpenRouter.ITtsClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the TtsClient. + /// 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 TtsClient( + 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 TtsClient 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 TtsClient( + 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 TtsClient. + /// 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 TtsClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.CreateVideos.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.CreateVideos.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.CreateVideos.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.CreateVideos.g.cs index 9d5571a1..899f9c50 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.CreateVideos.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.CreateVideos.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageVideoGenerationClient + public partial class VideoGenerationClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.GetVideos.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.GetVideos.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.GetVideos.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.GetVideos.g.cs index f54c8e4a..c136c7b5 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.GetVideos.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.GetVideos.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageVideoGenerationClient + public partial class VideoGenerationClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.ListVideosContent.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.ListVideosContent.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.ListVideosContent.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.ListVideosContent.g.cs index 75d2cd2b..314d70ca 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.ListVideosContent.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.ListVideosContent.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageVideoGenerationClient + public partial class VideoGenerationClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.ListVideosModels.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.ListVideosModels.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.ListVideosModels.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.ListVideosModels.g.cs index 43e9b689..3dadda14 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageVideoGenerationClient.ListVideosModels.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.ListVideosModels.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageVideoGenerationClient + public partial class VideoGenerationClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageOAuthClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.g.cs similarity index 93% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageOAuthClient.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.g.cs index 59518a57..4d512a2a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageOAuthClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.VideoGenerationClient.g.cs @@ -7,7 +7,7 @@ namespace OpenRouter /// 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 SubpackageOAuthClient : global::OpenRouter.ISubpackageOAuthClient, global::System.IDisposable + public sealed partial class VideoGenerationClient : global::OpenRouter.IVideoGenerationClient, global::System.IDisposable { /// /// Production server @@ -40,7 +40,7 @@ public sealed partial class SubpackageOAuthClient : global::OpenRouter.ISubpacka /// - /// Creates a new instance of the SubpackageOAuthClient. + /// Creates a new instance of the VideoGenerationClient. /// 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. /// @@ -48,7 +48,7 @@ public sealed partial class SubpackageOAuthClient : global::OpenRouter.ISubpacka /// 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 SubpackageOAuthClient( + public VideoGenerationClient( global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null, global::System.Collections.Generic.List? authorizations = null, @@ -62,14 +62,14 @@ public SubpackageOAuthClient( } /// - /// Creates a new instance of the SubpackageOAuthClient with explicit options but no base URL override. + /// Creates a new instance of the VideoGenerationClient 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 SubpackageOAuthClient( + public VideoGenerationClient( global::System.Net.Http.HttpClient? httpClient, global::System.Collections.Generic.List? authorizations, global::OpenRouter.AutoSDKClientOptions? options, @@ -83,7 +83,7 @@ public SubpackageOAuthClient( } /// - /// Creates a new instance of the SubpackageOAuthClient. + /// Creates a new instance of the VideoGenerationClient. /// 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. /// @@ -92,7 +92,7 @@ public SubpackageOAuthClient( /// 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 SubpackageOAuthClient( + public VideoGenerationClient( global::System.Net.Http.HttpClient? httpClient, global::System.Uri? baseUri, global::System.Collections.Generic.List? authorizations, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.BulkAddWorkspaceMembers.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.BulkAddWorkspaceMembers.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.BulkAddWorkspaceMembers.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.BulkAddWorkspaceMembers.g.cs index 6e3d5393..415e9a8a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.BulkAddWorkspaceMembers.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.BulkAddWorkspaceMembers.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageWorkspacesClient + public partial class WorkspacesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.BulkRemoveWorkspaceMembers.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.BulkRemoveWorkspaceMembers.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.BulkRemoveWorkspaceMembers.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.BulkRemoveWorkspaceMembers.g.cs index a982ef18..21d9e482 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.BulkRemoveWorkspaceMembers.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.BulkRemoveWorkspaceMembers.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageWorkspacesClient + public partial class WorkspacesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.CreateWorkspace.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.CreateWorkspace.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.CreateWorkspace.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.CreateWorkspace.g.cs index e3aef045..57450fa3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.CreateWorkspace.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.CreateWorkspace.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageWorkspacesClient + public partial class WorkspacesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.DeleteWorkspace.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.DeleteWorkspace.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.DeleteWorkspace.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.DeleteWorkspace.g.cs index 6780ad9e..7759f0e3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.DeleteWorkspace.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.DeleteWorkspace.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageWorkspacesClient + public partial class WorkspacesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.DeleteWorkspaceBudget.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.DeleteWorkspaceBudget.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.DeleteWorkspaceBudget.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.DeleteWorkspaceBudget.g.cs index 08d487dd..d87c7bed 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.DeleteWorkspaceBudget.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.DeleteWorkspaceBudget.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageWorkspacesClient + public partial class WorkspacesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.GetWorkspace.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.GetWorkspace.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.GetWorkspace.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.GetWorkspace.g.cs index 3470071a..ceb76925 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.GetWorkspace.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.GetWorkspace.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageWorkspacesClient + public partial class WorkspacesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.ListWorkspaceBudgets.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.ListWorkspaceBudgets.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.ListWorkspaceBudgets.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.ListWorkspaceBudgets.g.cs index cebb8534..d0a1b07b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.ListWorkspaceBudgets.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.ListWorkspaceBudgets.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageWorkspacesClient + public partial class WorkspacesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.ListWorkspaces.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.ListWorkspaces.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.ListWorkspaces.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.ListWorkspaces.g.cs index 0eb33085..21c32350 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.ListWorkspaces.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.ListWorkspaces.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageWorkspacesClient + public partial class WorkspacesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.UpdateWorkspace.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.UpdateWorkspace.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.UpdateWorkspace.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.UpdateWorkspace.g.cs index 454be5cc..6f3895be 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.UpdateWorkspace.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.UpdateWorkspace.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageWorkspacesClient + public partial class WorkspacesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.UpsertWorkspaceBudget.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.UpsertWorkspaceBudget.g.cs similarity index 99% rename from src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.UpsertWorkspaceBudget.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.UpsertWorkspaceBudget.g.cs index 7b984449..a116813f 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SubpackageWorkspacesClient.UpsertWorkspaceBudget.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.UpsertWorkspaceBudget.g.cs @@ -3,7 +3,7 @@ namespace OpenRouter { - public partial class SubpackageWorkspacesClient + public partial class WorkspacesClient { diff --git a/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.g.cs new file mode 100644 index 00000000..1070167e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.WorkspacesClient.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// 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 WorkspacesClient : global::OpenRouter.IWorkspacesClient, 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.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::OpenRouter.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the WorkspacesClient. + /// 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 WorkspacesClient( + 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 WorkspacesClient 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 WorkspacesClient( + 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 WorkspacesClient. + /// 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 WorkspacesClient( + 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(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::OpenRouter.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index fdc3e22d..f071d4ed 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -11,7 +11,7 @@ "summary": "Create a response", "description": "Creates a streaming or non-streaming response using OpenResponses API format", "tags": [ - "subpackage_betaResponses" + "beta.responses" ], "parameters": [ { @@ -173,7 +173,7 @@ "summary": "Exchange authorization code for API key", "description": "Exchange an authorization code from the PKCE flow for a user-controlled API key", "tags": [ - "subpackage_oAuth" + "oAuth" ], "parameters": [], "responses": { @@ -259,7 +259,7 @@ "summary": "Create authorization code", "description": "Create an authorization code for the PKCE flow to generate a user-controlled API key", "tags": [ - "subpackage_oAuth" + "oAuth" ], "parameters": [], "responses": { @@ -385,7 +385,7 @@ "summary": "Generate an image", "description": "Generates an image from a text prompt via the image generation router", "tags": [ - "subpackage_images" + "images" ], "parameters": [], "responses": { @@ -497,7 +497,7 @@ "summary": "List image generation models", "description": "Lists every image generation model with its top-level supported-parameter superset and a URL to its full per-endpoint records.", "tags": [ - "subpackage_images" + "images" ], "parameters": [], "responses": { @@ -530,7 +530,7 @@ "summary": "List endpoints for an image model", "description": "Returns the full per-endpoint records for an image model: each endpoint's definitive supported parameters, pricing, and passthrough allowlist.", "tags": [ - "subpackage_images" + "images" ], "parameters": [ { @@ -592,7 +592,7 @@ "summary": "Create speech", "description": "Synthesizes audio from the input text. Returns a raw audio bytestream in the requested format (e.g. mp3, pcm, wav).", "tags": [ - "subpackage_tts" + "tts" ], "parameters": [], "responses": { @@ -705,7 +705,7 @@ "summary": "Create transcription", "description": "Transcribes audio into text. Accepts base64-encoded audio input and returns the transcribed text.", "tags": [ - "subpackage_stt" + "stt" ], "parameters": [], "responses": { @@ -817,7 +817,7 @@ "summary": "Get user activity grouped by endpoint", "description": "Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_analytics" + "analytics" ], "parameters": [ { @@ -918,7 +918,7 @@ "summary": "Get available analytics metrics and dimensions", "description": "Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_betaAnalytics" + "betaAnalytics" ], "parameters": [], "responses": { @@ -971,7 +971,7 @@ "summary": "Query analytics data", "description": "Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_betaAnalytics" + "betaAnalytics" ], "parameters": [], "responses": { @@ -1094,7 +1094,7 @@ "summary": "List Benchmarks", "description": "Unified benchmark endpoint that aggregates scores from multiple benchmark sources (Artificial Analysis, Design Arena). Filter by source to reproduce the exact shapes from the legacy per-source endpoints, or use task_type to find models suited for specific workloads. Authenticate with any valid OpenRouter API key. Rate-limited to 30 requests/minute per key and 500 requests/day per account.", "tags": [ - "subpackage_benchmarks" + "benchmarks" ], "parameters": [ { @@ -1203,7 +1203,7 @@ "summary": "List BYOK provider credentials", "description": "List the bring-your-own-key (BYOK) provider credentials for the authenticated entity's default workspace. Use the `workspace_id` query parameter to scope the result to a different workspace, or the `provider` query parameter to filter by upstream provider. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_byok" + "byok" ], "parameters": [ { @@ -1282,7 +1282,7 @@ "summary": "Create a BYOK provider credential", "description": "Create a new bring-your-own-key (BYOK) provider credential. The raw key is encrypted at rest and never returned in API responses. Defaults to the authenticated entity's default workspace; use the `workspace_id` body field to scope to a different workspace. Treat the raw key as write-only; it is never returned after creation. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_byok" + "byok" ], "parameters": [], "responses": { @@ -1354,7 +1354,7 @@ "summary": "Get a BYOK provider credential", "description": "Get a single bring-your-own-key (BYOK) provider credential by its `id`. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_byok" + "byok" ], "parameters": [ { @@ -1416,7 +1416,7 @@ "summary": "Delete a BYOK provider credential", "description": "Delete (soft-delete) a bring-your-own-key (BYOK) provider credential by its `id`. The encrypted key material is wiped and the record is marked as deleted. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_byok" + "byok" ], "parameters": [ { @@ -1478,7 +1478,7 @@ "summary": "Update a BYOK provider credential", "description": "Update an existing bring-your-own-key (BYOK) provider credential by its `id`. Include the `key` field to rotate the raw provider API key in-place (the previous key material is overwritten). [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_byok" + "byok" ], "parameters": [ { @@ -1561,7 +1561,7 @@ "summary": "Create a chat completion", "description": "Sends a request for a model response for the given chat conversation. Supports both streaming and non-streaming modes.", "tags": [ - "subpackage_chat" + "chat" ], "parameters": [ { @@ -1723,7 +1723,7 @@ "summary": "Task classification market share", "description": "Returns the market-share breakdown of OpenRouter traffic by task classification\n(e.g. code generation, web search, summarization) over a trailing time window.\n\nEach classification reports its share of classified sampled requests (`usage_share`)\nand classified sampled token volume (`token_share`) as fractions between 0 and 1.\nThe unclassified `other` bucket is excluded. Absolute volumes are not exposed\nbecause the underlying data is sampled.\n\nEach classification also includes a `models` array listing the top models by\nrequest volume within that classification, with their within-tag usage and token shares.\n\nClassifications are grouped into macro-categories (Code, Data, Agent, General)\nwith aggregate shares provided for each.\n\nAuthenticate with any valid OpenRouter API key (same key used for inference).\nRate-limited to 30 requests/minute per key and 500 requests/day per account.\n\nWhen republishing or quoting this data, cite as:\n\"Source: OpenRouter (openrouter.ai/rankings), as of {as_of}.\"", "tags": [ - "subpackage_classifications" + "classifications" ], "parameters": [ { @@ -1796,7 +1796,7 @@ "summary": "Get remaining credits", "description": "Get total credits purchased and used for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_credits" + "credits" ], "parameters": [], "responses": { @@ -1849,7 +1849,7 @@ "summary": "Top apps by token usage", "description": "Returns the top public apps on OpenRouter ranked by token usage inside the requested\ndate window, matching the public apps marketplace on openrouter.ai/apps. Token totals\nare `prompt_tokens + completion_tokens`; hidden and private apps are excluded and\ntraffic from related app aliases is merged into the canonical visible app.\n\n`sort=popular` (default) ranks by total token volume inside the window.\n`sort=trending` ranks by absolute excess token growth: window volume minus the average\nvolume of the three equal-length periods immediately preceding the window. Apps with\nno excess growth are omitted, so `trending` may return fewer than `limit` rows.\n\nFilter with `category` (marketplace category group, e.g. `coding`) or `subcategory`\n(e.g. `cli-agent`). Ranks are re-numbered 1..N after filtering. Page with `offset` —\n`rank` stays absolute, so the first row of `offset=50` is `rank: 51`.\n\nAuthenticate with any valid OpenRouter API key (same key used for inference).\nRate-limited to 30 requests/minute per key and 500 requests/day per account.\n\nWhen republishing or quoting this dataset, OpenRouter must be cited as:\n\"Source: OpenRouter (openrouter.ai/apps), as of {as_of}.\"\n\nToken counts come from each upstream provider's own tokenizer, so a token attributed\nto one app is not directly comparable to a token attributed to another app whose\ntraffic flows through a different provider.", "tags": [ - "subpackage_datasets" + "datasets" ], "parameters": [ { @@ -1978,7 +1978,7 @@ "summary": "Daily token totals for top 50 models", "description": "Returns the top 50 public models per day by total token usage on OpenRouter, plus a\nsingle aggregated `other` row per day that sums every model outside that top 50.\nToken totals are `prompt_tokens + completion_tokens`, matching the public rankings\nchart on openrouter.ai/rankings.\n\nEach row is a distinct `(date, model_permaslug)` pair. The `other` row uses the\nreserved permaslug `other` and is always returned last within its date, so callers\ncan compute `top-50 traffic / total daily traffic` without a second request.\n\nAuthenticate with any valid OpenRouter API key (same key used for inference).\nRate-limited to 30 requests/minute per key and 500 requests/day per account.\n\nWhen republishing or quoting this dataset, OpenRouter must be cited as:\n\"Source: OpenRouter (openrouter.ai/rankings), as of {as_of}.\"\n\nToken counts come from each upstream provider's own tokenizer (Anthropic counts\nare as reported by Anthropic, OpenAI counts are as reported by OpenAI, etc.), so\na token in one row is not directly comparable to a token in another row from a\ndifferent provider.", "tags": [ - "subpackage_datasets" + "datasets" ], "parameters": [ { @@ -2060,7 +2060,7 @@ "summary": "Submit an embedding request", "description": "Submits an embedding request to the embeddings router", "tags": [ - "subpackage_embeddings" + "embeddings" ], "parameters": [], "responses": { @@ -2206,7 +2206,7 @@ "summary": "List all embeddings models", "description": "Returns a list of all available embeddings models and their properties", "tags": [ - "subpackage_embeddings" + "embeddings" ], "parameters": [], "responses": { @@ -2248,7 +2248,7 @@ "operationId": "list-endpoints-zdr", "summary": "Preview the impact of ZDR on the available endpoints", "tags": [ - "subpackage_endpoints" + "endpoints" ], "parameters": [], "responses": { @@ -2280,7 +2280,7 @@ "operationId": "list-endpoints", "summary": "List all endpoints for a model", "tags": [ - "subpackage_endpoints" + "endpoints" ], "parameters": [ { @@ -2342,7 +2342,7 @@ "summary": "List files", "description": "Lists files belonging to the workspace of the authenticating API key.", "tags": [ - "subpackage_files" + "files" ], "parameters": [ { @@ -2432,7 +2432,7 @@ "summary": "Upload a file", "description": "Uploads a file to be referenced in future API calls. The file is stored under the workspace of the authenticating API key. Maximum file size: 100 MB.", "tags": [ - "subpackage_files" + "files" ], "parameters": [ { @@ -2544,7 +2544,7 @@ "summary": "Get file metadata", "description": "Retrieves metadata for a single file owned by the requesting workspace.", "tags": [ - "subpackage_files" + "files" ], "parameters": [ { @@ -2624,7 +2624,7 @@ "summary": "Delete a file", "description": "Deletes a file owned by the requesting workspace. Deletion is irreversible.", "tags": [ - "subpackage_files" + "files" ], "parameters": [ { @@ -2706,7 +2706,7 @@ "summary": "Download file content", "description": "Downloads the raw bytes of a file. Only files created server-side are downloadable; uploaded files return 400.", "tags": [ - "subpackage_files" + "files" ], "parameters": [ { @@ -2798,7 +2798,7 @@ "operationId": "get-generation", "summary": "Get request & usage metadata for a generation", "tags": [ - "subpackage_generations" + "generations" ], "parameters": [ { @@ -2890,7 +2890,7 @@ "operationId": "list-generation-content", "summary": "Get stored prompt and completion content for a generation", "tags": [ - "subpackage_generations" + "generations" ], "parameters": [ { @@ -2983,7 +2983,7 @@ "summary": "List guardrails", "description": "List all guardrails for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_guardrails" + "guardrails" ], "parameters": [ { @@ -3053,7 +3053,7 @@ "summary": "Create a guardrail", "description": "Create a new guardrail for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_guardrails" + "guardrails" ], "parameters": [], "responses": { @@ -3125,7 +3125,7 @@ "summary": "Get a guardrail", "description": "Get a single guardrail by ID. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_guardrails" + "guardrails" ], "parameters": [ { @@ -3187,7 +3187,7 @@ "summary": "Delete a guardrail", "description": "Delete an existing guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_guardrails" + "guardrails" ], "parameters": [ { @@ -3249,7 +3249,7 @@ "summary": "Update a guardrail", "description": "Update an existing guardrail. Collection fields use replace semantics: send the full desired set on every update. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_guardrails" + "guardrails" ], "parameters": [ { @@ -3332,7 +3332,7 @@ "summary": "List key assignments for a guardrail", "description": "List all API key assignments for a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_guardrails" + "guardrails" ], "parameters": [ { @@ -3412,7 +3412,7 @@ "summary": "Bulk assign keys to a guardrail", "description": "Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_guardrails" + "guardrails" ], "parameters": [ { @@ -3495,7 +3495,7 @@ "summary": "Bulk unassign keys from a guardrail", "description": "Unassign multiple API keys from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_guardrails" + "guardrails" ], "parameters": [ { @@ -3578,7 +3578,7 @@ "summary": "List member assignments for a guardrail", "description": "List all organization member assignments for a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_guardrails" + "guardrails" ], "parameters": [ { @@ -3658,7 +3658,7 @@ "summary": "Bulk assign members to a guardrail", "description": "Assign multiple organization members to a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_guardrails" + "guardrails" ], "parameters": [ { @@ -3741,7 +3741,7 @@ "summary": "Bulk unassign members from a guardrail", "description": "Unassign multiple organization members from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_guardrails" + "guardrails" ], "parameters": [ { @@ -3824,7 +3824,7 @@ "summary": "List all key assignments", "description": "List all API key guardrail assignments for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_guardrails" + "guardrails" ], "parameters": [ { @@ -3886,7 +3886,7 @@ "summary": "List all member assignments", "description": "List all organization member guardrail assignments for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_guardrails" + "guardrails" ], "parameters": [ { @@ -3948,7 +3948,7 @@ "summary": "Get current API key", "description": "Get information on the API key associated with the current authentication session", "tags": [ - "subpackage_apiKeys" + "apiKeys" ], "parameters": [], "responses": { @@ -3991,7 +3991,7 @@ "summary": "List API keys", "description": "List all API keys for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_apiKeys" + "apiKeys" ], "parameters": [ { @@ -4071,7 +4071,7 @@ "summary": "Create a new API key", "description": "Create a new API key for the authenticated user. The plaintext `key` is returned only in this response. Treat it as a write-only, sensitive value; it cannot be retrieved later. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_apiKeys" + "apiKeys" ], "parameters": [], "responses": { @@ -4205,7 +4205,7 @@ "summary": "Get a single API key", "description": "Get a single API key by hash. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_apiKeys" + "apiKeys" ], "parameters": [ { @@ -4276,7 +4276,7 @@ "summary": "Delete an API key", "description": "Delete an existing API key. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_apiKeys" + "apiKeys" ], "parameters": [ { @@ -4347,7 +4347,7 @@ "summary": "Update an API key", "description": "Update an existing API key. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_apiKeys" + "apiKeys" ], "parameters": [ { @@ -4472,7 +4472,7 @@ "summary": "Create a message", "description": "Creates a message using the Anthropic Messages API format. Supports text, images, PDFs, tools, and extended thinking.", "tags": [ - "subpackage_anthropicMessages" + "anthropicMessages" ], "parameters": [ { @@ -4584,7 +4584,7 @@ "summary": "Get a model by its slug", "description": "Returns full details for a single model identified by its author and slug (e.g. openai/gpt-4). Supports variant suffixes (e.g. openai/gpt-4:free) and resolves known slug aliases.", "tags": [ - "subpackage_models" + "models" ], "parameters": [ { @@ -4645,7 +4645,7 @@ "operationId": "get-models", "summary": "List all models and their properties", "tags": [ - "subpackage_models" + "models" ], "parameters": [ { @@ -4843,7 +4843,7 @@ "operationId": "list-models-count", "summary": "Get total count of available models", "tags": [ - "subpackage_models" + "models" ], "parameters": [ { @@ -4896,7 +4896,7 @@ "summary": "List models filtered by user provider preferences, privacy settings, and guardrails", "description": "List models filtered by user provider preferences, [privacy settings](https://openrouter.ai/docs/guides/privacy/provider-logging), and [guardrails](https://openrouter.ai/docs/guides/features/guardrails). If requesting through `eu.openrouter.ai/api/v1/...` the results will be filtered to models that satisfy [EU in-region routing](https://openrouter.ai/docs/guides/privacy/provider-logging#enterprise-eu-in-region-routing).", "tags": [ - "subpackage_models" + "models" ], "parameters": [], "responses": { @@ -4949,7 +4949,7 @@ "summary": "List observability destinations", "description": "List the observability destinations configured for the authenticated entity's default workspace. Use the `workspace_id` query parameter to scope the result to a different workspace. Only destinations with stable release status are surfaced — destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_observability" + "observability" ], "parameters": [ { @@ -5019,7 +5019,7 @@ "summary": "Create an observability destination", "description": "Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity's default workspace; use the `workspace_id` body field to scope to a different workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_observability" + "observability" ], "parameters": [], "responses": { @@ -5101,7 +5101,7 @@ "summary": "Get an observability destination", "description": "Fetch a single observability destination by its UUID. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_observability" + "observability" ], "parameters": [ { @@ -5163,7 +5163,7 @@ "summary": "Delete an observability destination", "description": "Delete an existing observability destination. This performs a soft delete. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_observability" + "observability" ], "parameters": [ { @@ -5225,7 +5225,7 @@ "summary": "Update an observability destination", "description": "Update an existing observability destination. Only the fields provided in the request body are updated. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_observability" + "observability" ], "parameters": [ { @@ -5318,7 +5318,7 @@ "summary": "List organization members", "description": "List all members of the organization associated with the authenticated management key. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_organization" + "organization" ], "parameters": [ { @@ -5390,7 +5390,7 @@ "summary": "List presets", "description": "Lists all presets for the authenticated user, ordered by most recently updated first.", "tags": [ - "subpackage_presets" + "presets" ], "parameters": [ { @@ -5462,7 +5462,7 @@ "summary": "Get a preset", "description": "Retrieves a preset by its slug with its currently designated version inline.", "tags": [ - "subpackage_presets" + "presets" ], "parameters": [ { @@ -5535,7 +5535,7 @@ "summary": "Create a preset from a chat-completions request body", "description": "Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. `messages`, `stream`, `prompt`) are silently ignored.", "tags": [ - "subpackage_presets" + "presets" ], "parameters": [ { @@ -5637,7 +5637,7 @@ "summary": "Create a preset from a messages request body", "description": "Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. `messages`, `stream`, `prompt`) are silently ignored.", "tags": [ - "subpackage_presets" + "presets" ], "parameters": [ { @@ -5739,7 +5739,7 @@ "summary": "Create a preset from a responses request body", "description": "Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. `messages`, `stream`, `prompt`) are silently ignored.", "tags": [ - "subpackage_presets" + "presets" ], "parameters": [ { @@ -5841,7 +5841,7 @@ "summary": "List versions of a preset", "description": "Lists all versions of a preset, ordered by version number ascending (oldest first).", "tags": [ - "subpackage_presets" + "presets" ], "parameters": [ { @@ -5932,7 +5932,7 @@ "summary": "Get a specific version of a preset", "description": "Retrieves a specific version of a preset by its slug and version number.", "tags": [ - "subpackage_presets" + "presets" ], "parameters": [ { @@ -6013,7 +6013,7 @@ "operationId": "list-providers", "summary": "List all providers", "tags": [ - "subpackage_providers" + "providers" ], "parameters": [], "responses": { @@ -6046,7 +6046,7 @@ "summary": "Submit a rerank request", "description": "Submits a rerank request to the rerank router", "tags": [ - "subpackage_rerank" + "rerank" ], "parameters": [], "responses": { @@ -6188,7 +6188,7 @@ "summary": "Submit a video generation request", "description": "Submits a video generation request and returns a polling URL to check status", "tags": [ - "subpackage_videoGeneration" + "videoGeneration" ], "parameters": [], "responses": { @@ -6280,7 +6280,7 @@ "summary": "Poll video generation status", "description": "Returns job status and content URLs when completed", "tags": [ - "subpackage_videoGeneration" + "videoGeneration" ], "parameters": [ { @@ -6342,7 +6342,7 @@ "summary": "Download generated video content", "description": "Streams the generated video content from the upstream provider", "tags": [ - "subpackage_videoGeneration" + "videoGeneration" ], "parameters": [ { @@ -6434,7 +6434,7 @@ "summary": "List all video generation models", "description": "Returns a list of all available video generation models and their properties", "tags": [ - "subpackage_videoGeneration" + "videoGeneration" ], "parameters": [], "responses": { @@ -6477,7 +6477,7 @@ "summary": "List workspaces", "description": "List all workspaces for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_workspaces" + "workspaces" ], "parameters": [ { @@ -6537,7 +6537,7 @@ "summary": "Create a workspace", "description": "Create a new workspace for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_workspaces" + "workspaces" ], "parameters": [], "responses": { @@ -6609,7 +6609,7 @@ "summary": "Get a workspace", "description": "Get a single workspace by ID or slug. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_workspaces" + "workspaces" ], "parameters": [ { @@ -6670,7 +6670,7 @@ "summary": "Delete a workspace", "description": "Delete an existing workspace. The default workspace cannot be deleted. Workspaces with active API keys cannot be deleted; remove the keys first. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_workspaces" + "workspaces" ], "parameters": [ { @@ -6751,7 +6751,7 @@ "summary": "Update a workspace", "description": "Update an existing workspace by ID or slug. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_workspaces" + "workspaces" ], "parameters": [ { @@ -6843,7 +6843,7 @@ "summary": "List workspace budgets", "description": "List all budgets configured for a workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_workspaces" + "workspaces" ], "parameters": [ { @@ -6906,7 +6906,7 @@ "summary": "Create or update a workspace budget", "description": "Create or update the budget for a given interval. Budget limits must strictly decrease as the interval narrows (lifetime > monthly > weekly > daily). [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_workspaces" + "workspaces" ], "parameters": [ { @@ -6995,7 +6995,7 @@ "summary": "Delete a workspace budget", "description": "Remove the budget for a given interval. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_workspaces" + "workspaces" ], "parameters": [ { @@ -7067,7 +7067,7 @@ "summary": "Bulk add members to a workspace", "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.", "tags": [ - "subpackage_workspaces" + "workspaces" ], "parameters": [ { @@ -7159,7 +7159,7 @@ "summary": "Bulk remove members from a workspace", "description": "Remove multiple members from a workspace. Members with active API keys in the workspace cannot be removed. [Management key](/docs/guides/overview/auth/management-api-keys) required.", "tags": [ - "subpackage_workspaces" + "workspaces" ], "parameters": [ {