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
8 changes: 4 additions & 4 deletions src/libs/DId/Generated/DId.AgentsClient.Create.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ partial void ProcessCreateResponseContent(
}
}

if (xApiKeyExternal != default)
{
__httpRequest.Headers.TryAddWithoutValidation("x-api-key-external", xApiKeyExternal.ToString());
}
if (xApiKeyExternal != default)
{
__httpRequest.Headers.TryAddWithoutValidation("x-api-key-external", xApiKeyExternal.ToString());
}

var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
Expand Down
8 changes: 4 additions & 4 deletions src/libs/DId/Generated/DId.AgentsClient.Update.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ partial void ProcessUpdateResponseContent(
}
}

if (xApiKeyExternal != default)
{
__httpRequest.Headers.TryAddWithoutValidation("x-api-key-external", xApiKeyExternal.ToString());
}
if (xApiKeyExternal != default)
{
__httpRequest.Headers.TryAddWithoutValidation("x-api-key-external", xApiKeyExternal.ToString());
}

var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ partial void ProcessCreateClipResponseContent(
}
}

if (xApiKeyExternal != default)
{
__httpRequest.Headers.TryAddWithoutValidation("x-api-key-external", xApiKeyExternal.ToString());
}
if (xApiKeyExternal != default)
{
__httpRequest.Headers.TryAddWithoutValidation("x-api-key-external", xApiKeyExternal.ToString());
}

var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.IAgentsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IAgentsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.IAgentsStreamsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IAgentsStreamsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.IAudiosClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IAudiosClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.IChatsExportClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IChatsExportClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.IClientKeysClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IClientKeysClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.IClipsPremiumAvatarsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IClipsPremiumAvatarsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.IConsentsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IConsentsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.ICreditsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface ICreditsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.IDIdClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ public partial interface IDIdClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.IImagesClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IImagesClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.IKnowledgeClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IKnowledgeClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.IRatingsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IRatingsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IScenesExpressAvatarsClient : global::System.IDisposabl
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.ISecretsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface ISecretsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.ISettingsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface ISettingsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface ITalksStandardAvatarsClient : global::System.IDisposabl
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.IV4AvatarsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IV4AvatarsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.IVideoTranslateClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IVideoTranslateClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/DId/Generated/DId.IVoicesClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public partial interface IVoicesClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::DId.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 2 additions & 0 deletions src/libs/DId/Generated/DId.OptionsSupport.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public sealed class AutoSDKRetryOptions
public global::System.TimeSpan? Delay { get; set; }
}


/// <summary>
/// Runtime hook interface for generated SDK lifecycle events.
/// </summary>
Expand Down Expand Up @@ -236,6 +237,7 @@ public sealed class AutoSDKHookContext
public global::System.Threading.CancellationToken CancellationToken { get; set; }
}


internal static class AutoSDKRequestOptionsSupport
{
internal static global::DId.AutoSDKHookContext CreateHookContext(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ partial void ProcessCreate2ResponseContent(
}
}

if (xApiKeyExternal != default)
{
__httpRequest.Headers.TryAddWithoutValidation("x-api-key-external", xApiKeyExternal.ToString());
}
if (xApiKeyExternal != default)
{
__httpRequest.Headers.TryAddWithoutValidation("x-api-key-external", xApiKeyExternal.ToString());
}

var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ partial void ProcessCreateTalkResponseContent(
}
}

if (xApiKeyExternal != default)
{
__httpRequest.Headers.TryAddWithoutValidation("x-api-key-external", xApiKeyExternal.ToString());
}
if (xApiKeyExternal != default)
{
__httpRequest.Headers.TryAddWithoutValidation("x-api-key-external", xApiKeyExternal.ToString());
}

var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
Expand Down
8 changes: 4 additions & 4 deletions src/libs/DId/Generated/DId.V4AvatarsClient.Create3.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ partial void ProcessCreate3ResponseContent(
}
}

if (xApiKeyExternal != default)
{
__httpRequest.Headers.TryAddWithoutValidation("x-api-key-external", xApiKeyExternal.ToString());
}
if (xApiKeyExternal != default)
{
__httpRequest.Headers.TryAddWithoutValidation("x-api-key-external", xApiKeyExternal.ToString());
}

var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
Expand Down
Loading