Skip to content

Commit 6f8053e

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#153)
Co-authored-by: github-actions[bot] <bot@openai.com>
1 parent 6505ce2 commit 6f8053e

5 files changed

+13
-9
lines changed

src/libs/AssemblyAI/Generated/AssemblyAI.ITranscriptClient.CreateTranscript.g.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public partial interface ITranscriptClient
1313
/// <param name="cancellationToken">The token to cancel the operation with</param>
1414
/// <exception cref="global::AssemblyAI.ApiException"></exception>
1515
global::System.Threading.Tasks.Task<global::AssemblyAI.Transcript> CreateTranscriptAsync(
16+
1617
global::AssemblyAI.TranscriptParams request,
1718
global::System.Threading.CancellationToken cancellationToken = default);
1819

src/libs/AssemblyAI/Generated/AssemblyAI.ITranscriptClient.UploadFile.g.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public partial interface ITranscriptClient
1414
/// <param name="cancellationToken">The token to cancel the operation with</param>
1515
/// <exception cref="global::AssemblyAI.ApiException"></exception>
1616
global::System.Threading.Tasks.Task<global::AssemblyAI.UploadedFile> UploadFileAsync(
17+
1718
byte[] request,
1819
global::System.Threading.CancellationToken cancellationToken = default);
1920
}

src/libs/AssemblyAI/Generated/AssemblyAI.Models.Sentiment.g.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ public enum Sentiment
1111
/// <summary>
1212
///
1313
/// </summary>
14-
POSITIVE,
14+
Positive,
1515
/// <summary>
1616
///
1717
/// </summary>
18-
NEUTRAL,
18+
Neutral,
1919
/// <summary>
2020
///
2121
/// </summary>
22-
NEGATIVE,
22+
Negative,
2323
}
2424

2525
/// <summary>
@@ -34,9 +34,9 @@ public static string ToValueString(this Sentiment value)
3434
{
3535
return value switch
3636
{
37-
Sentiment.POSITIVE => "POSITIVE",
38-
Sentiment.NEUTRAL => "NEUTRAL",
39-
Sentiment.NEGATIVE => "NEGATIVE",
37+
Sentiment.Positive => "POSITIVE",
38+
Sentiment.Neutral => "NEUTRAL",
39+
Sentiment.Negative => "NEGATIVE",
4040
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
4141
};
4242
}
@@ -47,9 +47,9 @@ public static string ToValueString(this Sentiment value)
4747
{
4848
return value switch
4949
{
50-
"POSITIVE" => Sentiment.POSITIVE,
51-
"NEUTRAL" => Sentiment.NEUTRAL,
52-
"NEGATIVE" => Sentiment.NEGATIVE,
50+
"POSITIVE" => Sentiment.Positive,
51+
"NEUTRAL" => Sentiment.Neutral,
52+
"NEGATIVE" => Sentiment.Negative,
5353
_ => null,
5454
};
5555
}

src/libs/AssemblyAI/Generated/AssemblyAI.TranscriptClient.CreateTranscript.g.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ partial void ProcessCreateTranscriptResponseContent(
3030
/// <param name="cancellationToken">The token to cancel the operation with</param>
3131
/// <exception cref="global::AssemblyAI.ApiException"></exception>
3232
public async global::System.Threading.Tasks.Task<global::AssemblyAI.Transcript> CreateTranscriptAsync(
33+
3334
global::AssemblyAI.TranscriptParams request,
3435
global::System.Threading.CancellationToken cancellationToken = default)
3536
{

src/libs/AssemblyAI/Generated/AssemblyAI.TranscriptClient.UploadFile.g.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ partial void ProcessUploadFileResponseContent(
3131
/// <param name="cancellationToken">The token to cancel the operation with</param>
3232
/// <exception cref="global::AssemblyAI.ApiException"></exception>
3333
public async global::System.Threading.Tasks.Task<global::AssemblyAI.UploadedFile> UploadFileAsync(
34+
3435
byte[] request,
3536
global::System.Threading.CancellationToken cancellationToken = default)
3637
{

0 commit comments

Comments
 (0)