From ba31ac62f63b95e02858238b2911c6e8f33b0006 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 11 May 2026 03:41:21 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../PlayHT/Generated/PlayHT.PlayHTClient.g.cs | 21 +++++++++++++++++++ .../Generated/PlayHT.TextToSpeechClient.g.cs | 21 +++++++++++++++++++ .../PlayHT/Generated/PlayHT.VoicesClient.g.cs | 21 +++++++++++++++++++ .../Generated/PlayHT.WebSocketClient.g.cs | 21 +++++++++++++++++++ 4 files changed, 84 insertions(+) diff --git a/src/libs/PlayHT/Generated/PlayHT.PlayHTClient.g.cs b/src/libs/PlayHT/Generated/PlayHT.PlayHTClient.g.cs index de8d699..fb60a1f 100644 --- a/src/libs/PlayHT/Generated/PlayHT.PlayHTClient.g.cs +++ b/src/libs/PlayHT/Generated/PlayHT.PlayHTClient.g.cs @@ -90,6 +90,27 @@ public PlayHTClient( { } + /// + /// Creates a new instance of the PlayHTClient 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 PlayHTClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::PlayHT.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + /// /// Creates a new instance of the PlayHTClient. /// If no httpClient is provided, a new one will be created. diff --git a/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.g.cs b/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.g.cs index a7bc8f0..49f3918 100644 --- a/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.g.cs +++ b/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.g.cs @@ -61,6 +61,27 @@ public TextToSpeechClient( { } + /// + /// Creates a new instance of the TextToSpeechClient 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 TextToSpeechClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::PlayHT.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + /// /// Creates a new instance of the TextToSpeechClient. /// If no httpClient is provided, a new one will be created. diff --git a/src/libs/PlayHT/Generated/PlayHT.VoicesClient.g.cs b/src/libs/PlayHT/Generated/PlayHT.VoicesClient.g.cs index 024d502..0cffd59 100644 --- a/src/libs/PlayHT/Generated/PlayHT.VoicesClient.g.cs +++ b/src/libs/PlayHT/Generated/PlayHT.VoicesClient.g.cs @@ -61,6 +61,27 @@ public VoicesClient( { } + /// + /// Creates a new instance of the VoicesClient 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 VoicesClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::PlayHT.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + /// /// Creates a new instance of the VoicesClient. /// If no httpClient is provided, a new one will be created. diff --git a/src/libs/PlayHT/Generated/PlayHT.WebSocketClient.g.cs b/src/libs/PlayHT/Generated/PlayHT.WebSocketClient.g.cs index fad6e0f..379aea6 100644 --- a/src/libs/PlayHT/Generated/PlayHT.WebSocketClient.g.cs +++ b/src/libs/PlayHT/Generated/PlayHT.WebSocketClient.g.cs @@ -61,6 +61,27 @@ public WebSocketClient( { } + /// + /// Creates a new instance of the WebSocketClient 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 WebSocketClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::PlayHT.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + /// /// Creates a new instance of the WebSocketClient. /// If no httpClient is provided, a new one will be created.