Skip to content

Commit 3188932

Browse files
committed
Update DTOs to the latest OpenAPI spec
1 parent eff3d5b commit 3188932

File tree

248 files changed

+3720
-142
lines changed

Some content is hidden

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

248 files changed

+3720
-142
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
//----------------------
2+
// <auto-generated>
3+
// Generated using the NSwag toolchain v13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v10.0.0.0)) (http://NSwag.org)
4+
// </auto-generated>
5+
//----------------------
6+
7+
#nullable enable
8+
9+
10+
using StreamVideo.Core.InternalDTO.Requests;
11+
using StreamVideo.Core.InternalDTO.Responses;
12+
using StreamVideo.Core.InternalDTO.Models;
13+
14+
namespace StreamVideo.Core.InternalDTO.Events
15+
{
16+
using System = global::System;
17+
18+
/// <summary>
19+
/// This event is sent when call closed captions has failed
20+
/// </summary>
21+
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v10.0.0.0))")]
22+
internal partial class CallClosedCaptionsFailedEventInternalDTO
23+
{
24+
[Newtonsoft.Json.JsonProperty("call_cid", Required = Newtonsoft.Json.Required.Default)]
25+
public string CallCid { get; set; } = default!;
26+
27+
[Newtonsoft.Json.JsonProperty("created_at", Required = Newtonsoft.Json.Required.Default)]
28+
public System.DateTimeOffset CreatedAt { get; set; } = default!;
29+
30+
/// <summary>
31+
/// The type of event: "call.closed_captions_failed" in this case
32+
/// </summary>
33+
[Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default)]
34+
public string Type { get; set; } = "call.closed_captions_failed";
35+
36+
}
37+
38+
}
39+

Packages/StreamVideo/Runtime/Core/InternalDTO/Events/CallClosedCaptionsFailedEventInternalDTO.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
//----------------------
2+
// <auto-generated>
3+
// Generated using the NSwag toolchain v13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v10.0.0.0)) (http://NSwag.org)
4+
// </auto-generated>
5+
//----------------------
6+
7+
#nullable enable
8+
9+
10+
using StreamVideo.Core.InternalDTO.Requests;
11+
using StreamVideo.Core.InternalDTO.Responses;
12+
using StreamVideo.Core.InternalDTO.Models;
13+
14+
namespace StreamVideo.Core.InternalDTO.Events
15+
{
16+
using System = global::System;
17+
18+
/// <summary>
19+
/// This event is sent when call closed caption has started
20+
/// </summary>
21+
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v10.0.0.0))")]
22+
internal partial class CallClosedCaptionsStartedEventInternalDTO
23+
{
24+
[Newtonsoft.Json.JsonProperty("call_cid", Required = Newtonsoft.Json.Required.Default)]
25+
public string CallCid { get; set; } = default!;
26+
27+
[Newtonsoft.Json.JsonProperty("created_at", Required = Newtonsoft.Json.Required.Default)]
28+
public System.DateTimeOffset CreatedAt { get; set; } = default!;
29+
30+
/// <summary>
31+
/// The type of event: "call.closed_captions_started" in this case
32+
/// </summary>
33+
[Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default)]
34+
public string Type { get; set; } = "call.closed_captions_started";
35+
36+
}
37+
38+
}
39+

Packages/StreamVideo/Runtime/Core/InternalDTO/Events/CallClosedCaptionsStartedEventInternalDTO.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
//----------------------
2+
// <auto-generated>
3+
// Generated using the NSwag toolchain v13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v10.0.0.0)) (http://NSwag.org)
4+
// </auto-generated>
5+
//----------------------
6+
7+
#nullable enable
8+
9+
10+
using StreamVideo.Core.InternalDTO.Requests;
11+
using StreamVideo.Core.InternalDTO.Responses;
12+
using StreamVideo.Core.InternalDTO.Models;
13+
14+
namespace StreamVideo.Core.InternalDTO.Events
15+
{
16+
using System = global::System;
17+
18+
/// <summary>
19+
/// This event is sent when call closed captions has stopped
20+
/// </summary>
21+
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v10.0.0.0))")]
22+
internal partial class CallClosedCaptionsStoppedEventInternalDTO
23+
{
24+
[Newtonsoft.Json.JsonProperty("call_cid", Required = Newtonsoft.Json.Required.Default)]
25+
public string CallCid { get; set; } = default!;
26+
27+
[Newtonsoft.Json.JsonProperty("created_at", Required = Newtonsoft.Json.Required.Default)]
28+
public System.DateTimeOffset CreatedAt { get; set; } = default!;
29+
30+
/// <summary>
31+
/// The type of event: "call.transcription_stopped" in this case
32+
/// </summary>
33+
[Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default)]
34+
public string Type { get; set; } = "call.closed_captions_stopped";
35+
36+
}
37+
38+
}
39+

