Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/libs/DId/Generated/DId.AgentsClient.Create.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ partial void ProcessCreateResponseContent(
global::DId.CreateRequestTriggers? triggers = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.CreateRequest2
{
PreviewName = previewName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ partial void ProcessTestWebhookConfigurationResponseContent(
global::System.Collections.Generic.Dictionary<string, string>? headers = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.TestWebhookConfigurationRequest
{
EventType = eventType,
Expand Down
1 change: 1 addition & 0 deletions src/libs/DId/Generated/DId.AgentsClient.Update.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ partial void ProcessUpdateResponseContent(
global::DId.UpdateRequestTriggers? triggers = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.UpdateRequest
{
PreviewName = previewName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ partial void ProcessAddIceCandidateResponseContent(
string streamId,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.AllOf<global::DId.AnyOf<global::DId.AddIceCandidateRequestVariant12, object>?, global::DId.AddIceCandidateRequest2>
{
};
Expand Down
1 change: 1 addition & 0 deletions src/libs/DId/Generated/DId.AgentsStreamsClient.Chat.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ partial void ProcessChatResponseContent(
string? sessionId = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.ChatRequest
{
Messages = messages,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ partial void ProcessCreateChatResponseContent(
bool? persist = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.CreateChatRequest2
{
Persist = persist,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ partial void ProcessCreateStreamResponseContent(
global::DId.CreateStreamRequestCompatibilityMode? compatibilityMode = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.CreateStreamRequest
{
Fluent = fluent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ partial void ProcessCreateVideoStreamResponseContent(
string? sessionId = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.CreateVideoStreamRequest2
{
SessionId = sessionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ partial void ProcessDeleteStreamResponseContent(
string? sessionId = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.DeleteStreamRequest2
{
SessionId = sessionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ partial void ProcessStartConnectionResponseContent(
string? sessionId = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.StartConnectionRequest
{
SessionId = sessionId,
Expand Down
1 change: 1 addition & 0 deletions src/libs/DId/Generated/DId.AudiosClient.UploadAnAudio.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ partial void ProcessUploadAnAudioResponseContent(
string? persist = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.UploadAnAudioRequest
{
Audio = audio,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ partial void ProcessCreateChatLogsResponseContent(
public async global::System.Threading.Tasks.Task<global::DId.CreateChatLogsResponse> CreateChatLogsAsync(
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.AllOf<global::DId.CreateChatLogsRequestVariant1, global::DId.CreateChatLogsRequestVariant2>
{
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ partial void ProcessCreateResourceClientKeyResponseContent(
string? name = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.CreateResourceClientKeyRequest
{
AllowedDomains = allowedDomains,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ partial void ProcessUpdateResourceClientKeyResponse(
string? name = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.UpdateResourceClientKeyRequest
{
AllowedDomains = allowedDomains,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ partial void ProcessCreateClipResponseContent(
string? resultUrl = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.CreateClipRequest2
{
PresenterId = presenterId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ partial void ProcessTrainClipResponseContent(
global::DId.TrainClipRequestConfig? config = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.TrainClipRequest
{
SourceUrl = sourceUrl,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ partial void ProcessUpdatePresenterAttributesResponse(
string id,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.AllOf<global::DId.UpdatePresenterAttributesRequestVariant1, global::DId.UpdatePresenterAttributesRequestVariant2, global::DId.UpdatePresenterAttributesRequestVariant3>
{
};
Expand Down
1 change: 1 addition & 0 deletions src/libs/DId/Generated/DId.ConsentsClient.Create.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ partial void ProcessCreateResponseContent(
string language,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.CreateRequest3
{
Language = language,
Expand Down
1 change: 1 addition & 0 deletions src/libs/DId/Generated/DId.ConsentsClient.UploadVideo.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ partial void ProcessUploadVideoResponseContent(
string? webhook = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.UploadVideoRequest
{
SourceUrl = sourceUrl,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ partial void ProcessGetFaceDetectionResponseContent(
bool? shouldSkipDetection = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.GetFaceDetectionRequest
{
SourceUrl = sourceUrl,
Expand Down
1 change: 1 addition & 0 deletions src/libs/DId/Generated/DId.ImagesClient.UploadAnImage.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ partial void ProcessUploadAnImageResponseContent(
string? resultUrl = default,
global::System.Threading.CancellationToken cancellationToken = default)
{

var __request = new global::DId.UploadAnImageRequest
{
Image = image,
Expand Down
6 changes: 3 additions & 3 deletions src/libs/DId/Generated/DId.JsonConverters.AgentPresenter.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,19 +166,19 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::DId.AgentPresenterPhotoAvatar), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::DId.AgentPresenterPhotoAvatar?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::DId.AgentPresenterPhotoAvatar).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.PhotoAvatar, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.PhotoAvatar!, typeInfo);
}
else if (value.IsVideoAvatar)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::DId.AgentPresenterVideoAvatar), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::DId.AgentPresenterVideoAvatar?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::DId.AgentPresenterVideoAvatar).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.VideoAvatar, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.VideoAvatar!, typeInfo);
}
else if (value.IsExpressiveAvatar)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::DId.AgentPresenterExpressiveAvatar), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::DId.AgentPresenterExpressiveAvatar?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::DId.AgentPresenterExpressiveAvatar).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.ExpressiveAvatar, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.ExpressiveAvatar!, typeInfo);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::DId.AgentResponseDtoVariant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::DId.AgentResponseDtoVariant1?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::DId.AgentResponseDtoVariant1).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo);
}
else if (value.IsValue2)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::DId.AgentResponseDtoVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::DId.AgentResponseDtoVariant2?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::DId.AgentResponseDtoVariant2).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,19 +167,19 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::DId.AgentsTextToSpeechProvidersMicrosoft), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::DId.AgentsTextToSpeechProvidersMicrosoft?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::DId.AgentsTextToSpeechProvidersMicrosoft).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Microsoft, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Microsoft!, typeInfo);
}
else if (value.IsElevenLabs)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::DId.AgentsTextToSpeechProvidersElevenLabs), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::DId.AgentsTextToSpeechProvidersElevenLabs?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::DId.AgentsTextToSpeechProvidersElevenLabs).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.ElevenLabs, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.ElevenLabs!, typeInfo);
}
else if (value.IsOpenAI)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::DId.AgentsTextToSpeechProvidersOpenAI), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::DId.AgentsTextToSpeechProvidersOpenAI?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::DId.AgentsTextToSpeechProvidersOpenAI).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.OpenAI, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.OpenAI!, typeInfo);
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/libs/DId/Generated/DId.JsonConverters.AllOf2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<T1?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo);
}
else if (value.IsValue2)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<T2?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo);
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/libs/DId/Generated/DId.JsonConverters.AllOf3.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,19 +191,19 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<T1?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo);
}
else if (value.IsValue2)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<T2?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo);
}
else if (value.IsValue3)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<T3?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3!, typeInfo);
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions src/libs/DId/Generated/DId.JsonConverters.AnimationError.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,37 +264,37 @@ public override void Write(
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::DId.AnimationErrorVariant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::DId.AnimationErrorVariant1?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::DId.AnimationErrorVariant1).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo);
}
else if (value.IsValue2)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::DId.AnimationErrorVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::DId.AnimationErrorVariant2?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::DId.AnimationErrorVariant2).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo);
}
else if (value.IsValue3)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::DId.AnimationErrorVariant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::DId.AnimationErrorVariant3?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::DId.AnimationErrorVariant3).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3!, typeInfo);
}
else if (value.IsValue4)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::DId.AnimationErrorVariant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::DId.AnimationErrorVariant4?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::DId.AnimationErrorVariant4).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value4, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value4!, typeInfo);
}
else if (value.IsValue5)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::DId.AnimationErrorVariant5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::DId.AnimationErrorVariant5?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::DId.AnimationErrorVariant5).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5!, typeInfo);
}
else if (value.IsValue6)
{
var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::DId.AnimationErrorVariant6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::DId.AnimationErrorVariant6?> ??
throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::DId.AnimationErrorVariant6).Name}");
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value6, typeInfo);
global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value6!, typeInfo);
}
}
}
Expand Down
Loading