diff --git a/src/libs/Recraft/Generated/Recraft.ColorsClient.g.cs b/src/libs/Recraft/Generated/Recraft.ColorsClient.g.cs
index 488adaa..aa37a1c 100644
--- a/src/libs/Recraft/Generated/Recraft.ColorsClient.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.ColorsClient.g.cs
@@ -61,6 +61,27 @@ public ColorsClient(
{
}
+ ///
+ /// Creates a new instance of the ColorsClient 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 ColorsClient(
+ global::System.Net.Http.HttpClient? httpClient,
+ global::System.Collections.Generic.List? authorizations,
+ global::Recraft.AutoSDKClientOptions? options,
+ bool disposeHttpClient = true) : this(
+ httpClient,
+ baseUri: null,
+ authorizations,
+ options,
+ disposeHttpClient: disposeHttpClient)
+ {
+ }
+
///
/// Creates a new instance of the ColorsClient.
/// If no httpClient is provided, a new one will be created.
diff --git a/src/libs/Recraft/Generated/Recraft.ImageClient.g.cs b/src/libs/Recraft/Generated/Recraft.ImageClient.g.cs
index 18fc884..4c255ca 100644
--- a/src/libs/Recraft/Generated/Recraft.ImageClient.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.ImageClient.g.cs
@@ -61,6 +61,27 @@ public ImageClient(
{
}
+ ///
+ /// Creates a new instance of the ImageClient 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 ImageClient(
+ global::System.Net.Http.HttpClient? httpClient,
+ global::System.Collections.Generic.List? authorizations,
+ global::Recraft.AutoSDKClientOptions? options,
+ bool disposeHttpClient = true) : this(
+ httpClient,
+ baseUri: null,
+ authorizations,
+ options,
+ disposeHttpClient: disposeHttpClient)
+ {
+ }
+
///
/// Creates a new instance of the ImageClient.
/// If no httpClient is provided, a new one will be created.
diff --git a/src/libs/Recraft/Generated/Recraft.RecraftClient.g.cs b/src/libs/Recraft/Generated/Recraft.RecraftClient.g.cs
index fb20ea0..df45375 100644
--- a/src/libs/Recraft/Generated/Recraft.RecraftClient.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.RecraftClient.g.cs
@@ -97,6 +97,27 @@ public RecraftClient(
{
}
+ ///
+ /// Creates a new instance of the RecraftClient 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 RecraftClient(
+ global::System.Net.Http.HttpClient? httpClient,
+ global::System.Collections.Generic.List? authorizations,
+ global::Recraft.AutoSDKClientOptions? options,
+ bool disposeHttpClient = true) : this(
+ httpClient,
+ baseUri: null,
+ authorizations,
+ options,
+ disposeHttpClient: disposeHttpClient)
+ {
+ }
+
///
/// Creates a new instance of the RecraftClient.
/// If no httpClient is provided, a new one will be created.
diff --git a/src/libs/Recraft/Generated/Recraft.StyleClient.g.cs b/src/libs/Recraft/Generated/Recraft.StyleClient.g.cs
index 48c75c1..1189bf0 100644
--- a/src/libs/Recraft/Generated/Recraft.StyleClient.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.StyleClient.g.cs
@@ -61,6 +61,27 @@ public StyleClient(
{
}
+ ///
+ /// Creates a new instance of the StyleClient 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 StyleClient(
+ global::System.Net.Http.HttpClient? httpClient,
+ global::System.Collections.Generic.List? authorizations,
+ global::Recraft.AutoSDKClientOptions? options,
+ bool disposeHttpClient = true) : this(
+ httpClient,
+ baseUri: null,
+ authorizations,
+ options,
+ disposeHttpClient: disposeHttpClient)
+ {
+ }
+
///
/// Creates a new instance of the StyleClient.
/// If no httpClient is provided, a new one will be created.
diff --git a/src/libs/Recraft/Generated/Recraft.UserClient.g.cs b/src/libs/Recraft/Generated/Recraft.UserClient.g.cs
index e0b97bf..f80705d 100644
--- a/src/libs/Recraft/Generated/Recraft.UserClient.g.cs
+++ b/src/libs/Recraft/Generated/Recraft.UserClient.g.cs
@@ -61,6 +61,27 @@ public UserClient(
{
}
+ ///
+ /// Creates a new instance of the UserClient 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 UserClient(
+ global::System.Net.Http.HttpClient? httpClient,
+ global::System.Collections.Generic.List? authorizations,
+ global::Recraft.AutoSDKClientOptions? options,
+ bool disposeHttpClient = true) : this(
+ httpClient,
+ baseUri: null,
+ authorizations,
+ options,
+ disposeHttpClient: disposeHttpClient)
+ {
+ }
+
///
/// Creates a new instance of the UserClient.
/// If no httpClient is provided, a new one will be created.