Packages/StreamVideo/Runtime/Core/InternalDTO/Events/CallClosedCaptionsStoppedEventInternalDTO.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Packages/StreamVideo/Runtime/Core/InternalDTO/Events/CallEventInternalDTO.cs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ namespace StreamVideo.Core.InternalDTO.Events
1818
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v10.0.0.0))")]
1919
internal partial class CallEventInternalDTO
2020
{
21-
[Newtonsoft.Json.JsonProperty("additional", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
22-
public System.Collections.Generic.Dictionary<string, object> Additional { get; set; } = default!;
21+
[Newtonsoft.Json.JsonProperty("category", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
22+
public string Category { get; set; } = default!;
2323

2424
[Newtonsoft.Json.JsonProperty("component", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
2525
public string Component { get; set; } = default!;
@@ -30,6 +30,15 @@ internal partial class CallEventInternalDTO
3030
[Newtonsoft.Json.JsonProperty("end_timestamp", Required = Newtonsoft.Json.Required.Default)]
3131
public int EndTimestamp { get; set; } = default!;
3232

33+
[Newtonsoft.Json.JsonProperty("internal", Required = Newtonsoft.Json.Required.Default)]
34+
public bool Internal { get; set; } = default!;
35+
36+
[Newtonsoft.Json.JsonProperty("issue_tags", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
37+
public System.Collections.Generic.List<string> IssueTags { get; set; } = default!;
38+
39+
[Newtonsoft.Json.JsonProperty("kind", Required = Newtonsoft.Json.Required.Default)]
40+
public string Kind { get; set; } = default!;
41+
3342
[Newtonsoft.Json.JsonProperty("severity", Required = Newtonsoft.Json.Required.Default)]
3443
public int Severity { get; set; } = default!;
3544

Packages/StreamVideo/Runtime/Core/InternalDTO/Events/CallHLSBroadcastingStartedEventInternalDTO.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ namespace StreamVideo.Core.InternalDTO.Events
2121
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v10.0.0.0))")]
2222
internal partial class CallHLSBroadcastingStartedEventInternalDTO
2323
{
24+
[Newtonsoft.Json.JsonProperty("call", Required = Newtonsoft.Json.Required.Default)]
25+
public CallResponseInternalDTO Call { get; set; } = new CallResponseInternalDTO();
26+
2427
[Newtonsoft.Json.JsonProperty("call_cid", Required = Newtonsoft.Json.Required.Default)]
2528
public string CallCid { get; set; } = default!;
2629

Packages/StreamVideo/Runtime/Core/InternalDTO/Events/CallRecordingFailedEventInternalDTO.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ internal partial class CallRecordingFailedEventInternalDTO
2727
[Newtonsoft.Json.JsonProperty("created_at", Required = Newtonsoft.Json.Required.Default)]
2828
public System.DateTimeOffset CreatedAt { get; set; } = default!;
2929

30+
[Newtonsoft.Json.JsonProperty("egress_id", Required = Newtonsoft.Json.Required.Default)]
31+
public string EgressId { get; set; } = default!;
32+
3033
/// <summary>
3134
/// The type of event: "call.recording_failed" in this case
3235
/// </summary>

Packages/StreamVideo/Runtime/Core/InternalDTO/Events/CallRecordingReadyEventInternalDTO.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ internal partial class CallRecordingReadyEventInternalDTO
3333
[Newtonsoft.Json.JsonProperty("created_at", Required = Newtonsoft.Json.Required.Default)]
3434
public System.DateTimeOffset CreatedAt { get; set; } = default!;
3535

36+
[Newtonsoft.Json.JsonProperty("egress_id", Required = Newtonsoft.Json.Required.Default)]
37+
public string EgressId { get; set; } = default!;
38+
3639
/// <summary>
3740
/// The type of event: "call.recording_ready" in this case
3841
/// </summary>

0 commit comments

Comments
 (0)