Skip to content

Commit f0ca062

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#84)
Co-authored-by: github-actions[bot] <dependabot@bot.com>
1 parent 2e1d227 commit f0ca062

48 files changed

Lines changed: 82 additions & 58 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/libs/HeyGen/Generated/HeyGen.CreateVideoAPIClient.V1VideoDelete.g.cs renamed to src/libs/HeyGen/Generated/HeyGen.CreateVideoApiClient.V1VideoDelete.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace HeyGen
55
{
6-
public partial class CreateVideoAPIClient
6+
public partial class CreateVideoApiClient
77
{
88
partial void PrepareV1VideoDeleteArguments(
99
global::System.Net.Http.HttpClient httpClient,

src/libs/HeyGen/Generated/HeyGen.CreateVideoAPIClient.V2VideoGenerate.g.cs renamed to src/libs/HeyGen/Generated/HeyGen.CreateVideoApiClient.V2VideoGenerate.g.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace HeyGen
55
{
6-
public partial class CreateVideoAPIClient
6+
public partial class CreateVideoApiClient
77
{
88
partial void PrepareV2VideoGenerateArguments(
99
global::System.Net.Http.HttpClient httpClient,
@@ -25,6 +25,7 @@ partial void ProcessV2VideoGenerateResponse(
2525
/// <param name="cancellationToken">The token to cancel the operation with</param>
2626
/// <exception cref="global::HeyGen.ApiException"></exception>
2727
public async global::System.Threading.Tasks.Task V2VideoGenerateAsync(
28+
2829
global::HeyGen.V2VideoGenerateRequest request,
2930
global::System.Threading.CancellationToken cancellationToken = default)
3031
{

src/libs/HeyGen/Generated/HeyGen.CreateVideoAPIClient.g.cs renamed to src/libs/HeyGen/Generated/HeyGen.CreateVideoApiClient.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace HeyGen
99
/// If no httpClient is provided, a new one will be created.<br/>
1010
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
1111
/// </summary>
12-
public sealed partial class CreateVideoAPIClient : global::HeyGen.ICreateVideoAPIClient, global::System.IDisposable
12+
public sealed partial class CreateVideoApiClient : global::HeyGen.ICreateVideoApiClient, global::System.IDisposable
1313
{
1414
/// <summary>
1515
///
@@ -39,15 +39,15 @@ public sealed partial class CreateVideoAPIClient : global::HeyGen.ICreateVideoAP
3939

4040

4141
/// <summary>
42-
/// Creates a new instance of the CreateVideoAPIClient.
42+
/// Creates a new instance of the CreateVideoApiClient.
4343
/// If no httpClient is provided, a new one will be created.
4444
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
4545
/// </summary>
4646
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
4747
/// <param name="baseUri">The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.</param>
4848
/// <param name="authorizations">The authorizations to use for the requests.</param>
4949
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
50-
public CreateVideoAPIClient(
50+
public CreateVideoApiClient(
5151
global::System.Net.Http.HttpClient? httpClient = null,
5252
global::System.Uri? baseUri = null,
5353
global::System.Collections.Generic.List<global::HeyGen.EndPointAuthorization>? authorizations = null,

src/libs/HeyGen/Generated/HeyGen.HeyGenApi.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public sealed partial class HeyGenApi : global::HeyGen.IHeyGenApi, global::Syste
7171
/// Create personalized avatar videos with ease using the **HeyGen API**. By selecting an avatar and a voice, you can create engaging videos for various purposes. 🌟<br/>
7272
/// **Guide**: [https://docs.heygen.com/docs/create-video](https://docs.heygen.com/docs/create-video)**Reference**: [https://docs.heygen.com/reference/create-an-avatar-video-v2](https://docs.heygen.com/reference/create-an-avatar-video-v2)
7373
/// </summary>
74-
public CreateVideoAPIClient CreateVideoAPI => new CreateVideoAPIClient(HttpClient, authorizations: Authorizations)
74+
public CreateVideoApiClient CreateVideoApi => new CreateVideoApiClient(HttpClient, authorizations: Authorizations)
7575
{
7676
ReadResponseAsString = ReadResponseAsString,
7777
JsonSerializerContext = JsonSerializerContext,
@@ -87,7 +87,7 @@ public sealed partial class HeyGenApi : global::HeyGen.IHeyGenApi, global::Syste
8787
/// **Guide**: [https://docs.heygen.com/docs/generate-video-from-template-v2](https://docs.heygen.com/docs/generate-video-from-template-v2) <br/>
8888
/// **Reference**: [https://docs.heygen.com/reference/generate-from-template-v2](https://docs.heygen.com/reference/generate-from-template-v2)[](https://docs.heygen.com/reference/create-an-avatar-video-v2)
8989
/// </summary>
90-
public TemplateAPIClient TemplateAPI => new TemplateAPIClient(HttpClient, authorizations: Authorizations)
90+
public TemplateApiClient TemplateApi => new TemplateApiClient(HttpClient, authorizations: Authorizations)
9191
{
9292
ReadResponseAsString = ReadResponseAsString,
9393
JsonSerializerContext = JsonSerializerContext,
@@ -97,7 +97,7 @@ public sealed partial class HeyGenApi : global::HeyGen.IHeyGenApi, global::Syste
9797
/// The [Video Translate](https://labs.heygen.com/video-translate) by HeyGen provides a powerful solution for effortlessly translating videos, integrating natural voice cloning and authentic speaking styles seamlessly. Now, you can harness its capabilities programmatically through the **Video Translate API**!<br/>
9898
/// **Guide**: [https://docs.heygen.com/docs/video-translate-api](https://docs.heygen.com/docs/video-translate-api)**Reference**: [https://docs.heygen.com/reference/video-translate](https://docs.heygen.com/reference/video-translate)
9999
/// </summary>
100-
public VideoTranslateAPIClient VideoTranslateAPI => new VideoTranslateAPIClient(HttpClient, authorizations: Authorizations)
100+
public VideoTranslateApiClient VideoTranslateApi => new VideoTranslateApiClient(HttpClient, authorizations: Authorizations)
101101
{
102102
ReadResponseAsString = ReadResponseAsString,
103103
JsonSerializerContext = JsonSerializerContext,
@@ -107,7 +107,7 @@ public sealed partial class HeyGenApi : global::HeyGen.IHeyGenApi, global::Syste
107107
/// HeyGen's **Streaming API** allows developers to seamlessly integrate dynamic digital avatars into their applications for immersive and interactive user experiences. With this API, you can create _virtual assistants, real-time training simulations,_ and more, with a focus on real-time, low-latency communication between _users_ and _avatars_ with power of WebRTC.<br/>
108108
/// **Guide**: [https://docs.heygen.com/docs/streaming-api](https://docs.heygen.com/docs/streaming-api)**Reference**: [https://docs.heygen.com/reference/new-session](https://docs.heygen.com/reference/new-session)
109109
/// </summary>
110-
public StreamingAPIClient StreamingAPI => new StreamingAPIClient(HttpClient, authorizations: Authorizations)
110+
public StreamingApiClient StreamingApi => new StreamingApiClient(HttpClient, authorizations: Authorizations)
111111
{
112112
ReadResponseAsString = ReadResponseAsString,
113113
JsonSerializerContext = JsonSerializerContext,

src/libs/HeyGen/Generated/HeyGen.ICreateVideoAPIClient.V1VideoDelete.g.cs renamed to src/libs/HeyGen/Generated/HeyGen.ICreateVideoApiClient.V1VideoDelete.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace HeyGen
44
{
5-
public partial interface ICreateVideoAPIClient
5+
public partial interface ICreateVideoApiClient
66
{
77
/// <summary>
88
/// v1/video.delete<br/>

src/libs/HeyGen/Generated/HeyGen.ICreateVideoAPIClient.V2VideoGenerate.g.cs renamed to src/libs/HeyGen/Generated/HeyGen.ICreateVideoApiClient.V2VideoGenerate.g.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace HeyGen
44
{
5-
public partial interface ICreateVideoAPIClient
5+
public partial interface ICreateVideoApiClient
66
{
77
/// <summary>
88
/// v2/video/generate<br/>
@@ -13,6 +13,7 @@ public partial interface ICreateVideoAPIClient
1313
/// <param name="cancellationToken">The token to cancel the operation with</param>
1414
/// <exception cref="global::HeyGen.ApiException"></exception>
1515
global::System.Threading.Tasks.Task V2VideoGenerateAsync(
16+
1617
global::HeyGen.V2VideoGenerateRequest request,
1718
global::System.Threading.CancellationToken cancellationToken = default);
1819

src/libs/HeyGen/Generated/HeyGen.ICreateVideoAPIClient.g.cs renamed to src/libs/HeyGen/Generated/HeyGen.ICreateVideoApiClient.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace HeyGen
99
/// If no httpClient is provided, a new one will be created.<br/>
1010
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
1111
/// </summary>
12-
public partial interface ICreateVideoAPIClient : global::System.IDisposable
12+
public partial interface ICreateVideoApiClient : global::System.IDisposable
1313
{
1414
/// <summary>
1515
/// The HttpClient instance.

src/libs/HeyGen/Generated/HeyGen.IHeyGenApi.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public partial interface IHeyGenApi : global::System.IDisposable
6767
/// Create personalized avatar videos with ease using the **HeyGen API**. By selecting an avatar and a voice, you can create engaging videos for various purposes. 🌟<br/>
6868
/// **Guide**: [https://docs.heygen.com/docs/create-video](https://docs.heygen.com/docs/create-video)**Reference**: [https://docs.heygen.com/reference/create-an-avatar-video-v2](https://docs.heygen.com/reference/create-an-avatar-video-v2)
6969
/// </summary>
70-
public CreateVideoAPIClient CreateVideoAPI { get; }
70+
public CreateVideoApiClient CreateVideoApi { get; }
7171

7272
/// <summary>
7373
/// Templates enable you to add and customize existing text, images, videos, audios (coming soon), voices and avatars, while avatar videos consist only of avatars without these elements. If you plan to use it within a workflow and need richer content, templates are likely a better fit for your use case compared to simple talking avatar videos. 🌟<br/>
@@ -79,19 +79,19 @@ public partial interface IHeyGenApi : global::System.IDisposable
7979
/// **Guide**: [https://docs.heygen.com/docs/generate-video-from-template-v2](https://docs.heygen.com/docs/generate-video-from-template-v2) <br/>
8080
/// **Reference**: [https://docs.heygen.com/reference/generate-from-template-v2](https://docs.heygen.com/reference/generate-from-template-v2)[](https://docs.heygen.com/reference/create-an-avatar-video-v2)
8181
/// </summary>
82-
public TemplateAPIClient TemplateAPI { get; }
82+
public TemplateApiClient TemplateApi { get; }
8383

8484
/// <summary>
8585
/// The [Video Translate](https://labs.heygen.com/video-translate) by HeyGen provides a powerful solution for effortlessly translating videos, integrating natural voice cloning and authentic speaking styles seamlessly. Now, you can harness its capabilities programmatically through the **Video Translate API**!<br/>
8686
/// **Guide**: [https://docs.heygen.com/docs/video-translate-api](https://docs.heygen.com/docs/video-translate-api)**Reference**: [https://docs.heygen.com/reference/video-translate](https://docs.heygen.com/reference/video-translate)
8787
/// </summary>
88-
public VideoTranslateAPIClient VideoTranslateAPI { get; }
88+
public VideoTranslateApiClient VideoTranslateApi { get; }
8989

9090
/// <summary>
9191
/// HeyGen's **Streaming API** allows developers to seamlessly integrate dynamic digital avatars into their applications for immersive and interactive user experiences. With this API, you can create _virtual assistants, real-time training simulations,_ and more, with a focus on real-time, low-latency communication between _users_ and _avatars_ with power of WebRTC.<br/>
9292
/// **Guide**: [https://docs.heygen.com/docs/streaming-api](https://docs.heygen.com/docs/streaming-api)**Reference**: [https://docs.heygen.com/reference/new-session](https://docs.heygen.com/reference/new-session)
9393
/// </summary>
94-
public StreamingAPIClient StreamingAPI { get; }
94+
public StreamingApiClient StreamingApi { get; }
9595

9696
/// <summary>
9797
/// Webhook events are how the **HeyGen** notifies your _endpoints_ when a variety of interactions or events happen, including when avatar video processing _succeeds_ or _fails_. Webhook events are sent by HeyGen as POST requests to your webhook endpoint.<br/>

src/libs/HeyGen/Generated/HeyGen.IPersonalizedVideoClient.PersonalizedVideoAddContact.g.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public partial interface IPersonalizedVideoClient
1212
/// <param name="cancellationToken">The token to cancel the operation with</param>
1313
/// <exception cref="global::HeyGen.ApiException"></exception>
1414
global::System.Threading.Tasks.Task PersonalizedVideoAddContactAsync(
15+
1516
global::HeyGen.PersonalizedVideoAddContactRequest request,
1617
global::System.Threading.CancellationToken cancellationToken = default);
1718

src/libs/HeyGen/Generated/HeyGen.IStreamingAPIClient.StreamingAvatarList.g.cs renamed to src/libs/HeyGen/Generated/HeyGen.IStreamingApiClient.StreamingAvatarList.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace HeyGen
44
{
5-
public partial interface IStreamingAPIClient
5+
public partial interface IStreamingApiClient
66
{
77
/// <summary>
88
/// streaming/avatar.list<br/>

0 commit comments

Comments
 (0)