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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

347 changes: 265 additions & 82 deletions src/libs/Tavus/Generated/Tavus.ConversationsClient.EndConversation.g.cs

Large diffs are not rendered by default.

387 changes: 285 additions & 102 deletions src/libs/Tavus/Generated/Tavus.ConversationsClient.GetConversation.g.cs

Large diffs are not rendered by default.

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions src/libs/Tavus/Generated/Tavus.ConversationsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public sealed partial class ConversationsClient : global::Tavus.IConversationsCl
#if DEBUG
= true;
#endif

/// <inheritdoc/>
public global::Tavus.AutoSDKClientOptions Options { get; }
/// <summary>
///
/// </summary>
Expand All @@ -49,11 +52,37 @@ public ConversationsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Tavus.EndPointAuthorization>? authorizations = null,
bool disposeHttpClient = true) : this(
httpClient,
baseUri,
authorizations,
options: null,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the ConversationsClient.
/// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="baseUri">The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.</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 ConversationsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Tavus.EndPointAuthorization>? authorizations = null,
global::Tavus.AutoSDKClientOptions? options = null,
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<global::Tavus.EndPointAuthorization>();
Options = options ?? new global::Tavus.AutoSDKClientOptions();
_disposeHttpClient = disposeHttpClient;

Initialized(HttpClient);
Expand Down
394 changes: 290 additions & 104 deletions src/libs/Tavus/Generated/Tavus.DocumentsClient.CreateDocument.g.cs

Large diffs are not rendered by default.

347 changes: 265 additions & 82 deletions src/libs/Tavus/Generated/Tavus.DocumentsClient.DeleteDocument.g.cs

Large diffs are not rendered by default.

379 changes: 281 additions & 98 deletions src/libs/Tavus/Generated/Tavus.DocumentsClient.GetDocument.g.cs

Large diffs are not rendered by default.

393 changes: 288 additions & 105 deletions src/libs/Tavus/Generated/Tavus.DocumentsClient.ListDocuments.g.cs

Large diffs are not rendered by default.

396 changes: 291 additions & 105 deletions src/libs/Tavus/Generated/Tavus.DocumentsClient.RecrawlDocument.g.cs

Large diffs are not rendered by default.

396 changes: 291 additions & 105 deletions src/libs/Tavus/Generated/Tavus.DocumentsClient.UpdateDocument.g.cs

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions src/libs/Tavus/Generated/Tavus.DocumentsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public sealed partial class DocumentsClient : global::Tavus.IDocumentsClient, gl
#if DEBUG
= true;
#endif

/// <inheritdoc/>
public global::Tavus.AutoSDKClientOptions Options { get; }
/// <summary>
///
/// </summary>
Expand All @@ -49,11 +52,37 @@ public DocumentsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Tavus.EndPointAuthorization>? authorizations = null,
bool disposeHttpClient = true) : this(
httpClient,
baseUri,
authorizations,
options: null,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the DocumentsClient.
/// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="baseUri">The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.</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 DocumentsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Tavus.EndPointAuthorization>? authorizations = null,
global::Tavus.AutoSDKClientOptions? options = null,
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<global::Tavus.EndPointAuthorization>();
Options = options ?? new global::Tavus.AutoSDKClientOptions();
_disposeHttpClient = disposeHttpClient;

Initialized(HttpClient);
Expand Down
Loading