Skip to content

Commit 625dd48

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#75)
Co-authored-by: github-actions[bot] <dependabot@bot.com>
1 parent 0eeb518 commit 625dd48

15 files changed

Lines changed: 15 additions & 235 deletions

src/libs/HeyGen/Generated/HeyGen.CreateVideoAPIClient.V1VideoDelete.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ partial void ProcessV1VideoDeleteResponse(
3838
var __pathBuilder = new global::HeyGen.PathBuilder(
3939
path: "/v1/video.delete",
4040
baseUri: HttpClient.BaseAddress);
41-
__pathBuilder
41+
__pathBuilder
4242
.AddOptionalParameter("video_id", videoId)
4343
;
4444
var __path = __pathBuilder.ToString();

src/libs/HeyGen/Generated/HeyGen.CreateVideoAPIClient.V2VideoGenerate.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ partial void ProcessV2VideoGenerateResponse(
167167
/// Example: My Title
168168
/// </param>
169169
/// <param name="videoInputs">
170-
/// Example: []
170+
/// Example: [{"character":{"avatar_id":"Kristin_public_3_20240108","avatar_style":"normal","type":"avatar"},"voice":{"input_text":"Welcome to the new era of video creation with HeyGen! Simply type your script to get started!","type":"text","voice_id":"2f72ee82b83d4b00af16c4771d611752"}}]
171171
/// </param>
172172
/// <param name="cancellationToken">The token to cancel the operation with</param>
173173
/// <exception cref="global::System.InvalidOperationException"></exception>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ partial void ProcessV1VideoStatusGetResponse(
3838
var __pathBuilder = new global::HeyGen.PathBuilder(
3939
path: "/v1/video_status.get",
4040
baseUri: HttpClient.BaseAddress);
41-
__pathBuilder
41+
__pathBuilder
4242
.AddOptionalParameter("video_id", videoId)
4343
;
4444
var __path = __pathBuilder.ToString();

src/libs/HeyGen/Generated/HeyGen.ICreateVideoAPIClient.V2VideoGenerate.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public partial interface ICreateVideoAPIClient
3131
/// Example: My Title
3232
/// </param>
3333
/// <param name="videoInputs">
34-
/// Example: []
34+
/// Example: [{"character":{"avatar_id":"Kristin_public_3_20240108","avatar_style":"normal","type":"avatar"},"voice":{"input_text":"Welcome to the new era of video creation with HeyGen! Simply type your script to get started!","type":"text","voice_id":"2f72ee82b83d4b00af16c4771d611752"}}]
3535
/// </param>
3636
/// <param name="cancellationToken">The token to cancel the operation with</param>
3737
/// <exception cref="global::System.InvalidOperationException"></exception>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public partial interface IPersonalizedVideoClient
2323
/// Example: &lt;project_id&gt;
2424
/// </param>
2525
/// <param name="variablesList">
26-
/// Example: []
26+
/// Example: [{"email":"john@mail.com","first_name":"John"}]
2727
/// </param>
2828
/// <param name="cancellationToken">The token to cancel the operation with</param>
2929
/// <exception cref="global::System.InvalidOperationException"></exception>

src/libs/HeyGen/Generated/HeyGen.Models.PersonalizedVideoAddContactRequest.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ public sealed partial class PersonalizedVideoAddContactRequest
1616
public string? ProjectId { get; set; }
1717

1818
/// <summary>
19-
/// Example: []
19+
/// Example: [{"email":"john@mail.com","first_name":"John"}]
2020
/// </summary>
21-
/// <example>[]</example>
21+
/// <example>[{"email":"john@mail.com","first_name":"John"}]</example>
2222
[global::System.Text.Json.Serialization.JsonPropertyName("variables_list")]
2323
public global::System.Collections.Generic.IList<global::HeyGen.PersonalizedVideoAddContactRequestVariablesListItem>? VariablesList { get; set; }
2424

@@ -35,7 +35,7 @@ public sealed partial class PersonalizedVideoAddContactRequest
3535
/// Example: &lt;project_id&gt;
3636
/// </param>
3737
/// <param name="variablesList">
38-
/// Example: []
38+
/// Example: [{"email":"john@mail.com","first_name":"John"}]
3939
/// </param>
4040
#if NET7_0_OR_GREATER
4141
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]

src/libs/HeyGen/Generated/HeyGen.Models.V2VideoGenerateRequest.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ public sealed partial class V2VideoGenerateRequest
4141
public string? Title { get; set; }
4242

4343
/// <summary>
44-
/// Example: []
44+
/// Example: [{"character":{"avatar_id":"Kristin_public_3_20240108","avatar_style":"normal","type":"avatar"},"voice":{"input_text":"Welcome to the new era of video creation with HeyGen! Simply type your script to get started!","type":"text","voice_id":"2f72ee82b83d4b00af16c4771d611752"}}]
4545
/// </summary>
46-
/// <example>[]</example>
46+
/// <example>[{"character":{"avatar_id":"Kristin_public_3_20240108","avatar_style":"normal","type":"avatar"},"voice":{"input_text":"Welcome to the new era of video creation with HeyGen! Simply type your script to get started!","type":"text","voice_id":"2f72ee82b83d4b00af16c4771d611752"}}]</example>
4747
[global::System.Text.Json.Serialization.JsonPropertyName("video_inputs")]
4848
public global::System.Collections.Generic.IList<global::HeyGen.V2VideoGenerateRequestVideoInput>? VideoInputs { get; set; }
4949

@@ -66,7 +66,7 @@ public sealed partial class V2VideoGenerateRequest
6666
/// Example: My Title
6767
/// </param>
6868
/// <param name="videoInputs">
69-
/// Example: []
69+
/// Example: [{"character":{"avatar_id":"Kristin_public_3_20240108","avatar_style":"normal","type":"avatar"},"voice":{"input_text":"Welcome to the new era of video creation with HeyGen! Simply type your script to get started!","type":"text","voice_id":"2f72ee82b83d4b00af16c4771d611752"}}]
7070
/// </param>
7171
#if NET7_0_OR_GREATER
7272
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]

src/libs/HeyGen/Generated/HeyGen.Models.V2VideoGenerateRequestAspectRatio.Json.g.cs

Lines changed: 0 additions & 92 deletions
This file was deleted.

src/libs/HeyGen/Generated/HeyGen.Models.V2VideoGenerateRequestAspectRatio.g.cs

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/libs/HeyGen/Generated/HeyGen.Models.V2VideoGenerateRequestCallbackId.Json.g.cs

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)