Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/libs/Botpress/Generated/Botpress.AdminClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public AdminClient(
{
}

/// <summary>
/// Creates a new instance of the AdminClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public AdminClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Botpress.EndPointAuthorization>? authorizations,
global::Botpress.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the AdminClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Botpress/Generated/Botpress.BotpressClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,27 @@ public BotpressClient(
{
}

/// <summary>
/// Creates a new instance of the BotpressClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public BotpressClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Botpress.EndPointAuthorization>? authorizations,
global::Botpress.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the BotpressClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Botpress/Generated/Botpress.ChatClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public ChatClient(
{
}

/// <summary>
/// Creates a new instance of the ChatClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public ChatClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Botpress.EndPointAuthorization>? authorizations,
global::Botpress.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the ChatClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Botpress/Generated/Botpress.FilesClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public FilesClient(
{
}

/// <summary>
/// Creates a new instance of the FilesClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public FilesClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Botpress.EndPointAuthorization>? authorizations,
global::Botpress.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the FilesClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Botpress/Generated/Botpress.RuntimeClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public RuntimeClient(
{
}

/// <summary>
/// Creates a new instance of the RuntimeClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public RuntimeClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Botpress.EndPointAuthorization>? authorizations,
global::Botpress.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the RuntimeClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Botpress/Generated/Botpress.TablesClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public TablesClient(
{
}

/// <summary>
/// Creates a new instance of the TablesClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public TablesClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Botpress.EndPointAuthorization>? authorizations,
global::Botpress.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the TablesClient.
/// If no httpClient is provided, a new one will be created.
Expand Down