Skip to content

Commit

Permalink
feat: Updated OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 31, 2024
1 parent 4ab51e9 commit 2018ba2
Show file tree
Hide file tree
Showing 22 changed files with 42 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ partial void ProcessBillingPortalPaymentBillingPortalGetResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.BillingPortalOut> BillingPortalPaymentBillingPortalGetAsync(
string? returnUrl,
string? session,
string? returnUrl = default,
string? session = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ partial void ProcessDeepstartApplyPaymentDeepstartApplicationPostResponseContent
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.DeepStartApplicationOut> DeepstartApplyPaymentDeepstartApplicationPostAsync(
string? session,
global::DeepInfra.DeepStartApplicationIn request,
string? session = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ partial void ProcessDeployDetailedStatsDeployDeployIdStats2GetResponseContent(
public async global::System.Threading.Tasks.Task<global::DeepInfra.DetailedDeploymentStatsOut> DeployDetailedStatsDeployDeployIdStats2GetAsync(
string deployId,
string from,
string? to,
string? to = "now",
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ partial void ProcessDeployGpuAvailabilityDeployLlmGpuAvailabilityGetResponseCont
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.DeployGPUAvailability> DeployGpuAvailabilityDeployLlmGpuAvailabilityGetAsync(
string? source,
string? source = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ partial void ProcessDeployListDeployListGet2ResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::System.Collections.Generic.IList<global::DeepInfra.DeploymentOut>> DeployListDeployListGet2Async(
string? status,
string? status = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ partial void ProcessDeployStatsDeployDeployIdStatsGetResponseContent(
public async global::System.Threading.Tasks.Task<global::DeepInfra.DeploymentStatsOut> DeployStatsDeployDeployIdStatsGetAsync(
string deployId,
string from,
string? to,
string? to = "now",
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ partial void ProcessDeploymentLogsQueryV1DeploymentLogsQueryGetResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.DeploymentLogQueryOut> DeploymentLogsQueryV1DeploymentLogsQueryGetAsync(
string deployId,
string? podName,
string? from,
string? to,
int limit,
string? podName = default,
string? from = default,
string? to = default,
int limit = 100,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ partial void ProcessGetChecklistPaymentChecklistGetResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.Checklist> GetChecklistPaymentChecklistGetAsync(
string? session,
string? session = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ partial void ProcessGetConfigPaymentConfigGetResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.ConfigOut> GetConfigPaymentConfigGetAsync(
string? session,
string? session = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ partial void ProcessGithubLoginGithubLoginGetResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.GithubLoginGithubLoginGetResponse> GithubLoginGithubLoginGetAsync(
string? loginId,
string? origin,
string? deal,
string? loginId = default,
string? origin = default,
string? deal = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ partial void ProcessInferenceDeployV1InferenceDeployDeployIdPostResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.InferenceDeployV1InferenceDeployDeployIdPostResponse> InferenceDeployV1InferenceDeployDeployIdPostAsync(
string deployId,
bool useCache,
string? xDeepinfraSource,
string? userAgent,
bool useCache = true,
string? xDeepinfraSource = default,
string? userAgent = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ partial void ProcessInferenceModelV1InferenceModelNamePostResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.InferenceModelV1InferenceModelNamePostResponse> InferenceModelV1InferenceModelNamePostAsync(
string modelName,
string? version,
string? xDeepinfraSource,
string? userAgent,
string? version = default,
string? xDeepinfraSource = default,
string? userAgent = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ partial void ProcessLogsQueryV1LogsQueryGetResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.LogQueryOut> LogsQueryV1LogsQueryGetAsync(
string deployId,
string? from,
string? to,
int limit,
string? from = default,
string? to = default,
int limit = 100,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ partial void ProcessModelSchemaModelsModelNameSchemaVariantKeyGetResponseContent
public async global::System.Threading.Tasks.Task<global::DeepInfra.SchemaOut> ModelSchemaModelsModelNameSchemaVariantKeyGetAsync(
string modelName,
global::DeepInfra.SchemaVariantKey variantKey,
string? version,
string? version = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ partial void ProcessModelsInfoModelsModelNameGetResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.ModelInfoOut> ModelsInfoModelsModelNameGetAsync(
string modelName,
string? version,
string? version = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ partial void ProcessOpenaiAudioSpeechV1OpenaiAudioSpeechPostResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.OpenaiAudioSpeechV1OpenaiAudioSpeechPostResponse> OpenaiAudioSpeechV1OpenaiAudioSpeechPostAsync(
bool useCache,
string? xDeepinfraSource,
global::DeepInfra.OpenAITextToSpeechIn request,
bool useCache = true,
string? xDeepinfraSource = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ partial void ProcessOpenaiChatCompletionsV1OpenaiChatCompletionsPostResponseCont
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.OpenaiChatCompletionsV1OpenaiChatCompletionsPostResponse> OpenaiChatCompletionsV1OpenaiChatCompletionsPostAsync(
bool useCache,
string? xDeepinfraSource,
string? userAgent,
global::DeepInfra.OpenAIChatCompletionsIn request,
bool useCache = true,
string? xDeepinfraSource = default,
string? userAgent = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ partial void ProcessOpenaiCompletionsV1OpenaiCompletionsPostResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.OpenaiCompletionsV1OpenaiCompletionsPostResponse> OpenaiCompletionsV1OpenaiCompletionsPostAsync(
bool useCache,
string? xDeepinfraSource,
string? userAgent,
global::DeepInfra.OpenAICompletionsIn request,
bool useCache = true,
string? xDeepinfraSource = default,
string? userAgent = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ partial void ProcessOpenaiEmbeddingsV1OpenaiEmbeddingsPostResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.OpenaiEmbeddingsV1OpenaiEmbeddingsPostResponse> OpenaiEmbeddingsV1OpenaiEmbeddingsPostAsync(
bool useCache,
string? xDeepinfraSource,
string? userAgent,
global::DeepInfra.OpenAIEmbeddingsIn request,
bool useCache = true,
string? xDeepinfraSource = default,
string? userAgent = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ partial void ProcessSetConfigPaymentConfigPostResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.ConfigOut> SetConfigPaymentConfigPostAsync(
string? session,
global::DeepInfra.ConfigIn request,
string? session = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ partial void ProcessTextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponseCon
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostResponse> TextToSpeechV1ElevenlabsV1TextToSpeechVoiceIdPostAsync(
string voiceId,
string? xDeepinfraSource,
global::DeepInfra.ElevenLabsTextToSpeechIn request,
string? xDeepinfraSource = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ partial void ProcessUsagePaymentUsageGetResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::DeepInfra.UsageOut> UsagePaymentUsageGetAsync(
string from,
string? to,
string? session,
string? to = default,
string? session = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down

0 comments on commit 2018ba2

Please sign in to comment.