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
437 changes: 310 additions & 127 deletions src/libs/RevAI/Generated/RevAI.AccountClient.GetAccount.g.cs

Large diffs are not rendered by default.

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

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

/// <summary>
/// Creates a new instance of the AccountClient.
/// 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 AccountClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::RevAI.EndPointAuthorization>? authorizations = null,
global::RevAI.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::RevAI.EndPointAuthorization>();
Options = options ?? new global::RevAI.AutoSDKClientOptions();
_disposeHttpClient = disposeHttpClient;

Initialized(HttpClient);
Expand Down
641 changes: 412 additions & 229 deletions src/libs/RevAI/Generated/RevAI.CaptionsClient.GetCaptions.g.cs

Large diffs are not rendered by default.

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

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

/// <summary>
/// Creates a new instance of the CaptionsClient.
/// 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 CaptionsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::RevAI.EndPointAuthorization>? authorizations = null,
global::RevAI.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::RevAI.EndPointAuthorization>();
Options = options ?? new global::RevAI.AutoSDKClientOptions();
_disposeHttpClient = disposeHttpClient;

Initialized(HttpClient);
Expand Down
2 changes: 2 additions & 0 deletions src/libs/RevAI/Generated/RevAI.IAccountClient.GetAccount.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ public partial interface IAccountClient
/// Get Account<br/>
/// Get the developer's account information
/// </summary>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::RevAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RevAI.Account> GetAccountAsync(
global::RevAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
5 changes: 5 additions & 0 deletions src/libs/RevAI/Generated/RevAI.IAccountClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ public partial interface IAccountClient : global::System.IDisposable
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ public partial interface ICaptionsClient
/// </param>
/// <param name="speakerChannel"></param>
/// <param name="id"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::RevAI.ApiException"></exception>
global::System.Threading.Tasks.Task<string> GetCaptionsAsync(
string id,
global::RevAI.GetCaptionsAccept? accept = default,
int? speakerChannel = default,
global::RevAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
5 changes: 5 additions & 0 deletions src/libs/RevAI/Generated/RevAI.ICaptionsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ public partial interface ICaptionsClient : global::System.IDisposable
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface ILanguageIdentificationJobsClient
/// Deletes a language identification job and all associated data.
/// </summary>
/// <param name="id"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::RevAI.ApiException"></exception>
global::System.Threading.Tasks.Task DeleteLanguageIdentificationJobAsync(
string id,
global::RevAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface ILanguageIdentificationJobsClient
/// Returns information about a language identification job
/// </summary>
/// <param name="id"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::RevAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RevAI.LanguageIdentificationJob> GetLanguageIdentificationJobByIdAsync(
string id,
global::RevAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ public partial interface ILanguageIdentificationJobsClient
/// </summary>
/// <param name="limit"></param>
/// <param name="startingAfter"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::RevAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::System.Collections.Generic.IList<global::RevAI.LanguageIdentificationJob>> GetListOfLanguageIdentificationJobsAsync(
int? limit = default,
string? startingAfter = default,
global::RevAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ public partial interface ILanguageIdentificationJobsClient
/// Starts an asynchronous language identification job for an audio file. Identifies the spoken language from 57+ supported languages.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::RevAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RevAI.LanguageIdentificationJob> SubmitLanguageIdentificationJobAsync(

global::RevAI.SubmitLanguageIdentificationJobRequest request,
global::RevAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Submit Language Identification Job<br/>
Expand All @@ -25,13 +27,15 @@ public partial interface ILanguageIdentificationJobsClient
/// <param name="metadata"></param>
/// <param name="callbackUrl"></param>
/// <param name="deleteAfterSeconds"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::RevAI.LanguageIdentificationJob> SubmitLanguageIdentificationJobAsync(
string? mediaUrl = default,
string? metadata = default,
string? callbackUrl = default,
int? deleteAfterSeconds = default,
global::RevAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ public partial interface ILanguageIdentificationJobsClient : global::System.IDis
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface ILanguageIdentificationResultsClient
/// Returns the language identification result for a completed job.
/// </summary>
/// <param name="id"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::RevAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RevAI.LanguageIdentificationResult> GetLanguageIdentificationResultAsync(
string id,
global::RevAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ public partial interface ILanguageIdentificationResultsClient : global::System.I
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }

/// <summary>
///
/// </summary>
Expand Down
5 changes: 5 additions & 0 deletions src/libs/RevAI/Generated/RevAI.IRevAIClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ public partial interface IRevAIClient : global::System.IDisposable
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface ISentimentAnalysisJobsClient
/// Deletes a sentiment analysis job and all associated data.
/// </summary>
/// <param name="id"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::RevAI.ApiException"></exception>
global::System.Threading.Tasks.Task DeleteSentimentAnalysisJobAsync(
string id,
global::RevAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ public partial interface ISentimentAnalysisJobsClient
/// </summary>
/// <param name="limit"></param>
/// <param name="startingAfter"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::RevAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::System.Collections.Generic.IList<global::RevAI.SentimentAnalysisJob>> GetListOfSentimentAnalysisJobsAsync(
int? limit = default,
string? startingAfter = default,
global::RevAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface ISentimentAnalysisJobsClient
/// Returns information about a sentiment analysis job
/// </summary>
/// <param name="id"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::RevAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RevAI.SentimentAnalysisJob> GetSentimentAnalysisJobByIdAsync(
string id,
global::RevAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ public partial interface ISentimentAnalysisJobsClient
/// Starts an asynchronous sentiment analysis job. Input can be plain text, a JSON transcript, or reference a completed transcription job.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::RevAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::RevAI.SentimentAnalysisJob> SubmitSentimentAnalysisJobAsync(

global::RevAI.SubmitSentimentAnalysisJobRequest request,
global::RevAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Submit Sentiment Analysis Job<br/>
Expand All @@ -37,6 +39,7 @@ public partial interface ISentimentAnalysisJobsClient
/// <param name="deleteAfterSeconds">
/// Auto-delete job after this many seconds
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::RevAI.SentimentAnalysisJob> SubmitSentimentAnalysisJobAsync(
Expand All @@ -46,6 +49,7 @@ public partial interface ISentimentAnalysisJobsClient
string? callbackUrl = default,
string? language = default,
int? deleteAfterSeconds = default,
global::RevAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ public partial interface ISentimentAnalysisJobsClient : global::System.IDisposab
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }

/// <summary>
///
/// </summary>
Expand Down
Loading