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)
- {
- }
-
- ///