diff --git a/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs b/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs index 90a80553..41ad884e 100644 --- a/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs @@ -98,71 +98,71 @@ public static Command Create() command.Subcommands.Add(ParsePdfStudioV1DemosDocumentModifierParsePdfPostCommandApiCommand.Create()); command.Subcommands.Add(ProcessRfiDocumentStudioV1DemosRfiProcessRfiPostCommandApiCommand.Create()); command.Subcommands.Add(ProxyCliConfigHarnessApiAuthCliConfigGetCommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPatchCommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPatch2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPatch3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPatch4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPatch5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathPatchCommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathPatch2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathPatch3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathPatch4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathPatch5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathPatch6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathPatchCommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathPatch2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathPatch3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathPatch4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathPatch5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathPatch6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathPatchCommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathPatch2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathPatch3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathPatch4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathPatch5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathPatch6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathPatchCommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathPatch2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathPatch3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathPatch4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathPatch5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathPatch6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathPatchCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathPatch2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathPatch3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathPatch4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathPatch5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathPatch6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathPatchCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathPatch2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathPatch3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathPatch4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathPatch5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathPatch6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathPatchCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathPatch2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathPatch3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathPatch4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathPatch5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathPatch6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathPatchCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathPatch2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathPatch3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathPatch4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathPatch5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathPatch6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathPatchCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathPatch2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathPatch3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathPatch4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathPatch5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathPatch6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathPatchCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathPatch2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathPatch3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathPatch4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathPatch5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathPatch6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyHarnessApiHarnessApiPathGetCommandApiCommand.Create()); + command.Subcommands.Add(ProxyHarnessApiHarnessApiPathGet2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyHarnessApiHarnessApiPathGet3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyHarnessApiHarnessApiPathGet4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyHarnessApiHarnessApiPathGet5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1GatewayOffV1PathGetCommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1GatewayOffV1PathGet2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1GatewayOffV1PathGet3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1GatewayOffV1PathGet4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1GatewayOffV1PathGet5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1GatewayOffV1PathGet6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathGetCommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathGet2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathGet3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathGet4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathGet5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathGet6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1GatewayOnV1PathGetCommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1GatewayOnV1PathGet2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1GatewayOnV1PathGet3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1GatewayOnV1PathGet4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1GatewayOnV1PathGet5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1GatewayOnV1PathGet6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathGetCommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathGet2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathGet3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathGet4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathGet5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathGet6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1GatewayV1PathGetCommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1GatewayV1PathGet2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1GatewayV1PathGet3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1GatewayV1PathGet4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1GatewayV1PathGet5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1GatewayV1PathGet6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1TokenwiseV1PathGetCommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1TokenwiseV1PathGet2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1TokenwiseV1PathGet3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1TokenwiseV1PathGet4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1TokenwiseV1PathGet5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1TokenwiseV1PathGet6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaGatewayV1betaPathGetCommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaGatewayV1betaPathGet2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaGatewayV1betaPathGet3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaGatewayV1betaPathGet4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaGatewayV1betaPathGet5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaGatewayV1betaPathGet6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathGetCommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathGet2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathGet3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathGet4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathGet5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathGet6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalGatewayV1internalPathGetCommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalGatewayV1internalPathGet2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalGatewayV1internalPathGet3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalGatewayV1internalPathGet4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalGatewayV1internalPathGet5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalGatewayV1internalPathGet6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathGetCommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathGet2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathGet3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathGet4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathGet5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathGet6CommandApiCommand.Create()); command.Subcommands.Add(SubmitInsightFeedbackGatewayInsightsInsightIdFeedbackPostCommandApiCommand.Create()); command.Subcommands.Add(SubmitInsightFeedbackTokenwiseInsightsInsightIdFeedbackPostCommandApiCommand.Create()); command.Subcommands.Add(UpdateAgentGatewaySettingsAgentsAgentIdPutCommandApiCommand.Create()); diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatchCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet2CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatchCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet2CommandApiCommand.g.cs index a33ab57f..c70806cf 100644 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatchCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyHarnessApiHarnessApiPathPatchCommandApiCommand +internal static partial class ProxyHarnessApiHarnessApiPathGet2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -35,7 +35,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-harness-api-harness-api-path-patch", @"Proxy Harness Api"); + var command = new Command(@"proxy-harness-api-harness-api-path-get2", @"Proxy Harness Api"); command.Arguments.Add(Path); @@ -46,7 +46,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyHarnessApiHarnessApiPathPatchAsync( + var response = await client.ProxyHarnessApiHarnessApiPathGet2Async( path: path, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatch3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet3CommandApiCommand.g.cs similarity index 93% rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatch3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet3CommandApiCommand.g.cs index 39ee13f4..11a20fc8 100644 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatch3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyHarnessApiHarnessApiPathPatch3CommandApiCommand +internal static partial class ProxyHarnessApiHarnessApiPathGet3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -35,7 +35,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-harness-api-harness-api-path-patch3", @"Proxy Harness Api"); + var command = new Command(@"proxy-harness-api-harness-api-path-get3", @"Proxy Harness Api"); command.Arguments.Add(Path); @@ -46,7 +46,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyHarnessApiHarnessApiPathPatch3Async( + var response = await client.ProxyHarnessApiHarnessApiPathGet3Async( path: path, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatch4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet4CommandApiCommand.g.cs similarity index 93% rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatch4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet4CommandApiCommand.g.cs index 82a159a6..6a0c4b40 100644 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatch4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyHarnessApiHarnessApiPathPatch4CommandApiCommand +internal static partial class ProxyHarnessApiHarnessApiPathGet4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -35,7 +35,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-harness-api-harness-api-path-patch4", @"Proxy Harness Api"); + var command = new Command(@"proxy-harness-api-harness-api-path-get4", @"Proxy Harness Api"); command.Arguments.Add(Path); @@ -46,7 +46,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyHarnessApiHarnessApiPathPatch4Async( + var response = await client.ProxyHarnessApiHarnessApiPathGet4Async( path: path, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatch5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet5CommandApiCommand.g.cs similarity index 93% rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatch5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet5CommandApiCommand.g.cs index 63a0694a..d0b20223 100644 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatch5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGet5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyHarnessApiHarnessApiPathPatch5CommandApiCommand +internal static partial class ProxyHarnessApiHarnessApiPathGet5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -35,7 +35,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-harness-api-harness-api-path-patch5", @"Proxy Harness Api"); + var command = new Command(@"proxy-harness-api-harness-api-path-get5", @"Proxy Harness Api"); command.Arguments.Add(Path); @@ -46,7 +46,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyHarnessApiHarnessApiPathPatch5Async( + var response = await client.ProxyHarnessApiHarnessApiPathGet5Async( path: path, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGetCommandApiCommand.g.cs new file mode 100644 index 00000000..f3e232b9 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathGetCommandApiCommand.g.cs @@ -0,0 +1,63 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyHarnessApiHarnessApiPathGetCommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-harness-api-harness-api-path-get", @"Proxy Harness Api"); + command.Arguments.Add(Path); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyHarnessApiHarnessApiPathGetAsync( + path: path, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatch2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatch2CommandApiCommand.g.cs deleted file mode 100644 index 56811a34..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPatch2CommandApiCommand.g.cs +++ /dev/null @@ -1,63 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyHarnessApiHarnessApiPathPatch2CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-harness-api-harness-api-path-patch2", @"Proxy Harness Api"); - command.Arguments.Add(Path); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyHarnessApiHarnessApiPathPatch2Async( - path: path, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatchCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatchCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet2CommandApiCommand.g.cs index 58002914..eb2870e0 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatchCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1GatewayOffV1PathPatchCommandApiCommand +internal static partial class ProxyOffV1GatewayOffV1PathGet2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-gateway-off-v1-path-patch", @"Proxy Off V1 + var command = new Command(@"proxy-off-v1-gateway-off-v1-path-get2", @"Proxy Off V1 A/B off-arm — forces gateway transformers off for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1GatewayOffV1PathPatchAsync( + var response = await client.ProxyOffV1GatewayOffV1PathGet2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet3CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet3CommandApiCommand.g.cs index 0aee97f2..fa30bc66 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1GatewayOffV1PathPatch3CommandApiCommand +internal static partial class ProxyOffV1GatewayOffV1PathGet3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-gateway-off-v1-path-patch3", @"Proxy Off V1 + var command = new Command(@"proxy-off-v1-gateway-off-v1-path-get3", @"Proxy Off V1 A/B off-arm — forces gateway transformers off for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1GatewayOffV1PathPatch3Async( + var response = await client.ProxyOffV1GatewayOffV1PathGet3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet4CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet4CommandApiCommand.g.cs index 0e3620b3..23c39cf9 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1GatewayOffV1PathPatch4CommandApiCommand +internal static partial class ProxyOffV1GatewayOffV1PathGet4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-gateway-off-v1-path-patch4", @"Proxy Off V1 + var command = new Command(@"proxy-off-v1-gateway-off-v1-path-get4", @"Proxy Off V1 A/B off-arm — forces gateway transformers off for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1GatewayOffV1PathPatch4Async( + var response = await client.ProxyOffV1GatewayOffV1PathGet4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet5CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet5CommandApiCommand.g.cs index 8ba7a6d6..06f4c9e6 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1GatewayOffV1PathPatch5CommandApiCommand +internal static partial class ProxyOffV1GatewayOffV1PathGet5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-gateway-off-v1-path-patch5", @"Proxy Off V1 + var command = new Command(@"proxy-off-v1-gateway-off-v1-path-get5", @"Proxy Off V1 A/B off-arm — forces gateway transformers off for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1GatewayOffV1PathPatch5Async( + var response = await client.ProxyOffV1GatewayOffV1PathGet5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet6CommandApiCommand.g.cs new file mode 100644 index 00000000..79fe612e --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGet6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOffV1GatewayOffV1PathGet6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-off-v1-gateway-off-v1-path-get6", @"Proxy Off V1 +A/B off-arm — forces gateway transformers off for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOffV1GatewayOffV1PathGet6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGetCommandApiCommand.g.cs new file mode 100644 index 00000000..9d5db881 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathGetCommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOffV1GatewayOffV1PathGetCommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-off-v1-gateway-off-v1-path-get", @"Proxy Off V1 +A/B off-arm — forces gateway transformers off for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOffV1GatewayOffV1PathGetAsync( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch2CommandApiCommand.g.cs deleted file mode 100644 index 3a1cec36..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch2CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOffV1GatewayOffV1PathPatch2CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-off-v1-gateway-off-v1-path-patch2", @"Proxy Off V1 -A/B off-arm — forces gateway transformers off for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOffV1GatewayOffV1PathPatch2Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch6CommandApiCommand.g.cs deleted file mode 100644 index a10622c2..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPatch6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOffV1GatewayOffV1PathPatch6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-off-v1-gateway-off-v1-path-patch6", @"Proxy Off V1 -A/B off-arm — forces gateway transformers off for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOffV1GatewayOffV1PathPatch6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatchCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatchCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet2CommandApiCommand.g.cs index 72091e4a..5cfebcd5 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatchCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1TokenwiseOffV1PathPatchCommandApiCommand +internal static partial class ProxyOffV1TokenwiseOffV1PathGet2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-patch", @"Proxy Off V1 + var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-get2", @"Proxy Off V1 A/B off-arm — forces gateway transformers off for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1TokenwiseOffV1PathPatchAsync( + var response = await client.ProxyOffV1TokenwiseOffV1PathGet2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet3CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet3CommandApiCommand.g.cs index 3228e3d9..3d3e6620 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1TokenwiseOffV1PathPatch3CommandApiCommand +internal static partial class ProxyOffV1TokenwiseOffV1PathGet3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-patch3", @"Proxy Off V1 + var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-get3", @"Proxy Off V1 A/B off-arm — forces gateway transformers off for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1TokenwiseOffV1PathPatch3Async( + var response = await client.ProxyOffV1TokenwiseOffV1PathGet3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet4CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet4CommandApiCommand.g.cs index a2c74f62..e65e0568 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1TokenwiseOffV1PathPatch4CommandApiCommand +internal static partial class ProxyOffV1TokenwiseOffV1PathGet4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-patch4", @"Proxy Off V1 + var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-get4", @"Proxy Off V1 A/B off-arm — forces gateway transformers off for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1TokenwiseOffV1PathPatch4Async( + var response = await client.ProxyOffV1TokenwiseOffV1PathGet4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet5CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet5CommandApiCommand.g.cs index 7174050d..5e8e3a8c 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1TokenwiseOffV1PathPatch5CommandApiCommand +internal static partial class ProxyOffV1TokenwiseOffV1PathGet5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-patch5", @"Proxy Off V1 + var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-get5", @"Proxy Off V1 A/B off-arm — forces gateway transformers off for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1TokenwiseOffV1PathPatch5Async( + var response = await client.ProxyOffV1TokenwiseOffV1PathGet5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet6CommandApiCommand.g.cs new file mode 100644 index 00000000..01d68081 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGet6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOffV1TokenwiseOffV1PathGet6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-get6", @"Proxy Off V1 +A/B off-arm — forces gateway transformers off for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOffV1TokenwiseOffV1PathGet6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGetCommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGetCommandApiCommand.g.cs index f630cec2..979731e4 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathGetCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1TokenwiseOffV1PathPatch2CommandApiCommand +internal static partial class ProxyOffV1TokenwiseOffV1PathGetCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-patch2", @"Proxy Off V1 + var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-get", @"Proxy Off V1 A/B off-arm — forces gateway transformers off for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1TokenwiseOffV1PathPatch2Async( + var response = await client.ProxyOffV1TokenwiseOffV1PathGetAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch6CommandApiCommand.g.cs deleted file mode 100644 index f816c7af..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPatch6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOffV1TokenwiseOffV1PathPatch6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-patch6", @"Proxy Off V1 -A/B off-arm — forces gateway transformers off for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOffV1TokenwiseOffV1PathPatch6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatchCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatchCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet2CommandApiCommand.g.cs index fb9553d7..841d56c0 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatchCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1GatewayOnV1PathPatchCommandApiCommand +internal static partial class ProxyOnV1GatewayOnV1PathGet2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-gateway-on-v1-path-patch", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-gateway-on-v1-path-get2", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1GatewayOnV1PathPatchAsync( + var response = await client.ProxyOnV1GatewayOnV1PathGet2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet3CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet3CommandApiCommand.g.cs index d58ff140..20e5e8a3 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1GatewayOnV1PathPatch2CommandApiCommand +internal static partial class ProxyOnV1GatewayOnV1PathGet3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-gateway-on-v1-path-patch2", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-gateway-on-v1-path-get3", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1GatewayOnV1PathPatch2Async( + var response = await client.ProxyOnV1GatewayOnV1PathGet3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet4CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet4CommandApiCommand.g.cs index 220b6572..b400c733 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1GatewayOnV1PathPatch3CommandApiCommand +internal static partial class ProxyOnV1GatewayOnV1PathGet4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-gateway-on-v1-path-patch3", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-gateway-on-v1-path-get4", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1GatewayOnV1PathPatch3Async( + var response = await client.ProxyOnV1GatewayOnV1PathGet4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet5CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet5CommandApiCommand.g.cs index f11e36be..917a4bcc 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1GatewayOnV1PathPatch4CommandApiCommand +internal static partial class ProxyOnV1GatewayOnV1PathGet5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-gateway-on-v1-path-patch4", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-gateway-on-v1-path-get5", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1GatewayOnV1PathPatch4Async( + var response = await client.ProxyOnV1GatewayOnV1PathGet5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet6CommandApiCommand.g.cs new file mode 100644 index 00000000..00e099fc --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGet6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOnV1GatewayOnV1PathGet6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-on-v1-gateway-on-v1-path-get6", @"Proxy On V1 +A/B on-arm — forces gateway transformers on for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOnV1GatewayOnV1PathGet6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGetCommandApiCommand.g.cs new file mode 100644 index 00000000..0dfc274b --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathGetCommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOnV1GatewayOnV1PathGetCommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-on-v1-gateway-on-v1-path-get", @"Proxy On V1 +A/B on-arm — forces gateway transformers on for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOnV1GatewayOnV1PathGetAsync( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch5CommandApiCommand.g.cs deleted file mode 100644 index 48bc5240..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch5CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOnV1GatewayOnV1PathPatch5CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-on-v1-gateway-on-v1-path-patch5", @"Proxy On V1 -A/B on-arm — forces gateway transformers on for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOnV1GatewayOnV1PathPatch5Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch6CommandApiCommand.g.cs deleted file mode 100644 index 69308308..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPatch6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOnV1GatewayOnV1PathPatch6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-on-v1-gateway-on-v1-path-patch6", @"Proxy On V1 -A/B on-arm — forces gateway transformers on for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOnV1GatewayOnV1PathPatch6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatchCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatchCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet2CommandApiCommand.g.cs index 40a4b5ef..4e10df08 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatchCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1TokenwiseOnV1PathPatchCommandApiCommand +internal static partial class ProxyOnV1TokenwiseOnV1PathGet2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-patch", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-get2", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1TokenwiseOnV1PathPatchAsync( + var response = await client.ProxyOnV1TokenwiseOnV1PathGet2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet3CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet3CommandApiCommand.g.cs index 9e59cae4..78853bc3 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1TokenwiseOnV1PathPatch3CommandApiCommand +internal static partial class ProxyOnV1TokenwiseOnV1PathGet3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-patch3", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-get3", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1TokenwiseOnV1PathPatch3Async( + var response = await client.ProxyOnV1TokenwiseOnV1PathGet3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet4CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet4CommandApiCommand.g.cs index 2f04604f..297a53ba 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1TokenwiseOnV1PathPatch4CommandApiCommand +internal static partial class ProxyOnV1TokenwiseOnV1PathGet4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-patch4", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-get4", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1TokenwiseOnV1PathPatch4Async( + var response = await client.ProxyOnV1TokenwiseOnV1PathGet4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet5CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet5CommandApiCommand.g.cs index 0aa3595c..8190818b 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1TokenwiseOnV1PathPatch5CommandApiCommand +internal static partial class ProxyOnV1TokenwiseOnV1PathGet5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-patch5", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-get5", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1TokenwiseOnV1PathPatch5Async( + var response = await client.ProxyOnV1TokenwiseOnV1PathGet5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet6CommandApiCommand.g.cs new file mode 100644 index 00000000..1aedea0f --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGet6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOnV1TokenwiseOnV1PathGet6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-get6", @"Proxy On V1 +A/B on-arm — forces gateway transformers on for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOnV1TokenwiseOnV1PathGet6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGetCommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGetCommandApiCommand.g.cs index da780adb..4481484f 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathGetCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1TokenwiseOnV1PathPatch2CommandApiCommand +internal static partial class ProxyOnV1TokenwiseOnV1PathGetCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-patch2", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-get", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1TokenwiseOnV1PathPatch2Async( + var response = await client.ProxyOnV1TokenwiseOnV1PathGetAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch6CommandApiCommand.g.cs deleted file mode 100644 index 7834843a..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPatch6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOnV1TokenwiseOnV1PathPatch6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-patch6", @"Proxy On V1 -A/B on-arm — forces gateway transformers on for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOnV1TokenwiseOnV1PathPatch6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet2CommandApiCommand.g.cs new file mode 100644 index 00000000..43766e74 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet2CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1GatewayV1PathGet2CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-v1-gateway-v1-path-get2", @"Proxy V1 +Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). + +Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are +intentionally left ungated."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1GatewayV1PathGet2Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet3CommandApiCommand.g.cs new file mode 100644 index 00000000..383d88aa --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet3CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1GatewayV1PathGet3CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-v1-gateway-v1-path-get3", @"Proxy V1 +Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). + +Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are +intentionally left ungated."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1GatewayV1PathGet3Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet4CommandApiCommand.g.cs new file mode 100644 index 00000000..6e74542b --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet4CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1GatewayV1PathGet4CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-v1-gateway-v1-path-get4", @"Proxy V1 +Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). + +Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are +intentionally left ungated."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1GatewayV1PathGet4Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet5CommandApiCommand.g.cs new file mode 100644 index 00000000..79b20dbf --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet5CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1GatewayV1PathGet5CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-v1-gateway-v1-path-get5", @"Proxy V1 +Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). + +Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are +intentionally left ungated."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1GatewayV1PathGet5Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet6CommandApiCommand.g.cs new file mode 100644 index 00000000..309d8a28 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGet6CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1GatewayV1PathGet6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-v1-gateway-v1-path-get6", @"Proxy V1 +Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). + +Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are +intentionally left ungated."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1GatewayV1PathGet6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGetCommandApiCommand.g.cs new file mode 100644 index 00000000..fc78f7ae --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathGetCommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1GatewayV1PathGetCommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-v1-gateway-v1-path-get", @"Proxy V1 +Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). + +Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are +intentionally left ungated."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1GatewayV1PathGetAsync( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch6CommandApiCommand.g.cs deleted file mode 100644 index ff88f727..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch6CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1GatewayV1PathPatch6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-v1-gateway-v1-path-patch6", @"Proxy V1 -Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). - -Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are -intentionally left ungated."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1GatewayV1PathPatch6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet2CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet2CommandApiCommand.g.cs index 288d2842..f66914ab 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1GatewayV1PathPatch2CommandApiCommand +internal static partial class ProxyV1TokenwiseV1PathGet2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1-gateway-v1-path-patch2", @"Proxy V1 + var command = new Command(@"proxy-v1-tokenwise-v1-path-get2", @"Proxy V1 Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are @@ -58,7 +58,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1GatewayV1PathPatch2Async( + var response = await client.ProxyV1TokenwiseV1PathGet2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet3CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet3CommandApiCommand.g.cs index 7bd2b301..739efc64 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1GatewayV1PathPatch3CommandApiCommand +internal static partial class ProxyV1TokenwiseV1PathGet3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1-gateway-v1-path-patch3", @"Proxy V1 + var command = new Command(@"proxy-v1-tokenwise-v1-path-get3", @"Proxy V1 Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are @@ -58,7 +58,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1GatewayV1PathPatch3Async( + var response = await client.ProxyV1TokenwiseV1PathGet3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet4CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet4CommandApiCommand.g.cs index 66a7b72f..9671b327 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1GatewayV1PathPatch4CommandApiCommand +internal static partial class ProxyV1TokenwiseV1PathGet4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1-gateway-v1-path-patch4", @"Proxy V1 + var command = new Command(@"proxy-v1-tokenwise-v1-path-get4", @"Proxy V1 Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are @@ -58,7 +58,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1GatewayV1PathPatch4Async( + var response = await client.ProxyV1TokenwiseV1PathGet4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet5CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet5CommandApiCommand.g.cs index c8a993ae..f7aff360 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatch5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1GatewayV1PathPatch5CommandApiCommand +internal static partial class ProxyV1TokenwiseV1PathGet5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1-gateway-v1-path-patch5", @"Proxy V1 + var command = new Command(@"proxy-v1-tokenwise-v1-path-get5", @"Proxy V1 Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are @@ -58,7 +58,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1GatewayV1PathPatch5Async( + var response = await client.ProxyV1TokenwiseV1PathGet5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet6CommandApiCommand.g.cs new file mode 100644 index 00000000..d301283d --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGet6CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1TokenwiseV1PathGet6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-v1-tokenwise-v1-path-get6", @"Proxy V1 +Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). + +Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are +intentionally left ungated."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1TokenwiseV1PathGet6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatchCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGetCommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatchCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGetCommandApiCommand.g.cs index 742ca20f..6b5c4f75 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPatchCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathGetCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1GatewayV1PathPatchCommandApiCommand +internal static partial class ProxyV1TokenwiseV1PathGetCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1-gateway-v1-path-patch", @"Proxy V1 + var command = new Command(@"proxy-v1-tokenwise-v1-path-get", @"Proxy V1 Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are @@ -58,7 +58,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1GatewayV1PathPatchAsync( + var response = await client.ProxyV1TokenwiseV1PathGetAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch2CommandApiCommand.g.cs deleted file mode 100644 index 95a00653..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch2CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1TokenwiseV1PathPatch2CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-v1-tokenwise-v1-path-patch2", @"Proxy V1 -Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). - -Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are -intentionally left ungated."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1TokenwiseV1PathPatch2Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch3CommandApiCommand.g.cs deleted file mode 100644 index 73c348be..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch3CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1TokenwiseV1PathPatch3CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-v1-tokenwise-v1-path-patch3", @"Proxy V1 -Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). - -Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are -intentionally left ungated."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1TokenwiseV1PathPatch3Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch4CommandApiCommand.g.cs deleted file mode 100644 index 5b22b9e6..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch4CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1TokenwiseV1PathPatch4CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-v1-tokenwise-v1-path-patch4", @"Proxy V1 -Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). - -Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are -intentionally left ungated."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1TokenwiseV1PathPatch4Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch5CommandApiCommand.g.cs deleted file mode 100644 index 8f079634..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch5CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1TokenwiseV1PathPatch5CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-v1-tokenwise-v1-path-patch5", @"Proxy V1 -Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). - -Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are -intentionally left ungated."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1TokenwiseV1PathPatch5Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch6CommandApiCommand.g.cs deleted file mode 100644 index 9f3c7f89..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatch6CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1TokenwiseV1PathPatch6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-v1-tokenwise-v1-path-patch6", @"Proxy V1 -Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). - -Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are -intentionally left ungated."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1TokenwiseV1PathPatch6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatchCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatchCommandApiCommand.g.cs deleted file mode 100644 index fa50bbfc..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPatchCommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1TokenwiseV1PathPatchCommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-v1-tokenwise-v1-path-patch", @"Proxy V1 -Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). - -Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are -intentionally left ungated."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1TokenwiseV1PathPatchAsync( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatchCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatchCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet2CommandApiCommand.g.cs index 7db3d8c2..7de129e9 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatchCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaGatewayV1betaPathPatchCommandApiCommand +internal static partial class ProxyV1betaGatewayV1betaPathGet2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-gateway-v1beta-path-patch", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-gateway-v1beta-path-get2", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaGatewayV1betaPathPatchAsync( + var response = await client.ProxyV1betaGatewayV1betaPathGet2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet3CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet3CommandApiCommand.g.cs index b21a476f..46f4eebc 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaGatewayV1betaPathPatch3CommandApiCommand +internal static partial class ProxyV1betaGatewayV1betaPathGet3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-gateway-v1beta-path-patch3", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-gateway-v1beta-path-get3", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaGatewayV1betaPathPatch3Async( + var response = await client.ProxyV1betaGatewayV1betaPathGet3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet4CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet4CommandApiCommand.g.cs index bbcbfc2e..2b5f1a59 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaGatewayV1betaPathPatch4CommandApiCommand +internal static partial class ProxyV1betaGatewayV1betaPathGet4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-gateway-v1beta-path-patch4", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-gateway-v1beta-path-get4", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaGatewayV1betaPathPatch4Async( + var response = await client.ProxyV1betaGatewayV1betaPathGet4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet5CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet5CommandApiCommand.g.cs index 59cc1242..b297712b 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaGatewayV1betaPathPatch5CommandApiCommand +internal static partial class ProxyV1betaGatewayV1betaPathGet5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-gateway-v1beta-path-patch5", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-gateway-v1beta-path-get5", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaGatewayV1betaPathPatch5Async( + var response = await client.ProxyV1betaGatewayV1betaPathGet5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet6CommandApiCommand.g.cs new file mode 100644 index 00000000..c6df8828 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGet6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1betaGatewayV1betaPathGet6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-v1beta-gateway-v1beta-path-get6", @"Proxy V1Beta +Native Gemini API surface (``/v1beta/models/*:generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1betaGatewayV1betaPathGet6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGetCommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGetCommandApiCommand.g.cs index 68b7279c..447ed425 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathGetCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaGatewayV1betaPathPatch2CommandApiCommand +internal static partial class ProxyV1betaGatewayV1betaPathGetCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-gateway-v1beta-path-patch2", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-gateway-v1beta-path-get", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaGatewayV1betaPathPatch2Async( + var response = await client.ProxyV1betaGatewayV1betaPathGetAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch6CommandApiCommand.g.cs deleted file mode 100644 index bc8f67f5..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPatch6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1betaGatewayV1betaPathPatch6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-v1beta-gateway-v1beta-path-patch6", @"Proxy V1Beta -Native Gemini API surface (``/v1beta/models/*:generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1betaGatewayV1betaPathPatch6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatchCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatchCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet2CommandApiCommand.g.cs index f0f5684d..62a536b4 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatchCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaTokenwiseV1betaPathPatchCommandApiCommand +internal static partial class ProxyV1betaTokenwiseV1betaPathGet2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-patch", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-get2", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaTokenwiseV1betaPathPatchAsync( + var response = await client.ProxyV1betaTokenwiseV1betaPathGet2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet3CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet3CommandApiCommand.g.cs index 143faa7b..831a8738 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaTokenwiseV1betaPathPatch3CommandApiCommand +internal static partial class ProxyV1betaTokenwiseV1betaPathGet3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-patch3", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-get3", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaTokenwiseV1betaPathPatch3Async( + var response = await client.ProxyV1betaTokenwiseV1betaPathGet3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet4CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet4CommandApiCommand.g.cs index ebb16efa..983dab7c 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaTokenwiseV1betaPathPatch4CommandApiCommand +internal static partial class ProxyV1betaTokenwiseV1betaPathGet4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-patch4", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-get4", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaTokenwiseV1betaPathPatch4Async( + var response = await client.ProxyV1betaTokenwiseV1betaPathGet4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet5CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet5CommandApiCommand.g.cs index 04c4ae95..d3dff1ae 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaTokenwiseV1betaPathPatch5CommandApiCommand +internal static partial class ProxyV1betaTokenwiseV1betaPathGet5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-patch5", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-get5", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaTokenwiseV1betaPathPatch5Async( + var response = await client.ProxyV1betaTokenwiseV1betaPathGet5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet6CommandApiCommand.g.cs new file mode 100644 index 00000000..d91bcffa --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGet6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1betaTokenwiseV1betaPathGet6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-get6", @"Proxy V1Beta +Native Gemini API surface (``/v1beta/models/*:generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1betaTokenwiseV1betaPathGet6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGetCommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGetCommandApiCommand.g.cs index c0101e5b..97ba05a2 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathGetCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaTokenwiseV1betaPathPatch2CommandApiCommand +internal static partial class ProxyV1betaTokenwiseV1betaPathGetCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-patch2", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-get", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaTokenwiseV1betaPathPatch2Async( + var response = await client.ProxyV1betaTokenwiseV1betaPathGetAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch6CommandApiCommand.g.cs deleted file mode 100644 index 281752c4..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPatch6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1betaTokenwiseV1betaPathPatch6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-patch6", @"Proxy V1Beta -Native Gemini API surface (``/v1beta/models/*:generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1betaTokenwiseV1betaPathPatch6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatchCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet2CommandApiCommand.g.cs similarity index 96% rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatchCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet2CommandApiCommand.g.cs index 5b66512f..7751e330 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatchCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalGatewayV1internalPathPatchCommandApiCommand +internal static partial class ProxyV1internalGatewayV1internalPathGet2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-gateway-v1internal-path-patch", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-gateway-v1internal-path-get2", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalGatewayV1internalPathPatchAsync( + var response = await client.ProxyV1internalGatewayV1internalPathGet2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet3CommandApiCommand.g.cs similarity index 96% rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet3CommandApiCommand.g.cs index 8bf419b0..f5a1900d 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalGatewayV1internalPathPatch3CommandApiCommand +internal static partial class ProxyV1internalGatewayV1internalPathGet3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-gateway-v1internal-path-patch3", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-gateway-v1internal-path-get3", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalGatewayV1internalPathPatch3Async( + var response = await client.ProxyV1internalGatewayV1internalPathGet3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet4CommandApiCommand.g.cs similarity index 96% rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet4CommandApiCommand.g.cs index eec4b3bb..8cbbc93c 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalGatewayV1internalPathPatch4CommandApiCommand +internal static partial class ProxyV1internalGatewayV1internalPathGet4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-gateway-v1internal-path-patch4", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-gateway-v1internal-path-get4", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalGatewayV1internalPathPatch4Async( + var response = await client.ProxyV1internalGatewayV1internalPathGet4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet5CommandApiCommand.g.cs similarity index 96% rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet5CommandApiCommand.g.cs index 5259ac49..46e2dbee 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalGatewayV1internalPathPatch5CommandApiCommand +internal static partial class ProxyV1internalGatewayV1internalPathGet5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-gateway-v1internal-path-patch5", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-gateway-v1internal-path-get5", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalGatewayV1internalPathPatch5Async( + var response = await client.ProxyV1internalGatewayV1internalPathGet5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet6CommandApiCommand.g.cs new file mode 100644 index 00000000..35eb9463 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGet6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1internalGatewayV1internalPathGet6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-v1internal-gateway-v1internal-path-get6", @"Proxy V1Internal +Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1internalGatewayV1internalPathGet6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGetCommandApiCommand.g.cs new file mode 100644 index 00000000..ae5a14b8 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathGetCommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1internalGatewayV1internalPathGetCommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-v1internal-gateway-v1internal-path-get", @"Proxy V1Internal +Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1internalGatewayV1internalPathGetAsync( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch2CommandApiCommand.g.cs deleted file mode 100644 index d563645f..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch2CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1internalGatewayV1internalPathPatch2CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-v1internal-gateway-v1internal-path-patch2", @"Proxy V1Internal -Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1internalGatewayV1internalPathPatch2Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch6CommandApiCommand.g.cs deleted file mode 100644 index 5ab51c3a..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPatch6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1internalGatewayV1internalPathPatch6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-v1internal-gateway-v1internal-path-patch6", @"Proxy V1Internal -Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1internalGatewayV1internalPathPatch6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatchCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet2CommandApiCommand.g.cs similarity index 96% rename from src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatchCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet2CommandApiCommand.g.cs index e0427bac..3a0efc97 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatchCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalTokenwiseV1internalPathPatchCommandApiCommand +internal static partial class ProxyV1internalTokenwiseV1internalPathGet2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-patch", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-get2", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalTokenwiseV1internalPathPatchAsync( + var response = await client.ProxyV1internalTokenwiseV1internalPathGet2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet3CommandApiCommand.g.cs similarity index 96% rename from src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet3CommandApiCommand.g.cs index 68e3da9a..8b41dad1 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalTokenwiseV1internalPathPatch3CommandApiCommand +internal static partial class ProxyV1internalTokenwiseV1internalPathGet3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-patch3", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-get3", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalTokenwiseV1internalPathPatch3Async( + var response = await client.ProxyV1internalTokenwiseV1internalPathGet3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet4CommandApiCommand.g.cs similarity index 96% rename from src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet4CommandApiCommand.g.cs index 570f707a..94a03a80 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalTokenwiseV1internalPathPatch4CommandApiCommand +internal static partial class ProxyV1internalTokenwiseV1internalPathGet4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-patch4", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-get4", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalTokenwiseV1internalPathPatch4Async( + var response = await client.ProxyV1internalTokenwiseV1internalPathGet4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet5CommandApiCommand.g.cs similarity index 96% rename from src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet5CommandApiCommand.g.cs index b40fe29a..41e1f9b0 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalTokenwiseV1internalPathPatch5CommandApiCommand +internal static partial class ProxyV1internalTokenwiseV1internalPathGet5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-patch5", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-get5", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalTokenwiseV1internalPathPatch5Async( + var response = await client.ProxyV1internalTokenwiseV1internalPathGet5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet6CommandApiCommand.g.cs new file mode 100644 index 00000000..f2f8ab27 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGet6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1internalTokenwiseV1internalPathGet6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-get6", @"Proxy V1Internal +Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1internalTokenwiseV1internalPathGet6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGetCommandApiCommand.g.cs similarity index 96% rename from src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGetCommandApiCommand.g.cs index 19dc069f..273e6c8f 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathGetCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalTokenwiseV1internalPathPatch2CommandApiCommand +internal static partial class ProxyV1internalTokenwiseV1internalPathGetCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-patch2", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-get", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalTokenwiseV1internalPathPatch2Async( + var response = await client.ProxyV1internalTokenwiseV1internalPathGetAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch6CommandApiCommand.g.cs deleted file mode 100644 index bdae0211..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPatch6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1internalTokenwiseV1internalPathPatch6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - public static Command Create() - { - var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-patch6", @"Proxy V1Internal -Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1internalTokenwiseV1internalPathPatch6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet.g.cs index 132df800..8a69395a 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPatchSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathGetSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPatchSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathGetSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathPatchSecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathGetSecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathPatchArguments( + partial void PrepareProxyHarnessApiHarnessApiPathGetArguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathPatchRequest( + partial void PrepareProxyHarnessApiHarnessApiPathGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathPatchResponse( + partial void ProcessProxyHarnessApiHarnessApiPathGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathPatchResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathGetResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPatchAsync( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathGetAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathPatchAsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathGetAsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPatchAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathGetAsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathPatchArguments( + PrepareProxyHarnessApiHarnessApiPathGetArguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathPatchSecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathPatchAsync"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathGetSecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathGetAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatchResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathPatchRequest( + PrepareProxyHarnessApiHarnessApiPathGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch", - methodName: "ProxyHarnessApiHarnessApiPathPatchAsync", + operationId: "ProxyHarnessApiHarnessApiPathGet", + methodName: "ProxyHarnessApiHarnessApiPathGetAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch", - methodName: "ProxyHarnessApiHarnessApiPathPatchAsync", + operationId: "ProxyHarnessApiHarnessApiPathGet", + methodName: "ProxyHarnessApiHarnessApiPathGetAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch", - methodName: "ProxyHarnessApiHarnessApiPathPatchAsync", + operationId: "ProxyHarnessApiHarnessApiPathGet", + methodName: "ProxyHarnessApiHarnessApiPathGetAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatchResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathPatchResponse( + ProcessProxyHarnessApiHarnessApiPathGetResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch", - methodName: "ProxyHarnessApiHarnessApiPathPatchAsync", + operationId: "ProxyHarnessApiHarnessApiPathGet", + methodName: "ProxyHarnessApiHarnessApiPathGetAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch", - methodName: "ProxyHarnessApiHarnessApiPathPatchAsync", + operationId: "ProxyHarnessApiHarnessApiPathGet", + methodName: "ProxyHarnessApiHarnessApiPathGetAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatchResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathPatchResponseContent( + ProcessProxyHarnessApiHarnessApiPathGetResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet2.g.cs index d13a02c3..e2de5acd 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPatch2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathGet2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPatch2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathGet2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathPatch2SecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathGet2SecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathPatch2Arguments( + partial void PrepareProxyHarnessApiHarnessApiPathGet2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathPatch2Request( + partial void PrepareProxyHarnessApiHarnessApiPathGet2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathPatch2Response( + partial void ProcessProxyHarnessApiHarnessApiPathGet2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathPatch2ResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathGet2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPatch2Async( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathGet2Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathPatch2AsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathGet2AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPatch2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathGet2AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathPatch2Arguments( + PrepareProxyHarnessApiHarnessApiPathGet2Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathPatch2SecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathPatch2Async"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathGet2SecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathGet2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathPatch2Request( + PrepareProxyHarnessApiHarnessApiPathGet2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch2", - methodName: "ProxyHarnessApiHarnessApiPathPatch2Async", + operationId: "ProxyHarnessApiHarnessApiPathGet2", + methodName: "ProxyHarnessApiHarnessApiPathGet2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch2", - methodName: "ProxyHarnessApiHarnessApiPathPatch2Async", + operationId: "ProxyHarnessApiHarnessApiPathGet2", + methodName: "ProxyHarnessApiHarnessApiPathGet2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch2", - methodName: "ProxyHarnessApiHarnessApiPathPatch2Async", + operationId: "ProxyHarnessApiHarnessApiPathGet2", + methodName: "ProxyHarnessApiHarnessApiPathGet2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathPatch2Response( + ProcessProxyHarnessApiHarnessApiPathGet2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch2", - methodName: "ProxyHarnessApiHarnessApiPathPatch2Async", + operationId: "ProxyHarnessApiHarnessApiPathGet2", + methodName: "ProxyHarnessApiHarnessApiPathGet2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch2", - methodName: "ProxyHarnessApiHarnessApiPathPatch2Async", + operationId: "ProxyHarnessApiHarnessApiPathGet2", + methodName: "ProxyHarnessApiHarnessApiPathGet2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathPatch2ResponseContent( + ProcessProxyHarnessApiHarnessApiPathGet2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet3.g.cs index a18b91ed..6d8c3eac 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPatch3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathGet3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPatch3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathGet3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathPatch3SecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathGet3SecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathPatch3Arguments( + partial void PrepareProxyHarnessApiHarnessApiPathGet3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathPatch3Request( + partial void PrepareProxyHarnessApiHarnessApiPathGet3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathPatch3Response( + partial void ProcessProxyHarnessApiHarnessApiPathGet3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathPatch3ResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathGet3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPatch3Async( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathGet3Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathPatch3AsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathGet3AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPatch3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathGet3AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathPatch3Arguments( + PrepareProxyHarnessApiHarnessApiPathGet3Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathPatch3SecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathPatch3Async"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathGet3SecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathGet3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathPatch3Request( + PrepareProxyHarnessApiHarnessApiPathGet3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch3", - methodName: "ProxyHarnessApiHarnessApiPathPatch3Async", + operationId: "ProxyHarnessApiHarnessApiPathGet3", + methodName: "ProxyHarnessApiHarnessApiPathGet3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch3", - methodName: "ProxyHarnessApiHarnessApiPathPatch3Async", + operationId: "ProxyHarnessApiHarnessApiPathGet3", + methodName: "ProxyHarnessApiHarnessApiPathGet3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch3", - methodName: "ProxyHarnessApiHarnessApiPathPatch3Async", + operationId: "ProxyHarnessApiHarnessApiPathGet3", + methodName: "ProxyHarnessApiHarnessApiPathGet3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathPatch3Response( + ProcessProxyHarnessApiHarnessApiPathGet3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch3", - methodName: "ProxyHarnessApiHarnessApiPathPatch3Async", + operationId: "ProxyHarnessApiHarnessApiPathGet3", + methodName: "ProxyHarnessApiHarnessApiPathGet3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch3", - methodName: "ProxyHarnessApiHarnessApiPathPatch3Async", + operationId: "ProxyHarnessApiHarnessApiPathGet3", + methodName: "ProxyHarnessApiHarnessApiPathGet3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathPatch3ResponseContent( + ProcessProxyHarnessApiHarnessApiPathGet3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet4.g.cs index 391c088e..44157d0f 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPatch4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathGet4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPatch4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathGet4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathPatch4SecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathGet4SecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathPatch4Arguments( + partial void PrepareProxyHarnessApiHarnessApiPathGet4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathPatch4Request( + partial void PrepareProxyHarnessApiHarnessApiPathGet4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathPatch4Response( + partial void ProcessProxyHarnessApiHarnessApiPathGet4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathPatch4ResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathGet4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPatch4Async( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathGet4Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathPatch4AsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathGet4AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPatch4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathGet4AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathPatch4Arguments( + PrepareProxyHarnessApiHarnessApiPathGet4Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathPatch4SecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathPatch4Async"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathGet4SecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathGet4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathPatch4Request( + PrepareProxyHarnessApiHarnessApiPathGet4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch4", - methodName: "ProxyHarnessApiHarnessApiPathPatch4Async", + operationId: "ProxyHarnessApiHarnessApiPathGet4", + methodName: "ProxyHarnessApiHarnessApiPathGet4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch4", - methodName: "ProxyHarnessApiHarnessApiPathPatch4Async", + operationId: "ProxyHarnessApiHarnessApiPathGet4", + methodName: "ProxyHarnessApiHarnessApiPathGet4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch4", - methodName: "ProxyHarnessApiHarnessApiPathPatch4Async", + operationId: "ProxyHarnessApiHarnessApiPathGet4", + methodName: "ProxyHarnessApiHarnessApiPathGet4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathPatch4Response( + ProcessProxyHarnessApiHarnessApiPathGet4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch4", - methodName: "ProxyHarnessApiHarnessApiPathPatch4Async", + operationId: "ProxyHarnessApiHarnessApiPathGet4", + methodName: "ProxyHarnessApiHarnessApiPathGet4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch4", - methodName: "ProxyHarnessApiHarnessApiPathPatch4Async", + operationId: "ProxyHarnessApiHarnessApiPathGet4", + methodName: "ProxyHarnessApiHarnessApiPathGet4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathPatch4ResponseContent( + ProcessProxyHarnessApiHarnessApiPathGet4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet5.g.cs index ca23acb9..8d00eef9 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPatch5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathGet5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPatch5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathGet5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPatch5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathGet5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathPatch5SecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathGet5SecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathPatch5Arguments( + partial void PrepareProxyHarnessApiHarnessApiPathGet5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathPatch5Request( + partial void PrepareProxyHarnessApiHarnessApiPathGet5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathPatch5Response( + partial void ProcessProxyHarnessApiHarnessApiPathGet5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathPatch5ResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathGet5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPatch5Async( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathGet5Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathPatch5AsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathGet5AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPatch5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathGet5AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathPatch5Arguments( + PrepareProxyHarnessApiHarnessApiPathGet5Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathPatch5SecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathPatch5Async"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathGet5SecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathGet5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathPatch5Request( + PrepareProxyHarnessApiHarnessApiPathGet5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch5", - methodName: "ProxyHarnessApiHarnessApiPathPatch5Async", + operationId: "ProxyHarnessApiHarnessApiPathGet5", + methodName: "ProxyHarnessApiHarnessApiPathGet5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch5", - methodName: "ProxyHarnessApiHarnessApiPathPatch5Async", + operationId: "ProxyHarnessApiHarnessApiPathGet5", + methodName: "ProxyHarnessApiHarnessApiPathGet5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch5", - methodName: "ProxyHarnessApiHarnessApiPathPatch5Async", + operationId: "ProxyHarnessApiHarnessApiPathGet5", + methodName: "ProxyHarnessApiHarnessApiPathGet5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathPatch5Response( + ProcessProxyHarnessApiHarnessApiPathGet5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch5", - methodName: "ProxyHarnessApiHarnessApiPathPatch5Async", + operationId: "ProxyHarnessApiHarnessApiPathGet5", + methodName: "ProxyHarnessApiHarnessApiPathGet5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPatch5", - methodName: "ProxyHarnessApiHarnessApiPathPatch5Async", + operationId: "ProxyHarnessApiHarnessApiPathGet5", + methodName: "ProxyHarnessApiHarnessApiPathGet5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPatch5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathPatch5ResponseContent( + ProcessProxyHarnessApiHarnessApiPathGet5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet.g.cs index 328dc98f..489ba79d 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathPatchSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathGetSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathPatchSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathGetSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathPatchSecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathGetSecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathPatchArguments( + partial void PrepareProxyOffV1GatewayOffV1PathGetArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathPatchRequest( + partial void PrepareProxyOffV1GatewayOffV1PathGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathPatchResponse( + partial void ProcessProxyOffV1GatewayOffV1PathGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathPatchResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathGetResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPatchAsync( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathPatchAsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathGetAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPatchAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatchResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathPatchArguments( + PrepareProxyOffV1GatewayOffV1PathGetArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatchResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathPatchSecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathPatchAsync"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathGetSecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathGetAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatchResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathPatchRequest( + PrepareProxyOffV1GatewayOffV1PathGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch", - methodName: "ProxyOffV1GatewayOffV1PathPatchAsync", + operationId: "ProxyOffV1GatewayOffV1PathGet", + methodName: "ProxyOffV1GatewayOffV1PathGetAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch", - methodName: "ProxyOffV1GatewayOffV1PathPatchAsync", + operationId: "ProxyOffV1GatewayOffV1PathGet", + methodName: "ProxyOffV1GatewayOffV1PathGetAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch", - methodName: "ProxyOffV1GatewayOffV1PathPatchAsync", + operationId: "ProxyOffV1GatewayOffV1PathGet", + methodName: "ProxyOffV1GatewayOffV1PathGetAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatchResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathPatchResponse( + ProcessProxyOffV1GatewayOffV1PathGetResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch", - methodName: "ProxyOffV1GatewayOffV1PathPatchAsync", + operationId: "ProxyOffV1GatewayOffV1PathGet", + methodName: "ProxyOffV1GatewayOffV1PathGetAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch", - methodName: "ProxyOffV1GatewayOffV1PathPatchAsync", + operationId: "ProxyOffV1GatewayOffV1PathGet", + methodName: "ProxyOffV1GatewayOffV1PathGetAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatchResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathPatchResponseContent( + ProcessProxyOffV1GatewayOffV1PathGetResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet2.g.cs index dd90b4da..2cf8b0c9 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathPatch2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathGet2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathPatch2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathGet2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathPatch2SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathGet2SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathPatch2Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathGet2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathPatch2Request( + partial void PrepareProxyOffV1GatewayOffV1PathGet2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathPatch2Response( + partial void ProcessProxyOffV1GatewayOffV1PathGet2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathPatch2ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathGet2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPatch2Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathPatch2AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathGet2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPatch2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathPatch2Arguments( + PrepareProxyOffV1GatewayOffV1PathGet2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathPatch2SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathPatch2Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathGet2SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathGet2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathPatch2Request( + PrepareProxyOffV1GatewayOffV1PathGet2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch2", - methodName: "ProxyOffV1GatewayOffV1PathPatch2Async", + operationId: "ProxyOffV1GatewayOffV1PathGet2", + methodName: "ProxyOffV1GatewayOffV1PathGet2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch2", - methodName: "ProxyOffV1GatewayOffV1PathPatch2Async", + operationId: "ProxyOffV1GatewayOffV1PathGet2", + methodName: "ProxyOffV1GatewayOffV1PathGet2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch2", - methodName: "ProxyOffV1GatewayOffV1PathPatch2Async", + operationId: "ProxyOffV1GatewayOffV1PathGet2", + methodName: "ProxyOffV1GatewayOffV1PathGet2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathPatch2Response( + ProcessProxyOffV1GatewayOffV1PathGet2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch2", - methodName: "ProxyOffV1GatewayOffV1PathPatch2Async", + operationId: "ProxyOffV1GatewayOffV1PathGet2", + methodName: "ProxyOffV1GatewayOffV1PathGet2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch2", - methodName: "ProxyOffV1GatewayOffV1PathPatch2Async", + operationId: "ProxyOffV1GatewayOffV1PathGet2", + methodName: "ProxyOffV1GatewayOffV1PathGet2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathPatch2ResponseContent( + ProcessProxyOffV1GatewayOffV1PathGet2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet3.g.cs index da3d5bd0..b8c50d95 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathPatch3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathGet3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathPatch3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathGet3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathPatch3SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathGet3SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathPatch3Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathGet3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathPatch3Request( + partial void PrepareProxyOffV1GatewayOffV1PathGet3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathPatch3Response( + partial void ProcessProxyOffV1GatewayOffV1PathGet3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathPatch3ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathGet3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPatch3Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathPatch3AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathGet3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPatch3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathPatch3Arguments( + PrepareProxyOffV1GatewayOffV1PathGet3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathPatch3SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathPatch3Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathGet3SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathGet3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathPatch3Request( + PrepareProxyOffV1GatewayOffV1PathGet3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch3", - methodName: "ProxyOffV1GatewayOffV1PathPatch3Async", + operationId: "ProxyOffV1GatewayOffV1PathGet3", + methodName: "ProxyOffV1GatewayOffV1PathGet3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch3", - methodName: "ProxyOffV1GatewayOffV1PathPatch3Async", + operationId: "ProxyOffV1GatewayOffV1PathGet3", + methodName: "ProxyOffV1GatewayOffV1PathGet3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch3", - methodName: "ProxyOffV1GatewayOffV1PathPatch3Async", + operationId: "ProxyOffV1GatewayOffV1PathGet3", + methodName: "ProxyOffV1GatewayOffV1PathGet3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathPatch3Response( + ProcessProxyOffV1GatewayOffV1PathGet3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch3", - methodName: "ProxyOffV1GatewayOffV1PathPatch3Async", + operationId: "ProxyOffV1GatewayOffV1PathGet3", + methodName: "ProxyOffV1GatewayOffV1PathGet3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch3", - methodName: "ProxyOffV1GatewayOffV1PathPatch3Async", + operationId: "ProxyOffV1GatewayOffV1PathGet3", + methodName: "ProxyOffV1GatewayOffV1PathGet3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathPatch3ResponseContent( + ProcessProxyOffV1GatewayOffV1PathGet3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet4.g.cs index 1d923c9e..94c06d30 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathPatch4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathGet4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathPatch4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathGet4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathPatch4SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathGet4SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathPatch4Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathGet4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathPatch4Request( + partial void PrepareProxyOffV1GatewayOffV1PathGet4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathPatch4Response( + partial void ProcessProxyOffV1GatewayOffV1PathGet4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathPatch4ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathGet4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPatch4Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathPatch4AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathGet4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPatch4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathPatch4Arguments( + PrepareProxyOffV1GatewayOffV1PathGet4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathPatch4SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathPatch4Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathGet4SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathGet4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathPatch4Request( + PrepareProxyOffV1GatewayOffV1PathGet4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch4", - methodName: "ProxyOffV1GatewayOffV1PathPatch4Async", + operationId: "ProxyOffV1GatewayOffV1PathGet4", + methodName: "ProxyOffV1GatewayOffV1PathGet4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch4", - methodName: "ProxyOffV1GatewayOffV1PathPatch4Async", + operationId: "ProxyOffV1GatewayOffV1PathGet4", + methodName: "ProxyOffV1GatewayOffV1PathGet4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch4", - methodName: "ProxyOffV1GatewayOffV1PathPatch4Async", + operationId: "ProxyOffV1GatewayOffV1PathGet4", + methodName: "ProxyOffV1GatewayOffV1PathGet4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathPatch4Response( + ProcessProxyOffV1GatewayOffV1PathGet4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch4", - methodName: "ProxyOffV1GatewayOffV1PathPatch4Async", + operationId: "ProxyOffV1GatewayOffV1PathGet4", + methodName: "ProxyOffV1GatewayOffV1PathGet4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch4", - methodName: "ProxyOffV1GatewayOffV1PathPatch4Async", + operationId: "ProxyOffV1GatewayOffV1PathGet4", + methodName: "ProxyOffV1GatewayOffV1PathGet4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathPatch4ResponseContent( + ProcessProxyOffV1GatewayOffV1PathGet4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet5.g.cs index b1c5123a..089daa25 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathPatch5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathGet5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathPatch5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathGet5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathPatch5SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathGet5SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathPatch5Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathGet5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathPatch5Request( + partial void PrepareProxyOffV1GatewayOffV1PathGet5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathPatch5Response( + partial void ProcessProxyOffV1GatewayOffV1PathGet5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathPatch5ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathGet5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPatch5Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathGet5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathPatch5AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathGet5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPatch5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathGet5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathPatch5Arguments( + PrepareProxyOffV1GatewayOffV1PathGet5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathPatch5SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathPatch5Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathGet5SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathGet5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathPatch5Request( + PrepareProxyOffV1GatewayOffV1PathGet5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch5", - methodName: "ProxyOffV1GatewayOffV1PathPatch5Async", + operationId: "ProxyOffV1GatewayOffV1PathGet5", + methodName: "ProxyOffV1GatewayOffV1PathGet5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch5", - methodName: "ProxyOffV1GatewayOffV1PathPatch5Async", + operationId: "ProxyOffV1GatewayOffV1PathGet5", + methodName: "ProxyOffV1GatewayOffV1PathGet5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch5", - methodName: "ProxyOffV1GatewayOffV1PathPatch5Async", + operationId: "ProxyOffV1GatewayOffV1PathGet5", + methodName: "ProxyOffV1GatewayOffV1PathGet5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathPatch5Response( + ProcessProxyOffV1GatewayOffV1PathGet5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch5", - methodName: "ProxyOffV1GatewayOffV1PathPatch5Async", + operationId: "ProxyOffV1GatewayOffV1PathGet5", + methodName: "ProxyOffV1GatewayOffV1PathGet5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch5", - methodName: "ProxyOffV1GatewayOffV1PathPatch5Async", + operationId: "ProxyOffV1GatewayOffV1PathGet5", + methodName: "ProxyOffV1GatewayOffV1PathGet5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathPatch5ResponseContent( + ProcessProxyOffV1GatewayOffV1PathGet5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet6.g.cs index 58ad5801..34d2cd2e 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPatch6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathGet6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathPatch6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathGet6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathPatch6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathGet6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathPatch6SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathGet6SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathPatch6Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathGet6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathPatch6Request( + partial void PrepareProxyOffV1GatewayOffV1PathGet6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathPatch6Response( + partial void ProcessProxyOffV1GatewayOffV1PathGet6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathPatch6ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathGet6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPatch6Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathGet6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathPatch6AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathGet6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPatch6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathGet6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathPatch6Arguments( + PrepareProxyOffV1GatewayOffV1PathGet6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathPatch6SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathPatch6Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathGet6SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathGet6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathPatch6Request( + PrepareProxyOffV1GatewayOffV1PathGet6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch6", - methodName: "ProxyOffV1GatewayOffV1PathPatch6Async", + operationId: "ProxyOffV1GatewayOffV1PathGet6", + methodName: "ProxyOffV1GatewayOffV1PathGet6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch6", - methodName: "ProxyOffV1GatewayOffV1PathPatch6Async", + operationId: "ProxyOffV1GatewayOffV1PathGet6", + methodName: "ProxyOffV1GatewayOffV1PathGet6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch6", - methodName: "ProxyOffV1GatewayOffV1PathPatch6Async", + operationId: "ProxyOffV1GatewayOffV1PathGet6", + methodName: "ProxyOffV1GatewayOffV1PathGet6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathPatch6Response( + ProcessProxyOffV1GatewayOffV1PathGet6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch6", - methodName: "ProxyOffV1GatewayOffV1PathPatch6Async", + operationId: "ProxyOffV1GatewayOffV1PathGet6", + methodName: "ProxyOffV1GatewayOffV1PathGet6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathPatch6", - methodName: "ProxyOffV1GatewayOffV1PathPatch6Async", + operationId: "ProxyOffV1GatewayOffV1PathGet6", + methodName: "ProxyOffV1GatewayOffV1PathGet6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathPatch6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathPatch6ResponseContent( + ProcessProxyOffV1GatewayOffV1PathGet6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet.g.cs index 9f0c785d..f4bfdbc9 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathPatchSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathGetSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathPatchSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathGetSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathPatchSecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathGetSecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathPatchArguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathGetArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathPatchRequest( + partial void PrepareProxyOffV1TokenwiseOffV1PathGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathPatchResponse( + partial void ProcessProxyOffV1TokenwiseOffV1PathGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathPatchResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathGetResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPatchAsync( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathPatchAsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathGetAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPatchAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatchResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathPatchArguments( + PrepareProxyOffV1TokenwiseOffV1PathGetArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatchResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathPatchSecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathPatchAsync"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathGetSecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathGetAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatchResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathPatchRequest( + PrepareProxyOffV1TokenwiseOffV1PathGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch", - methodName: "ProxyOffV1TokenwiseOffV1PathPatchAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathGet", + methodName: "ProxyOffV1TokenwiseOffV1PathGetAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch", - methodName: "ProxyOffV1TokenwiseOffV1PathPatchAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathGet", + methodName: "ProxyOffV1TokenwiseOffV1PathGetAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch", - methodName: "ProxyOffV1TokenwiseOffV1PathPatchAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathGet", + methodName: "ProxyOffV1TokenwiseOffV1PathGetAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatchResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathPatchResponse( + ProcessProxyOffV1TokenwiseOffV1PathGetResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch", - methodName: "ProxyOffV1TokenwiseOffV1PathPatchAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathGet", + methodName: "ProxyOffV1TokenwiseOffV1PathGetAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch", - methodName: "ProxyOffV1TokenwiseOffV1PathPatchAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathGet", + methodName: "ProxyOffV1TokenwiseOffV1PathGetAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatchResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathPatchResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathGetResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet2.g.cs index 836c47ba..0e74fb58 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathPatch2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathGet2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathPatch2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathGet2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathPatch2SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathGet2SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathPatch2Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathGet2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathPatch2Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathGet2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathPatch2Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathGet2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathPatch2ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathGet2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPatch2Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathPatch2AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathGet2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPatch2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathPatch2Arguments( + PrepareProxyOffV1TokenwiseOffV1PathGet2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathPatch2SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathPatch2Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathGet2SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathGet2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathPatch2Request( + PrepareProxyOffV1TokenwiseOffV1PathGet2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch2", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet2", + methodName: "ProxyOffV1TokenwiseOffV1PathGet2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch2", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet2", + methodName: "ProxyOffV1TokenwiseOffV1PathGet2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch2", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet2", + methodName: "ProxyOffV1TokenwiseOffV1PathGet2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathPatch2Response( + ProcessProxyOffV1TokenwiseOffV1PathGet2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch2", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet2", + methodName: "ProxyOffV1TokenwiseOffV1PathGet2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch2", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet2", + methodName: "ProxyOffV1TokenwiseOffV1PathGet2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathPatch2ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathGet2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet3.g.cs index eb898f6c..0386c69d 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathPatch3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathGet3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathPatch3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathGet3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathPatch3SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathGet3SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathPatch3Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathGet3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathPatch3Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathGet3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathPatch3Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathGet3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathPatch3ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathGet3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPatch3Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathPatch3AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathGet3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPatch3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathPatch3Arguments( + PrepareProxyOffV1TokenwiseOffV1PathGet3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathPatch3SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathPatch3Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathGet3SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathGet3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathPatch3Request( + PrepareProxyOffV1TokenwiseOffV1PathGet3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch3", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet3", + methodName: "ProxyOffV1TokenwiseOffV1PathGet3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch3", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet3", + methodName: "ProxyOffV1TokenwiseOffV1PathGet3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch3", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet3", + methodName: "ProxyOffV1TokenwiseOffV1PathGet3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathPatch3Response( + ProcessProxyOffV1TokenwiseOffV1PathGet3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch3", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet3", + methodName: "ProxyOffV1TokenwiseOffV1PathGet3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch3", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet3", + methodName: "ProxyOffV1TokenwiseOffV1PathGet3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathPatch3ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathGet3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet4.g.cs index 77630edc..82b48030 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathPatch4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathGet4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathPatch4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathGet4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathPatch4SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathGet4SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathPatch4Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathGet4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathPatch4Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathGet4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathPatch4Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathGet4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathPatch4ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathGet4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPatch4Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathPatch4AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathGet4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPatch4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathPatch4Arguments( + PrepareProxyOffV1TokenwiseOffV1PathGet4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathPatch4SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathPatch4Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathGet4SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathGet4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathPatch4Request( + PrepareProxyOffV1TokenwiseOffV1PathGet4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch4", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet4", + methodName: "ProxyOffV1TokenwiseOffV1PathGet4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch4", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet4", + methodName: "ProxyOffV1TokenwiseOffV1PathGet4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch4", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet4", + methodName: "ProxyOffV1TokenwiseOffV1PathGet4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathPatch4Response( + ProcessProxyOffV1TokenwiseOffV1PathGet4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch4", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet4", + methodName: "ProxyOffV1TokenwiseOffV1PathGet4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch4", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet4", + methodName: "ProxyOffV1TokenwiseOffV1PathGet4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathPatch4ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathGet4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet5.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet5.g.cs index ba83bdd4..b1fbd1e4 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathPatch5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathGet5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathPatch5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathGet5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathPatch5SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathGet5SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathPatch5Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathGet5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathPatch5Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathGet5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathPatch5Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathGet5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathPatch5ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathGet5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPatch5Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathGet5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathPatch5AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathGet5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPatch5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathGet5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathPatch5Arguments( + PrepareProxyOffV1TokenwiseOffV1PathGet5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathPatch5SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathPatch5Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathGet5SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathGet5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathPatch5Request( + PrepareProxyOffV1TokenwiseOffV1PathGet5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch5", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet5", + methodName: "ProxyOffV1TokenwiseOffV1PathGet5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch5", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet5", + methodName: "ProxyOffV1TokenwiseOffV1PathGet5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch5", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet5", + methodName: "ProxyOffV1TokenwiseOffV1PathGet5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathPatch5Response( + ProcessProxyOffV1TokenwiseOffV1PathGet5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch5", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet5", + methodName: "ProxyOffV1TokenwiseOffV1PathGet5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch5", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet5", + methodName: "ProxyOffV1TokenwiseOffV1PathGet5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathPatch5ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathGet5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet6.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet6.g.cs index 34d620f6..07e70547 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPatch6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathGet6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathPatch6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathGet6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathPatch6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathGet6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathPatch6SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathGet6SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathPatch6Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathGet6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathPatch6Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathGet6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathPatch6Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathGet6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathPatch6ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathGet6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPatch6Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathGet6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathPatch6AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathGet6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPatch6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathGet6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathPatch6Arguments( + PrepareProxyOffV1TokenwiseOffV1PathGet6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathPatch6SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathPatch6Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathGet6SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathGet6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathPatch6Request( + PrepareProxyOffV1TokenwiseOffV1PathGet6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch6", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet6", + methodName: "ProxyOffV1TokenwiseOffV1PathGet6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch6", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet6", + methodName: "ProxyOffV1TokenwiseOffV1PathGet6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch6", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet6", + methodName: "ProxyOffV1TokenwiseOffV1PathGet6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathPatch6Response( + ProcessProxyOffV1TokenwiseOffV1PathGet6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch6", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet6", + methodName: "ProxyOffV1TokenwiseOffV1PathGet6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathPatch6", - methodName: "ProxyOffV1TokenwiseOffV1PathPatch6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathGet6", + methodName: "ProxyOffV1TokenwiseOffV1PathGet6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathPatch6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathPatch6ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathGet6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet.g.cs index eb74b12d..47a3cdb9 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathPatchSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathGetSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathPatchSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathGetSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathPatchSecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathGetSecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathPatchArguments( + partial void PrepareProxyOnV1GatewayOnV1PathGetArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathPatchRequest( + partial void PrepareProxyOnV1GatewayOnV1PathGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathPatchResponse( + partial void ProcessProxyOnV1GatewayOnV1PathGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathPatchResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathGetResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPatchAsync( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathPatchAsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathGetAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPatchAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatchResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathPatchArguments( + PrepareProxyOnV1GatewayOnV1PathGetArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatchResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathPatchSecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathPatchAsync"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathGetSecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathGetAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatchResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathPatchRequest( + PrepareProxyOnV1GatewayOnV1PathGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch", - methodName: "ProxyOnV1GatewayOnV1PathPatchAsync", + operationId: "ProxyOnV1GatewayOnV1PathGet", + methodName: "ProxyOnV1GatewayOnV1PathGetAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch", - methodName: "ProxyOnV1GatewayOnV1PathPatchAsync", + operationId: "ProxyOnV1GatewayOnV1PathGet", + methodName: "ProxyOnV1GatewayOnV1PathGetAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch", - methodName: "ProxyOnV1GatewayOnV1PathPatchAsync", + operationId: "ProxyOnV1GatewayOnV1PathGet", + methodName: "ProxyOnV1GatewayOnV1PathGetAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatchResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathPatchResponse( + ProcessProxyOnV1GatewayOnV1PathGetResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch", - methodName: "ProxyOnV1GatewayOnV1PathPatchAsync", + operationId: "ProxyOnV1GatewayOnV1PathGet", + methodName: "ProxyOnV1GatewayOnV1PathGetAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch", - methodName: "ProxyOnV1GatewayOnV1PathPatchAsync", + operationId: "ProxyOnV1GatewayOnV1PathGet", + methodName: "ProxyOnV1GatewayOnV1PathGetAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatchResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathPatchResponseContent( + ProcessProxyOnV1GatewayOnV1PathGetResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet2.g.cs index 5a3ff2e5..278e17f3 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathPatch2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathGet2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathPatch2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathGet2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathPatch2SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathGet2SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathPatch2Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathGet2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathPatch2Request( + partial void PrepareProxyOnV1GatewayOnV1PathGet2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathPatch2Response( + partial void ProcessProxyOnV1GatewayOnV1PathGet2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathPatch2ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathGet2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPatch2Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathPatch2AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathGet2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPatch2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathPatch2Arguments( + PrepareProxyOnV1GatewayOnV1PathGet2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathPatch2SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathPatch2Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathGet2SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathGet2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathPatch2Request( + PrepareProxyOnV1GatewayOnV1PathGet2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch2", - methodName: "ProxyOnV1GatewayOnV1PathPatch2Async", + operationId: "ProxyOnV1GatewayOnV1PathGet2", + methodName: "ProxyOnV1GatewayOnV1PathGet2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch2", - methodName: "ProxyOnV1GatewayOnV1PathPatch2Async", + operationId: "ProxyOnV1GatewayOnV1PathGet2", + methodName: "ProxyOnV1GatewayOnV1PathGet2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch2", - methodName: "ProxyOnV1GatewayOnV1PathPatch2Async", + operationId: "ProxyOnV1GatewayOnV1PathGet2", + methodName: "ProxyOnV1GatewayOnV1PathGet2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathPatch2Response( + ProcessProxyOnV1GatewayOnV1PathGet2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch2", - methodName: "ProxyOnV1GatewayOnV1PathPatch2Async", + operationId: "ProxyOnV1GatewayOnV1PathGet2", + methodName: "ProxyOnV1GatewayOnV1PathGet2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch2", - methodName: "ProxyOnV1GatewayOnV1PathPatch2Async", + operationId: "ProxyOnV1GatewayOnV1PathGet2", + methodName: "ProxyOnV1GatewayOnV1PathGet2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathPatch2ResponseContent( + ProcessProxyOnV1GatewayOnV1PathGet2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet3.g.cs index e5d7e11a..975219a5 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathPatch3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathGet3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathPatch3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathGet3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathPatch3SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathGet3SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathPatch3Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathGet3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathPatch3Request( + partial void PrepareProxyOnV1GatewayOnV1PathGet3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathPatch3Response( + partial void ProcessProxyOnV1GatewayOnV1PathGet3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathPatch3ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathGet3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPatch3Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathPatch3AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathGet3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPatch3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathPatch3Arguments( + PrepareProxyOnV1GatewayOnV1PathGet3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathPatch3SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathPatch3Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathGet3SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathGet3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathPatch3Request( + PrepareProxyOnV1GatewayOnV1PathGet3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch3", - methodName: "ProxyOnV1GatewayOnV1PathPatch3Async", + operationId: "ProxyOnV1GatewayOnV1PathGet3", + methodName: "ProxyOnV1GatewayOnV1PathGet3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch3", - methodName: "ProxyOnV1GatewayOnV1PathPatch3Async", + operationId: "ProxyOnV1GatewayOnV1PathGet3", + methodName: "ProxyOnV1GatewayOnV1PathGet3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch3", - methodName: "ProxyOnV1GatewayOnV1PathPatch3Async", + operationId: "ProxyOnV1GatewayOnV1PathGet3", + methodName: "ProxyOnV1GatewayOnV1PathGet3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathPatch3Response( + ProcessProxyOnV1GatewayOnV1PathGet3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch3", - methodName: "ProxyOnV1GatewayOnV1PathPatch3Async", + operationId: "ProxyOnV1GatewayOnV1PathGet3", + methodName: "ProxyOnV1GatewayOnV1PathGet3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch3", - methodName: "ProxyOnV1GatewayOnV1PathPatch3Async", + operationId: "ProxyOnV1GatewayOnV1PathGet3", + methodName: "ProxyOnV1GatewayOnV1PathGet3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathPatch3ResponseContent( + ProcessProxyOnV1GatewayOnV1PathGet3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet4.g.cs index 1206b0ba..b030b3ef 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathPatch4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathGet4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathPatch4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathGet4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathPatch4SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathGet4SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathPatch4Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathGet4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathPatch4Request( + partial void PrepareProxyOnV1GatewayOnV1PathGet4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathPatch4Response( + partial void ProcessProxyOnV1GatewayOnV1PathGet4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathPatch4ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathGet4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPatch4Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathPatch4AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathGet4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPatch4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathPatch4Arguments( + PrepareProxyOnV1GatewayOnV1PathGet4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathPatch4SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathPatch4Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathGet4SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathGet4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathPatch4Request( + PrepareProxyOnV1GatewayOnV1PathGet4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch4", - methodName: "ProxyOnV1GatewayOnV1PathPatch4Async", + operationId: "ProxyOnV1GatewayOnV1PathGet4", + methodName: "ProxyOnV1GatewayOnV1PathGet4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch4", - methodName: "ProxyOnV1GatewayOnV1PathPatch4Async", + operationId: "ProxyOnV1GatewayOnV1PathGet4", + methodName: "ProxyOnV1GatewayOnV1PathGet4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch4", - methodName: "ProxyOnV1GatewayOnV1PathPatch4Async", + operationId: "ProxyOnV1GatewayOnV1PathGet4", + methodName: "ProxyOnV1GatewayOnV1PathGet4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathPatch4Response( + ProcessProxyOnV1GatewayOnV1PathGet4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch4", - methodName: "ProxyOnV1GatewayOnV1PathPatch4Async", + operationId: "ProxyOnV1GatewayOnV1PathGet4", + methodName: "ProxyOnV1GatewayOnV1PathGet4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch4", - methodName: "ProxyOnV1GatewayOnV1PathPatch4Async", + operationId: "ProxyOnV1GatewayOnV1PathGet4", + methodName: "ProxyOnV1GatewayOnV1PathGet4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathPatch4ResponseContent( + ProcessProxyOnV1GatewayOnV1PathGet4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet5.g.cs index 809b4350..80c51d51 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathPatch5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathGet5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathPatch5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathGet5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathPatch5SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathGet5SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathPatch5Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathGet5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathPatch5Request( + partial void PrepareProxyOnV1GatewayOnV1PathGet5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathPatch5Response( + partial void ProcessProxyOnV1GatewayOnV1PathGet5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathPatch5ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathGet5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPatch5Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathGet5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathPatch5AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathGet5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPatch5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathGet5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathPatch5Arguments( + PrepareProxyOnV1GatewayOnV1PathGet5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathPatch5SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathPatch5Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathGet5SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathGet5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathPatch5Request( + PrepareProxyOnV1GatewayOnV1PathGet5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch5", - methodName: "ProxyOnV1GatewayOnV1PathPatch5Async", + operationId: "ProxyOnV1GatewayOnV1PathGet5", + methodName: "ProxyOnV1GatewayOnV1PathGet5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch5", - methodName: "ProxyOnV1GatewayOnV1PathPatch5Async", + operationId: "ProxyOnV1GatewayOnV1PathGet5", + methodName: "ProxyOnV1GatewayOnV1PathGet5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch5", - methodName: "ProxyOnV1GatewayOnV1PathPatch5Async", + operationId: "ProxyOnV1GatewayOnV1PathGet5", + methodName: "ProxyOnV1GatewayOnV1PathGet5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathPatch5Response( + ProcessProxyOnV1GatewayOnV1PathGet5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch5", - methodName: "ProxyOnV1GatewayOnV1PathPatch5Async", + operationId: "ProxyOnV1GatewayOnV1PathGet5", + methodName: "ProxyOnV1GatewayOnV1PathGet5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch5", - methodName: "ProxyOnV1GatewayOnV1PathPatch5Async", + operationId: "ProxyOnV1GatewayOnV1PathGet5", + methodName: "ProxyOnV1GatewayOnV1PathGet5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathPatch5ResponseContent( + ProcessProxyOnV1GatewayOnV1PathGet5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet6.g.cs index c9cb721d..59ce4c33 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPatch6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathGet6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathPatch6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathGet6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathPatch6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathGet6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathPatch6SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathGet6SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathPatch6Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathGet6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathPatch6Request( + partial void PrepareProxyOnV1GatewayOnV1PathGet6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathPatch6Response( + partial void ProcessProxyOnV1GatewayOnV1PathGet6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathPatch6ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathGet6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPatch6Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathGet6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathPatch6AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathGet6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPatch6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathGet6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathPatch6Arguments( + PrepareProxyOnV1GatewayOnV1PathGet6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathPatch6SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathPatch6Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathGet6SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathGet6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathPatch6Request( + PrepareProxyOnV1GatewayOnV1PathGet6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch6", - methodName: "ProxyOnV1GatewayOnV1PathPatch6Async", + operationId: "ProxyOnV1GatewayOnV1PathGet6", + methodName: "ProxyOnV1GatewayOnV1PathGet6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch6", - methodName: "ProxyOnV1GatewayOnV1PathPatch6Async", + operationId: "ProxyOnV1GatewayOnV1PathGet6", + methodName: "ProxyOnV1GatewayOnV1PathGet6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch6", - methodName: "ProxyOnV1GatewayOnV1PathPatch6Async", + operationId: "ProxyOnV1GatewayOnV1PathGet6", + methodName: "ProxyOnV1GatewayOnV1PathGet6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathPatch6Response( + ProcessProxyOnV1GatewayOnV1PathGet6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch6", - methodName: "ProxyOnV1GatewayOnV1PathPatch6Async", + operationId: "ProxyOnV1GatewayOnV1PathGet6", + methodName: "ProxyOnV1GatewayOnV1PathGet6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathPatch6", - methodName: "ProxyOnV1GatewayOnV1PathPatch6Async", + operationId: "ProxyOnV1GatewayOnV1PathGet6", + methodName: "ProxyOnV1GatewayOnV1PathGet6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathPatch6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathPatch6ResponseContent( + ProcessProxyOnV1GatewayOnV1PathGet6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet.g.cs index 7d8110c5..f7ac8297 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathPatchSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathGetSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathPatchSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathGetSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathPatchSecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathGetSecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathPatchArguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathGetArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathPatchRequest( + partial void PrepareProxyOnV1TokenwiseOnV1PathGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathPatchResponse( + partial void ProcessProxyOnV1TokenwiseOnV1PathGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathPatchResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathGetResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPatchAsync( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathPatchAsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathGetAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPatchAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatchResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathPatchArguments( + PrepareProxyOnV1TokenwiseOnV1PathGetArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatchResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathPatchSecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathPatchAsync"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathGetSecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathGetAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatchResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathPatchRequest( + PrepareProxyOnV1TokenwiseOnV1PathGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch", - methodName: "ProxyOnV1TokenwiseOnV1PathPatchAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathGet", + methodName: "ProxyOnV1TokenwiseOnV1PathGetAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch", - methodName: "ProxyOnV1TokenwiseOnV1PathPatchAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathGet", + methodName: "ProxyOnV1TokenwiseOnV1PathGetAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch", - methodName: "ProxyOnV1TokenwiseOnV1PathPatchAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathGet", + methodName: "ProxyOnV1TokenwiseOnV1PathGetAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatchResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathPatchResponse( + ProcessProxyOnV1TokenwiseOnV1PathGetResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch", - methodName: "ProxyOnV1TokenwiseOnV1PathPatchAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathGet", + methodName: "ProxyOnV1TokenwiseOnV1PathGetAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch", - methodName: "ProxyOnV1TokenwiseOnV1PathPatchAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathGet", + methodName: "ProxyOnV1TokenwiseOnV1PathGetAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatchResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathPatchResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathGetResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet2.g.cs index 7d32e218..a3b96489 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathPatch2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathGet2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathPatch2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathGet2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathPatch2SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathGet2SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathPatch2Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathGet2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathPatch2Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathGet2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathPatch2Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathGet2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathPatch2ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathGet2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPatch2Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathPatch2AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathGet2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPatch2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathPatch2Arguments( + PrepareProxyOnV1TokenwiseOnV1PathGet2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathPatch2SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathPatch2Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathGet2SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathGet2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathPatch2Request( + PrepareProxyOnV1TokenwiseOnV1PathGet2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch2", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet2", + methodName: "ProxyOnV1TokenwiseOnV1PathGet2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch2", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet2", + methodName: "ProxyOnV1TokenwiseOnV1PathGet2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch2", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet2", + methodName: "ProxyOnV1TokenwiseOnV1PathGet2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathPatch2Response( + ProcessProxyOnV1TokenwiseOnV1PathGet2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch2", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet2", + methodName: "ProxyOnV1TokenwiseOnV1PathGet2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch2", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet2", + methodName: "ProxyOnV1TokenwiseOnV1PathGet2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathPatch2ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathGet2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet3.g.cs index e5d6be86..7b41c745 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathPatch3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathGet3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathPatch3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathGet3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathPatch3SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathGet3SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathPatch3Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathGet3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathPatch3Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathGet3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathPatch3Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathGet3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathPatch3ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathGet3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPatch3Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathPatch3AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathGet3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPatch3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathPatch3Arguments( + PrepareProxyOnV1TokenwiseOnV1PathGet3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathPatch3SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathPatch3Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathGet3SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathGet3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathPatch3Request( + PrepareProxyOnV1TokenwiseOnV1PathGet3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch3", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet3", + methodName: "ProxyOnV1TokenwiseOnV1PathGet3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch3", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet3", + methodName: "ProxyOnV1TokenwiseOnV1PathGet3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch3", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet3", + methodName: "ProxyOnV1TokenwiseOnV1PathGet3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathPatch3Response( + ProcessProxyOnV1TokenwiseOnV1PathGet3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch3", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet3", + methodName: "ProxyOnV1TokenwiseOnV1PathGet3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch3", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet3", + methodName: "ProxyOnV1TokenwiseOnV1PathGet3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathPatch3ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathGet3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet4.g.cs index 65be6c21..38d11a9c 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathPatch4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathGet4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathPatch4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathGet4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathPatch4SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathGet4SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathPatch4Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathGet4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathPatch4Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathGet4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathPatch4Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathGet4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathPatch4ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathGet4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPatch4Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathPatch4AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathGet4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPatch4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathPatch4Arguments( + PrepareProxyOnV1TokenwiseOnV1PathGet4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathPatch4SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathPatch4Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathGet4SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathGet4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathPatch4Request( + PrepareProxyOnV1TokenwiseOnV1PathGet4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch4", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet4", + methodName: "ProxyOnV1TokenwiseOnV1PathGet4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch4", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet4", + methodName: "ProxyOnV1TokenwiseOnV1PathGet4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch4", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet4", + methodName: "ProxyOnV1TokenwiseOnV1PathGet4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathPatch4Response( + ProcessProxyOnV1TokenwiseOnV1PathGet4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch4", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet4", + methodName: "ProxyOnV1TokenwiseOnV1PathGet4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch4", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet4", + methodName: "ProxyOnV1TokenwiseOnV1PathGet4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathPatch4ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathGet4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet5.g.cs index fe8ae051..e5752160 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathPatch5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathGet5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathPatch5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathGet5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathPatch5SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathGet5SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathPatch5Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathGet5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathPatch5Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathGet5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathPatch5Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathGet5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathPatch5ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathGet5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPatch5Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathGet5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathPatch5AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathGet5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPatch5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathGet5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathPatch5Arguments( + PrepareProxyOnV1TokenwiseOnV1PathGet5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathPatch5SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathPatch5Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathGet5SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathGet5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathPatch5Request( + PrepareProxyOnV1TokenwiseOnV1PathGet5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch5", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet5", + methodName: "ProxyOnV1TokenwiseOnV1PathGet5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch5", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet5", + methodName: "ProxyOnV1TokenwiseOnV1PathGet5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch5", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet5", + methodName: "ProxyOnV1TokenwiseOnV1PathGet5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathPatch5Response( + ProcessProxyOnV1TokenwiseOnV1PathGet5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch5", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet5", + methodName: "ProxyOnV1TokenwiseOnV1PathGet5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch5", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet5", + methodName: "ProxyOnV1TokenwiseOnV1PathGet5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathPatch5ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathGet5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet6.g.cs index 97b85c79..38fc3946 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPatch6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathGet6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathPatch6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathGet6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathPatch6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathGet6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathPatch6SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathGet6SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathPatch6Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathGet6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathPatch6Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathGet6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathPatch6Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathGet6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathPatch6ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathGet6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPatch6Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathGet6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathPatch6AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathGet6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPatch6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathGet6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathPatch6Arguments( + PrepareProxyOnV1TokenwiseOnV1PathGet6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathPatch6SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathPatch6Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathGet6SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathGet6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathPatch6Request( + PrepareProxyOnV1TokenwiseOnV1PathGet6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch6", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet6", + methodName: "ProxyOnV1TokenwiseOnV1PathGet6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch6", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet6", + methodName: "ProxyOnV1TokenwiseOnV1PathGet6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch6", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet6", + methodName: "ProxyOnV1TokenwiseOnV1PathGet6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathPatch6Response( + ProcessProxyOnV1TokenwiseOnV1PathGet6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch6", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet6", + methodName: "ProxyOnV1TokenwiseOnV1PathGet6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathPatch6", - methodName: "ProxyOnV1TokenwiseOnV1PathPatch6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathGet6", + methodName: "ProxyOnV1TokenwiseOnV1PathGet6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathPatch6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathPatch6ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathGet6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet.g.cs index 821a9b7f..8a05dfc0 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathPatchSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathGetSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathPatchSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathGetSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathPatchSecurityRequirement0, + { s_ProxyV1GatewayV1PathGetSecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathPatchArguments( + partial void PrepareProxyV1GatewayV1PathGetArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathPatchRequest( + partial void PrepareProxyV1GatewayV1PathGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathPatchResponse( + partial void ProcessProxyV1GatewayV1PathGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathPatchResponseContent( + partial void ProcessProxyV1GatewayV1PathGetResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPatchAsync( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathPatchAsResponseAsync( + var __response = await ProxyV1GatewayV1PathGetAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPatchAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathPatchResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathPatchArguments( + PrepareProxyV1GatewayV1PathGetArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathPatchResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathPatchSecurityRequirements, - operationName: "ProxyV1GatewayV1PathPatchAsync"); + securityRequirements: s_ProxyV1GatewayV1PathGetSecurityRequirements, + operationName: "ProxyV1GatewayV1PathGetAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathPatchResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathPatchRequest( + PrepareProxyV1GatewayV1PathGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch", - methodName: "ProxyV1GatewayV1PathPatchAsync", + operationId: "ProxyV1GatewayV1PathGet", + methodName: "ProxyV1GatewayV1PathGetAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch", - methodName: "ProxyV1GatewayV1PathPatchAsync", + operationId: "ProxyV1GatewayV1PathGet", + methodName: "ProxyV1GatewayV1PathGetAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch", - methodName: "ProxyV1GatewayV1PathPatchAsync", + operationId: "ProxyV1GatewayV1PathGet", + methodName: "ProxyV1GatewayV1PathGetAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathPatchResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathPatchResponse( + ProcessProxyV1GatewayV1PathGetResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch", - methodName: "ProxyV1GatewayV1PathPatchAsync", + operationId: "ProxyV1GatewayV1PathGet", + methodName: "ProxyV1GatewayV1PathGetAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch", - methodName: "ProxyV1GatewayV1PathPatchAsync", + operationId: "ProxyV1GatewayV1PathGet", + methodName: "ProxyV1GatewayV1PathGetAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathPatchResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathPatchResponseContent( + ProcessProxyV1GatewayV1PathGetResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet2.g.cs index c8f225ad..0b5c34bc 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathPatch2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathGet2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathPatch2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathGet2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathPatch2SecurityRequirement0, + { s_ProxyV1GatewayV1PathGet2SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathPatch2Arguments( + partial void PrepareProxyV1GatewayV1PathGet2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathPatch2Request( + partial void PrepareProxyV1GatewayV1PathGet2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathPatch2Response( + partial void ProcessProxyV1GatewayV1PathGet2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathPatch2ResponseContent( + partial void ProcessProxyV1GatewayV1PathGet2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPatch2Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathPatch2AsResponseAsync( + var __response = await ProxyV1GatewayV1PathGet2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPatch2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathPatch2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathPatch2Arguments( + PrepareProxyV1GatewayV1PathGet2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathPatch2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathPatch2SecurityRequirements, - operationName: "ProxyV1GatewayV1PathPatch2Async"); + securityRequirements: s_ProxyV1GatewayV1PathGet2SecurityRequirements, + operationName: "ProxyV1GatewayV1PathGet2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathPatch2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathPatch2Request( + PrepareProxyV1GatewayV1PathGet2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch2", - methodName: "ProxyV1GatewayV1PathPatch2Async", + operationId: "ProxyV1GatewayV1PathGet2", + methodName: "ProxyV1GatewayV1PathGet2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch2", - methodName: "ProxyV1GatewayV1PathPatch2Async", + operationId: "ProxyV1GatewayV1PathGet2", + methodName: "ProxyV1GatewayV1PathGet2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch2", - methodName: "ProxyV1GatewayV1PathPatch2Async", + operationId: "ProxyV1GatewayV1PathGet2", + methodName: "ProxyV1GatewayV1PathGet2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathPatch2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathPatch2Response( + ProcessProxyV1GatewayV1PathGet2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch2", - methodName: "ProxyV1GatewayV1PathPatch2Async", + operationId: "ProxyV1GatewayV1PathGet2", + methodName: "ProxyV1GatewayV1PathGet2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch2", - methodName: "ProxyV1GatewayV1PathPatch2Async", + operationId: "ProxyV1GatewayV1PathGet2", + methodName: "ProxyV1GatewayV1PathGet2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathPatch2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathPatch2ResponseContent( + ProcessProxyV1GatewayV1PathGet2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet3.g.cs index 0f968d92..880beab3 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathPatch3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathGet3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathPatch3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathGet3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathPatch3SecurityRequirement0, + { s_ProxyV1GatewayV1PathGet3SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathPatch3Arguments( + partial void PrepareProxyV1GatewayV1PathGet3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathPatch3Request( + partial void PrepareProxyV1GatewayV1PathGet3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathPatch3Response( + partial void ProcessProxyV1GatewayV1PathGet3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathPatch3ResponseContent( + partial void ProcessProxyV1GatewayV1PathGet3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPatch3Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathPatch3AsResponseAsync( + var __response = await ProxyV1GatewayV1PathGet3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPatch3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathPatch3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathPatch3Arguments( + PrepareProxyV1GatewayV1PathGet3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathPatch3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathPatch3SecurityRequirements, - operationName: "ProxyV1GatewayV1PathPatch3Async"); + securityRequirements: s_ProxyV1GatewayV1PathGet3SecurityRequirements, + operationName: "ProxyV1GatewayV1PathGet3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathPatch3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathPatch3Request( + PrepareProxyV1GatewayV1PathGet3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch3", - methodName: "ProxyV1GatewayV1PathPatch3Async", + operationId: "ProxyV1GatewayV1PathGet3", + methodName: "ProxyV1GatewayV1PathGet3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch3", - methodName: "ProxyV1GatewayV1PathPatch3Async", + operationId: "ProxyV1GatewayV1PathGet3", + methodName: "ProxyV1GatewayV1PathGet3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch3", - methodName: "ProxyV1GatewayV1PathPatch3Async", + operationId: "ProxyV1GatewayV1PathGet3", + methodName: "ProxyV1GatewayV1PathGet3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathPatch3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathPatch3Response( + ProcessProxyV1GatewayV1PathGet3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch3", - methodName: "ProxyV1GatewayV1PathPatch3Async", + operationId: "ProxyV1GatewayV1PathGet3", + methodName: "ProxyV1GatewayV1PathGet3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch3", - methodName: "ProxyV1GatewayV1PathPatch3Async", + operationId: "ProxyV1GatewayV1PathGet3", + methodName: "ProxyV1GatewayV1PathGet3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathPatch3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathPatch3ResponseContent( + ProcessProxyV1GatewayV1PathGet3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet4.g.cs index de926cc1..b6b7b7de 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathPatch4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathGet4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathPatch4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathGet4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathPatch4SecurityRequirement0, + { s_ProxyV1GatewayV1PathGet4SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathPatch4Arguments( + partial void PrepareProxyV1GatewayV1PathGet4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathPatch4Request( + partial void PrepareProxyV1GatewayV1PathGet4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathPatch4Response( + partial void ProcessProxyV1GatewayV1PathGet4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathPatch4ResponseContent( + partial void ProcessProxyV1GatewayV1PathGet4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPatch4Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathPatch4AsResponseAsync( + var __response = await ProxyV1GatewayV1PathGet4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPatch4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathPatch4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathPatch4Arguments( + PrepareProxyV1GatewayV1PathGet4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathPatch4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathPatch4SecurityRequirements, - operationName: "ProxyV1GatewayV1PathPatch4Async"); + securityRequirements: s_ProxyV1GatewayV1PathGet4SecurityRequirements, + operationName: "ProxyV1GatewayV1PathGet4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathPatch4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathPatch4Request( + PrepareProxyV1GatewayV1PathGet4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch4", - methodName: "ProxyV1GatewayV1PathPatch4Async", + operationId: "ProxyV1GatewayV1PathGet4", + methodName: "ProxyV1GatewayV1PathGet4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch4", - methodName: "ProxyV1GatewayV1PathPatch4Async", + operationId: "ProxyV1GatewayV1PathGet4", + methodName: "ProxyV1GatewayV1PathGet4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch4", - methodName: "ProxyV1GatewayV1PathPatch4Async", + operationId: "ProxyV1GatewayV1PathGet4", + methodName: "ProxyV1GatewayV1PathGet4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathPatch4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathPatch4Response( + ProcessProxyV1GatewayV1PathGet4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch4", - methodName: "ProxyV1GatewayV1PathPatch4Async", + operationId: "ProxyV1GatewayV1PathGet4", + methodName: "ProxyV1GatewayV1PathGet4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch4", - methodName: "ProxyV1GatewayV1PathPatch4Async", + operationId: "ProxyV1GatewayV1PathGet4", + methodName: "ProxyV1GatewayV1PathGet4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathPatch4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathPatch4ResponseContent( + ProcessProxyV1GatewayV1PathGet4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet5.g.cs index 6015ffcc..224ac456 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathPatch5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathGet5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathPatch5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathGet5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathPatch5SecurityRequirement0, + { s_ProxyV1GatewayV1PathGet5SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathPatch5Arguments( + partial void PrepareProxyV1GatewayV1PathGet5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathPatch5Request( + partial void PrepareProxyV1GatewayV1PathGet5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathPatch5Response( + partial void ProcessProxyV1GatewayV1PathGet5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathPatch5ResponseContent( + partial void ProcessProxyV1GatewayV1PathGet5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPatch5Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathGet5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathPatch5AsResponseAsync( + var __response = await ProxyV1GatewayV1PathGet5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPatch5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathGet5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathPatch5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathPatch5Arguments( + PrepareProxyV1GatewayV1PathGet5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathPatch5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathPatch5SecurityRequirements, - operationName: "ProxyV1GatewayV1PathPatch5Async"); + securityRequirements: s_ProxyV1GatewayV1PathGet5SecurityRequirements, + operationName: "ProxyV1GatewayV1PathGet5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathPatch5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathPatch5Request( + PrepareProxyV1GatewayV1PathGet5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch5", - methodName: "ProxyV1GatewayV1PathPatch5Async", + operationId: "ProxyV1GatewayV1PathGet5", + methodName: "ProxyV1GatewayV1PathGet5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch5", - methodName: "ProxyV1GatewayV1PathPatch5Async", + operationId: "ProxyV1GatewayV1PathGet5", + methodName: "ProxyV1GatewayV1PathGet5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch5", - methodName: "ProxyV1GatewayV1PathPatch5Async", + operationId: "ProxyV1GatewayV1PathGet5", + methodName: "ProxyV1GatewayV1PathGet5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathPatch5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathPatch5Response( + ProcessProxyV1GatewayV1PathGet5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch5", - methodName: "ProxyV1GatewayV1PathPatch5Async", + operationId: "ProxyV1GatewayV1PathGet5", + methodName: "ProxyV1GatewayV1PathGet5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch5", - methodName: "ProxyV1GatewayV1PathPatch5Async", + operationId: "ProxyV1GatewayV1PathGet5", + methodName: "ProxyV1GatewayV1PathGet5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathPatch5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathPatch5ResponseContent( + ProcessProxyV1GatewayV1PathGet5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet6.g.cs index e1fd2983..980ae824 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPatch6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathGet6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathPatch6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathGet6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathPatch6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathGet6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathPatch6SecurityRequirement0, + { s_ProxyV1GatewayV1PathGet6SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathPatch6Arguments( + partial void PrepareProxyV1GatewayV1PathGet6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathPatch6Request( + partial void PrepareProxyV1GatewayV1PathGet6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathPatch6Response( + partial void ProcessProxyV1GatewayV1PathGet6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathPatch6ResponseContent( + partial void ProcessProxyV1GatewayV1PathGet6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPatch6Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathGet6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathPatch6AsResponseAsync( + var __response = await ProxyV1GatewayV1PathGet6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPatch6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathGet6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathPatch6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathPatch6Arguments( + PrepareProxyV1GatewayV1PathGet6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathPatch6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathPatch6SecurityRequirements, - operationName: "ProxyV1GatewayV1PathPatch6Async"); + securityRequirements: s_ProxyV1GatewayV1PathGet6SecurityRequirements, + operationName: "ProxyV1GatewayV1PathGet6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathPatch6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathPatch6Request( + PrepareProxyV1GatewayV1PathGet6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch6", - methodName: "ProxyV1GatewayV1PathPatch6Async", + operationId: "ProxyV1GatewayV1PathGet6", + methodName: "ProxyV1GatewayV1PathGet6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch6", - methodName: "ProxyV1GatewayV1PathPatch6Async", + operationId: "ProxyV1GatewayV1PathGet6", + methodName: "ProxyV1GatewayV1PathGet6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch6", - methodName: "ProxyV1GatewayV1PathPatch6Async", + operationId: "ProxyV1GatewayV1PathGet6", + methodName: "ProxyV1GatewayV1PathGet6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathPatch6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathPatch6Response( + ProcessProxyV1GatewayV1PathGet6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch6", - methodName: "ProxyV1GatewayV1PathPatch6Async", + operationId: "ProxyV1GatewayV1PathGet6", + methodName: "ProxyV1GatewayV1PathGet6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathPatch6", - methodName: "ProxyV1GatewayV1PathPatch6Async", + operationId: "ProxyV1GatewayV1PathGet6", + methodName: "ProxyV1GatewayV1PathGet6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathPatch6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathPatch6ResponseContent( + ProcessProxyV1GatewayV1PathGet6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet.g.cs index f965d1c0..3fe4d4ef 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathPatchSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathGetSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathPatchSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathGetSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathPatchSecurityRequirement0, + { s_ProxyV1TokenwiseV1PathGetSecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathPatchArguments( + partial void PrepareProxyV1TokenwiseV1PathGetArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathPatchRequest( + partial void PrepareProxyV1TokenwiseV1PathGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathPatchResponse( + partial void ProcessProxyV1TokenwiseV1PathGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathPatchResponseContent( + partial void ProcessProxyV1TokenwiseV1PathGetResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPatchAsync( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathPatchAsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathGetAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPatchAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatchResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathPatchArguments( + PrepareProxyV1TokenwiseV1PathGetArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatchResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathPatchSecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathPatchAsync"); + securityRequirements: s_ProxyV1TokenwiseV1PathGetSecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathGetAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatchResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathPatchRequest( + PrepareProxyV1TokenwiseV1PathGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch", - methodName: "ProxyV1TokenwiseV1PathPatchAsync", + operationId: "ProxyV1TokenwiseV1PathGet", + methodName: "ProxyV1TokenwiseV1PathGetAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch", - methodName: "ProxyV1TokenwiseV1PathPatchAsync", + operationId: "ProxyV1TokenwiseV1PathGet", + methodName: "ProxyV1TokenwiseV1PathGetAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch", - methodName: "ProxyV1TokenwiseV1PathPatchAsync", + operationId: "ProxyV1TokenwiseV1PathGet", + methodName: "ProxyV1TokenwiseV1PathGetAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatchResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathPatchResponse( + ProcessProxyV1TokenwiseV1PathGetResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch", - methodName: "ProxyV1TokenwiseV1PathPatchAsync", + operationId: "ProxyV1TokenwiseV1PathGet", + methodName: "ProxyV1TokenwiseV1PathGetAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch", - methodName: "ProxyV1TokenwiseV1PathPatchAsync", + operationId: "ProxyV1TokenwiseV1PathGet", + methodName: "ProxyV1TokenwiseV1PathGetAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatchResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathPatchResponseContent( + ProcessProxyV1TokenwiseV1PathGetResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet2.g.cs index e49560bf..7cc5a521 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathPatch2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathGet2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathPatch2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathGet2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathPatch2SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathGet2SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathPatch2Arguments( + partial void PrepareProxyV1TokenwiseV1PathGet2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathPatch2Request( + partial void PrepareProxyV1TokenwiseV1PathGet2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathPatch2Response( + partial void ProcessProxyV1TokenwiseV1PathGet2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathPatch2ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathGet2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPatch2Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathPatch2AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathGet2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPatch2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathPatch2Arguments( + PrepareProxyV1TokenwiseV1PathGet2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathPatch2SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathPatch2Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathGet2SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathGet2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathPatch2Request( + PrepareProxyV1TokenwiseV1PathGet2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch2", - methodName: "ProxyV1TokenwiseV1PathPatch2Async", + operationId: "ProxyV1TokenwiseV1PathGet2", + methodName: "ProxyV1TokenwiseV1PathGet2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch2", - methodName: "ProxyV1TokenwiseV1PathPatch2Async", + operationId: "ProxyV1TokenwiseV1PathGet2", + methodName: "ProxyV1TokenwiseV1PathGet2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch2", - methodName: "ProxyV1TokenwiseV1PathPatch2Async", + operationId: "ProxyV1TokenwiseV1PathGet2", + methodName: "ProxyV1TokenwiseV1PathGet2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathPatch2Response( + ProcessProxyV1TokenwiseV1PathGet2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch2", - methodName: "ProxyV1TokenwiseV1PathPatch2Async", + operationId: "ProxyV1TokenwiseV1PathGet2", + methodName: "ProxyV1TokenwiseV1PathGet2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch2", - methodName: "ProxyV1TokenwiseV1PathPatch2Async", + operationId: "ProxyV1TokenwiseV1PathGet2", + methodName: "ProxyV1TokenwiseV1PathGet2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathPatch2ResponseContent( + ProcessProxyV1TokenwiseV1PathGet2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet3.g.cs index 88ffaca6..7a85eaed 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathPatch3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathGet3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathPatch3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathGet3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathPatch3SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathGet3SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathPatch3Arguments( + partial void PrepareProxyV1TokenwiseV1PathGet3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathPatch3Request( + partial void PrepareProxyV1TokenwiseV1PathGet3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathPatch3Response( + partial void ProcessProxyV1TokenwiseV1PathGet3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathPatch3ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathGet3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPatch3Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathPatch3AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathGet3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPatch3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathPatch3Arguments( + PrepareProxyV1TokenwiseV1PathGet3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathPatch3SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathPatch3Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathGet3SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathGet3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathPatch3Request( + PrepareProxyV1TokenwiseV1PathGet3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch3", - methodName: "ProxyV1TokenwiseV1PathPatch3Async", + operationId: "ProxyV1TokenwiseV1PathGet3", + methodName: "ProxyV1TokenwiseV1PathGet3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch3", - methodName: "ProxyV1TokenwiseV1PathPatch3Async", + operationId: "ProxyV1TokenwiseV1PathGet3", + methodName: "ProxyV1TokenwiseV1PathGet3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch3", - methodName: "ProxyV1TokenwiseV1PathPatch3Async", + operationId: "ProxyV1TokenwiseV1PathGet3", + methodName: "ProxyV1TokenwiseV1PathGet3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathPatch3Response( + ProcessProxyV1TokenwiseV1PathGet3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch3", - methodName: "ProxyV1TokenwiseV1PathPatch3Async", + operationId: "ProxyV1TokenwiseV1PathGet3", + methodName: "ProxyV1TokenwiseV1PathGet3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch3", - methodName: "ProxyV1TokenwiseV1PathPatch3Async", + operationId: "ProxyV1TokenwiseV1PathGet3", + methodName: "ProxyV1TokenwiseV1PathGet3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathPatch3ResponseContent( + ProcessProxyV1TokenwiseV1PathGet3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet4.g.cs index 786db8d9..fc7292e4 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathPatch4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathGet4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathPatch4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathGet4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathPatch4SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathGet4SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathPatch4Arguments( + partial void PrepareProxyV1TokenwiseV1PathGet4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathPatch4Request( + partial void PrepareProxyV1TokenwiseV1PathGet4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathPatch4Response( + partial void ProcessProxyV1TokenwiseV1PathGet4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathPatch4ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathGet4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPatch4Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathPatch4AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathGet4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPatch4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathPatch4Arguments( + PrepareProxyV1TokenwiseV1PathGet4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathPatch4SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathPatch4Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathGet4SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathGet4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathPatch4Request( + PrepareProxyV1TokenwiseV1PathGet4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch4", - methodName: "ProxyV1TokenwiseV1PathPatch4Async", + operationId: "ProxyV1TokenwiseV1PathGet4", + methodName: "ProxyV1TokenwiseV1PathGet4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch4", - methodName: "ProxyV1TokenwiseV1PathPatch4Async", + operationId: "ProxyV1TokenwiseV1PathGet4", + methodName: "ProxyV1TokenwiseV1PathGet4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch4", - methodName: "ProxyV1TokenwiseV1PathPatch4Async", + operationId: "ProxyV1TokenwiseV1PathGet4", + methodName: "ProxyV1TokenwiseV1PathGet4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathPatch4Response( + ProcessProxyV1TokenwiseV1PathGet4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch4", - methodName: "ProxyV1TokenwiseV1PathPatch4Async", + operationId: "ProxyV1TokenwiseV1PathGet4", + methodName: "ProxyV1TokenwiseV1PathGet4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch4", - methodName: "ProxyV1TokenwiseV1PathPatch4Async", + operationId: "ProxyV1TokenwiseV1PathGet4", + methodName: "ProxyV1TokenwiseV1PathGet4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathPatch4ResponseContent( + ProcessProxyV1TokenwiseV1PathGet4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet5.g.cs index addac3c7..fa6b5f92 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathPatch5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathGet5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathPatch5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathGet5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathPatch5SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathGet5SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathPatch5Arguments( + partial void PrepareProxyV1TokenwiseV1PathGet5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathPatch5Request( + partial void PrepareProxyV1TokenwiseV1PathGet5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathPatch5Response( + partial void ProcessProxyV1TokenwiseV1PathGet5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathPatch5ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathGet5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPatch5Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathGet5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathPatch5AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathGet5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPatch5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathGet5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathPatch5Arguments( + PrepareProxyV1TokenwiseV1PathGet5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathPatch5SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathPatch5Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathGet5SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathGet5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathPatch5Request( + PrepareProxyV1TokenwiseV1PathGet5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch5", - methodName: "ProxyV1TokenwiseV1PathPatch5Async", + operationId: "ProxyV1TokenwiseV1PathGet5", + methodName: "ProxyV1TokenwiseV1PathGet5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch5", - methodName: "ProxyV1TokenwiseV1PathPatch5Async", + operationId: "ProxyV1TokenwiseV1PathGet5", + methodName: "ProxyV1TokenwiseV1PathGet5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch5", - methodName: "ProxyV1TokenwiseV1PathPatch5Async", + operationId: "ProxyV1TokenwiseV1PathGet5", + methodName: "ProxyV1TokenwiseV1PathGet5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathPatch5Response( + ProcessProxyV1TokenwiseV1PathGet5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch5", - methodName: "ProxyV1TokenwiseV1PathPatch5Async", + operationId: "ProxyV1TokenwiseV1PathGet5", + methodName: "ProxyV1TokenwiseV1PathGet5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch5", - methodName: "ProxyV1TokenwiseV1PathPatch5Async", + operationId: "ProxyV1TokenwiseV1PathGet5", + methodName: "ProxyV1TokenwiseV1PathGet5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathPatch5ResponseContent( + ProcessProxyV1TokenwiseV1PathGet5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet6.g.cs index b82d4f51..f6d154f5 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPatch6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathGet6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathPatch6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathGet6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathPatch6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathGet6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathPatch6SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathGet6SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathPatch6Arguments( + partial void PrepareProxyV1TokenwiseV1PathGet6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathPatch6Request( + partial void PrepareProxyV1TokenwiseV1PathGet6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathPatch6Response( + partial void ProcessProxyV1TokenwiseV1PathGet6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathPatch6ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathGet6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPatch6Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathGet6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathPatch6AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathGet6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPatch6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathGet6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathPatch6Arguments( + PrepareProxyV1TokenwiseV1PathGet6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathPatch6SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathPatch6Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathGet6SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathGet6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathPatch6Request( + PrepareProxyV1TokenwiseV1PathGet6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch6", - methodName: "ProxyV1TokenwiseV1PathPatch6Async", + operationId: "ProxyV1TokenwiseV1PathGet6", + methodName: "ProxyV1TokenwiseV1PathGet6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch6", - methodName: "ProxyV1TokenwiseV1PathPatch6Async", + operationId: "ProxyV1TokenwiseV1PathGet6", + methodName: "ProxyV1TokenwiseV1PathGet6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch6", - methodName: "ProxyV1TokenwiseV1PathPatch6Async", + operationId: "ProxyV1TokenwiseV1PathGet6", + methodName: "ProxyV1TokenwiseV1PathGet6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathPatch6Response( + ProcessProxyV1TokenwiseV1PathGet6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch6", - methodName: "ProxyV1TokenwiseV1PathPatch6Async", + operationId: "ProxyV1TokenwiseV1PathGet6", + methodName: "ProxyV1TokenwiseV1PathGet6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathPatch6", - methodName: "ProxyV1TokenwiseV1PathPatch6Async", + operationId: "ProxyV1TokenwiseV1PathGet6", + methodName: "ProxyV1TokenwiseV1PathGet6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathPatch6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathPatch6ResponseContent( + ProcessProxyV1TokenwiseV1PathGet6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet.g.cs index a9a1a646..f7a85096 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathPatchSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathGetSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathPatchSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathGetSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathPatchSecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathGetSecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathPatchArguments( + partial void PrepareProxyV1betaGatewayV1betaPathGetArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathPatchRequest( + partial void PrepareProxyV1betaGatewayV1betaPathGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathPatchResponse( + partial void ProcessProxyV1betaGatewayV1betaPathGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathPatchResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathGetResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPatchAsync( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathPatchAsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathGetAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPatchAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatchResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathPatchArguments( + PrepareProxyV1betaGatewayV1betaPathGetArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatchResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathPatchSecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathPatchAsync"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathGetSecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathGetAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatchResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathPatchRequest( + PrepareProxyV1betaGatewayV1betaPathGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch", - methodName: "ProxyV1betaGatewayV1betaPathPatchAsync", + operationId: "ProxyV1betaGatewayV1betaPathGet", + methodName: "ProxyV1betaGatewayV1betaPathGetAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch", - methodName: "ProxyV1betaGatewayV1betaPathPatchAsync", + operationId: "ProxyV1betaGatewayV1betaPathGet", + methodName: "ProxyV1betaGatewayV1betaPathGetAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch", - methodName: "ProxyV1betaGatewayV1betaPathPatchAsync", + operationId: "ProxyV1betaGatewayV1betaPathGet", + methodName: "ProxyV1betaGatewayV1betaPathGetAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatchResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathPatchResponse( + ProcessProxyV1betaGatewayV1betaPathGetResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch", - methodName: "ProxyV1betaGatewayV1betaPathPatchAsync", + operationId: "ProxyV1betaGatewayV1betaPathGet", + methodName: "ProxyV1betaGatewayV1betaPathGetAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch", - methodName: "ProxyV1betaGatewayV1betaPathPatchAsync", + operationId: "ProxyV1betaGatewayV1betaPathGet", + methodName: "ProxyV1betaGatewayV1betaPathGetAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatchResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathPatchResponseContent( + ProcessProxyV1betaGatewayV1betaPathGetResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet2.g.cs index eba0631f..07a3d3c9 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathPatch2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathGet2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathPatch2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathGet2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathPatch2SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathGet2SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathPatch2Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathGet2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathPatch2Request( + partial void PrepareProxyV1betaGatewayV1betaPathGet2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathPatch2Response( + partial void ProcessProxyV1betaGatewayV1betaPathGet2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathPatch2ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathGet2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPatch2Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathPatch2AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathGet2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPatch2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathPatch2Arguments( + PrepareProxyV1betaGatewayV1betaPathGet2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathPatch2SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathPatch2Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathGet2SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathGet2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathPatch2Request( + PrepareProxyV1betaGatewayV1betaPathGet2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch2", - methodName: "ProxyV1betaGatewayV1betaPathPatch2Async", + operationId: "ProxyV1betaGatewayV1betaPathGet2", + methodName: "ProxyV1betaGatewayV1betaPathGet2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch2", - methodName: "ProxyV1betaGatewayV1betaPathPatch2Async", + operationId: "ProxyV1betaGatewayV1betaPathGet2", + methodName: "ProxyV1betaGatewayV1betaPathGet2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch2", - methodName: "ProxyV1betaGatewayV1betaPathPatch2Async", + operationId: "ProxyV1betaGatewayV1betaPathGet2", + methodName: "ProxyV1betaGatewayV1betaPathGet2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathPatch2Response( + ProcessProxyV1betaGatewayV1betaPathGet2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch2", - methodName: "ProxyV1betaGatewayV1betaPathPatch2Async", + operationId: "ProxyV1betaGatewayV1betaPathGet2", + methodName: "ProxyV1betaGatewayV1betaPathGet2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch2", - methodName: "ProxyV1betaGatewayV1betaPathPatch2Async", + operationId: "ProxyV1betaGatewayV1betaPathGet2", + methodName: "ProxyV1betaGatewayV1betaPathGet2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathPatch2ResponseContent( + ProcessProxyV1betaGatewayV1betaPathGet2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet3.g.cs index 13131803..5615c93e 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathPatch3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathGet3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathPatch3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathGet3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathPatch3SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathGet3SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathPatch3Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathGet3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathPatch3Request( + partial void PrepareProxyV1betaGatewayV1betaPathGet3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathPatch3Response( + partial void ProcessProxyV1betaGatewayV1betaPathGet3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathPatch3ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathGet3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPatch3Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathPatch3AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathGet3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPatch3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathPatch3Arguments( + PrepareProxyV1betaGatewayV1betaPathGet3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathPatch3SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathPatch3Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathGet3SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathGet3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathPatch3Request( + PrepareProxyV1betaGatewayV1betaPathGet3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch3", - methodName: "ProxyV1betaGatewayV1betaPathPatch3Async", + operationId: "ProxyV1betaGatewayV1betaPathGet3", + methodName: "ProxyV1betaGatewayV1betaPathGet3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch3", - methodName: "ProxyV1betaGatewayV1betaPathPatch3Async", + operationId: "ProxyV1betaGatewayV1betaPathGet3", + methodName: "ProxyV1betaGatewayV1betaPathGet3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch3", - methodName: "ProxyV1betaGatewayV1betaPathPatch3Async", + operationId: "ProxyV1betaGatewayV1betaPathGet3", + methodName: "ProxyV1betaGatewayV1betaPathGet3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathPatch3Response( + ProcessProxyV1betaGatewayV1betaPathGet3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch3", - methodName: "ProxyV1betaGatewayV1betaPathPatch3Async", + operationId: "ProxyV1betaGatewayV1betaPathGet3", + methodName: "ProxyV1betaGatewayV1betaPathGet3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch3", - methodName: "ProxyV1betaGatewayV1betaPathPatch3Async", + operationId: "ProxyV1betaGatewayV1betaPathGet3", + methodName: "ProxyV1betaGatewayV1betaPathGet3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathPatch3ResponseContent( + ProcessProxyV1betaGatewayV1betaPathGet3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet4.g.cs index cc76d3ac..ff734e36 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathPatch4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathGet4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathPatch4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathGet4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathPatch4SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathGet4SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathPatch4Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathGet4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathPatch4Request( + partial void PrepareProxyV1betaGatewayV1betaPathGet4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathPatch4Response( + partial void ProcessProxyV1betaGatewayV1betaPathGet4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathPatch4ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathGet4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPatch4Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathPatch4AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathGet4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPatch4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathPatch4Arguments( + PrepareProxyV1betaGatewayV1betaPathGet4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathPatch4SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathPatch4Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathGet4SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathGet4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathPatch4Request( + PrepareProxyV1betaGatewayV1betaPathGet4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch4", - methodName: "ProxyV1betaGatewayV1betaPathPatch4Async", + operationId: "ProxyV1betaGatewayV1betaPathGet4", + methodName: "ProxyV1betaGatewayV1betaPathGet4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch4", - methodName: "ProxyV1betaGatewayV1betaPathPatch4Async", + operationId: "ProxyV1betaGatewayV1betaPathGet4", + methodName: "ProxyV1betaGatewayV1betaPathGet4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch4", - methodName: "ProxyV1betaGatewayV1betaPathPatch4Async", + operationId: "ProxyV1betaGatewayV1betaPathGet4", + methodName: "ProxyV1betaGatewayV1betaPathGet4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathPatch4Response( + ProcessProxyV1betaGatewayV1betaPathGet4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch4", - methodName: "ProxyV1betaGatewayV1betaPathPatch4Async", + operationId: "ProxyV1betaGatewayV1betaPathGet4", + methodName: "ProxyV1betaGatewayV1betaPathGet4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch4", - methodName: "ProxyV1betaGatewayV1betaPathPatch4Async", + operationId: "ProxyV1betaGatewayV1betaPathGet4", + methodName: "ProxyV1betaGatewayV1betaPathGet4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathPatch4ResponseContent( + ProcessProxyV1betaGatewayV1betaPathGet4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet5.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet5.g.cs index 194c0558..dbf5ac55 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathPatch5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathGet5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathPatch5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathGet5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathPatch5SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathGet5SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathPatch5Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathGet5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathPatch5Request( + partial void PrepareProxyV1betaGatewayV1betaPathGet5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathPatch5Response( + partial void ProcessProxyV1betaGatewayV1betaPathGet5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathPatch5ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathGet5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPatch5Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathGet5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathPatch5AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathGet5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPatch5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathGet5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathPatch5Arguments( + PrepareProxyV1betaGatewayV1betaPathGet5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathPatch5SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathPatch5Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathGet5SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathGet5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathPatch5Request( + PrepareProxyV1betaGatewayV1betaPathGet5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch5", - methodName: "ProxyV1betaGatewayV1betaPathPatch5Async", + operationId: "ProxyV1betaGatewayV1betaPathGet5", + methodName: "ProxyV1betaGatewayV1betaPathGet5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch5", - methodName: "ProxyV1betaGatewayV1betaPathPatch5Async", + operationId: "ProxyV1betaGatewayV1betaPathGet5", + methodName: "ProxyV1betaGatewayV1betaPathGet5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch5", - methodName: "ProxyV1betaGatewayV1betaPathPatch5Async", + operationId: "ProxyV1betaGatewayV1betaPathGet5", + methodName: "ProxyV1betaGatewayV1betaPathGet5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathPatch5Response( + ProcessProxyV1betaGatewayV1betaPathGet5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch5", - methodName: "ProxyV1betaGatewayV1betaPathPatch5Async", + operationId: "ProxyV1betaGatewayV1betaPathGet5", + methodName: "ProxyV1betaGatewayV1betaPathGet5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch5", - methodName: "ProxyV1betaGatewayV1betaPathPatch5Async", + operationId: "ProxyV1betaGatewayV1betaPathGet5", + methodName: "ProxyV1betaGatewayV1betaPathGet5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathPatch5ResponseContent( + ProcessProxyV1betaGatewayV1betaPathGet5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet6.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet6.g.cs index 316e5127..1849af29 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPatch6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathGet6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathPatch6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathGet6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathPatch6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathGet6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathPatch6SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathGet6SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathPatch6Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathGet6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathPatch6Request( + partial void PrepareProxyV1betaGatewayV1betaPathGet6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathPatch6Response( + partial void ProcessProxyV1betaGatewayV1betaPathGet6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathPatch6ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathGet6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPatch6Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathGet6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathPatch6AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathGet6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPatch6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathGet6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathPatch6Arguments( + PrepareProxyV1betaGatewayV1betaPathGet6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathPatch6SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathPatch6Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathGet6SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathGet6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathPatch6Request( + PrepareProxyV1betaGatewayV1betaPathGet6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch6", - methodName: "ProxyV1betaGatewayV1betaPathPatch6Async", + operationId: "ProxyV1betaGatewayV1betaPathGet6", + methodName: "ProxyV1betaGatewayV1betaPathGet6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch6", - methodName: "ProxyV1betaGatewayV1betaPathPatch6Async", + operationId: "ProxyV1betaGatewayV1betaPathGet6", + methodName: "ProxyV1betaGatewayV1betaPathGet6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch6", - methodName: "ProxyV1betaGatewayV1betaPathPatch6Async", + operationId: "ProxyV1betaGatewayV1betaPathGet6", + methodName: "ProxyV1betaGatewayV1betaPathGet6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathPatch6Response( + ProcessProxyV1betaGatewayV1betaPathGet6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch6", - methodName: "ProxyV1betaGatewayV1betaPathPatch6Async", + operationId: "ProxyV1betaGatewayV1betaPathGet6", + methodName: "ProxyV1betaGatewayV1betaPathGet6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathPatch6", - methodName: "ProxyV1betaGatewayV1betaPathPatch6Async", + operationId: "ProxyV1betaGatewayV1betaPathGet6", + methodName: "ProxyV1betaGatewayV1betaPathGet6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathPatch6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathPatch6ResponseContent( + ProcessProxyV1betaGatewayV1betaPathGet6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet.g.cs index 537c8b7c..b06fc53f 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathPatchSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathGetSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathPatchSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathGetSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathPatchSecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathGetSecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathPatchArguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathGetArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathPatchRequest( + partial void PrepareProxyV1betaTokenwiseV1betaPathGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathPatchResponse( + partial void ProcessProxyV1betaTokenwiseV1betaPathGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathPatchResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathGetResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPatchAsync( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathPatchAsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathGetAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPatchAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatchResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathPatchArguments( + PrepareProxyV1betaTokenwiseV1betaPathGetArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatchResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathPatchSecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathPatchAsync"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathGetSecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathGetAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatchResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathPatchRequest( + PrepareProxyV1betaTokenwiseV1betaPathGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch", - methodName: "ProxyV1betaTokenwiseV1betaPathPatchAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathGet", + methodName: "ProxyV1betaTokenwiseV1betaPathGetAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch", - methodName: "ProxyV1betaTokenwiseV1betaPathPatchAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathGet", + methodName: "ProxyV1betaTokenwiseV1betaPathGetAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch", - methodName: "ProxyV1betaTokenwiseV1betaPathPatchAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathGet", + methodName: "ProxyV1betaTokenwiseV1betaPathGetAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatchResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathPatchResponse( + ProcessProxyV1betaTokenwiseV1betaPathGetResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch", - methodName: "ProxyV1betaTokenwiseV1betaPathPatchAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathGet", + methodName: "ProxyV1betaTokenwiseV1betaPathGetAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch", - methodName: "ProxyV1betaTokenwiseV1betaPathPatchAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathGet", + methodName: "ProxyV1betaTokenwiseV1betaPathGetAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatchResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathPatchResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathGetResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet2.g.cs index 8fa09f6c..dee26073 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathPatch2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathGet2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathPatch2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathGet2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathPatch2SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathGet2SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathPatch2Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathGet2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathPatch2Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathGet2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathPatch2Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathGet2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathPatch2ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathGet2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPatch2Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathPatch2AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathGet2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPatch2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathPatch2Arguments( + PrepareProxyV1betaTokenwiseV1betaPathGet2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathPatch2SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathPatch2Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathGet2SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathGet2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathPatch2Request( + PrepareProxyV1betaTokenwiseV1betaPathGet2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch2", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet2", + methodName: "ProxyV1betaTokenwiseV1betaPathGet2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch2", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet2", + methodName: "ProxyV1betaTokenwiseV1betaPathGet2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch2", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet2", + methodName: "ProxyV1betaTokenwiseV1betaPathGet2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathPatch2Response( + ProcessProxyV1betaTokenwiseV1betaPathGet2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch2", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet2", + methodName: "ProxyV1betaTokenwiseV1betaPathGet2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch2", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet2", + methodName: "ProxyV1betaTokenwiseV1betaPathGet2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathPatch2ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathGet2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet3.g.cs index ba6ff836..11efc7ae 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathPatch3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathGet3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathPatch3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathGet3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathPatch3SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathGet3SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathPatch3Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathGet3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathPatch3Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathGet3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathPatch3Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathGet3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathPatch3ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathGet3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPatch3Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathPatch3AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathGet3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPatch3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathPatch3Arguments( + PrepareProxyV1betaTokenwiseV1betaPathGet3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathPatch3SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathPatch3Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathGet3SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathGet3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathPatch3Request( + PrepareProxyV1betaTokenwiseV1betaPathGet3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch3", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet3", + methodName: "ProxyV1betaTokenwiseV1betaPathGet3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch3", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet3", + methodName: "ProxyV1betaTokenwiseV1betaPathGet3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch3", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet3", + methodName: "ProxyV1betaTokenwiseV1betaPathGet3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathPatch3Response( + ProcessProxyV1betaTokenwiseV1betaPathGet3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch3", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet3", + methodName: "ProxyV1betaTokenwiseV1betaPathGet3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch3", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet3", + methodName: "ProxyV1betaTokenwiseV1betaPathGet3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathPatch3ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathGet3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet4.g.cs index f466ec7b..76d00ae4 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathPatch4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathGet4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathPatch4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathGet4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathPatch4SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathGet4SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathPatch4Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathGet4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathPatch4Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathGet4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathPatch4Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathGet4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathPatch4ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathGet4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPatch4Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathPatch4AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathGet4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPatch4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathPatch4Arguments( + PrepareProxyV1betaTokenwiseV1betaPathGet4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathPatch4SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathPatch4Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathGet4SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathGet4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathPatch4Request( + PrepareProxyV1betaTokenwiseV1betaPathGet4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch4", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet4", + methodName: "ProxyV1betaTokenwiseV1betaPathGet4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch4", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet4", + methodName: "ProxyV1betaTokenwiseV1betaPathGet4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch4", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet4", + methodName: "ProxyV1betaTokenwiseV1betaPathGet4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathPatch4Response( + ProcessProxyV1betaTokenwiseV1betaPathGet4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch4", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet4", + methodName: "ProxyV1betaTokenwiseV1betaPathGet4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch4", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet4", + methodName: "ProxyV1betaTokenwiseV1betaPathGet4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathPatch4ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathGet4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet5.g.cs index f3b58604..7bfee5a8 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathPatch5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathGet5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathPatch5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathGet5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathPatch5SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathGet5SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathPatch5Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathGet5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathPatch5Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathGet5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathPatch5Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathGet5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathPatch5ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathGet5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPatch5Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathGet5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathPatch5AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathGet5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPatch5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathGet5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathPatch5Arguments( + PrepareProxyV1betaTokenwiseV1betaPathGet5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathPatch5SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathPatch5Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathGet5SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathGet5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathPatch5Request( + PrepareProxyV1betaTokenwiseV1betaPathGet5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch5", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet5", + methodName: "ProxyV1betaTokenwiseV1betaPathGet5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch5", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet5", + methodName: "ProxyV1betaTokenwiseV1betaPathGet5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch5", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet5", + methodName: "ProxyV1betaTokenwiseV1betaPathGet5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathPatch5Response( + ProcessProxyV1betaTokenwiseV1betaPathGet5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch5", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet5", + methodName: "ProxyV1betaTokenwiseV1betaPathGet5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch5", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet5", + methodName: "ProxyV1betaTokenwiseV1betaPathGet5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathPatch5ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathGet5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet6.g.cs index e4ab1e88..12bd5a09 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPatch6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathGet6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathPatch6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathGet6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathPatch6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathGet6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathPatch6SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathGet6SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathPatch6Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathGet6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathPatch6Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathGet6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathPatch6Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathGet6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathPatch6ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathGet6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPatch6Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathGet6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathPatch6AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathGet6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPatch6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathGet6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathPatch6Arguments( + PrepareProxyV1betaTokenwiseV1betaPathGet6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathPatch6SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathPatch6Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathGet6SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathGet6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathPatch6Request( + PrepareProxyV1betaTokenwiseV1betaPathGet6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch6", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet6", + methodName: "ProxyV1betaTokenwiseV1betaPathGet6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch6", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet6", + methodName: "ProxyV1betaTokenwiseV1betaPathGet6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch6", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet6", + methodName: "ProxyV1betaTokenwiseV1betaPathGet6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathPatch6Response( + ProcessProxyV1betaTokenwiseV1betaPathGet6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch6", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet6", + methodName: "ProxyV1betaTokenwiseV1betaPathGet6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathPatch6", - methodName: "ProxyV1betaTokenwiseV1betaPathPatch6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathGet6", + methodName: "ProxyV1betaTokenwiseV1betaPathGet6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathPatch6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathPatch6ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathGet6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet.g.cs index 6d6c725b..cd7b18a8 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathPatchSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathGetSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathPatchSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathGetSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathPatchSecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathGetSecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathPatchArguments( + partial void PrepareProxyV1internalGatewayV1internalPathGetArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathPatchRequest( + partial void PrepareProxyV1internalGatewayV1internalPathGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathPatchResponse( + partial void ProcessProxyV1internalGatewayV1internalPathGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathPatchResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathGetResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPatchAsync( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathPatchAsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathGetAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPatchAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatchResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathPatchArguments( + PrepareProxyV1internalGatewayV1internalPathGetArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatchResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathPatchSecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathPatchAsync"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathGetSecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathGetAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatchResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathPatchRequest( + PrepareProxyV1internalGatewayV1internalPathGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch", - methodName: "ProxyV1internalGatewayV1internalPathPatchAsync", + operationId: "ProxyV1internalGatewayV1internalPathGet", + methodName: "ProxyV1internalGatewayV1internalPathGetAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch", - methodName: "ProxyV1internalGatewayV1internalPathPatchAsync", + operationId: "ProxyV1internalGatewayV1internalPathGet", + methodName: "ProxyV1internalGatewayV1internalPathGetAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch", - methodName: "ProxyV1internalGatewayV1internalPathPatchAsync", + operationId: "ProxyV1internalGatewayV1internalPathGet", + methodName: "ProxyV1internalGatewayV1internalPathGetAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatchResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathPatchResponse( + ProcessProxyV1internalGatewayV1internalPathGetResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch", - methodName: "ProxyV1internalGatewayV1internalPathPatchAsync", + operationId: "ProxyV1internalGatewayV1internalPathGet", + methodName: "ProxyV1internalGatewayV1internalPathGetAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch", - methodName: "ProxyV1internalGatewayV1internalPathPatchAsync", + operationId: "ProxyV1internalGatewayV1internalPathGet", + methodName: "ProxyV1internalGatewayV1internalPathGetAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatchResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathPatchResponseContent( + ProcessProxyV1internalGatewayV1internalPathGetResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet2.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet2.g.cs index 89a28abf..7add358b 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathPatch2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathGet2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathPatch2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathGet2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathPatch2SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathGet2SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathPatch2Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathGet2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathPatch2Request( + partial void PrepareProxyV1internalGatewayV1internalPathGet2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathPatch2Response( + partial void ProcessProxyV1internalGatewayV1internalPathGet2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathPatch2ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathGet2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPatch2Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathPatch2AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathGet2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPatch2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathPatch2Arguments( + PrepareProxyV1internalGatewayV1internalPathGet2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathPatch2SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathPatch2Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathGet2SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathGet2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathPatch2Request( + PrepareProxyV1internalGatewayV1internalPathGet2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch2", - methodName: "ProxyV1internalGatewayV1internalPathPatch2Async", + operationId: "ProxyV1internalGatewayV1internalPathGet2", + methodName: "ProxyV1internalGatewayV1internalPathGet2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch2", - methodName: "ProxyV1internalGatewayV1internalPathPatch2Async", + operationId: "ProxyV1internalGatewayV1internalPathGet2", + methodName: "ProxyV1internalGatewayV1internalPathGet2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch2", - methodName: "ProxyV1internalGatewayV1internalPathPatch2Async", + operationId: "ProxyV1internalGatewayV1internalPathGet2", + methodName: "ProxyV1internalGatewayV1internalPathGet2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathPatch2Response( + ProcessProxyV1internalGatewayV1internalPathGet2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch2", - methodName: "ProxyV1internalGatewayV1internalPathPatch2Async", + operationId: "ProxyV1internalGatewayV1internalPathGet2", + methodName: "ProxyV1internalGatewayV1internalPathGet2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch2", - methodName: "ProxyV1internalGatewayV1internalPathPatch2Async", + operationId: "ProxyV1internalGatewayV1internalPathGet2", + methodName: "ProxyV1internalGatewayV1internalPathGet2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathPatch2ResponseContent( + ProcessProxyV1internalGatewayV1internalPathGet2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet3.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet3.g.cs index 0a0e3274..7c3dcebb 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathPatch3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathGet3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathPatch3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathGet3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathPatch3SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathGet3SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathPatch3Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathGet3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathPatch3Request( + partial void PrepareProxyV1internalGatewayV1internalPathGet3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathPatch3Response( + partial void ProcessProxyV1internalGatewayV1internalPathGet3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathPatch3ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathGet3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPatch3Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathPatch3AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathGet3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPatch3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathPatch3Arguments( + PrepareProxyV1internalGatewayV1internalPathGet3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathPatch3SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathPatch3Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathGet3SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathGet3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathPatch3Request( + PrepareProxyV1internalGatewayV1internalPathGet3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch3", - methodName: "ProxyV1internalGatewayV1internalPathPatch3Async", + operationId: "ProxyV1internalGatewayV1internalPathGet3", + methodName: "ProxyV1internalGatewayV1internalPathGet3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch3", - methodName: "ProxyV1internalGatewayV1internalPathPatch3Async", + operationId: "ProxyV1internalGatewayV1internalPathGet3", + methodName: "ProxyV1internalGatewayV1internalPathGet3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch3", - methodName: "ProxyV1internalGatewayV1internalPathPatch3Async", + operationId: "ProxyV1internalGatewayV1internalPathGet3", + methodName: "ProxyV1internalGatewayV1internalPathGet3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathPatch3Response( + ProcessProxyV1internalGatewayV1internalPathGet3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch3", - methodName: "ProxyV1internalGatewayV1internalPathPatch3Async", + operationId: "ProxyV1internalGatewayV1internalPathGet3", + methodName: "ProxyV1internalGatewayV1internalPathGet3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch3", - methodName: "ProxyV1internalGatewayV1internalPathPatch3Async", + operationId: "ProxyV1internalGatewayV1internalPathGet3", + methodName: "ProxyV1internalGatewayV1internalPathGet3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathPatch3ResponseContent( + ProcessProxyV1internalGatewayV1internalPathGet3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet4.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet4.g.cs index 2c481f97..96c12595 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathPatch4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathGet4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathPatch4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathGet4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathPatch4SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathGet4SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathPatch4Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathGet4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathPatch4Request( + partial void PrepareProxyV1internalGatewayV1internalPathGet4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathPatch4Response( + partial void ProcessProxyV1internalGatewayV1internalPathGet4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathPatch4ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathGet4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPatch4Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathPatch4AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathGet4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPatch4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathPatch4Arguments( + PrepareProxyV1internalGatewayV1internalPathGet4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathPatch4SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathPatch4Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathGet4SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathGet4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathPatch4Request( + PrepareProxyV1internalGatewayV1internalPathGet4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch4", - methodName: "ProxyV1internalGatewayV1internalPathPatch4Async", + operationId: "ProxyV1internalGatewayV1internalPathGet4", + methodName: "ProxyV1internalGatewayV1internalPathGet4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch4", - methodName: "ProxyV1internalGatewayV1internalPathPatch4Async", + operationId: "ProxyV1internalGatewayV1internalPathGet4", + methodName: "ProxyV1internalGatewayV1internalPathGet4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch4", - methodName: "ProxyV1internalGatewayV1internalPathPatch4Async", + operationId: "ProxyV1internalGatewayV1internalPathGet4", + methodName: "ProxyV1internalGatewayV1internalPathGet4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathPatch4Response( + ProcessProxyV1internalGatewayV1internalPathGet4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch4", - methodName: "ProxyV1internalGatewayV1internalPathPatch4Async", + operationId: "ProxyV1internalGatewayV1internalPathGet4", + methodName: "ProxyV1internalGatewayV1internalPathGet4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch4", - methodName: "ProxyV1internalGatewayV1internalPathPatch4Async", + operationId: "ProxyV1internalGatewayV1internalPathGet4", + methodName: "ProxyV1internalGatewayV1internalPathGet4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathPatch4ResponseContent( + ProcessProxyV1internalGatewayV1internalPathGet4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet5.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet5.g.cs index 2ba9eb47..f98fa597 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathPatch5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathGet5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathPatch5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathGet5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathPatch5SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathGet5SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathPatch5Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathGet5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathPatch5Request( + partial void PrepareProxyV1internalGatewayV1internalPathGet5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathPatch5Response( + partial void ProcessProxyV1internalGatewayV1internalPathGet5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathPatch5ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathGet5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPatch5Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathGet5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathPatch5AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathGet5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPatch5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathGet5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathPatch5Arguments( + PrepareProxyV1internalGatewayV1internalPathGet5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathPatch5SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathPatch5Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathGet5SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathGet5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathPatch5Request( + PrepareProxyV1internalGatewayV1internalPathGet5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch5", - methodName: "ProxyV1internalGatewayV1internalPathPatch5Async", + operationId: "ProxyV1internalGatewayV1internalPathGet5", + methodName: "ProxyV1internalGatewayV1internalPathGet5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch5", - methodName: "ProxyV1internalGatewayV1internalPathPatch5Async", + operationId: "ProxyV1internalGatewayV1internalPathGet5", + methodName: "ProxyV1internalGatewayV1internalPathGet5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch5", - methodName: "ProxyV1internalGatewayV1internalPathPatch5Async", + operationId: "ProxyV1internalGatewayV1internalPathGet5", + methodName: "ProxyV1internalGatewayV1internalPathGet5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathPatch5Response( + ProcessProxyV1internalGatewayV1internalPathGet5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch5", - methodName: "ProxyV1internalGatewayV1internalPathPatch5Async", + operationId: "ProxyV1internalGatewayV1internalPathGet5", + methodName: "ProxyV1internalGatewayV1internalPathGet5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch5", - methodName: "ProxyV1internalGatewayV1internalPathPatch5Async", + operationId: "ProxyV1internalGatewayV1internalPathGet5", + methodName: "ProxyV1internalGatewayV1internalPathGet5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathPatch5ResponseContent( + ProcessProxyV1internalGatewayV1internalPathGet5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet6.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet6.g.cs index 6e525aba..d0501aa4 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPatch6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathGet6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathPatch6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathGet6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathPatch6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathGet6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathPatch6SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathGet6SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathPatch6Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathGet6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathPatch6Request( + partial void PrepareProxyV1internalGatewayV1internalPathGet6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathPatch6Response( + partial void ProcessProxyV1internalGatewayV1internalPathGet6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathPatch6ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathGet6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPatch6Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathGet6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathPatch6AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathGet6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPatch6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathGet6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathPatch6Arguments( + PrepareProxyV1internalGatewayV1internalPathGet6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathPatch6SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathPatch6Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathGet6SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathGet6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathPatch6Request( + PrepareProxyV1internalGatewayV1internalPathGet6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch6", - methodName: "ProxyV1internalGatewayV1internalPathPatch6Async", + operationId: "ProxyV1internalGatewayV1internalPathGet6", + methodName: "ProxyV1internalGatewayV1internalPathGet6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch6", - methodName: "ProxyV1internalGatewayV1internalPathPatch6Async", + operationId: "ProxyV1internalGatewayV1internalPathGet6", + methodName: "ProxyV1internalGatewayV1internalPathGet6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch6", - methodName: "ProxyV1internalGatewayV1internalPathPatch6Async", + operationId: "ProxyV1internalGatewayV1internalPathGet6", + methodName: "ProxyV1internalGatewayV1internalPathGet6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathPatch6Response( + ProcessProxyV1internalGatewayV1internalPathGet6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch6", - methodName: "ProxyV1internalGatewayV1internalPathPatch6Async", + operationId: "ProxyV1internalGatewayV1internalPathGet6", + methodName: "ProxyV1internalGatewayV1internalPathGet6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathPatch6", - methodName: "ProxyV1internalGatewayV1internalPathPatch6Async", + operationId: "ProxyV1internalGatewayV1internalPathGet6", + methodName: "ProxyV1internalGatewayV1internalPathGet6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathPatch6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathPatch6ResponseContent( + ProcessProxyV1internalGatewayV1internalPathGet6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet.g.cs index b4729210..855b9275 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathPatchSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathGetSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathPatchSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathGetSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathPatchSecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathGetSecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathPatchArguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathGetArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathPatchRequest( + partial void PrepareProxyV1internalTokenwiseV1internalPathGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathPatchResponse( + partial void ProcessProxyV1internalTokenwiseV1internalPathGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathPatchResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathGetResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPatchAsync( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathPatchAsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathGetAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatchResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPatchAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatchResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathPatchArguments( + PrepareProxyV1internalTokenwiseV1internalPathGetArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatchResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathPatchSecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathPatchAsync"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathGetSecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathGetAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatchResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathPatchRequest( + PrepareProxyV1internalTokenwiseV1internalPathGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch", - methodName: "ProxyV1internalTokenwiseV1internalPathPatchAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathGet", + methodName: "ProxyV1internalTokenwiseV1internalPathGetAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch", - methodName: "ProxyV1internalTokenwiseV1internalPathPatchAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathGet", + methodName: "ProxyV1internalTokenwiseV1internalPathGetAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch", - methodName: "ProxyV1internalTokenwiseV1internalPathPatchAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathGet", + methodName: "ProxyV1internalTokenwiseV1internalPathGetAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatchResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathPatchResponse( + ProcessProxyV1internalTokenwiseV1internalPathGetResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch", - methodName: "ProxyV1internalTokenwiseV1internalPathPatchAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathGet", + methodName: "ProxyV1internalTokenwiseV1internalPathGetAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatchResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch", - methodName: "ProxyV1internalTokenwiseV1internalPathPatchAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathGet", + methodName: "ProxyV1internalTokenwiseV1internalPathGetAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatchResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathPatchResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathGetResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet2.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet2.g.cs index 680b8740..7f7140fe 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathPatch2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathGet2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathPatch2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathGet2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathPatch2SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathGet2SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathPatch2Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathGet2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathPatch2Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathGet2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathPatch2Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathGet2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathPatch2ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathGet2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPatch2Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathPatch2AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathGet2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPatch2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathPatch2Arguments( + PrepareProxyV1internalTokenwiseV1internalPathGet2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathPatch2SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathPatch2Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathGet2SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathGet2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathPatch2Request( + PrepareProxyV1internalTokenwiseV1internalPathGet2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch2", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet2", + methodName: "ProxyV1internalTokenwiseV1internalPathGet2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch2", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet2", + methodName: "ProxyV1internalTokenwiseV1internalPathGet2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch2", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet2", + methodName: "ProxyV1internalTokenwiseV1internalPathGet2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathPatch2Response( + ProcessProxyV1internalTokenwiseV1internalPathGet2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch2", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet2", + methodName: "ProxyV1internalTokenwiseV1internalPathGet2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch2", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet2", + methodName: "ProxyV1internalTokenwiseV1internalPathGet2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathPatch2ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathGet2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet3.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet3.g.cs index a5a6438a..c5603456 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathPatch3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathGet3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathPatch3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathGet3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathPatch3SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathGet3SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathPatch3Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathGet3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathPatch3Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathGet3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathPatch3Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathGet3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathPatch3ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathGet3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPatch3Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathPatch3AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathGet3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPatch3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathPatch3Arguments( + PrepareProxyV1internalTokenwiseV1internalPathGet3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathPatch3SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathPatch3Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathGet3SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathGet3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathPatch3Request( + PrepareProxyV1internalTokenwiseV1internalPathGet3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch3", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet3", + methodName: "ProxyV1internalTokenwiseV1internalPathGet3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch3", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet3", + methodName: "ProxyV1internalTokenwiseV1internalPathGet3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch3", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet3", + methodName: "ProxyV1internalTokenwiseV1internalPathGet3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathPatch3Response( + ProcessProxyV1internalTokenwiseV1internalPathGet3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch3", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet3", + methodName: "ProxyV1internalTokenwiseV1internalPathGet3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch3", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet3", + methodName: "ProxyV1internalTokenwiseV1internalPathGet3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathPatch3ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathGet3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet4.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet4.g.cs index 17cd4f12..0635ad3d 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathPatch4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathGet4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathPatch4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathGet4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathPatch4SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathGet4SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathPatch4Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathGet4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathPatch4Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathGet4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathPatch4Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathGet4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathPatch4ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathGet4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPatch4Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathPatch4AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathGet4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPatch4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathPatch4Arguments( + PrepareProxyV1internalTokenwiseV1internalPathGet4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathPatch4SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathPatch4Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathGet4SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathGet4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathPatch4Request( + PrepareProxyV1internalTokenwiseV1internalPathGet4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch4", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet4", + methodName: "ProxyV1internalTokenwiseV1internalPathGet4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch4", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet4", + methodName: "ProxyV1internalTokenwiseV1internalPathGet4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch4", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet4", + methodName: "ProxyV1internalTokenwiseV1internalPathGet4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathPatch4Response( + ProcessProxyV1internalTokenwiseV1internalPathGet4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch4", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet4", + methodName: "ProxyV1internalTokenwiseV1internalPathGet4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch4", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet4", + methodName: "ProxyV1internalTokenwiseV1internalPathGet4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathPatch4ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathGet4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet5.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet5.g.cs index fab3577e..de286a6b 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathPatch5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathGet5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathPatch5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathGet5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathPatch5SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathGet5SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathPatch5Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathGet5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathPatch5Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathGet5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathPatch5Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathGet5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathPatch5ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathGet5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPatch5Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathGet5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathPatch5AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathGet5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPatch5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathGet5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathPatch5Arguments( + PrepareProxyV1internalTokenwiseV1internalPathGet5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathPatch5SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathPatch5Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathGet5SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathGet5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathPatch5Request( + PrepareProxyV1internalTokenwiseV1internalPathGet5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch5", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet5", + methodName: "ProxyV1internalTokenwiseV1internalPathGet5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch5", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet5", + methodName: "ProxyV1internalTokenwiseV1internalPathGet5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch5", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet5", + methodName: "ProxyV1internalTokenwiseV1internalPathGet5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathPatch5Response( + ProcessProxyV1internalTokenwiseV1internalPathGet5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch5", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet5", + methodName: "ProxyV1internalTokenwiseV1internalPathGet5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch5", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet5", + methodName: "ProxyV1internalTokenwiseV1internalPathGet5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathPatch5ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathGet5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet6.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet6.g.cs index 0214839f..22659a36 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPatch6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathGet6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathPatch6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathGet6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathPatch6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathGet6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathPatch6SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathGet6SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathPatch6Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathGet6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathPatch6Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathGet6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathPatch6Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathGet6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathPatch6ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathGet6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPatch6Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathGet6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathPatch6AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathGet6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPatch6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathGet6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathPatch6Arguments( + PrepareProxyV1internalTokenwiseV1internalPathGet6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathPatch6SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathPatch6Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathGet6SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathGet6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathPatch6Request( + PrepareProxyV1internalTokenwiseV1internalPathGet6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch6", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet6", + methodName: "ProxyV1internalTokenwiseV1internalPathGet6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch6", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet6", + methodName: "ProxyV1internalTokenwiseV1internalPathGet6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch6", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet6", + methodName: "ProxyV1internalTokenwiseV1internalPathGet6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathPatch6Response( + ProcessProxyV1internalTokenwiseV1internalPathGet6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch6", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet6", + methodName: "ProxyV1internalTokenwiseV1internalPathGet6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathPatch6", - methodName: "ProxyV1internalTokenwiseV1internalPathPatch6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathGet6", + methodName: "ProxyV1internalTokenwiseV1internalPathGet6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathPatch6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathPatch6ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathGet6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet.g.cs index 74884449..4f9edded 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet.g.cs @@ -11,7 +11,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPatchAsync( + global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathGetAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -22,7 +22,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPatchAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathGetAsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet2.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet2.g.cs index 5bb14625..c17363a6 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet2.g.cs @@ -11,7 +11,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPatch4Async( + global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathGet2Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -22,7 +22,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPatch4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathGet2AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet3.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet3.g.cs index 8940ea3d..ed54ffcd 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet3.g.cs @@ -11,7 +11,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPatch2Async( + global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathGet3Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -22,7 +22,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPatch2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathGet3AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet4.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet4.g.cs index 5c108b2f..e2bb10fb 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet4.g.cs @@ -11,7 +11,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPatch3Async( + global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathGet4Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -22,7 +22,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPatch3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathGet4AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet5.g.cs new file mode 100644 index 00000000..d26d9e1d --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathGet5.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy Harness Api + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathGet5Async( + string path, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy Harness Api + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathGet5AsResponseAsync( + string path, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch5.g.cs deleted file mode 100644 index b2eec7d4..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPatch5.g.cs +++ /dev/null @@ -1,30 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy Harness Api - /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPatch5Async( - string path, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy Harness Api - /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPatch5AsResponseAsync( - string path, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet.g.cs index 8970afb8..01fc8676 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPatchAsync( + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPatchAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet2.g.cs index 216379ba..55ac60e2 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet2.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPatch2Async( + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPatch2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet3.g.cs index 225813fe..87a84995 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet3.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPatch3Async( + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPatch3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet4.g.cs index 51d6af1a..595546fc 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet4.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPatch4Async( + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPatch4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet5.g.cs new file mode 100644 index 00000000..55603743 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathGet5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathGet5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet6.g.cs new file mode 100644 index 00000000..40c3b31b --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathGet6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathGet6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathGet6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch5.g.cs deleted file mode 100644 index 092ab408..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPatch5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPatch5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch6.g.cs deleted file mode 100644 index 47b49e31..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPatch6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPatch6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPatch6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet.g.cs index 4400d01f..6c26c0e7 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPatchAsync( + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPatchAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet2.g.cs index 840fc8a2..559cf546 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet2.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPatch2Async( + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPatch2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet3.g.cs index 242e8cc2..05825871 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet3.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPatch3Async( + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPatch3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet4.g.cs index c5ce3093..b7b73e50 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet4.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPatch4Async( + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPatch4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet5.g.cs new file mode 100644 index 00000000..7fbf5c5c --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathGet5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathGet5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet6.g.cs new file mode 100644 index 00000000..f32e6457 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathGet6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathGet6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathGet6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch5.g.cs deleted file mode 100644 index 7ce2848d..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPatch5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPatch5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch6.g.cs deleted file mode 100644 index 3f66c604..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPatch6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPatch6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPatch6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet.g.cs index 83d237f5..c6db54ed 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPatchAsync( + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPatchAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet2.g.cs index 02ce4534..0f694557 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet2.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPatch4Async( + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPatch4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet3.g.cs index 2ca7c16c..01f567c4 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet3.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPatch2Async( + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPatch2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet4.g.cs index b9d634ac..70ce860c 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet4.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPatch3Async( + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPatch3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet5.g.cs new file mode 100644 index 00000000..77025a5e --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathGet5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathGet5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet6.g.cs new file mode 100644 index 00000000..d952a9f4 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathGet6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathGet6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathGet6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch5.g.cs deleted file mode 100644 index ecbc5a27..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPatch5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPatch5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch6.g.cs deleted file mode 100644 index 0d96ff79..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPatch6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPatch6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPatch6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet.g.cs index 26a0dc46..134dfc68 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPatchAsync( + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPatchAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet2.g.cs index 685b3776..a2926795 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet2.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPatch2Async( + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPatch2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet3.g.cs index cefa8511..0b2cb979 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet3.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPatch3Async( + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPatch3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet4.g.cs index 7967a7dd..b89e1dbe 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet4.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPatch4Async( + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPatch4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet5.g.cs new file mode 100644 index 00000000..24a1b85a --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathGet5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathGet5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet6.g.cs new file mode 100644 index 00000000..32199485 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathGet6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathGet6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathGet6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch5.g.cs deleted file mode 100644 index c6d9c45c..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPatch5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPatch5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch6.g.cs deleted file mode 100644 index ff7eba43..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPatch6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPatch6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPatch6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet.g.cs index 2609860f..7fb9ee4d 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPatchAsync( + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPatchAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet2.g.cs index 2158776b..09c0c993 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet2.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPatch2Async( + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPatch2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet3.g.cs index 4172927d..bfd18b02 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet3.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPatch3Async( + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPatch3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet4.g.cs index d01b7dab..ba45b4bb 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet4.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPatch4Async( + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPatch4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet5.g.cs new file mode 100644 index 00000000..0047dfa1 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet5.g.cs @@ -0,0 +1,40 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathGet5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathGet5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet6.g.cs new file mode 100644 index 00000000..cd1d6163 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathGet6.g.cs @@ -0,0 +1,40 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathGet6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathGet6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch5.g.cs deleted file mode 100644 index f654676a..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch5.g.cs +++ /dev/null @@ -1,40 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPatch5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPatch5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch6.g.cs deleted file mode 100644 index f3868ae7..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPatch6.g.cs +++ /dev/null @@ -1,40 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPatch6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPatch6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet.g.cs index eb81bae1..49fb8f04 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPatchAsync( + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPatchAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet2.g.cs index b4a35794..3a2b6c97 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet2.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPatch2Async( + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPatch2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet3.g.cs index 9cda85e9..8f0b6401 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet3.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPatch3Async( + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPatch3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet4.g.cs index 304c4b9c..46380613 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet4.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPatch4Async( + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPatch4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet5.g.cs new file mode 100644 index 00000000..af292371 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet5.g.cs @@ -0,0 +1,40 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathGet5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathGet5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet6.g.cs new file mode 100644 index 00000000..fcf91f3d --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathGet6.g.cs @@ -0,0 +1,40 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathGet6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathGet6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch5.g.cs deleted file mode 100644 index 95d36f1b..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch5.g.cs +++ /dev/null @@ -1,40 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPatch5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPatch5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch6.g.cs deleted file mode 100644 index 5b23f1ac..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPatch6.g.cs +++ /dev/null @@ -1,40 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPatch6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPatch6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet.g.cs index cc663873..5ea6af6c 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPatchAsync( + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPatchAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet2.g.cs index 474b9fa2..2fae289e 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet2.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPatch2Async( + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPatch2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet3.g.cs index 9de375d7..69e732f6 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet3.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPatch3Async( + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPatch3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet4.g.cs index 7e349501..a8bb0658 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet4.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPatch4Async( + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPatch4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet5.g.cs new file mode 100644 index 00000000..f804744f --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathGet5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathGet5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet6.g.cs new file mode 100644 index 00000000..1e641d01 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathGet6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathGet6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathGet6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch5.g.cs deleted file mode 100644 index 39d4d1ce..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPatch5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPatch5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch6.g.cs deleted file mode 100644 index 6a3bb32c..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPatch6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPatch6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPatch6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet.g.cs index 3aeef75e..5ff38201 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPatchAsync( + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPatchAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet2.g.cs index 131f9c58..3bc36fde 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet2.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPatch2Async( + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPatch2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet3.g.cs index 388d34b7..487e5daf 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet3.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPatch3Async( + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPatch3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet4.g.cs index 7d835a6c..843394dd 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet4.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPatch4Async( + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPatch4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet5.g.cs new file mode 100644 index 00000000..694fb0a6 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathGet5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathGet5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet6.g.cs new file mode 100644 index 00000000..d7766df2 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathGet6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathGet6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathGet6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch5.g.cs deleted file mode 100644 index 68e1382e..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPatch5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPatch5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch6.g.cs deleted file mode 100644 index 1cb97b4e..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPatch6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPatch6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPatch6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet.g.cs new file mode 100644 index 00000000..32908549 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathGetAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathGetAsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet2.g.cs new file mode 100644 index 00000000..aa07016c --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet2.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathGet2Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathGet2AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet3.g.cs new file mode 100644 index 00000000..dea1048a --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet3.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathGet3Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathGet3AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet4.g.cs new file mode 100644 index 00000000..ba9e6c86 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet4.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathGet4Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathGet4AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet5.g.cs new file mode 100644 index 00000000..1a4792bd --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathGet5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathGet5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet6.g.cs new file mode 100644 index 00000000..0de178fc --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathGet6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathGet6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathGet6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch6.g.cs deleted file mode 100644 index 517d0a85..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPatch6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPatch6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet.g.cs index 1a4d614a..67aaeddc 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPatchAsync( + global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathGetAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPatchAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathGetAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch5.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet2.g.cs index 77fa7d67..a0eaf538 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch5.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet2.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPatch5Async( + global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathGet2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPatch5AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathGet2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet3.g.cs index 59209748..3d56791c 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet3.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPatch2Async( + global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathGet3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPatch2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathGet3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet4.g.cs index 540be31a..ab234cee 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet4.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPatch3Async( + global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathGet4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPatch3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathGet4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet5.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet5.g.cs index 645a962a..5317f75c 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPatch4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet5.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPatch4Async( + global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathGet5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPatch4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathGet5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet6.g.cs new file mode 100644 index 00000000..8bf98af1 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathGet6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathGet6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathGet6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch.g.cs deleted file mode 100644 index eab1d3f5..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPatchAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPatchAsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch2.g.cs deleted file mode 100644 index 1e136d0f..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch2.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPatch2Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPatch2AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch3.g.cs deleted file mode 100644 index e9a0f983..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch3.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPatch3Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPatch3AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch4.g.cs deleted file mode 100644 index 5bee463a..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch4.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPatch4Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPatch4AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch5.g.cs deleted file mode 100644 index edfae37f..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPatch5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPatch5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch6.g.cs deleted file mode 100644 index e75481a9..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPatch6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPatch6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPatch6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse.Json.g.cs index 2f06a532..4ea859ca 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyHarnessApiHarnessApiPathPatchResponse + public sealed partial class ProxyHarnessApiHarnessApiPathGetResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathGetResponse), + jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathGetResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathGetResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathGetResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse.g.cs new file mode 100644 index 00000000..51feab59 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyHarnessApiHarnessApiPathGetResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse2.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse2.Json.g.cs index 90b46dae..af0a0c00 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyHarnessApiHarnessApiPathPatchResponse2 + public sealed partial class ProxyHarnessApiHarnessApiPathGetResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse2? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse2), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse2; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathGetResponse2), + jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathGetResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse2? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse2? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse2; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathGetResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathGetResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse2.g.cs new file mode 100644 index 00000000..80bb68e4 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyHarnessApiHarnessApiPathGetResponse2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse3.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse3.Json.g.cs index 3080c147..6b40c424 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyHarnessApiHarnessApiPathPatchResponse3 + public sealed partial class ProxyHarnessApiHarnessApiPathGetResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse3? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse3), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse3; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathGetResponse3), + jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathGetResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse3? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse3? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse3; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathGetResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathGetResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse3.g.cs new file mode 100644 index 00000000..0b5c791f --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyHarnessApiHarnessApiPathGetResponse3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse4.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse4.Json.g.cs index 0878e3aa..af618497 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyHarnessApiHarnessApiPathPatchResponse4 + public sealed partial class ProxyHarnessApiHarnessApiPathGetResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse4? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse4), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse4; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathGetResponse4), + jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathGetResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse4? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse4? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse4; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathGetResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathGetResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse4.g.cs new file mode 100644 index 00000000..2d2d8ab6 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse4.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyHarnessApiHarnessApiPathGetResponse4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse5.Json.g.cs new file mode 100644 index 00000000..a5a1d043 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyHarnessApiHarnessApiPathGetResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyHarnessApiHarnessApiPathGetResponse5), + jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathGetResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyHarnessApiHarnessApiPathGetResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyHarnessApiHarnessApiPathGetResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathGetResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse5.g.cs new file mode 100644 index 00000000..025f19b9 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathGetResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyHarnessApiHarnessApiPathGetResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse2.g.cs deleted file mode 100644 index 6c9ef0a4..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyHarnessApiHarnessApiPathPatchResponse2 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse3.g.cs deleted file mode 100644 index 5d92d3b8..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyHarnessApiHarnessApiPathPatchResponse3 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse4.g.cs deleted file mode 100644 index 7b98ca89..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyHarnessApiHarnessApiPathPatchResponse4 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse5.Json.g.cs deleted file mode 100644 index c85fe04e..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyHarnessApiHarnessApiPathPatchResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse5), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPatchResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse5.g.cs deleted file mode 100644 index e407cead..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyHarnessApiHarnessApiPathPatchResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse.Json.g.cs index 68b511ea..f02b3fdc 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1GatewayOffV1PathPatchResponse + public sealed partial class ProxyOffV1GatewayOffV1PathGetResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathGetResponse), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathGetResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathGetResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathGetResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse.g.cs index 52ff3069..2588224b 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1GatewayOnV1PathPatchResponse + public sealed partial class ProxyOffV1GatewayOffV1PathGetResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse2.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse2.Json.g.cs index c9449216..950b2eb6 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1GatewayOffV1PathPatchResponse2 + public sealed partial class ProxyOffV1GatewayOffV1PathGetResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse2), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse2; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathGetResponse2), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathGetResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse2; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathGetResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathGetResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse2.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse2.g.cs index 0e3546d1..b5fe7186 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1GatewayOnV1PathPatchResponse2 + public sealed partial class ProxyOffV1GatewayOffV1PathGetResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse3.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse3.Json.g.cs index 7476da4b..d97ec910 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1GatewayOffV1PathPatchResponse3 + public sealed partial class ProxyOffV1GatewayOffV1PathGetResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse3), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse3; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathGetResponse3), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathGetResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse3; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathGetResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathGetResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse3.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse3.g.cs index 4f538564..fc4da8c4 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1GatewayOnV1PathPatchResponse3 + public sealed partial class ProxyOffV1GatewayOffV1PathGetResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse4.Json.g.cs new file mode 100644 index 00000000..0cce51bd --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOffV1GatewayOffV1PathGetResponse4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOffV1GatewayOffV1PathGetResponse4), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathGetResponse4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse4? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOffV1GatewayOffV1PathGetResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathGetResponse4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse4.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse4.g.cs index c9752690..fd6b20e1 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1GatewayOnV1PathPatchResponse4 + public sealed partial class ProxyOffV1GatewayOffV1PathGetResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse5.Json.g.cs new file mode 100644 index 00000000..8d492abd --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOffV1GatewayOffV1PathGetResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOffV1GatewayOffV1PathGetResponse5), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathGetResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOffV1GatewayOffV1PathGetResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathGetResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse5.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse5.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse5.g.cs index 24183682..98746c26 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse5.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse5.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1GatewayOnV1PathPatchResponse5 + public sealed partial class ProxyOffV1GatewayOffV1PathGetResponse5 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse6.Json.g.cs new file mode 100644 index 00000000..c4efa3d8 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOffV1GatewayOffV1PathGetResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOffV1GatewayOffV1PathGetResponse6), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathGetResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOffV1GatewayOffV1PathGetResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOffV1GatewayOffV1PathGetResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathGetResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse6.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse6.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse6.g.cs index eb794f0d..ca012dd6 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse6.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathGetResponse6.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1GatewayOnV1PathPatchResponse6 + public sealed partial class ProxyOffV1GatewayOffV1PathGetResponse6 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse4.Json.g.cs deleted file mode 100644 index 9d366eb7..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOffV1GatewayOffV1PathPatchResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse4), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse4? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse5.Json.g.cs deleted file mode 100644 index 9a704175..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOffV1GatewayOffV1PathPatchResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse5), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse6.Json.g.cs deleted file mode 100644 index ed717763..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOffV1GatewayOffV1PathPatchResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse6), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathPatchResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse.Json.g.cs index 6c307bc9..b22794e9 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1TokenwiseOffV1PathPatchResponse + public sealed partial class ProxyOffV1TokenwiseOffV1PathGetResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse.g.cs index e0c0a4b0..4c6043b6 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathPatchResponse + public sealed partial class ProxyOffV1TokenwiseOffV1PathGetResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse2.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse2.Json.g.cs index ebf5ca06..22d5bdd2 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1TokenwiseOffV1PathPatchResponse2 + public sealed partial class ProxyOffV1TokenwiseOffV1PathGetResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse2), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse2; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse2), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse2; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse2.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse2.g.cs index 3904c849..44619322 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathPatchResponse2 + public sealed partial class ProxyOffV1TokenwiseOffV1PathGetResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse3.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse3.Json.g.cs index 890d7b16..7ac4a5d0 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1TokenwiseOffV1PathPatchResponse3 + public sealed partial class ProxyOffV1TokenwiseOffV1PathGetResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse3), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse3; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse3), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse3; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse3.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse3.g.cs index 04036a5d..d88600ce 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathPatchResponse3 + public sealed partial class ProxyOffV1TokenwiseOffV1PathGetResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse4.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse4.Json.g.cs index e5475358..83fe5c62 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1TokenwiseOffV1PathPatchResponse4 + public sealed partial class ProxyOffV1TokenwiseOffV1PathGetResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse4? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse4), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse4; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse4), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse4? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse4? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse4; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse4.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse4.g.cs index d5f809e5..784cb441 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOffV1GatewayOffV1PathPatchResponse4 + public sealed partial class ProxyOffV1TokenwiseOffV1PathGetResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse5.Json.g.cs new file mode 100644 index 00000000..01296e15 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOffV1TokenwiseOffV1PathGetResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse5), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse5.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse5.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse5.g.cs index dea2c73a..7b2ec59f 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse5.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse5.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOffV1GatewayOffV1PathPatchResponse5 + public sealed partial class ProxyOffV1TokenwiseOffV1PathGetResponse5 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse6.Json.g.cs new file mode 100644 index 00000000..4c2ed70a --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOffV1TokenwiseOffV1PathGetResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse6), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathGetResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse6.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse6.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse6.g.cs index 991ff1ba..a040afcc 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse6.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathGetResponse6.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOffV1GatewayOffV1PathPatchResponse6 + public sealed partial class ProxyOffV1TokenwiseOffV1PathGetResponse6 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse.g.cs deleted file mode 100644 index de165421..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathPatchResponse - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse2.g.cs deleted file mode 100644 index 92635ac9..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathPatchResponse2 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse3.g.cs deleted file mode 100644 index 20f593f0..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathPatchResponse3 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse4.g.cs deleted file mode 100644 index bbb3d7f7..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathPatchResponse4 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse5.Json.g.cs deleted file mode 100644 index c3fc1faf..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOffV1TokenwiseOffV1PathPatchResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse5), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse5.g.cs deleted file mode 100644 index 7bf62c57..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathPatchResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse6.Json.g.cs deleted file mode 100644 index 5f4b8d6c..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOffV1TokenwiseOffV1PathPatchResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse6), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathPatchResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse6.g.cs deleted file mode 100644 index 023cd968..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPatchResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathPatchResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse.Json.g.cs index f3ac9339..e73ee6e5 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathPatchResponse + public sealed partial class ProxyOnV1GatewayOnV1PathGetResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathPatchResponse), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathPatchResponse; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathGetResponse), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathGetResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1TokenwiseV1PathPatchResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathPatchResponse; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathGetResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathGetResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse.g.cs index bd67ab9f..70cff4cb 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1TokenwiseV1PathPatchResponse + public sealed partial class ProxyOnV1GatewayOnV1PathGetResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse2.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse2.Json.g.cs index 647941e9..fdb20b7d 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathPatchResponse2 + public sealed partial class ProxyOnV1GatewayOnV1PathGetResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathPatchResponse2), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathPatchResponse2; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathGetResponse2), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathGetResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1TokenwiseV1PathPatchResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathPatchResponse2; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathGetResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathGetResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse2.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse2.g.cs index d4145e83..73346b01 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1TokenwiseV1PathPatchResponse2 + public sealed partial class ProxyOnV1GatewayOnV1PathGetResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse3.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse3.Json.g.cs index 23a882b8..1cce99e3 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathPatchResponse3 + public sealed partial class ProxyOnV1GatewayOnV1PathGetResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathPatchResponse3), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathPatchResponse3; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathGetResponse3), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathGetResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1TokenwiseV1PathPatchResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathPatchResponse3; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathGetResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathGetResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse3.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse3.g.cs index c07028cd..3cbe9c53 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1TokenwiseV1PathPatchResponse3 + public sealed partial class ProxyOnV1GatewayOnV1PathGetResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse4.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse4.Json.g.cs index 71e0eb1e..ffab7e28 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathPatchResponse4 + public sealed partial class ProxyOnV1GatewayOnV1PathGetResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse4? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathPatchResponse4), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathPatchResponse4; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathGetResponse4), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathGetResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse4? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse4? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1TokenwiseV1PathPatchResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathPatchResponse4; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathGetResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathGetResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse4.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse4.g.cs index f6f0454c..01529ccd 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1TokenwiseV1PathPatchResponse4 + public sealed partial class ProxyOnV1GatewayOnV1PathGetResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse5.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse5.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse5.Json.g.cs index d677139b..dbefa4b1 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse5.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse5.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathPatchResponse5 + public sealed partial class ProxyOnV1GatewayOnV1PathGetResponse5 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse5? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse5? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathPatchResponse5), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathPatchResponse5; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathGetResponse5), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathGetResponse5; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse5? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse5? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse5? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse5? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1TokenwiseV1PathPatchResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathPatchResponse5; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathGetResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathGetResponse5; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse5.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse5.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse5.g.cs index 0a5b3b84..7383b094 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse5.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse5.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1TokenwiseV1PathPatchResponse5 + public sealed partial class ProxyOnV1GatewayOnV1PathGetResponse5 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse6.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse6.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse6.Json.g.cs index fc7465da..9460b468 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse6.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse6.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathPatchResponse6 + public sealed partial class ProxyOnV1GatewayOnV1PathGetResponse6 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse6? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse6? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathPatchResponse6), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathPatchResponse6; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathGetResponse6), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathGetResponse6; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse6? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse6? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1TokenwiseV1PathPatchResponse6? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathGetResponse6? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1TokenwiseV1PathPatchResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathPatchResponse6; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathGetResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathGetResponse6; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse6.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse6.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse6.g.cs index 59d313e7..d5da51e4 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPatchResponse6.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathGetResponse6.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1TokenwiseV1PathPatchResponse6 + public sealed partial class ProxyOnV1GatewayOnV1PathGetResponse6 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse.Json.g.cs index 70d89873..b9725acc 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathPatchResponse + public sealed partial class ProxyOnV1TokenwiseOnV1PathGetResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse), + jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse.g.cs new file mode 100644 index 00000000..f357f0f7 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1TokenwiseOnV1PathGetResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse2.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse2.Json.g.cs index 051e86a8..aa1286e3 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathPatchResponse2 + public sealed partial class ProxyOnV1TokenwiseOnV1PathGetResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse2), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse2; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse2), + jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse2; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse2.g.cs new file mode 100644 index 00000000..29b6e801 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1TokenwiseOnV1PathGetResponse2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse3.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse3.Json.g.cs index f8b3a10c..436292d5 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathPatchResponse3 + public sealed partial class ProxyOnV1TokenwiseOnV1PathGetResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse3), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse3; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse3), + jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse3; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse3.g.cs new file mode 100644 index 00000000..94dd9455 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1TokenwiseOnV1PathGetResponse3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse4.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse4.Json.g.cs index 6baae130..a9e2543e 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathPatchResponse4 + public sealed partial class ProxyOnV1TokenwiseOnV1PathGetResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse4? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse4), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse4; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse4), + jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse4? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse4? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse4; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse4.g.cs new file mode 100644 index 00000000..c06e68da --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse4.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1TokenwiseOnV1PathGetResponse4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse5.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse5.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse5.Json.g.cs index cfde24c3..06859c48 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse5.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse5.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathPatchResponse5 + public sealed partial class ProxyOnV1TokenwiseOnV1PathGetResponse5 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse5? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse5? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse5), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse5; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse5), + jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse5; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse5? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse5? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse5? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse5? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse5; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse5; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse5.g.cs new file mode 100644 index 00000000..6326873d --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1TokenwiseOnV1PathGetResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse6.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse6.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse6.Json.g.cs index bba5a8ea..4c51c962 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPatchResponse6.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse6.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathPatchResponse6 + public sealed partial class ProxyOnV1TokenwiseOnV1PathGetResponse6 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse6? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse6? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse6), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse6; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse6), + jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse6; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse6? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse6? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse6? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse6? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathPatchResponse6; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathGetResponse6; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse6.g.cs new file mode 100644 index 00000000..278c17af --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathGetResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1TokenwiseOnV1PathGetResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse.Json.g.cs deleted file mode 100644 index 1f4a5e79..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathPatchResponse - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse2.Json.g.cs deleted file mode 100644 index b1ec5fe1..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathPatchResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse2), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse2? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse3.Json.g.cs deleted file mode 100644 index 2515653e..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathPatchResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse3), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse3? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse4.Json.g.cs deleted file mode 100644 index c1c38a0d..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathPatchResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse4), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse4? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse5.Json.g.cs deleted file mode 100644 index f9e0af79..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathPatchResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse5), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse6.Json.g.cs deleted file mode 100644 index f81ba632..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathPatchResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse6), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathPatchResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse.Json.g.cs new file mode 100644 index 00000000..b08718c7 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1GatewayV1PathGetResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathGetResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1GatewayV1PathGetResponse), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathGetResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathGetResponse? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1GatewayV1PathGetResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1GatewayV1PathGetResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathGetResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse.g.cs new file mode 100644 index 00000000..1c8edcbd --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1GatewayV1PathGetResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse2.Json.g.cs new file mode 100644 index 00000000..2aaab5ec --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1GatewayV1PathGetResponse2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathGetResponse2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1GatewayV1PathGetResponse2), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathGetResponse2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathGetResponse2? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1GatewayV1PathGetResponse2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1GatewayV1PathGetResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathGetResponse2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse2.g.cs new file mode 100644 index 00000000..817f032b --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1GatewayV1PathGetResponse2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse3.Json.g.cs new file mode 100644 index 00000000..3e55de1d --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1GatewayV1PathGetResponse3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathGetResponse3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1GatewayV1PathGetResponse3), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathGetResponse3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathGetResponse3? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1GatewayV1PathGetResponse3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1GatewayV1PathGetResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathGetResponse3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse3.g.cs new file mode 100644 index 00000000..d355b2eb --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1GatewayV1PathGetResponse3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse4.Json.g.cs new file mode 100644 index 00000000..f6003497 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1GatewayV1PathGetResponse4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathGetResponse4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1GatewayV1PathGetResponse4), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathGetResponse4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathGetResponse4? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1GatewayV1PathGetResponse4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1GatewayV1PathGetResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathGetResponse4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse4.g.cs new file mode 100644 index 00000000..6e872466 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse4.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1GatewayV1PathGetResponse4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse5.Json.g.cs new file mode 100644 index 00000000..9160ab09 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1GatewayV1PathGetResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathGetResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1GatewayV1PathGetResponse5), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathGetResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathGetResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1GatewayV1PathGetResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1GatewayV1PathGetResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathGetResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse5.g.cs new file mode 100644 index 00000000..9daec0f1 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1GatewayV1PathGetResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse6.Json.g.cs new file mode 100644 index 00000000..7667d0e5 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1GatewayV1PathGetResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathGetResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1GatewayV1PathGetResponse6), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathGetResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathGetResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1GatewayV1PathGetResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1GatewayV1PathGetResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathGetResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse6.g.cs new file mode 100644 index 00000000..79f8b922 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathGetResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1GatewayV1PathGetResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse.Json.g.cs index b79a210a..011ed17a 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathPatchResponse + public sealed partial class ProxyV1TokenwiseV1PathGetResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathPatchResponse? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathPatchResponse), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathPatchResponse; + typeof(global::AI21.ProxyV1TokenwiseV1PathGetResponse), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathGetResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathPatchResponse? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1GatewayV1PathPatchResponse? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1GatewayV1PathPatchResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathPatchResponse; + typeof(global::AI21.ProxyV1TokenwiseV1PathGetResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathGetResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse.g.cs index 2c5831da..a0ec87ed 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1GatewayV1PathPatchResponse + public sealed partial class ProxyV1TokenwiseV1PathGetResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse2.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse2.Json.g.cs index 0957da6f..dfbc0b14 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathPatchResponse2 + public sealed partial class ProxyV1TokenwiseV1PathGetResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathPatchResponse2), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathPatchResponse2; + typeof(global::AI21.ProxyV1TokenwiseV1PathGetResponse2), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathGetResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1GatewayV1PathPatchResponse2? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1GatewayV1PathPatchResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathPatchResponse2; + typeof(global::AI21.ProxyV1TokenwiseV1PathGetResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathGetResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse2.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse2.g.cs index d9130e81..0b4ae0a1 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1GatewayV1PathPatchResponse2 + public sealed partial class ProxyV1TokenwiseV1PathGetResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse3.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse3.Json.g.cs index c576d199..088a5110 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathPatchResponse3 + public sealed partial class ProxyV1TokenwiseV1PathGetResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathPatchResponse3), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathPatchResponse3; + typeof(global::AI21.ProxyV1TokenwiseV1PathGetResponse3), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathGetResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1GatewayV1PathPatchResponse3? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1GatewayV1PathPatchResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathPatchResponse3; + typeof(global::AI21.ProxyV1TokenwiseV1PathGetResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathGetResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse3.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse3.g.cs index 8c569c2d..187c330e 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1GatewayV1PathPatchResponse3 + public sealed partial class ProxyV1TokenwiseV1PathGetResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse4.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse4.Json.g.cs index 1325e8b2..79b6974d 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathPatchResponse4 + public sealed partial class ProxyV1TokenwiseV1PathGetResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathPatchResponse4? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathPatchResponse4), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathPatchResponse4; + typeof(global::AI21.ProxyV1TokenwiseV1PathGetResponse4), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathGetResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathPatchResponse4? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1GatewayV1PathPatchResponse4? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1GatewayV1PathPatchResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathPatchResponse4; + typeof(global::AI21.ProxyV1TokenwiseV1PathGetResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathGetResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse4.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse4.g.cs index dbdeb73e..29b0468f 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1GatewayV1PathPatchResponse4 + public sealed partial class ProxyV1TokenwiseV1PathGetResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse5.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse5.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse5.Json.g.cs index 2a1c6dc1..25ffd91c 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse5.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse5.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathPatchResponse5 + public sealed partial class ProxyV1TokenwiseV1PathGetResponse5 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathPatchResponse5? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse5? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathPatchResponse5), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathPatchResponse5; + typeof(global::AI21.ProxyV1TokenwiseV1PathGetResponse5), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathGetResponse5; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathPatchResponse5? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse5? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1GatewayV1PathPatchResponse5? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse5? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1GatewayV1PathPatchResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathPatchResponse5; + typeof(global::AI21.ProxyV1TokenwiseV1PathGetResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathGetResponse5; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse5.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse5.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse5.g.cs index 2117b603..b4cafb49 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse5.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse5.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1GatewayV1PathPatchResponse5 + public sealed partial class ProxyV1TokenwiseV1PathGetResponse5 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse6.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse6.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse6.Json.g.cs index 66beb4b4..b1c93f09 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse6.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse6.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathPatchResponse6 + public sealed partial class ProxyV1TokenwiseV1PathGetResponse6 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathPatchResponse6? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse6? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathPatchResponse6), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathPatchResponse6; + typeof(global::AI21.ProxyV1TokenwiseV1PathGetResponse6), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathGetResponse6; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathPatchResponse6? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse6? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1GatewayV1PathPatchResponse6? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathGetResponse6? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1GatewayV1PathPatchResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathPatchResponse6; + typeof(global::AI21.ProxyV1TokenwiseV1PathGetResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathGetResponse6; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse6.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse6.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse6.g.cs index 23f8ff3f..4ce7fa89 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPatchResponse6.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathGetResponse6.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1GatewayV1PathPatchResponse6 + public sealed partial class ProxyV1TokenwiseV1PathGetResponse6 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse.Json.g.cs index d9d8b212..f7f86d8b 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaGatewayV1betaPathPatchResponse + public sealed partial class ProxyV1betaGatewayV1betaPathGetResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathGetResponse), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathGetResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathGetResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathGetResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse.g.cs index 4425478a..5dad6280 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOffV1GatewayOffV1PathPatchResponse + public sealed partial class ProxyV1betaGatewayV1betaPathGetResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse2.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse2.Json.g.cs index 7386b20c..31071ec3 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaGatewayV1betaPathPatchResponse3 + public sealed partial class ProxyV1betaGatewayV1betaPathGetResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse3? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse3), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse3; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathGetResponse2), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathGetResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse3? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse3? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse3; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathGetResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathGetResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse2.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse2.g.cs index 6567c96b..40f12184 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOffV1GatewayOffV1PathPatchResponse2 + public sealed partial class ProxyV1betaGatewayV1betaPathGetResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse3.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse3.Json.g.cs index affacf4b..f5a15ce6 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaGatewayV1betaPathPatchResponse2 + public sealed partial class ProxyV1betaGatewayV1betaPathGetResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse2? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse2), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse2; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathGetResponse3), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathGetResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse2? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse2? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse2; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathGetResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathGetResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse3.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse3.g.cs index a4fef2d5..f036f600 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPatchResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOffV1GatewayOffV1PathPatchResponse3 + public sealed partial class ProxyV1betaGatewayV1betaPathGetResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse4.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse4.Json.g.cs index e994df0b..567a5ce9 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaGatewayV1betaPathPatchResponse4 + public sealed partial class ProxyV1betaGatewayV1betaPathGetResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse4? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse4), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse4; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathGetResponse4), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathGetResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse4? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse4? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse4; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathGetResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathGetResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse4.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse4.g.cs index ff35b864..7ce5e30d 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathPatchResponse4 + public sealed partial class ProxyV1betaGatewayV1betaPathGetResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse5.Json.g.cs new file mode 100644 index 00000000..f09282ee --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1betaGatewayV1betaPathGetResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1betaGatewayV1betaPathGetResponse5), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathGetResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1betaGatewayV1betaPathGetResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathGetResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse5.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse5.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse5.g.cs index 9c0e42ae..eab1ab31 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse5.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse5.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathPatchResponse5 + public sealed partial class ProxyV1betaGatewayV1betaPathGetResponse5 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse6.Json.g.cs new file mode 100644 index 00000000..5046ade0 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1betaGatewayV1betaPathGetResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1betaGatewayV1betaPathGetResponse6), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathGetResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1betaGatewayV1betaPathGetResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1betaGatewayV1betaPathGetResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathGetResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse6.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse6.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse6.g.cs index ebd2be93..7fd26f0f 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPatchResponse6.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathGetResponse6.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathPatchResponse6 + public sealed partial class ProxyV1betaGatewayV1betaPathGetResponse6 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse.g.cs deleted file mode 100644 index 0ce81c86..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathPatchResponse - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse2.g.cs deleted file mode 100644 index be6572b2..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathPatchResponse2 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse3.g.cs deleted file mode 100644 index 9681ff6d..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathPatchResponse3 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse4.g.cs deleted file mode 100644 index 723f5820..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathPatchResponse4 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse5.Json.g.cs deleted file mode 100644 index c395fea3..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1betaGatewayV1betaPathPatchResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse5), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse5.g.cs deleted file mode 100644 index 3789a777..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathPatchResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse6.Json.g.cs deleted file mode 100644 index 5d2743e3..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1betaGatewayV1betaPathPatchResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse6), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathPatchResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse6.g.cs deleted file mode 100644 index 65d78ff3..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPatchResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathPatchResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse.Json.g.cs index 1da82aa5..38434a66 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaTokenwiseV1betaPathPatchResponse + public sealed partial class ProxyV1betaTokenwiseV1betaPathGetResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse.g.cs new file mode 100644 index 00000000..38014a7b --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaTokenwiseV1betaPathGetResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse2.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse2.Json.g.cs index 7d78e37c..09100872 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaTokenwiseV1betaPathPatchResponse2 + public sealed partial class ProxyV1betaTokenwiseV1betaPathGetResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse2? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse2), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse2; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse2), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse2? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse2? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse2; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse2.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse2.g.cs index 3d2b0e5f..0c361e1f 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPatchResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyHarnessApiHarnessApiPathPatchResponse + public sealed partial class ProxyV1betaTokenwiseV1betaPathGetResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse3.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse3.Json.g.cs index 1ab01453..9f0eae9d 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaTokenwiseV1betaPathPatchResponse3 + public sealed partial class ProxyV1betaTokenwiseV1betaPathGetResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse3? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse3), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse3; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse3), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse3? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse3? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse3; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse3.g.cs new file mode 100644 index 00000000..5ded2c14 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaTokenwiseV1betaPathGetResponse3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse4.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse4.Json.g.cs index 40689ed1..a68b2a36 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaTokenwiseV1betaPathPatchResponse4 + public sealed partial class ProxyV1betaTokenwiseV1betaPathGetResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse4? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse4), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse4; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse4), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse4? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse4? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse4; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse4.g.cs new file mode 100644 index 00000000..e87e22c1 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse4.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaTokenwiseV1betaPathGetResponse4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse5.Json.g.cs new file mode 100644 index 00000000..460b019a --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1betaTokenwiseV1betaPathGetResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse5), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse5.g.cs new file mode 100644 index 00000000..23c82476 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaTokenwiseV1betaPathGetResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse6.Json.g.cs new file mode 100644 index 00000000..acd962b5 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1betaTokenwiseV1betaPathGetResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse6), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathGetResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse6.g.cs new file mode 100644 index 00000000..2ffd2a17 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathGetResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaTokenwiseV1betaPathGetResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse.g.cs deleted file mode 100644 index efba65f4..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathPatchResponse - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse2.g.cs deleted file mode 100644 index a35fa913..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathPatchResponse2 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse3.g.cs deleted file mode 100644 index fc370cf6..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathPatchResponse3 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse4.g.cs deleted file mode 100644 index b8f3081b..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathPatchResponse4 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse5.Json.g.cs deleted file mode 100644 index ba659a6c..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1betaTokenwiseV1betaPathPatchResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse5), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse5.g.cs deleted file mode 100644 index 1458296b..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathPatchResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse6.Json.g.cs deleted file mode 100644 index a8205819..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1betaTokenwiseV1betaPathPatchResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse6), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathPatchResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse6.g.cs deleted file mode 100644 index cc6937f9..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPatchResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathPatchResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse.Json.g.cs index a18c29fe..aa294485 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalGatewayV1internalPathPatchResponse + public sealed partial class ProxyV1internalGatewayV1internalPathGetResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathGetResponse), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathGetResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathGetResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathGetResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse.g.cs index bf3a1daa..a0529947 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalGatewayV1internalPathPatchResponse + public sealed partial class ProxyV1internalGatewayV1internalPathGetResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse2.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse2.Json.g.cs index afaa7c75..bb41ea91 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalGatewayV1internalPathPatchResponse2 + public sealed partial class ProxyV1internalGatewayV1internalPathGetResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse2? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse2), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse2; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathGetResponse2), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathGetResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse2? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse2? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse2; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathGetResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathGetResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse2.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse2.g.cs index 71e48961..42930511 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalGatewayV1internalPathPatchResponse2 + public sealed partial class ProxyV1internalGatewayV1internalPathGetResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse3.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse3.Json.g.cs index 4fbb0487..09dc6cc0 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalGatewayV1internalPathPatchResponse3 + public sealed partial class ProxyV1internalGatewayV1internalPathGetResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse3? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse3), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse3; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathGetResponse3), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathGetResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse3? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse3? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse3; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathGetResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathGetResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse3.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse3.g.cs index 10e8662b..8eaf5888 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalGatewayV1internalPathPatchResponse3 + public sealed partial class ProxyV1internalGatewayV1internalPathGetResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse4.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse4.Json.g.cs index b412ad37..b8447c09 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalGatewayV1internalPathPatchResponse4 + public sealed partial class ProxyV1internalGatewayV1internalPathGetResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse4? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse4), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse4; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathGetResponse4), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathGetResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse4? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse4? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse4; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathGetResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathGetResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse4.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse4.g.cs index e436a833..095efd77 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalGatewayV1internalPathPatchResponse4 + public sealed partial class ProxyV1internalGatewayV1internalPathGetResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse5.Json.g.cs new file mode 100644 index 00000000..9a88a620 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1internalGatewayV1internalPathGetResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1internalGatewayV1internalPathGetResponse5), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathGetResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1internalGatewayV1internalPathGetResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathGetResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse5.g.cs new file mode 100644 index 00000000..b45b240e --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1internalGatewayV1internalPathGetResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse6.Json.g.cs new file mode 100644 index 00000000..a40fff20 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1internalGatewayV1internalPathGetResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1internalGatewayV1internalPathGetResponse6), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathGetResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1internalGatewayV1internalPathGetResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1internalGatewayV1internalPathGetResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathGetResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse6.g.cs new file mode 100644 index 00000000..825b0ae6 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathGetResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1internalGatewayV1internalPathGetResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse5.Json.g.cs deleted file mode 100644 index fe44f56e..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1internalGatewayV1internalPathPatchResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse5), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse5.g.cs deleted file mode 100644 index 7b7ca9c1..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1internalGatewayV1internalPathPatchResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse6.Json.g.cs deleted file mode 100644 index 7c025d77..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1internalGatewayV1internalPathPatchResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse6), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathPatchResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse6.g.cs deleted file mode 100644 index 7dcf4b5f..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPatchResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1internalGatewayV1internalPathPatchResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse.Json.g.cs index 52ca97ed..28281f3a 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalTokenwiseV1internalPathPatchResponse + public sealed partial class ProxyV1internalTokenwiseV1internalPathGetResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse.g.cs index 64d84fba..e916544b 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathPatchResponse + public sealed partial class ProxyV1internalTokenwiseV1internalPathGetResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse2.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse2.Json.g.cs index d17d1a4e..51c73c5f 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalTokenwiseV1internalPathPatchResponse4 + public sealed partial class ProxyV1internalTokenwiseV1internalPathGetResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse4? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse4), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse4; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse2), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse4? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse4? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse4; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse2.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse2.g.cs index 68687290..9dca992a 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathPatchResponse2 + public sealed partial class ProxyV1internalTokenwiseV1internalPathGetResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse3.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse3.Json.g.cs index 3e548e77..7185ef4a 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalTokenwiseV1internalPathPatchResponse2 + public sealed partial class ProxyV1internalTokenwiseV1internalPathGetResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse2? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse2), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse2; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse3), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse2? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse2? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse2; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse3.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse3.g.cs index daa07c27..75104c35 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathPatchResponse3 + public sealed partial class ProxyV1internalTokenwiseV1internalPathGetResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse4.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse4.Json.g.cs index 7821fcc1..773de5d8 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalTokenwiseV1internalPathPatchResponse3 + public sealed partial class ProxyV1internalTokenwiseV1internalPathGetResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse3? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse3), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse3; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse4), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse3? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse3? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse3; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse4.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse4.g.cs index 9adf93f5..8324ce4d 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathPatchResponse4 + public sealed partial class ProxyV1internalTokenwiseV1internalPathGetResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse5.Json.g.cs new file mode 100644 index 00000000..2159f5a3 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1internalTokenwiseV1internalPathGetResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse5), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse5.g.cs new file mode 100644 index 00000000..8f2c8ad3 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1internalTokenwiseV1internalPathGetResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse6.Json.g.cs new file mode 100644 index 00000000..224b83e7 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1internalTokenwiseV1internalPathGetResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse6), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathGetResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse6.g.cs new file mode 100644 index 00000000..5f4492e5 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathGetResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1internalTokenwiseV1internalPathGetResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse5.Json.g.cs deleted file mode 100644 index 491ff2b0..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1internalTokenwiseV1internalPathPatchResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse5), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse5.g.cs deleted file mode 100644 index 38452549..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathPatchResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse6.Json.g.cs deleted file mode 100644 index e3e7a63d..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1internalTokenwiseV1internalPathPatchResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse6), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathPatchResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse6.g.cs deleted file mode 100644 index 6765086b..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPatchResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathPatchResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/openapi.json b/src/libs/AI21/openapi.json index 666a22ff..b862e6d9 100644 --- a/src/libs/AI21/openapi.json +++ b/src/libs/AI21/openapi.json @@ -1 +1 @@ -{"openapi":"3.1.0","info":{"title":"AI21 Studio API","description":"Access our powerful language models using an API that makes you smile","version":"1.0.0"},"paths":{"/studio/v1/chat/files/convert":{"post":{"summary":"Convert Document File","operationId":"convert_document_file_studio_v1_chat_files_convert_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_convert_document_file_studio_v1_chat_files_convert_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/chat/completions":{"post":{"tags":["Jamba Complete"],"summary":"Studio Chat Complete","description":"This is the endpoint for the [Jamba Instruct model](https://docs.ai21.com/docs/jamba-models).\nThis is a foundation model that supports both single-turn (question answering,\ntext completion) and multi-turn (chat style) interactions.\n\nYou can optionally stream results if you want to get the response as each\ntoken is generated, rather than waiting for the entire response.","operationId":"v1_chat_complete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ChatCompletion"},{"items":{"$ref":"#/components/schemas/ChatCompletionVllmStreamingMessage"},"type":"array"}],"title":"Response V1 Chat Complete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files":{"get":{"tags":["Library management"],"summary":"Get Workspace Files","description":"Get metadata about a specific file by file ID. The file ID is generated by\nAI21 when you upload the file.","operationId":"v1_library_management","parameters":[{"required":false,"schema":{"type":"string","title":"Name"},"name":"name","in":"query"},{"required":false,"schema":{"type":"string","title":"Path"},"name":"path","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/FileStatus"},"name":"status","in":"query"},{"required":false,"schema":{"items":{"type":"string"},"type":"array","title":"Label"},"name":"label","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":500000},"name":"limit","in":"query"},{"required":false,"schema":{"type":"integer","title":"Offset"},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FileResponse"},"type":"array","title":"Response V1 Library Management"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Library management"],"summary":"Upload Workspace File","description":"Upload files to use for [RAG Engine document searches](https://docs.ai21.com/docs/rag-engine-overview).\nYou can assign metadata to your files to limit searches to specific files by file metadata.\nThere is no bulk upload method; files must be loaded one at a time.\n\n- **Max number of files:** No limit. The playground limits bulk uploads to 50 files per request.\n- **Max library size:** 1 GB total size. No limit to individual file size.\n- **Supported file types:** PDF, DocX, HTML, TXT","operationId":"v1_library_upload","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_v1_library_upload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files/{file_id}":{"get":{"tags":["Library management"],"summary":"Get File By Id","description":"Retrieve a list of documents in the user's library. Optionally specify a\nfilter to find only files with matching labels or paths. This method\nreturns only metadata about files; to download a file, call\n`GET .../files/{file_id}/download`\n\nWhen specifying qualifiers with your request, only files that match\n_all_ qualifiers will be returns. So, for example, if you specify\n`label='financial'` and `status='UPLOADED'`, only files with the label\n\"financial\" AND status UPLOADED will be returned.","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Library management"],"summary":"Update File","description":"Update the specified parameters of a specific document in the user's library.\nThis operation currently supports updating the publicUrl and labels parameters.\n\n> **This operation overwrites the specified items with the new data you provide.**\n> If you wish to add new labels to the labels list without removing the existing ones,\n> you must submit a labels list that includes both the current and new labels.**\n>\n> For instance, if the current labels are \"Label A\" and \"Label B\", and you wish to\n> add \"New Label C\" and \"New Label D\" to the list, you must specify `\"labels\": [\"Label A\", \"Label B\", \"New Label C\", \"New Label D\"]`.","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FilesUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Library management"],"summary":"Delete File","description":"Delete the specified file from the library.\n\n**Restrictions**:\nFiles in `PROCESSING` status cannot be deleted. Attempts to delete such files will result in a 422 error.","operationId":"v1_library_delete","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/secrets":{"get":{"tags":["Secrets"],"summary":"Get Secret List","operationId":"v1_secret_storage","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Secrets"],"summary":"Save Secret","operationId":"v1_secret_storage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSecretPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Secrets"],"summary":"Delete Secret","operationId":"v1_secret_storage","parameters":[{"required":true,"schema":{"type":"string","title":"Secret Id"},"name":"secret_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/secrets/{secret_id}":{"patch":{"tags":["Secrets"],"summary":"Update Secret","operationId":"v1_secret_storage","parameters":[{"required":true,"schema":{"type":"string","title":"Secret Id"},"name":"secret_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSecretPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/batches/{batch_id}/status":{"get":{"tags":["RAG Engine"],"summary":"Get Batch Ingestion Status","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"},"name":"batch_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IngestionBatchStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files/{file_id}/download":{"get":{"tags":["RAG Engine"],"summary":"Generate Documents Signed Url","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files/{file_id}/parsed":{"get":{"tags":["RAG Engine"],"summary":"Download Parsed Document","description":"Download parsed document with Content-Disposition header for immediate download.","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/maestro/runs":{"post":{"summary":"Create Maestro Run","operationId":"v1_maestro_run","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMaestroRunsPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaestroRunResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/maestro/runs/{execution_id}":{"get":{"summary":"Get Maestro Run","operationId":"v1_get_maestro_run","parameters":[{"required":true,"schema":{"type":"string","title":"Execution Id"},"name":"execution_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaestroRunResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos":{"get":{"summary":"List Demos","description":"List all available demos.","operationId":"list_demos_studio_v1_demos_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Demo"},"type":"array","title":"Response List Demos Studio V1 Demos Get"}}}}}},"post":{"summary":"Create Demo","description":"Create a new demo.","operationId":"create_demo_studio_v1_demos_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Demo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/{demo_id}":{"get":{"summary":"Get Demo","description":"Get a specific demo by ID.","operationId":"get_demo_studio_v1_demos__demo_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Demo Id"},"name":"demo_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Demo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Demo","description":"Update an existing demo.","operationId":"update_demo_studio_v1_demos__demo_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Demo Id"},"name":"demo_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Demo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Demo","description":"Delete a demo.","operationId":"delete_demo_studio_v1_demos__demo_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Demo Id"},"name":"demo_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/parse-pdf":{"post":{"summary":"Parse Pdf","description":"Parse a PDF file and return its contents.","operationId":"parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parse Pdf Studio V1 Demos Document Modifier Parse Pdf Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/get-parsed-file":{"get":{"summary":"Get Parsed File","description":"Get the parsed file from the document modifier.","operationId":"get_parsed_file_studio_v1_demos_document_modifier_get_parsed_file_get","parameters":[{"required":true,"schema":{"type":"string","title":"File Name"},"name":"file_name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Parsed File Studio V1 Demos Document Modifier Get Parsed File Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/compare-text":{"post":{"summary":"Compare Text","description":"Compare text in a document file against a reference text.","operationId":"compare_text_studio_v1_demos_document_modifier_compare_text_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompareTextRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Compare Text Studio V1 Demos Document Modifier Compare Text Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/download":{"post":{"summary":"Download Modified Document","description":"Download a modified document.","operationId":"download_modified_document_studio_v1_demos_document_modifier_download_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadModifiedDocumentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/jamba-execute":{"post":{"summary":"Jamba Execute","description":"Execute a Jamba request.","operationId":"jamba_execute_studio_v1_demos_document_modifier_jamba_execute_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JambaExecuteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Jamba Execute Studio V1 Demos Document Modifier Jamba Execute Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/regulations/upload-check-compliance":{"post":{"summary":"Upload Check Compliance","description":"Check compliance of a document file against regulatory requirements.","operationId":"upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Upload Check Compliance Studio V1 Demos Regulations Upload Check Compliance Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/regulations/vector-store/{vector_store_id}":{"get":{"summary":"Get Vector Store","description":"Get a vector store by ID.","operationId":"get_vector_store_studio_v1_demos_regulations_vector_store__vector_store_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Vector Store Id"},"name":"vector_store_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Vector Store Studio V1 Demos Regulations Vector Store Vector Store Id Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/rfi/generate-response-pdf":{"post":{"summary":"Combine section answers ➜ styled PDF for download","operationId":"generate_response_pdf_studio_v1_demos_rfi_generate_response_pdf_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}},"application/pdf":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/rfi/process-rfi":{"post":{"summary":"Process Rfi Document","operationId":"process_rfi_document_studio_v1_demos_rfi_process_rfi_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_process_rfi_document_studio_v1_demos_rfi_process_rfi_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RFIResponseSection"},"type":"array","title":"Response Process Rfi Document Studio V1 Demos Rfi Process Rfi Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/scraper/file-url/{file_id}":{"get":{"summary":"Get File Url","operationId":"get_file_url_studio_v1_demos_scraper_file_url__file_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"File Id"},"name":"file_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Api Key"},"name":"api_key","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/scraper/can-iframe":{"get":{"summary":"Can Iframe","operationId":"can_iframe_studio_v1_demos_scraper_can_iframe_get","parameters":[{"required":true,"schema":{"type":"string","title":"Url"},"name":"url","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Can Iframe Studio V1 Demos Scraper Can Iframe Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/ingest-url":{"post":{"tags":["Website Connector"],"summary":"Connect Website","operationId":"v1_website_connector_ingest_url","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorIngestUrlPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/url-status":{"get":{"tags":["Website Connector"],"summary":"Get Url Status","operationId":"v1_website_connector_get_url_status","parameters":[{"required":true,"schema":{"type":"string","title":"Url Id"},"name":"url_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/ingest-website":{"post":{"tags":["Website Connector"],"summary":"Ingest Website","operationId":"v1_website_connector_ingest_website","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorIngestWebsitePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/website-status":{"get":{"tags":["Website Connector"],"summary":"Get Website Status","operationId":"v1_website_connector_get_website_status","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Website Id"},"name":"website_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/retry-ingest-website":{"post":{"tags":["Website Connector"],"summary":"Retry Ingest Website","operationId":"v1_website_connector_retry_ingest_website","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorRetryIngestWebsitePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/client-config":{"get":{"tags":["Website Connector"],"summary":"Get Client Config","operationId":"v1_website_connector_get_config","parameters":[{"required":true,"schema":{"type":"string","title":"Config Name"},"name":"config_name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Website Connector"],"summary":"Create Client Config","operationId":"v1_website_connector_create_config","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorCreateConfigPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/structured-rag/organizations/{organization_id}/schemas":{"get":{"summary":"Get Organization Schemas","operationId":"get_organization_schemas_studio_v1_structured_rag_organizations__organization_id__schemas_get","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgSchemas"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Organization Schema","operationId":"create_organization_schema_studio_v1_structured_rag_organizations__organization_id__schemas_post","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationSchemaRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/structured-rag/organizations/{organization_id}/schema-detection":{"post":{"summary":"Detect Schema","operationId":"detect_schema_studio_v1_structured_rag_organizations__organization_id__schema_detection_post","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectSchemaRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectSchemaResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/structured-rag/organizations/{organization_id}/schemas/{schema_name}":{"delete":{"summary":"Delete Organization Schema","operationId":"delete_organization_schema_studio_v1_structured_rag_organizations__organization_id__schemas__schema_name__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Schema Name"},"name":"schema_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/v1/{path}":{"get":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/v1beta/{path}":{"get":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/v1internal{path}":{"get":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/off/v1/{path}":{"get":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/on/v1/{path}":{"get":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/agents":{"get":{"summary":"List Agents","operationId":"list_agents_gateway_settings_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOut"},"type":"array","title":"Response List Agents Gateway Settings Agents Get"}}}}}},"post":{"summary":"Create Agent","operationId":"create_agent_gateway_settings_agents_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/agents/{agent_id}/optimizations":{"get":{"summary":"Get Agent Optimizations","operationId":"get_agent_optimizations_gateway_settings_agents__agent_id__optimizations_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOptimization"},"type":"array","title":"Response Get Agent Optimizations Gateway Settings Agents Agent Id Optimizations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/agents/{agent_id}":{"get":{"summary":"Get Agent","operationId":"get_agent_gateway_settings_agents__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Agent","operationId":"update_agent_gateway_settings_agents__agent_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Agent","operationId":"delete_agent_gateway_settings_agents__agent_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/configs":{"get":{"summary":"List Configs","operationId":"list_configs_gateway_settings_configs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConfigProfileOut"},"type":"array","title":"Response List Configs Gateway Settings Configs Get"}}}}}},"post":{"summary":"Create Config","operationId":"create_config_gateway_settings_configs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/configs/schema":{"get":{"summary":"Get Config Schema","operationId":"get_config_schema_gateway_settings_configs_schema_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigSchemaOut"}}}}}}},"/gateway/settings/configs/{config_id}":{"get":{"summary":"Get Config","operationId":"get_config_gateway_settings_configs__config_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Config","operationId":"update_config_gateway_settings_configs__config_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Config","operationId":"delete_config_gateway_settings_configs__config_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/provider-keys":{"get":{"summary":"List Provider Keys","description":"The workspace's provider keys, masked.\n\nOne endpoint, two shapes, mirroring the BFF: without ``provider`` it lists\nevery key for the workspace; with one it returns that single key, or 404 if\nthe workspace has none for it. The union response model is the honest\ndeclaration of that — see ``provider_keys/router.py::list_provider_keys``.\n\n``provider`` is bounded here so an explicitly empty ``?provider=`` fails with\n422 at this edge rather than making the round trip (the BFF rejects it too);\nomitting it entirely is the list case. It rides through on the forwarded query\nstring — see ``tokenwise_service._build_gateway_request``.","operationId":"list_provider_keys_gateway_settings_provider_keys_get","parameters":[{"required":false,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/ProviderKeyOut"},"type":"array"},{"$ref":"#/components/schemas/ProviderKeyOut"}],"title":"Response List Provider Keys Gateway Settings Provider Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Provider Key","description":"Rotate the workspace's key for a provider. 404 if none is configured.\n\nFull replacement, not a partial update — unlike the agent/config mirrors there\nis no ``exclude_unset``, because ``api_key`` is the whole point of the call.","operationId":"update_provider_key_gateway_settings_provider_keys_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Provider Key","description":"Store a provider key for the workspace. 409 if one already exists.","operationId":"create_provider_key_gateway_settings_provider_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Provider Key","description":"Delete the workspace's key for a provider. 404 if none is configured.","operationId":"delete_provider_key_gateway_settings_provider_keys_delete","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights":{"get":{"summary":"List Insights","description":"Published insights for ``agent_id``, newest first.\n\n``agent_id`` is typed here so a missing/empty value fails with 422 before\nreaching the gateway; it rides through to the upstream via the forwarded\nquery string (see ``tokenwise_service._build_gateway_request``).","operationId":"list_insights_gateway_insights_get","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Agent Id"},"name":"agent_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List Insights Gateway Insights Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/all":{"get":{"summary":"List All Insights","description":"Every insight for the workspace in one read, newest first, with an optional\n``agent_id`` filter that rides through on the query string.\n\nBacks the overview roster's recommendations pill, which needs a count per\nagent and would otherwise fan out one request per row (OPSS-328).\n\nUnlike :func:`list_insights` this is NOT published-only — it forwards the\nupstream's authoring view verbatim, so ``draft`` / ``dismissed`` / ``applied``\nrows reach the client, which filters to the states it wants to show.","operationId":"list_all_insights_gateway_insights_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List All Insights Gateway Insights All Get"}}}}}}},"/gateway/insights/{insight_id}/apply":{"post":{"summary":"Apply Insight","description":"Apply an insight's config suggestion to its agent (``published`` -> ``applied``).","operationId":"apply_insight_gateway_insights__insight_id__apply_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/{insight_id}/dismiss":{"post":{"summary":"Dismiss Insight","description":"Dismiss an insight (``published`` -> ``dismissed``).","operationId":"dismiss_insight_gateway_insights__insight_id__dismiss_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/{insight_id}/acknowledge":{"post":{"summary":"Acknowledge Insight","description":"Mark an advisory insight as acted on (``published`` -> ``acknowledged``).\n\nThe positive terminal action for a ``kind=\"advisory\"`` insight, which carries\nno config suggestion to apply. The gateway 409s a ``config_change`` insight\nhere — those go through ``apply``.","operationId":"acknowledge_insight_gateway_insights__insight_id__acknowledge_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/{insight_id}/feedback":{"post":{"summary":"Submit Insight Feedback","description":"Record the user's verdict (+ optional comment) on an insight.\n\nOrthogonal to the lifecycle — allowed in every customer-visible state, and\nlast write wins. The gateway owns the closed verdict set.","operationId":"submit_insight_feedback_gateway_insights__insight_id__feedback_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightFeedbackIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/analytics/v1/summary":{"get":{"summary":"Analytics Summary","operationId":"analytics_summary_gateway_analytics_v1_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/errors":{"get":{"summary":"Analytics Errors","operationId":"analytics_errors_gateway_analytics_v1_errors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/sessions":{"get":{"summary":"Analytics Sessions","operationId":"analytics_sessions_gateway_analytics_v1_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/sessions/{session_id}":{"get":{"summary":"Analytics Session Detail","operationId":"analytics_session_detail_gateway_analytics_v1_sessions__session_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/analytics/v1/transformers":{"get":{"summary":"Analytics Transformers","operationId":"analytics_transformers_gateway_analytics_v1_transformers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/tools":{"get":{"summary":"Analytics Context Tools","operationId":"analytics_context_tools_gateway_analytics_v1_context_tools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/bash":{"get":{"summary":"Analytics Context Bash","operationId":"analytics_context_bash_gateway_analytics_v1_context_bash_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/prefix":{"get":{"summary":"Analytics Context Prefix","operationId":"analytics_context_prefix_gateway_analytics_v1_context_prefix_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/blocks":{"get":{"summary":"Analytics Context Blocks","operationId":"analytics_context_blocks_gateway_analytics_v1_context_blocks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/trends":{"get":{"summary":"Analytics Trends","operationId":"analytics_trends_gateway_analytics_v1_trends_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/agents":{"get":{"summary":"Analytics Agents","operationId":"analytics_agents_gateway_analytics_v1_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/filters":{"get":{"summary":"Analytics Filters","operationId":"analytics_filters_gateway_analytics_v1_filters_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/v1/{path}":{"get":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/v1beta/{path}":{"get":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/v1internal{path}":{"get":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/off/v1/{path}":{"get":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/on/v1/{path}":{"get":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/agents":{"get":{"summary":"List Agents","operationId":"list_agents_tokenwise_settings_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOut"},"type":"array","title":"Response List Agents Tokenwise Settings Agents Get"}}}}}},"post":{"summary":"Create Agent","operationId":"create_agent_tokenwise_settings_agents_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/agents/{agent_id}/optimizations":{"get":{"summary":"Get Agent Optimizations","operationId":"get_agent_optimizations_tokenwise_settings_agents__agent_id__optimizations_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOptimization"},"type":"array","title":"Response Get Agent Optimizations Tokenwise Settings Agents Agent Id Optimizations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/agents/{agent_id}":{"get":{"summary":"Get Agent","operationId":"get_agent_tokenwise_settings_agents__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Agent","operationId":"update_agent_tokenwise_settings_agents__agent_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Agent","operationId":"delete_agent_tokenwise_settings_agents__agent_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/configs":{"get":{"summary":"List Configs","operationId":"list_configs_tokenwise_settings_configs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConfigProfileOut"},"type":"array","title":"Response List Configs Tokenwise Settings Configs Get"}}}}}},"post":{"summary":"Create Config","operationId":"create_config_tokenwise_settings_configs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/configs/schema":{"get":{"summary":"Get Config Schema","operationId":"get_config_schema_tokenwise_settings_configs_schema_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigSchemaOut"}}}}}}},"/tokenwise/settings/configs/{config_id}":{"get":{"summary":"Get Config","operationId":"get_config_tokenwise_settings_configs__config_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Config","operationId":"update_config_tokenwise_settings_configs__config_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Config","operationId":"delete_config_tokenwise_settings_configs__config_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/provider-keys":{"get":{"summary":"List Provider Keys","description":"The workspace's provider keys, masked.\n\nOne endpoint, two shapes, mirroring the BFF: without ``provider`` it lists\nevery key for the workspace; with one it returns that single key, or 404 if\nthe workspace has none for it. The union response model is the honest\ndeclaration of that — see ``provider_keys/router.py::list_provider_keys``.\n\n``provider`` is bounded here so an explicitly empty ``?provider=`` fails with\n422 at this edge rather than making the round trip (the BFF rejects it too);\nomitting it entirely is the list case. It rides through on the forwarded query\nstring — see ``tokenwise_service._build_gateway_request``.","operationId":"list_provider_keys_tokenwise_settings_provider_keys_get","parameters":[{"required":false,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/ProviderKeyOut"},"type":"array"},{"$ref":"#/components/schemas/ProviderKeyOut"}],"title":"Response List Provider Keys Tokenwise Settings Provider Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Provider Key","description":"Rotate the workspace's key for a provider. 404 if none is configured.\n\nFull replacement, not a partial update — unlike the agent/config mirrors there\nis no ``exclude_unset``, because ``api_key`` is the whole point of the call.","operationId":"update_provider_key_tokenwise_settings_provider_keys_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Provider Key","description":"Store a provider key for the workspace. 409 if one already exists.","operationId":"create_provider_key_tokenwise_settings_provider_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Provider Key","description":"Delete the workspace's key for a provider. 404 if none is configured.","operationId":"delete_provider_key_tokenwise_settings_provider_keys_delete","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights":{"get":{"summary":"List Insights","description":"Published insights for ``agent_id``, newest first.\n\n``agent_id`` is typed here so a missing/empty value fails with 422 before\nreaching the gateway; it rides through to the upstream via the forwarded\nquery string (see ``tokenwise_service._build_gateway_request``).","operationId":"list_insights_tokenwise_insights_get","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Agent Id"},"name":"agent_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List Insights Tokenwise Insights Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/all":{"get":{"summary":"List All Insights","description":"Every insight for the workspace in one read, newest first, with an optional\n``agent_id`` filter that rides through on the query string.\n\nBacks the overview roster's recommendations pill, which needs a count per\nagent and would otherwise fan out one request per row (OPSS-328).\n\nUnlike :func:`list_insights` this is NOT published-only — it forwards the\nupstream's authoring view verbatim, so ``draft`` / ``dismissed`` / ``applied``\nrows reach the client, which filters to the states it wants to show.","operationId":"list_all_insights_tokenwise_insights_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List All Insights Tokenwise Insights All Get"}}}}}}},"/tokenwise/insights/{insight_id}/apply":{"post":{"summary":"Apply Insight","description":"Apply an insight's config suggestion to its agent (``published`` -> ``applied``).","operationId":"apply_insight_tokenwise_insights__insight_id__apply_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/{insight_id}/dismiss":{"post":{"summary":"Dismiss Insight","description":"Dismiss an insight (``published`` -> ``dismissed``).","operationId":"dismiss_insight_tokenwise_insights__insight_id__dismiss_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/{insight_id}/acknowledge":{"post":{"summary":"Acknowledge Insight","description":"Mark an advisory insight as acted on (``published`` -> ``acknowledged``).\n\nThe positive terminal action for a ``kind=\"advisory\"`` insight, which carries\nno config suggestion to apply. The gateway 409s a ``config_change`` insight\nhere — those go through ``apply``.","operationId":"acknowledge_insight_tokenwise_insights__insight_id__acknowledge_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/{insight_id}/feedback":{"post":{"summary":"Submit Insight Feedback","description":"Record the user's verdict (+ optional comment) on an insight.\n\nOrthogonal to the lifecycle — allowed in every customer-visible state, and\nlast write wins. The gateway owns the closed verdict set.","operationId":"submit_insight_feedback_tokenwise_insights__insight_id__feedback_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightFeedbackIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/analytics/v1/summary":{"get":{"summary":"Analytics Summary","operationId":"analytics_summary_tokenwise_analytics_v1_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/errors":{"get":{"summary":"Analytics Errors","operationId":"analytics_errors_tokenwise_analytics_v1_errors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/sessions":{"get":{"summary":"Analytics Sessions","operationId":"analytics_sessions_tokenwise_analytics_v1_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/sessions/{session_id}":{"get":{"summary":"Analytics Session Detail","operationId":"analytics_session_detail_tokenwise_analytics_v1_sessions__session_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/analytics/v1/transformers":{"get":{"summary":"Analytics Transformers","operationId":"analytics_transformers_tokenwise_analytics_v1_transformers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/tools":{"get":{"summary":"Analytics Context Tools","operationId":"analytics_context_tools_tokenwise_analytics_v1_context_tools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/bash":{"get":{"summary":"Analytics Context Bash","operationId":"analytics_context_bash_tokenwise_analytics_v1_context_bash_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/prefix":{"get":{"summary":"Analytics Context Prefix","operationId":"analytics_context_prefix_tokenwise_analytics_v1_context_prefix_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/blocks":{"get":{"summary":"Analytics Context Blocks","operationId":"analytics_context_blocks_tokenwise_analytics_v1_context_blocks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/trends":{"get":{"summary":"Analytics Trends","operationId":"analytics_trends_tokenwise_analytics_v1_trends_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/agents":{"get":{"summary":"Analytics Agents","operationId":"analytics_agents_tokenwise_analytics_v1_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/filters":{"get":{"summary":"Analytics Filters","operationId":"analytics_filters_tokenwise_analytics_v1_filters_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/harness/api/auth/cli-config":{"get":{"summary":"Proxy Cli Config","operationId":"proxy_cli_config_harness_api_auth_cli_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/harness/api/{path}":{"get":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/generation/requirements":{"post":{"summary":"Generate Requirements","operationId":"v1_studio_api_generation_requirements","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequirementsGenerationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequirementsGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/models":{"get":{"summary":"Get Models Info","operationId":"v1_list_models_info","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelsInfoResponse"}}}}}}},"/studio/v1/assistants":{"get":{"summary":"Get Assistants","operationId":"v1_list_assistants","parameters":[{"required":false,"schema":{"items":{"type":"string"},"type":"array","title":"Workspace Ids"},"name":"workspace_ids","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAssistantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Assistant","operationId":"v1_create_assistant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assistant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/generate":{"post":{"summary":"Generate Assistant","operationId":"v1_generate_assistant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateAssistantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}":{"get":{"summary":"Get Assistant","operationId":"v1_get_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assistant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Assistant","operationId":"v1_delete_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAssistantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Modify Assistant","operationId":"v1_modify_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assistant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/run":{"post":{"summary":"Run Assistant","operationId":"v1_run_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaestroRunResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/plans":{"get":{"summary":"List Plans","operationId":"v1_list_plans","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPlansResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Plan","operationId":"v1_create_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlanPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/plans/{plan_id}":{"get":{"summary":"Get Plan","operationId":"v1_get_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Plan Id"},"name":"plan_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Modify Plan","operationId":"v1_modify_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Plan Id"},"name":"plan_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlanPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/routes":{"get":{"summary":"Get Routes","operationId":"v1_list_routes","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Name"},"name":"name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListRoutesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Route","operationId":"v1_create_route","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoutePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantRoute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/routes/{route_id}":{"get":{"summary":"Get Route","operationId":"v1_get_route","parameters":[{"required":true,"schema":{"type":"string","title":"Route Id"},"name":"route_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantRoute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Route","operationId":"v1_delete_route","parameters":[{"required":true,"schema":{"type":"string","title":"Route Id"},"name":"route_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Modify Route","operationId":"v1_modify_route","parameters":[{"required":true,"schema":{"type":"string","title":"Route Id"},"name":"route_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRoutePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantRoute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/validate_plan":{"post":{"summary":"Validate Plan","operationId":"v1_validate_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlanPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/mcp/storage":{"get":{"summary":"List Mcp Storage","operationId":"list_mcp_storage_studio_v1_mcp_storage_get","parameters":[{"required":false,"schema":{"type":"string","format":"uuid","title":"Workspace Id"},"name":"workspace_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListMCPsStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Mcp Storage","operationId":"create_mcp_storage_studio_v1_mcp_storage_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMCPStorageRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/mcp/storage/{mcp_id}":{"get":{"summary":"Get Mcp Storage","operationId":"get_mcp_storage_studio_v1_mcp_storage__mcp_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Mcp Storage","operationId":"delete_mcp_storage_studio_v1_mcp_storage__mcp_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Update Mcp Storage","operationId":"update_mcp_storage_studio_v1_mcp_storage__mcp_id__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMCPStorageRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/mcp/storage/{mcp_id}/assistants":{"get":{"summary":"Get Assistants By Mcp","operationId":"get_assistants_by_mcp_studio_v1_mcp_storage__mcp_id__assistants_get","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantsByMcpResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/settings/models":{"get":{"summary":"Get Workspace Models By Organization Endpoint","operationId":"get_workspace_models_by_organization_endpoint_studio_v1_settings_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceModelsResponse"}}}}}}},"/studio/v1/settings/models/available":{"get":{"summary":"Get Available Models Endpoint","operationId":"get_available_models_endpoint_studio_v1_settings_models_available_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/studio/v1/settings/models/{name}/secrets":{"get":{"summary":"Get Workspace Model Secret Endpoint","operationId":"get_workspace_model_secret_endpoint_studio_v1_settings_models__name__secrets_get","parameters":[{"required":true,"schema":{"type":"string","title":"Name"},"name":"name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/settings/models/{name}":{"patch":{"summary":"Update Workspace Model Endpoint","operationId":"update_workspace_model_endpoint_studio_v1_settings_models__name__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Name"},"name":"name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceModelUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceModelResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/solutions/tlv_municipality/convrag":{"post":{"summary":"Tlv Convrag","operationId":"v1_solutions_tlv_municipality_convrag","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/solutions-preview/tlv_municipality/convrag":{"post":{"summary":"Tlv Convrag Prefix Preview","operationId":"v1_solutions_tlv_municipality_preview_convrag","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AgentCreate":{"properties":{"agent_id":{"type":"string","maxLength":128,"minLength":1,"title":"Agent Id"},"kind":{"type":"string","title":"Kind","default":"other"},"name":{"type":"string","title":"Name","default":""},"description":{"type":"string","title":"Description"},"config_id":{"type":"string","title":"Config Id"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["agent_id"],"title":"AgentCreate","description":"Body for ``POST /tokenwise/settings/agents``."},"AgentOptimization":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"keys":{"items":{"type":"string"},"type":"array","title":"Keys"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"category":{"type":"string","title":"Category"},"availability":{"type":"string","title":"Availability"},"safety":{"type":"string","title":"Safety"}},"type":"object","required":["id","keys","name","description","category","availability","safety"],"title":"AgentOptimization","description":"Response shape for one card in ``GET /tokenwise/settings/agents/{agent_id}/optimizations``.\n\nString-ish fields stay plain ``str`` (not ``Literal``) so a new gateway enum\nvalue (a new ``availability`` / ``safety`` / ``category``) doesn't force an\napi-server release. The gateway filters ``hidden`` cards, so we never see them."},"AgentOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"agent_id":{"type":"string","title":"Agent Id"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"description":{"type":"string","title":"Description"},"config_id":{"type":"string","title":"Config Id"},"enabled":{"type":"boolean","title":"Enabled"},"used":{"type":"boolean","title":"Used"},"created_by_user_id":{"type":"string","title":"Created By User Id"},"can_edit":{"type":"boolean","title":"Can Edit","default":true},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","workspace_id","agent_id","name","kind","enabled","used","created_at","updated_at"],"title":"AgentOut","description":"Response shape for agent GET / POST / PUT."},"AgentUpdate":{"properties":{"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"description":{"type":"string","title":"Description"},"config_id":{"type":"string","title":"Config Id"},"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","title":"AgentUpdate","description":"Body for ``PUT /tokenwise/settings/agents/{agent_id}`` — partial update."},"Assistant":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"object":{"type":"string","title":"Object"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"type":"string","title":"Optimization"},"organization_id":{"type":"string","title":"Organization Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"user_id":{"type":"string","title":"User Id"},"avatar":{"type":"string","title":"Avatar"},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"models":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"items":{"type":"string"},"type":"array"}],"title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"allOf":[{"$ref":"#/components/schemas/BudgetLevel"}],"default":"medium"},"visibility":{"allOf":[{"$ref":"#/components/schemas/Visibility"}],"default":"public"},"assistant_type":{"allOf":[{"$ref":"#/components/schemas/AssistantType"}],"default":"default"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"vibe_prompt":{"type":"string","title":"Vibe Prompt"},"starter_questions":{"items":{"$ref":"#/components/schemas/StarterQuestion"},"type":"array","title":"Starter Questions"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"}},"type":"object","required":["id","created_at","updated_at","object","name","organization_id","user_id"],"title":"Assistant"},"AssistantBasicInfo":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"AssistantBasicInfo"},"AssistantMessage":{"properties":{"role":{"type":"string","enum":["assistant"],"title":"Role","default":"assistant","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"},"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCall"},"type":"array","title":"Tool Calls"},"reasoning_content":{"type":"string","title":"Reasoning Content"}},"type":"object","title":"AssistantMessage"},"AssistantRoute":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"plan_id":{"type":"string","title":"Plan Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples"},"assistant_id":{"type":"string","title":"Assistant Id"}},"type":"object","required":["id","created_at","updated_at","plan_id","name","description","examples","assistant_id"],"title":"AssistantRoute"},"AssistantType":{"enum":["default","chat","maestro"],"title":"AssistantType","description":"An enumeration."},"AssistantsByMcpResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/AssistantBasicInfo"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"AssistantsByMcpResponse"},"AuthenticationType":{"type":"string","enum":["none","token-api","custom-header"],"title":"AuthenticationType","description":"An enumeration."},"Body_convert_document_file_studio_v1_chat_files_convert_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_convert_document_file_studio_v1_chat_files_convert_post"},"Body_parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post"},"Body_process_rfi_document_studio_v1_demos_rfi_process_rfi_post":{"properties":{"file":{"type":"string","format":"binary","title":"File","description":"RFI document file (PDF supported)"},"budget":{"type":"string","title":"Budget","description":"Budget level: LOW, MEDIUM, or HIGH","default":"MEDIUM"},"vector_store_id":{"type":"string","title":"Vector Store Id","description":"Vector store ID to use for RFI processing"}},"type":"object","required":["file"],"title":"Body_process_rfi_document_studio_v1_demos_rfi_process_rfi_post"},"Body_upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"budget":{"type":"string","title":"Budget","default":"MEDIUM"},"vector_store_id":{"type":"string","title":"Vector Store Id","description":"Vector store ID to use for RFI processing"}},"type":"object","required":["file"],"title":"Body_upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post"},"Body_v1_library_upload":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"path":{"type":"string","title":"Path"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels"},"publicUrl":{"type":"string","title":"Publicurl"},"custom_configs":{"type":"string","title":"Custom Configs"},"upload_mode":{"allOf":[{"$ref":"#/components/schemas/UploadMode"}],"default":"immediate"},"batch_id":{"type":"string","format":"uuid","title":"Batch Id"},"data_source":{"type":"string","title":"Data Source"},"metadata":{"type":"string","title":"Metadata"}},"type":"object","required":["file"],"title":"Body_v1_library_upload"},"BudgetLevel":{"enum":["low","medium","high"],"title":"BudgetLevel","description":"An enumeration."},"ChatCompletion":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"choices":{"items":{"$ref":"#/components/schemas/ChatCompletionResponseChoice"},"type":"array","title":"Choices","description":"One or more responses, depending on the `n` parameter from the request.\n"},"usage":{"$ref":"#/components/schemas/UsageInfo","description":"The token counts for this request. Per-token billing is based on the\nprompt token and completion token counts and rates.\n"},"meta":{"type":"object","title":"Meta"}},"type":"object","required":["id","choices","usage"],"title":"ChatCompletion","description":"Used for non-streaming responses. Streaming responses return `ChatCompletionVllmStreamingMessage`."},"ChatCompletionResponseChoice":{"properties":{"index":{"type":"integer","title":"Index","description":"Zero-based index of the message in the list of messages. Note that this might not\ncorrespond with the position in the response list.\n"},"message":{"$ref":"#/components/schemas/AssistantMessage","description":"The message generated by the model. Same structure as the request message, with `role` and `content` members.\n"},"logprobs":{"$ref":"#/components/schemas/Logprobs"},"finish_reason":{"type":"string","title":"Finish Reason","description":"Why the message ended. Possible reasons:\n - `stop`: The response ended naturally as a complete answer (due to\n [end-of-sequence token](https://huggingface.co/docs/transformers/v4.32.1/en/llm_tutorial#generate-text))\n or because the model generated a stop sequence provided in the request.\n - `length`: The response ended by reaching `max_tokens`.\n"}},"type":"object","required":["index","message"],"title":"ChatCompletionResponseChoice","description":"A single possible response generated by the system. For non-streaming replies, There\ncan be multiple responses, depending on what `n` value you specified in the request.\n"},"ChatCompletionResponseDeltaChoice":{"properties":{"index":{"type":"integer","title":"Index","description":"Always zero in streamed responses."},"delta":{"anyOf":[{"$ref":"#/components/schemas/ChatStreamingFirstDelta"},{"$ref":"#/components/schemas/ChatStreamingContentDelta"},{"$ref":"#/components/schemas/ChatStreamingToolCallsFirstDelta"},{"$ref":"#/components/schemas/ChatStreamingToolCallsDelta"}],"title":"Delta","description":"- **The first message** in the stream will be an object set to `{\"role\":\"assistant\"}`.\n- **Subsequent messages** will have an object `{\"content\": __token__}` with the generated token.\n"},"logprobs":{"$ref":"#/components/schemas/Logprobs"},"finish_reason":{"type":"string","title":"Finish Reason","description":"One of the following string values:\n - `null`: All messages but the last will return null for `finish_reason`.\n - `stop`: The response ended naturally as a complete answer (due to\n [end-of-sequence token](https://huggingface.co/docs/transformers/v4.32.1/en/llm_tutorial#generate-text))\n or because the model generated a stop sequence provided in the request.\n - `length`: The response ended by reaching `max_tokens`.\n"}},"type":"object","required":["index","delta"],"title":"ChatCompletionResponseDeltaChoice"},"ChatCompletionVllmStreamingMessage":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"choices":{"items":{"$ref":"#/components/schemas/ChatCompletionResponseDeltaChoice"},"type":"array","title":"Choices","description":"The message"},"usage":{"$ref":"#/components/schemas/UsageInfo","description":"Included in the last message only. Total token counts for the message."},"meta":{"type":"object","title":"Meta"}},"type":"object","required":["id","choices"],"title":"ChatCompletionVllmStreamingMessage","description":"Returned for streaming messages. Non-streaming responses return `ChatCompletion`."},"ChatRequest":{"properties":{"model":{"$ref":"#/components/schemas/ModelName","description":"The name of the model to use. Choose one of the following values:\n* `jamba-instruct-preview`\n"},"messages":{"items":{"oneOf":[{"$ref":"#/components/schemas/UserMessage"},{"$ref":"#/components/schemas/AssistantMessage"},{"$ref":"#/components/schemas/ToolMessage"},{"$ref":"#/components/schemas/SystemMessage"}],"discriminator":{"propertyName":"role","mapping":{"user":"#/components/schemas/UserMessage","assistant":"#/components/schemas/AssistantMessage","tool":"#/components/schemas/ToolMessage","system":"#/components/schemas/SystemMessage"}}},"type":"array","title":"Messages","description":"The previous messages in this chat, from oldest (index 0) to newest. Messages\nmust be alternating `user`/`assistant` messages, optionally starting with a `system`\nmessage. For single turn interactions, this should be an optional `system` message,\nand a single `user` message. Maximum total size for the list is about 256K tokens.\n"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__chat__ToolDefinition"},"type":"array","title":"Tools"},"n":{"type":"integer","title":"N","default":1,"description":"How many chat responses to generate. _Range: 1 – 16_ **Notes:**\n- If `n > 1`, setting `temperature=0` will fail because all answers are guaranteed to be duplicates.\n- `n` must be 1 when `stream = True`\n"},"max_tokens":{"type":"integer","title":"Max Tokens","default":4096,"description":"The maximum number of tokens to allow for each generated response message. Typically\nthe best way to limit output length is by providing a length limit in the system\nprompt (for example, \"limit your answers to three sentences\"). _Range: 0 – 4096_\n"},"temperature":{"type":"number","title":"Temperature","description":"How much variation to provide in each answer. Setting this value to 0 guarantees the\nsame response to the same question every time. Setting a higher value encourages more\nvariation. Modifies the distribution from which tokens are sampled.\n[More information](https://docs.ai21.com/docs/sampling-from-language-models#temperature)\n_Range: 0.0 – 2.0_\n"},"top_p":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0,"title":"Top P","default":1,"description":"Limit the pool of next tokens in each step to the top N percentile of possible\ntokens, where 1.0 means the pool of all possible tokens, and 0.01 means the\npool of only the most likely next tokens. [More information]\n(https://docs.ai21.com/docs/sampling-from-language-models#topp) _Range: 0 \\<= value \\<=1.0_\n"},"stop":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"title":"Stop","description":"End the message when the model generates one of these strings. The stop sequence\nis not included in the generated message. Each sequence can be up to 64K long, and\ncan contain newlines as `\\n` characters. Examples:\n- Single stop string with a word and a period: \"monkeys.\"\n- Multiple stop strings and a newline: [\"cat\", \"dog\", \" .\", \"####\", \"\\n\"]\n"},"stream":{"type":"boolean","title":"Stream","default":false,"description":"Whether or not to stream the result one token at a time using\n[server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).\nThis can be useful when waiting for long results where a long wait time for an\nanswer can be problematic, such as a chatbot. If set to `True`, then `n` must\nbe 1. A streaming response is different than the non-streaming response.\n"},"mock_response":{"$ref":"#/components/schemas/MockResponseConfig"},"documents":{"items":{"$ref":"#/components/schemas/DocumentSchema"},"type":"array","title":"Documents","default":[]},"response_format":{"allOf":[{"$ref":"#/components/schemas/ResponseFormat"}],"title":"Response Format","default":{"type":"text"}}},"type":"object","required":["model","messages"],"title":"ChatRequest"},"ChatStreamingContentDelta":{"properties":{"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"ChatStreamingContentDelta"},"ChatStreamingFirstDelta":{"properties":{"role":{"type":"string","enum":["system","user","assistant","tool"],"title":"Role","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"}},"type":"object","required":["role"],"title":"ChatStreamingFirstDelta"},"ChatStreamingToolCallsDelta":{"properties":{"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCallDelta"},"type":"array","title":"Tool Calls"}},"type":"object","required":["tool_calls"],"title":"ChatStreamingToolCallsDelta"},"ChatStreamingToolCallsFirstDelta":{"properties":{"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCallDeltaStart"},"type":"array","title":"Tool Calls"}},"type":"object","required":["tool_calls"],"title":"ChatStreamingToolCallsFirstDelta"},"CompareTextRequest":{"properties":{"original_text":{"type":"string","title":"Original Text"},"modified_text":{"type":"string","title":"Modified Text"}},"type":"object","required":["original_text","modified_text"],"title":"CompareTextRequest"},"ComparisonOperator":{"type":"object","title":"ComparisonOperator"},"ConfigProfileCreate":{"properties":{"config_id":{"type":"string","maxLength":128,"minLength":1,"title":"Config Id"},"name":{"type":"string","title":"Name","default":""},"description":{"type":"string","title":"Description"},"overrides":{"type":"object","title":"Overrides"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["config_id"],"title":"ConfigProfileCreate","description":"Body for ``POST /tokenwise/settings/configs``."},"ConfigProfileOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"config_id":{"type":"string","title":"Config Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"overrides":{"type":"object","title":"Overrides"},"enabled":{"type":"boolean","title":"Enabled"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","workspace_id","config_id","name","overrides","enabled","created_at","updated_at"],"title":"ConfigProfileOut","description":"Response shape for config GET / POST / PUT."},"ConfigProfileUpdate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"overrides":{"type":"object","title":"Overrides"},"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","title":"ConfigProfileUpdate","description":"Body for ``PUT /tokenwise/settings/configs/{config_id}`` — partial update.\n\nAn explicit ``overrides: null`` is \"leave unchanged\"; ``{}`` clears them.\nThe gateway enforces the same semantics; we forward the JSON verbatim."},"ConfigSchemaOut":{"properties":{"groups":{"items":{"type":"object"},"type":"array","title":"Groups"}},"type":"object","required":["groups"],"title":"ConfigSchemaOut","description":"Response shape for ``GET /tokenwise/settings/configs/schema``.\n\nLoosely typed — the gateway derives this from its ``ProxySettings`` and the\nshape evolves with new transformer groups. Kept as a flexible envelope so\napi-server does not need a release every time the gateway adds a knob."},"CreateAssistantRequest":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"type":"string","title":"Optimization"},"avatar":{"type":"string","title":"Avatar"},"models":{"items":{"type":"string"},"type":"array","title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"allOf":[{"$ref":"#/components/schemas/BudgetLevel"}],"default":"medium"},"assistant_type":{"allOf":[{"$ref":"#/components/schemas/AssistantType"}],"default":"default"},"starter_questions":{"items":{"$ref":"#/components/schemas/StarterQuestion"},"type":"array","title":"Starter Questions"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"}},"type":"object","required":["name"],"title":"CreateAssistantRequest"},"CreateMCPStorageRequest":{"properties":{"server_url":{"type":"string","title":"Server Url"},"server_label":{"type":"string","title":"Server Label"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"authentication_type":{"$ref":"#/components/schemas/AuthenticationType"},"auth_header_name":{"type":"string","title":"Auth Header Name"},"auth_value":{"type":"string","title":"Auth Value"},"allowed_tools":{"items":{"type":"string"},"type":"array","title":"Allowed Tools"}},"type":"object","required":["server_url","server_label"],"title":"CreateMCPStorageRequest"},"CreateMaestroRunsPayload":{"properties":{"input":{"anyOf":[{"items":{"$ref":"#/components/schemas/Message"},"type":"array"},{"type":"string"}],"title":"Input"},"output_type":{"type":"object","title":"Output Type"},"models":{"items":{"type":"string"},"type":"array","title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"context":{"type":"object","title":"Context"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__Requirement"},"type":"array","title":"Requirements"},"budget":{"type":"string","enum":["low","medium","high"],"title":"Budget"},"verbose":{"type":"boolean","title":"Verbose","default":false},"include":{"items":{"type":"string"},"type":"array","title":"Include"},"structured_rag_enabled":{"type":"boolean","title":"Structured Rag Enabled","default":false},"dynamic_planning_enabled":{"type":"boolean","title":"Dynamic Planning Enabled","default":false},"assistant_id":{"type":"string","title":"Assistant Id"},"variant":{"type":"string","enum":["main","ingestion"],"title":"Variant","default":"main"},"custom_retrieval_configs":{"items":{"type":"object"},"type":"array","title":"Custom Retrieval Configs"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"system_prompt":{"type":"string","title":"System Prompt"},"stream":{"type":"boolean","title":"Stream","default":false,"description":"Whether or not to stream the result one token at a time using\n[server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).\nThis can be useful when waiting for long results where a long wait time for an\nanswer can be problematic, such as a chatbot. If set to `True`, then `n` must\nbe 1. A streaming response is different than the non-streaming response.\n"}},"type":"object","required":["input"],"title":"CreateMaestroRunsPayload"},"CreateOrganizationSchemaRequest":{"properties":{"schema_name":{"type":"string","title":"Schema Name"},"schema_object":{"type":"object","title":"Schema Object"},"run_classification":{"type":"boolean","title":"Run Classification","default":false}},"type":"object","required":["schema_name","schema_object"],"title":"CreateOrganizationSchemaRequest"},"CreatePlanPayload":{"properties":{"code":{"type":"string","title":"Code"},"schemas":{"items":{"type":"object"},"type":"array","title":"Schemas"}},"type":"object","required":["code"],"title":"CreatePlanPayload"},"CreateRoutePayload":{"properties":{"plan_id":{"type":"string","title":"Plan Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples"}},"type":"object","required":["plan_id","name","description","examples"],"title":"CreateRoutePayload"},"CreateSecretPayload":{"properties":{"secret_name":{"type":"string","title":"Secret Name"},"secret_value":{"type":"string","title":"Secret Value"}},"type":"object","required":["secret_name","secret_value"],"title":"CreateSecretPayload"},"DeleteAssistantResponse":{"properties":{"object":{"type":"string","title":"Object","default":"assistant"},"deleted":{"type":"boolean","title":"Deleted","default":true},"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"}},"type":"object","required":["id"],"title":"DeleteAssistantResponse"},"DeleteMCPStorageResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"}},"type":"object","required":["id"],"title":"DeleteMCPStorageResponse"},"Demo":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"name":{"type":"string","title":"Name","description":"Name of the demo"},"visibility":{"allOf":[{"$ref":"#/components/schemas/DemoVisibility"}],"description":"Visibility of the demo (public/private)"},"status":{"allOf":[{"$ref":"#/components/schemas/DemoStatus"}],"description":"Status of the demo (active/inactive)"},"config":{"type":"object","title":"Config","description":"Demo configuration"},"ui_component_name":{"type":"string","title":"Ui Component Name","description":"Name of the UI component"}},"type":"object","required":["id","name","visibility","status","ui_component_name"],"title":"Demo"},"DemoCreate":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the demo"},"visibility":{"allOf":[{"$ref":"#/components/schemas/DemoVisibility"}],"description":"Visibility of the demo (public/private)"},"status":{"allOf":[{"$ref":"#/components/schemas/DemoStatus"}],"description":"Status of the demo (active/inactive)"},"config":{"type":"object","title":"Config","description":"Demo configuration"},"ui_component_name":{"type":"string","title":"Ui Component Name","description":"Name of the UI component"}},"type":"object","required":["name","visibility","status","ui_component_name"],"title":"DemoCreate"},"DemoStatus":{"enum":["active","inactive"],"title":"DemoStatus","description":"An enumeration."},"DemoUpdate":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the demo"},"visibility":{"allOf":[{"$ref":"#/components/schemas/DemoVisibility"}],"description":"Visibility of the demo (public/private)"},"status":{"allOf":[{"$ref":"#/components/schemas/DemoStatus"}],"description":"Status of the demo (active/inactive)"},"config":{"type":"object","title":"Config","description":"Demo configuration"},"ui_component_name":{"type":"string","title":"Ui Component Name","description":"Name of the UI component"}},"type":"object","title":"DemoUpdate"},"DemoVisibility":{"enum":["public","private"],"title":"DemoVisibility","description":"An enumeration."},"DetectSchemaRequest":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/DocumentReference"},"type":"array","title":"Documents"},"queries":{"items":{"type":"string"},"type":"array","title":"Queries"}},"type":"object","required":["documents"],"title":"DetectSchemaRequest"},"DetectSchemaResponse":{"properties":{"schema_name":{"type":"string","title":"Schema Name"},"schema_definition":{"type":"object","title":"Schema Definition"}},"type":"object","required":["schema_name","schema_definition"],"title":"DetectSchemaResponse"},"DocumentReference":{"properties":{"document_id":{"type":"string","format":"uuid","title":"Document Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["document_id","name"],"title":"DocumentReference"},"DocumentSchema":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"content":{"type":"string","title":"Content"},"metadata":{"additionalProperties":{"type":"string"},"type":"object","title":"Metadata","default":{}}},"type":"object","required":["content"],"title":"DocumentSchema"},"DownloadModifiedDocumentRequest":{"properties":{"content":{"type":"string","title":"Content"},"filename":{"type":"string","title":"Filename"}},"type":"object","required":["content","filename"],"title":"DownloadModifiedDocumentRequest"},"FileResponse":{"properties":{"fileId":{"type":"string","format":"uuid","title":"Fileid","description":"The unique identifier of the file, generated by AI21.\n"},"name":{"type":"string","title":"Name","description":"The name of the file. This is the local file name from when the file was\nuploaded. It cannot be modified.\n"},"path":{"type":"string","title":"Path","description":"An arbitrary file-path-like string to indicate the content of a file. This has\nnothing to do with the location of the file in storage or on disk, and is only\nanother label that you can assign to the file in path-like format to help you\norganize the contents of the file or filter queries against your files. Example\npaths might be `pets/fish` or `pets/dogs`. Then, when searching your library,\nyou can filter files by the full path or path prefix. So to search only files\nin the \"dog folder\", filter by the path `/pets/dogs`. To search all files in\nthe \"pet folder\", filter your search by the path `pets/` when searching by path.\nThere isn't a restriction on whether a path must start or end with a / mark, but\nbe consistent in your usage, and all matches are prefix matching, not substring\nmatching. So filtering by `dog/` matches `dog/` and `dog/setter` but not `pets/dog/`.\n"},"fileType":{"type":"string","title":"Filetype","description":"The file type. See the file upload method to learn what file types are supported.\n"},"sizeBytes":{"type":"integer","title":"Sizebytes","description":"The size of the file, in bytes."},"labels":{"items":{"type":"string"},"type":"array","title":"Labels","description":"Any string labels you have associated with the file. You can apply arbitrary\nstring labels to your files and limit queries to files with one or more labels.\nSimilar to paths, but labels do not prefix match. Labels are case-sensitive.\nThere can be a maximum of 20 unique labels per account.\n"},"publicUrl":{"type":"string","title":"Publicurl","description":"The public URL of the file, if any. This URL is not validated by\nAI21 or used in any way. It is strictly a piece of metadata that you can\noptionally attach to a file.\n"},"createdBy":{"type":"string","format":"uuid","title":"Createdby","description":"An internal identifier of the user who uploaded the file.\n"},"creationDate":{"type":"string","format":"date","title":"Creationdate","description":"The date when the file was uploaded."},"lastUpdated":{"type":"string","format":"date","title":"Lastupdated","description":"When the file data or metadata was last changed."},"status":{"type":"string","title":"Status","description":"File status. One of the following values: \"DB_RECORD_CREATED\",\n\"UPLOADED\", \"UPLOAD_FAILED\", \"PROCESSED\", \"PROCESSING_FAILED\"\n"},"dataSource":{"type":"string","title":"Datasource"}},"type":"object","required":["fileId","name","fileType","sizeBytes","createdBy","creationDate","lastUpdated","status"],"title":"FileResponse"},"FileSearchToolResource":{"properties":{"type":{"type":"string","enum":["file_search"],"title":"Type","default":"file_search"},"retrieval_similarity_threshold":{"type":"number","title":"Retrieval Similarity Threshold"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels"},"labels_filter_mode":{"type":"string","enum":["AND","OR"],"title":"Labels Filter Mode","default":"AND"},"labels_filter":{"$ref":"#/components/schemas/QueryFilter"},"file_ids":{"items":{"type":"string"},"type":"array","title":"File Ids"},"retrieval_strategy":{"allOf":[{"$ref":"#/components/schemas/RetrievalStrategy"}],"default":"segments"},"max_neighbors":{"type":"integer","title":"Max Neighbors"},"path":{"type":"string","title":"Path"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"hybrid_search_alpha":{"type":"number","title":"Hybrid Search Alpha","default":1},"use_two_step_embedders":{"type":"boolean","title":"Use Two Step Embedders","default":false}},"type":"object","title":"FileSearchToolResource"},"FileStatus":{"type":"string","enum":["DB_RECORD_CREATED","UPLOADED","UPLOAD_FAILED","PROCESSED","PROCESSING_FAILED"],"title":"FileStatus","description":"An enumeration."},"FilesUpdateRequest":{"properties":{"publicUrl":{"type":"string","title":"Publicurl","description":"The public URL of the file, if any. This URL is not validated by\nAI21 or used in any way. It is strictly a piece of metadata that you can\noptionally attach to a file.\n"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels","description":"Any labels to associate with this file. Separate multiple labels with commas. If\nprovided, will overwrite all existing labels.\n"}},"type":"object","title":"FilesUpdateRequest"},"FunctionToolDefinition":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"parameters":{"$ref":"#/components/schemas/ToolParameters"}},"type":"object","required":["name"],"title":"FunctionToolDefinition"},"GenerateAssistantRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"avatar":{"type":"string","title":"Avatar"}},"type":"object","required":["prompt"],"title":"GenerateAssistantRequest"},"GenerateAssistantResponse":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"object":{"type":"string","title":"Object"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"type":"string","title":"Optimization"},"organization_id":{"type":"string","title":"Organization Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"user_id":{"type":"string","title":"User Id"},"avatar":{"type":"string","title":"Avatar"},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"models":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"items":{"type":"string"},"type":"array"}],"title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"allOf":[{"$ref":"#/components/schemas/BudgetLevel"}],"default":"medium"},"visibility":{"allOf":[{"$ref":"#/components/schemas/Visibility"}],"default":"public"},"assistant_type":{"allOf":[{"$ref":"#/components/schemas/AssistantType"}],"default":"default"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"vibe_prompt":{"type":"string","title":"Vibe Prompt"},"starter_questions":{"items":{"$ref":"#/components/schemas/StarterQuestion"},"type":"array","title":"Starter Questions"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"},"custom_tool_needed":{"additionalProperties":{"type":"string"},"type":"object","title":"Custom Tool Needed"},"recommended_files":{"items":{"type":"string"},"type":"array","title":"Recommended Files"}},"type":"object","required":["id","created_at","updated_at","object","name","organization_id","user_id"],"title":"GenerateAssistantResponse"},"HTTPToolEndpoint":{"properties":{"url":{"type":"string","title":"Url"},"headers":{"type":"object","title":"Headers"}},"type":"object","required":["url"],"title":"HTTPToolEndpoint"},"HTTPToolFunction":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"parameters":{"$ref":"#/components/schemas/HTTPToolFunctionParameters"}},"type":"object","required":["name","description","parameters"],"title":"HTTPToolFunction"},"HTTPToolFunctionParamProperties":{"properties":{"type":{"type":"string","title":"Type"},"description":{"type":"string","title":"Description"}},"type":"object","required":["type","description"],"title":"HTTPToolFunctionParamProperties"},"HTTPToolFunctionParameters":{"properties":{"type":{"type":"string","enum":["object"],"title":"Type","default":"object"},"properties":{"additionalProperties":{"$ref":"#/components/schemas/HTTPToolFunctionParamProperties"},"type":"object","title":"Properties"},"required":{"items":{"type":"string"},"type":"array","title":"Required"},"additionalProperties":{"type":"boolean","title":"Additionalproperties","default":false}},"type":"object","required":["properties","required"],"title":"HTTPToolFunctionParameters"},"HTTPToolResource":{"properties":{"type":{"type":"string","enum":["http"],"title":"Type","default":"http"},"function":{"$ref":"#/components/schemas/HTTPToolFunction"},"endpoint":{"$ref":"#/components/schemas/HTTPToolEndpoint"}},"type":"object","required":["function","endpoint"],"title":"HTTPToolResource"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IgnestionBatchStatusCount":{"properties":{"status":{"type":"string","title":"Status"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["status","count"],"title":"IgnestionBatchStatusCount"},"IngestionBatchStatusResponse":{"properties":{"batch_id":{"type":"string","title":"Batch Id","description":"The UUID of the batch"},"total_documents":{"type":"integer","title":"Total Documents","description":"Total number of documents in the batch"},"statuses":{"items":{"$ref":"#/components/schemas/IgnestionBatchStatusCount"},"type":"array","title":"Statuses","description":"List of document counts by status"}},"type":"object","required":["batch_id","total_documents","statuses"],"title":"IngestionBatchStatusResponse"},"InsightFeedbackIn":{"properties":{"verdict":{"type":"string","title":"Verdict"},"comment":{"type":"string","maxLength":1000,"title":"Comment"}},"type":"object","required":["verdict"],"title":"InsightFeedbackIn","description":"Body for ``POST /tokenwise/insights/{insight_id}/feedback``.\n\n``verdict`` stays a plain ``str`` for the same reason as\n:attr:`InsightOut.state` — the gateway owns the closed set (``helpful`` /\n``not_helpful``) and answers 422 on anything else, so widening it there\ndoesn't force an api-server release.\n\n``comment`` is bounded at 1000 chars to mirror the gateway's own limit (and\nits ``varchar(1000)`` column) so an over-long body fails here instead of\nmaking the round trip just to come back 422. The gateway stays the\nauthoritative enforcement point; keep this number in sync with it."},"InsightOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"agent_id":{"type":"string","title":"Agent Id"},"state":{"type":"string","title":"State"},"source":{"type":"string","title":"Source"},"kind":{"type":"string","title":"Kind"},"author":{"type":"string","title":"Author"},"title":{"type":"string","title":"Title"},"narrative":{"type":"string","title":"Narrative"},"projected_savings":{"type":"string","title":"Projected Savings"},"optimization_id":{"type":"string","title":"Optimization Id"},"config_suggestion":{"type":"object","title":"Config Suggestion"},"feedback_verdict":{"type":"string","title":"Feedback Verdict"},"feedback_comment":{"type":"string","title":"Feedback Comment"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","workspace_id","agent_id","state","source","kind","title","narrative","created_at","updated_at"],"title":"InsightOut","description":"Response shape for one insight — ``GET /tokenwise/insights`` and the\n``apply`` / ``dismiss`` / ``acknowledge`` transitions.\n\n``state``, ``source`` and ``kind`` stay plain ``str`` (not enums) so a new\ngateway lifecycle state, source or insight kind doesn't force an api-server\nrelease — the same stance as :class:`AgentOptimization`. The gateway is the\nsource of truth (``ai21_intelligent_gateway_api.insights.schemas.InsightResponse``).\n\nFeedback is two columns, not three: ``verdict`` is required on submission, so\na non-null ``feedback_verdict`` is itself the \"has feedback\" signal, and\n``updated_at`` covers when it arrived."},"JambaExecuteRequest":{"properties":{"content":{"type":"string","title":"Content"},"task":{"type":"string","title":"Task"},"prompt":{"type":"string","title":"Prompt"},"api_key":{"type":"string","title":"Api Key"}},"type":"object","required":["content","task","prompt"],"title":"JambaExecuteRequest"},"ListAssistantsResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/Assistant"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListAssistantsResponse"},"ListMCPsStorageResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/MCPStorageResponse"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListMCPsStorageResponse"},"ListPlansResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/Plan"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListPlansResponse"},"ListRoutesResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/AssistantRoute"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListRoutesResponse"},"LogicalOperator":{"additionalProperties":{"items":{"type":"object"},"type":"array"},"type":"object","title":"LogicalOperator"},"Logprobs":{"properties":{"content":{"items":{"$ref":"#/components/schemas/LogprobsData"},"type":"array","title":"Content"}},"type":"object","required":["content"],"title":"Logprobs"},"LogprobsData":{"properties":{"token":{"type":"string","title":"Token"},"logprob":{"type":"number","title":"Logprob"},"top_logprobs":{"items":{"$ref":"#/components/schemas/TopLogprobsData"},"type":"array","title":"Top Logprobs"}},"type":"object","required":["token","logprob"],"title":"LogprobsData"},"MCPStorageResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"server_url":{"type":"string","title":"Server Url"},"server_label":{"type":"string","title":"Server Label"},"organization_id":{"type":"string","format":"uuid","title":"Organization Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"authentication_type":{"$ref":"#/components/schemas/AuthenticationType"},"auth_header_name":{"type":"string","title":"Auth Header Name"},"auth_secret_key":{"type":"string","title":"Auth Secret Key"},"allowed_tools":{"items":{"type":"string"},"type":"array","title":"Allowed Tools"}},"type":"object","required":["id","server_url","server_label","organization_id","user_id"],"title":"MCPStorageResponse"},"MCPToolResource":{"properties":{"type":{"type":"string","enum":["mcp"],"title":"Type","default":"mcp"},"server_label":{"type":"string","title":"Server Label"},"server_url":{"type":"string","title":"Server Url"},"headers":{"type":"object","title":"Headers"},"allowed_tools":{"items":{"type":"string"},"type":"array","title":"Allowed Tools"},"mcp_id":{"type":"string","title":"Mcp Id"}},"type":"object","title":"MCPToolResource"},"MaestroRunError":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"MaestroRunError"},"MaestroRunResult":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"status":{"type":"string","enum":["completed","failed","in_progress","requires_action"],"title":"Status"},"result":{"title":"Result"},"data_sources":{"type":"object","title":"Data Sources"},"requirements_result":{"type":"object","title":"Requirements Result"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"error":{"$ref":"#/components/schemas/MaestroRunError"}},"type":"object","required":["id","status"],"title":"MaestroRunResult"},"MarkdownRequest":{"properties":{"text":{"type":"string","title":"Text","description":"All section answers concatenated"}},"type":"object","required":["text"],"title":"MarkdownRequest"},"Message":{"properties":{"role":{"type":"string","enum":["assistant","user"],"title":"Role","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"}},"type":"object","required":["role","content"],"title":"Message"},"MockResponseConfig":{"properties":{"response_delay_seconds":{"type":"number","minimum":0.0,"title":"Response Delay Seconds","default":1},"stream_response_delay_between_deltas_seconds":{"type":"number","minimum":0.0,"title":"Stream Response Delay Between Deltas Seconds","default":0.1}},"type":"object","title":"MockResponseConfig","include_in_schema":false},"ModelInfo":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"name":{"type":"string","title":"Name"},"updated":{"type":"string","title":"Updated"},"context_length":{"type":"integer","title":"Context Length"},"quantization":{"$ref":"#/components/schemas/ModelQuantization"},"max_completion_tokens":{"type":"integer","title":"Max Completion Tokens"},"pricing":{"$ref":"#/components/schemas/ModelPricing"}},"type":"object","required":["id","name","updated","context_length","quantization","max_completion_tokens","pricing"],"title":"ModelInfo"},"ModelName":{"type":"string","enum":["jamba-mini","jamba-large","jamba-large-1.7","jamba-large-1.7-2025-07","jamba-mini-2","jamba-mini-2-2026-01"],"title":"ModelName","description":"An enumeration."},"ModelPricing":{"properties":{"prompt":{"type":"string","title":"Prompt"},"completion":{"type":"string","title":"Completion"}},"type":"object","required":["prompt","completion"],"title":"ModelPricing"},"ModelQuantization":{"type":"string","enum":["FP8","experts_int8"],"title":"ModelQuantization","description":"An enumeration."},"ModelsInfoResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ModelInfo"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"ModelsInfoResponse"},"ModifyAssistantRequest":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"$ref":"#/components/schemas/RunOptimization"},"avatar":{"type":"string","title":"Avatar"},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"models":{"items":{"type":"string"},"type":"array","title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"$ref":"#/components/schemas/BudgetLevel"},"visibility":{"$ref":"#/components/schemas/Visibility"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"}},"type":"object","title":"ModifyAssistantRequest"},"OrgSchema":{"properties":{"organization_id":{"type":"string","format":"uuid","title":"Organization Id"},"schema_name":{"type":"string","title":"Schema Name"},"schema_definition":{"type":"object","title":"Schema Definition"},"table_stats":{"type":"object","title":"Table Stats"}},"type":"object","required":["organization_id","schema_name","schema_definition","table_stats"],"title":"OrgSchema"},"OrgSchemas":{"properties":{"schemas":{"items":{"$ref":"#/components/schemas/OrgSchema"},"type":"array","title":"Schemas"}},"type":"object","required":["schemas"],"title":"OrgSchemas"},"Plan":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"code":{"type":"string","title":"Code"},"schemas":{"items":{"type":"object"},"type":"array","title":"Schemas"},"assistant_id":{"type":"string","title":"Assistant Id"}},"type":"object","required":["id","created_at","updated_at","code","assistant_id"],"title":"Plan"},"ProviderKeyCreate":{"properties":{"provider":{"type":"string","minLength":1,"title":"Provider"},"api_key":{"type":"string","maxLength":8192,"minLength":1,"format":"password","title":"Api Key","writeOnly":true}},"type":"object","required":["provider","api_key"],"title":"ProviderKeyCreate","description":"Body for ``POST /tokenwise/settings/provider-keys``."},"ProviderKeyOut":{"properties":{"provider":{"type":"string","title":"Provider"},"masked_key":{"type":"string","title":"Masked Key"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["provider","created_at","updated_at"],"title":"ProviderKeyOut","description":"Response shape for provider-key GET / POST / PUT.\n\nNever carries the key itself. ``masked_key`` is the BFF's masked rendering\nfrom the secret store, and is ``null`` when the store is unreachable — whether\na workspace has a key configured is the BFF's own fact and stays readable even\nwhen the store is down."},"ProviderKeyUpdate":{"properties":{"provider":{"type":"string","minLength":1,"title":"Provider"},"api_key":{"type":"string","maxLength":8192,"minLength":1,"format":"password","title":"Api Key","writeOnly":true}},"type":"object","required":["provider","api_key"],"title":"ProviderKeyUpdate","description":"Body for ``PUT /tokenwise/settings/provider-keys`` — rotation.\n\nSame shape as create; the BFF distinguishes them by method, not by body."},"QueryFilter":{"anyOf":[{"$ref":"#/components/schemas/ComparisonOperator"},{"$ref":"#/components/schemas/LogicalOperator"},{"additionalProperties":{"$ref":"#/components/schemas/ComparisonOperator"},"type":"object"}],"title":"QueryFilter"},"RFIResponseSection":{"properties":{"header":{"type":"string","title":"Header","description":"Exact or closest RFI heading for the section"},"description":{"type":"string","title":"Description","description":"≤350-character directive listing everything to include in that section"},"generated_content":{"type":"string","title":"Generated Content","description":"Generated content for this section based on company files"}},"type":"object","required":["header","description"],"title":"RFIResponseSection","description":"Model for a single RFI response section."},"RequirementItem":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"}},"type":"object","required":["name","description"],"title":"RequirementItem"},"RequirementsGenerationRequest":{"properties":{"query":{"type":"string","title":"Query"}},"type":"object","required":["query"],"title":"RequirementsGenerationRequest"},"RequirementsGenerationResponse":{"properties":{"requirements":{"items":{"$ref":"#/components/schemas/RequirementItem"},"type":"array","title":"Requirements"}},"type":"object","required":["requirements"],"title":"RequirementsGenerationResponse"},"ResponseFormat":{"properties":{"type":{"type":"string","enum":["text","json_object"],"title":"Type"}},"type":"object","required":["type"],"title":"ResponseFormat"},"RetrievalStrategy":{"type":"string","enum":["segments","default","add_neighbors","full_doc"],"title":"RetrievalStrategy","description":"An enumeration."},"RunAssistantRequest":{"properties":{"input":{"items":{"$ref":"#/components/schemas/Message"},"type":"array","title":"Input"},"verbose":{"type":"boolean","title":"Verbose","default":false},"output_type":{"type":"object","title":"Output Type"},"include":{"items":{"type":"string"},"type":"array","title":"Include","default":["data_sources","requirements_result","requirements_result.metadata"]},"structured_rag_enabled":{"type":"boolean","title":"Structured Rag Enabled","default":false},"dynamic_planning_enabled":{"type":"boolean","title":"Dynamic Planning Enabled","default":false},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"system_prompt":{"type":"string","title":"System Prompt"}},"type":"object","required":["input"],"title":"RunAssistantRequest"},"RunOptimization":{"enum":["cost","latency"],"title":"RunOptimization","description":"An enumeration."},"SecretResponse":{"properties":{"secret_id":{"type":"string","title":"Secret Id"},"secret_key":{"type":"string","title":"Secret Key"}},"type":"object","required":["secret_id","secret_key"],"title":"SecretResponse"},"StarterQuestion":{"properties":{"title":{"type":"string","title":"Title"},"prompt":{"type":"string","title":"Prompt"}},"type":"object","required":["title","prompt"],"title":"StarterQuestion"},"SystemMessage":{"properties":{"role":{"type":"string","enum":["system"],"title":"Role","default":"system","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"SystemMessage"},"ToolCall":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"type":{"type":"string","enum":["function"],"title":"Type","default":"function"},"function":{"$ref":"#/components/schemas/ToolFunction"}},"type":"object","required":["id","function"],"title":"ToolCall"},"ToolCallDelta":{"properties":{"index":{"type":"integer","title":"Index"},"function":{"$ref":"#/components/schemas/ToolFunctionDelta"}},"type":"object","required":["index","function"],"title":"ToolCallDelta"},"ToolCallDeltaStart":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"index":{"type":"integer","title":"Index"},"type":{"type":"string","enum":["function"],"title":"Type"},"function":{"$ref":"#/components/schemas/ToolFunctionDeltaStart"}},"type":"object","required":["id","index","type","function"],"title":"ToolCallDeltaStart"},"ToolFunction":{"properties":{"name":{"type":"string","title":"Name"},"arguments":{"type":"string","title":"Arguments"}},"type":"object","required":["name","arguments"],"title":"ToolFunction"},"ToolFunctionDelta":{"properties":{"arguments":{"type":"string","title":"Arguments"}},"type":"object","required":["arguments"],"title":"ToolFunctionDelta"},"ToolFunctionDeltaStart":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"ToolFunctionDeltaStart"},"ToolMessage":{"properties":{"role":{"type":"string","enum":["tool"],"title":"Role","default":"tool","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"},"tool_call_id":{"type":"string","title":"Tool Call Id"}},"type":"object","required":["content","tool_call_id"],"title":"ToolMessage"},"ToolParameters":{"properties":{"type":{"type":"string","enum":["object"],"title":"Type","description":"Type of the parameter schema, only `object` is supported","default":"object"},"properties":{"type":"object","title":"Properties"},"required":{"items":{"type":"string"},"type":"array","title":"Required","description":"List of required properties"}},"type":"object","required":["properties"],"title":"ToolParameters"},"TopLogprobsData":{"properties":{"token":{"type":"string","title":"Token"},"logprob":{"type":"number","title":"Logprob"}},"type":"object","required":["token","logprob"],"title":"TopLogprobsData"},"UpdateMCPStorageRequest":{"properties":{"server_label":{"type":"string","title":"Server Label"}},"type":"object","required":["server_label"],"title":"UpdateMCPStorageRequest"},"UpdateRoutePayload":{"properties":{"description":{"type":"string","title":"Description"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples"}},"type":"object","required":["description"],"title":"UpdateRoutePayload"},"UpdateSecretPayload":{"properties":{"secret_name":{"type":"string","title":"Secret Name"},"secret_value":{"type":"string","title":"Secret Value"}},"type":"object","title":"UpdateSecretPayload"},"UploadMode":{"type":"string","enum":["immediate","batch"],"title":"UploadMode","description":"An enumeration."},"UsageInfo":{"properties":{"prompt_tokens":{"type":"integer","title":"Prompt Tokens","description":"Number of tokens in the prompt for this request. Note that the prompt token\nincludes the entire message history, plus extra tokens needed by the system\nwhen combining the list of prompt messages into a single message, as\nrequired by the model. The number of extra tokens is typically proportional\nto the number of messages in the thread, and should be relatively small.\n"},"completion_tokens":{"type":"integer","title":"Completion Tokens","description":"Number of tokens in the response message."},"total_tokens":{"type":"integer","title":"Total Tokens","description":"`prompt_tokens` + `completion_tokens`.\n"}},"type":"object","required":["prompt_tokens","completion_tokens","total_tokens"],"title":"UsageInfo"},"UserMessage":{"properties":{"role":{"type":"string","enum":["user"],"title":"Role","default":"user","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"UserMessage"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"ValidationResult":{"properties":{"is_valid":{"type":"boolean","title":"Is Valid"},"message":{"type":"string","title":"Message"},"details":{"type":"string","title":"Details"}},"type":"object","required":["is_valid"],"title":"ValidationResult"},"Visibility":{"enum":["public","private"],"title":"Visibility","description":"An enumeration."},"WebSearchToolResource":{"properties":{"type":{"type":"string","enum":["web_search"],"title":"Type","default":"web_search"},"urls":{"items":{"type":"string"},"type":"array","title":"Urls"},"fallback_to_web":{"type":"boolean","title":"Fallback To Web"},"query_suffix":{"type":"string","title":"Query Suffix"},"rephrase_query":{"type":"boolean","title":"Rephrase Query"},"use_cached_pages":{"type":"boolean","title":"Use Cached Pages","default":false}},"type":"object","title":"WebSearchToolResource"},"WebsiteConnectorCreateConfigPayload":{"properties":{"name":{"type":"string","title":"Name"},"extract_linked_files":{"type":"boolean","title":"Extract Linked Files","default":false},"wait_for_dynamic_content":{"type":"boolean","title":"Wait For Dynamic Content","default":false},"skip_url_patterns":{"items":{"type":"string"},"type":"array","title":"Skip Url Patterns"},"target_file_extensions":{"items":{"type":"string"},"type":"array","title":"Target File Extensions"},"localization":{"type":"string","title":"Localization"}},"type":"object","required":["name","skip_url_patterns","target_file_extensions"],"title":"WebsiteConnectorCreateConfigPayload"},"WebsiteConnectorIngestUrlPayload":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"WebsiteConnectorIngestUrlPayload"},"WebsiteConnectorIngestWebsitePayload":{"properties":{"sitemap_url":{"type":"string","title":"Sitemap Url"},"client_config":{"type":"string","title":"Client Config"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels"}},"type":"object","required":["sitemap_url"],"title":"WebsiteConnectorIngestWebsitePayload"},"WebsiteConnectorRetryIngestWebsitePayload":{"properties":{"website_id":{"type":"string","format":"uuid","title":"Website Id"}},"type":"object","required":["website_id"],"title":"WebsiteConnectorRetryIngestWebsitePayload"},"WorkflowConfig":{"properties":{"endpoint_url":{"type":"string","title":"Endpoint Url"},"headers":{"type":"object","title":"Headers"},"additional_params":{"type":"object","title":"Additional Params"}},"type":"object","required":["endpoint_url"],"title":"WorkflowConfig"},"WorkspaceModelResponse":{"properties":{"name":{"type":"string","title":"Name"},"model_type":{"type":"string","title":"Model Type"},"secret_id":{"type":"string","title":"Secret Id"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"provider":{"type":"string","title":"Provider"},"internal":{"type":"boolean","title":"Internal","default":false}},"type":"object","required":["name","model_type"],"title":"WorkspaceModelResponse"},"WorkspaceModelUpdate":{"properties":{"name":{"type":"string","title":"Name"},"model_type":{"type":"string","title":"Model Type"},"secret_id":{"type":"string","title":"Secret Id"}},"type":"object","title":"WorkspaceModelUpdate"},"WorkspaceModelsResponse":{"properties":{"models":{"items":{"$ref":"#/components/schemas/WorkspaceModelResponse"},"type":"array","title":"Models"}},"type":"object","required":["models"],"title":"WorkspaceModelsResponse"},"language_studio_api_server__data_types__assistant__Requirement":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"type":{"type":"string","title":"Type"}},"type":"object","title":"Requirement"},"language_studio_api_server__data_types__chat__ToolDefinition":{"properties":{"type":{"type":"string","enum":["function"],"title":"Type"},"function":{"$ref":"#/components/schemas/FunctionToolDefinition"}},"type":"object","required":["type","function"],"title":"ToolDefinition"},"language_studio_api_server__data_types__execution_engine__Requirement":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"is_mandatory":{"type":"boolean","title":"Is Mandatory"}},"type":"object","required":["name","description"],"title":"Requirement"},"language_studio_api_server__data_types__execution_engine__ToolDefinition":{"oneOf":[{"$ref":"#/components/schemas/HTTPToolResource"},{"$ref":"#/components/schemas/MCPToolResource"},{"$ref":"#/components/schemas/FileSearchToolResource"},{"$ref":"#/components/schemas/WebSearchToolResource"}],"title":"ToolDefinition","discriminator":{"propertyName":"type","mapping":{"http":"#/components/schemas/HTTPToolResource","mcp":"#/components/schemas/MCPToolResource","file_search":"#/components/schemas/FileSearchToolResource","web_search":"#/components/schemas/WebSearchToolResource"}}}}}} \ No newline at end of file +{"openapi":"3.1.0","info":{"title":"AI21 Studio API","description":"Access our powerful language models using an API that makes you smile","version":"1.0.0"},"paths":{"/studio/v1/chat/files/convert":{"post":{"summary":"Convert Document File","operationId":"convert_document_file_studio_v1_chat_files_convert_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_convert_document_file_studio_v1_chat_files_convert_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/chat/completions":{"post":{"tags":["Jamba Complete"],"summary":"Studio Chat Complete","description":"This is the endpoint for the [Jamba Instruct model](https://docs.ai21.com/docs/jamba-models).\nThis is a foundation model that supports both single-turn (question answering,\ntext completion) and multi-turn (chat style) interactions.\n\nYou can optionally stream results if you want to get the response as each\ntoken is generated, rather than waiting for the entire response.","operationId":"v1_chat_complete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ChatCompletion"},{"items":{"$ref":"#/components/schemas/ChatCompletionVllmStreamingMessage"},"type":"array"}],"title":"Response V1 Chat Complete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files":{"get":{"tags":["Library management"],"summary":"Get Workspace Files","description":"Get metadata about a specific file by file ID. The file ID is generated by\nAI21 when you upload the file.","operationId":"v1_library_management","parameters":[{"required":false,"schema":{"type":"string","title":"Name"},"name":"name","in":"query"},{"required":false,"schema":{"type":"string","title":"Path"},"name":"path","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/FileStatus"},"name":"status","in":"query"},{"required":false,"schema":{"items":{"type":"string"},"type":"array","title":"Label"},"name":"label","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":500000},"name":"limit","in":"query"},{"required":false,"schema":{"type":"integer","title":"Offset"},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FileResponse"},"type":"array","title":"Response V1 Library Management"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Library management"],"summary":"Upload Workspace File","description":"Upload files to use for [RAG Engine document searches](https://docs.ai21.com/docs/rag-engine-overview).\nYou can assign metadata to your files to limit searches to specific files by file metadata.\nThere is no bulk upload method; files must be loaded one at a time.\n\n- **Max number of files:** No limit. The playground limits bulk uploads to 50 files per request.\n- **Max library size:** 1 GB total size. No limit to individual file size.\n- **Supported file types:** PDF, DocX, HTML, TXT","operationId":"v1_library_upload","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_v1_library_upload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files/{file_id}":{"get":{"tags":["Library management"],"summary":"Get File By Id","description":"Retrieve a list of documents in the user's library. Optionally specify a\nfilter to find only files with matching labels or paths. This method\nreturns only metadata about files; to download a file, call\n`GET .../files/{file_id}/download`\n\nWhen specifying qualifiers with your request, only files that match\n_all_ qualifiers will be returns. So, for example, if you specify\n`label='financial'` and `status='UPLOADED'`, only files with the label\n\"financial\" AND status UPLOADED will be returned.","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Library management"],"summary":"Update File","description":"Update the specified parameters of a specific document in the user's library.\nThis operation currently supports updating the publicUrl and labels parameters.\n\n> **This operation overwrites the specified items with the new data you provide.**\n> If you wish to add new labels to the labels list without removing the existing ones,\n> you must submit a labels list that includes both the current and new labels.**\n>\n> For instance, if the current labels are \"Label A\" and \"Label B\", and you wish to\n> add \"New Label C\" and \"New Label D\" to the list, you must specify `\"labels\": [\"Label A\", \"Label B\", \"New Label C\", \"New Label D\"]`.","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FilesUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Library management"],"summary":"Delete File","description":"Delete the specified file from the library.\n\n**Restrictions**:\nFiles in `PROCESSING` status cannot be deleted. Attempts to delete such files will result in a 422 error.","operationId":"v1_library_delete","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/secrets":{"get":{"tags":["Secrets"],"summary":"Get Secret List","operationId":"v1_secret_storage","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Secrets"],"summary":"Save Secret","operationId":"v1_secret_storage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSecretPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Secrets"],"summary":"Delete Secret","operationId":"v1_secret_storage","parameters":[{"required":true,"schema":{"type":"string","title":"Secret Id"},"name":"secret_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/secrets/{secret_id}":{"patch":{"tags":["Secrets"],"summary":"Update Secret","operationId":"v1_secret_storage","parameters":[{"required":true,"schema":{"type":"string","title":"Secret Id"},"name":"secret_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSecretPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/batches/{batch_id}/status":{"get":{"tags":["RAG Engine"],"summary":"Get Batch Ingestion Status","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"},"name":"batch_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IngestionBatchStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files/{file_id}/download":{"get":{"tags":["RAG Engine"],"summary":"Generate Documents Signed Url","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files/{file_id}/parsed":{"get":{"tags":["RAG Engine"],"summary":"Download Parsed Document","description":"Download parsed document with Content-Disposition header for immediate download.","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/maestro/runs":{"post":{"summary":"Create Maestro Run","operationId":"v1_maestro_run","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMaestroRunsPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaestroRunResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/maestro/runs/{execution_id}":{"get":{"summary":"Get Maestro Run","operationId":"v1_get_maestro_run","parameters":[{"required":true,"schema":{"type":"string","title":"Execution Id"},"name":"execution_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaestroRunResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos":{"get":{"summary":"List Demos","description":"List all available demos.","operationId":"list_demos_studio_v1_demos_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Demo"},"type":"array","title":"Response List Demos Studio V1 Demos Get"}}}}}},"post":{"summary":"Create Demo","description":"Create a new demo.","operationId":"create_demo_studio_v1_demos_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Demo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/{demo_id}":{"get":{"summary":"Get Demo","description":"Get a specific demo by ID.","operationId":"get_demo_studio_v1_demos__demo_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Demo Id"},"name":"demo_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Demo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Demo","description":"Update an existing demo.","operationId":"update_demo_studio_v1_demos__demo_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Demo Id"},"name":"demo_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Demo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Demo","description":"Delete a demo.","operationId":"delete_demo_studio_v1_demos__demo_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Demo Id"},"name":"demo_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/parse-pdf":{"post":{"summary":"Parse Pdf","description":"Parse a PDF file and return its contents.","operationId":"parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parse Pdf Studio V1 Demos Document Modifier Parse Pdf Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/get-parsed-file":{"get":{"summary":"Get Parsed File","description":"Get the parsed file from the document modifier.","operationId":"get_parsed_file_studio_v1_demos_document_modifier_get_parsed_file_get","parameters":[{"required":true,"schema":{"type":"string","title":"File Name"},"name":"file_name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Parsed File Studio V1 Demos Document Modifier Get Parsed File Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/compare-text":{"post":{"summary":"Compare Text","description":"Compare text in a document file against a reference text.","operationId":"compare_text_studio_v1_demos_document_modifier_compare_text_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompareTextRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Compare Text Studio V1 Demos Document Modifier Compare Text Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/download":{"post":{"summary":"Download Modified Document","description":"Download a modified document.","operationId":"download_modified_document_studio_v1_demos_document_modifier_download_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadModifiedDocumentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/jamba-execute":{"post":{"summary":"Jamba Execute","description":"Execute a Jamba request.","operationId":"jamba_execute_studio_v1_demos_document_modifier_jamba_execute_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JambaExecuteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Jamba Execute Studio V1 Demos Document Modifier Jamba Execute Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/regulations/upload-check-compliance":{"post":{"summary":"Upload Check Compliance","description":"Check compliance of a document file against regulatory requirements.","operationId":"upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Upload Check Compliance Studio V1 Demos Regulations Upload Check Compliance Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/regulations/vector-store/{vector_store_id}":{"get":{"summary":"Get Vector Store","description":"Get a vector store by ID.","operationId":"get_vector_store_studio_v1_demos_regulations_vector_store__vector_store_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Vector Store Id"},"name":"vector_store_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Vector Store Studio V1 Demos Regulations Vector Store Vector Store Id Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/rfi/generate-response-pdf":{"post":{"summary":"Combine section answers ➜ styled PDF for download","operationId":"generate_response_pdf_studio_v1_demos_rfi_generate_response_pdf_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}},"application/pdf":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/rfi/process-rfi":{"post":{"summary":"Process Rfi Document","operationId":"process_rfi_document_studio_v1_demos_rfi_process_rfi_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_process_rfi_document_studio_v1_demos_rfi_process_rfi_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RFIResponseSection"},"type":"array","title":"Response Process Rfi Document Studio V1 Demos Rfi Process Rfi Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/scraper/file-url/{file_id}":{"get":{"summary":"Get File Url","operationId":"get_file_url_studio_v1_demos_scraper_file_url__file_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"File Id"},"name":"file_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Api Key"},"name":"api_key","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/scraper/can-iframe":{"get":{"summary":"Can Iframe","operationId":"can_iframe_studio_v1_demos_scraper_can_iframe_get","parameters":[{"required":true,"schema":{"type":"string","title":"Url"},"name":"url","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Can Iframe Studio V1 Demos Scraper Can Iframe Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/ingest-url":{"post":{"tags":["Website Connector"],"summary":"Connect Website","operationId":"v1_website_connector_ingest_url","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorIngestUrlPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/url-status":{"get":{"tags":["Website Connector"],"summary":"Get Url Status","operationId":"v1_website_connector_get_url_status","parameters":[{"required":true,"schema":{"type":"string","title":"Url Id"},"name":"url_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/ingest-website":{"post":{"tags":["Website Connector"],"summary":"Ingest Website","operationId":"v1_website_connector_ingest_website","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorIngestWebsitePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/website-status":{"get":{"tags":["Website Connector"],"summary":"Get Website Status","operationId":"v1_website_connector_get_website_status","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Website Id"},"name":"website_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/retry-ingest-website":{"post":{"tags":["Website Connector"],"summary":"Retry Ingest Website","operationId":"v1_website_connector_retry_ingest_website","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorRetryIngestWebsitePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/client-config":{"get":{"tags":["Website Connector"],"summary":"Get Client Config","operationId":"v1_website_connector_get_config","parameters":[{"required":true,"schema":{"type":"string","title":"Config Name"},"name":"config_name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Website Connector"],"summary":"Create Client Config","operationId":"v1_website_connector_create_config","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorCreateConfigPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/structured-rag/organizations/{organization_id}/schemas":{"get":{"summary":"Get Organization Schemas","operationId":"get_organization_schemas_studio_v1_structured_rag_organizations__organization_id__schemas_get","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgSchemas"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Organization Schema","operationId":"create_organization_schema_studio_v1_structured_rag_organizations__organization_id__schemas_post","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationSchemaRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/structured-rag/organizations/{organization_id}/schema-detection":{"post":{"summary":"Detect Schema","operationId":"detect_schema_studio_v1_structured_rag_organizations__organization_id__schema_detection_post","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectSchemaRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectSchemaResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/structured-rag/organizations/{organization_id}/schemas/{schema_name}":{"delete":{"summary":"Delete Organization Schema","operationId":"delete_organization_schema_studio_v1_structured_rag_organizations__organization_id__schemas__schema_name__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Schema Name"},"name":"schema_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/v1/{path}":{"get":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/v1beta/{path}":{"get":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/v1internal{path}":{"get":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/off/v1/{path}":{"get":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/on/v1/{path}":{"get":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/agents":{"get":{"summary":"List Agents","operationId":"list_agents_gateway_settings_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOut"},"type":"array","title":"Response List Agents Gateway Settings Agents Get"}}}}}},"post":{"summary":"Create Agent","operationId":"create_agent_gateway_settings_agents_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/agents/{agent_id}/optimizations":{"get":{"summary":"Get Agent Optimizations","operationId":"get_agent_optimizations_gateway_settings_agents__agent_id__optimizations_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOptimization"},"type":"array","title":"Response Get Agent Optimizations Gateway Settings Agents Agent Id Optimizations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/agents/{agent_id}":{"get":{"summary":"Get Agent","operationId":"get_agent_gateway_settings_agents__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Agent","operationId":"update_agent_gateway_settings_agents__agent_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Agent","operationId":"delete_agent_gateway_settings_agents__agent_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/configs":{"get":{"summary":"List Configs","operationId":"list_configs_gateway_settings_configs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConfigProfileOut"},"type":"array","title":"Response List Configs Gateway Settings Configs Get"}}}}}},"post":{"summary":"Create Config","operationId":"create_config_gateway_settings_configs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/configs/schema":{"get":{"summary":"Get Config Schema","operationId":"get_config_schema_gateway_settings_configs_schema_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigSchemaOut"}}}}}}},"/gateway/settings/configs/{config_id}":{"get":{"summary":"Get Config","operationId":"get_config_gateway_settings_configs__config_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Config","operationId":"update_config_gateway_settings_configs__config_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Config","operationId":"delete_config_gateway_settings_configs__config_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/provider-keys":{"get":{"summary":"List Provider Keys","description":"The workspace's provider keys, masked.\n\nOne endpoint, two shapes, mirroring the BFF: without ``provider`` it lists\nevery key for the workspace; with one it returns that single key, or 404 if\nthe workspace has none for it. The union response model is the honest\ndeclaration of that — see ``provider_keys/router.py::list_provider_keys``.\n\n``provider`` is bounded here so an explicitly empty ``?provider=`` fails with\n422 at this edge rather than making the round trip (the BFF rejects it too);\nomitting it entirely is the list case. It rides through on the forwarded query\nstring — see ``tokenwise_service._build_gateway_request``.","operationId":"list_provider_keys_gateway_settings_provider_keys_get","parameters":[{"required":false,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/ProviderKeyOut"},"type":"array"},{"$ref":"#/components/schemas/ProviderKeyOut"}],"title":"Response List Provider Keys Gateway Settings Provider Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Provider Key","description":"Rotate the workspace's key for a provider. 404 if none is configured.\n\nFull replacement, not a partial update — unlike the agent/config mirrors there\nis no ``exclude_unset``, because ``api_key`` is the whole point of the call.","operationId":"update_provider_key_gateway_settings_provider_keys_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Provider Key","description":"Store a provider key for the workspace. 409 if one already exists.","operationId":"create_provider_key_gateway_settings_provider_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Provider Key","description":"Delete the workspace's key for a provider. 404 if none is configured.","operationId":"delete_provider_key_gateway_settings_provider_keys_delete","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights":{"get":{"summary":"List Insights","description":"Published insights for ``agent_id``, newest first.\n\n``agent_id`` is typed here so a missing/empty value fails with 422 before\nreaching the gateway; it rides through to the upstream via the forwarded\nquery string (see ``tokenwise_service._build_gateway_request``).","operationId":"list_insights_gateway_insights_get","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Agent Id"},"name":"agent_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List Insights Gateway Insights Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/all":{"get":{"summary":"List All Insights","description":"Every insight for the workspace in one read, newest first, with an optional\n``agent_id`` filter that rides through on the query string.\n\nBacks the overview roster's recommendations pill, which needs a count per\nagent and would otherwise fan out one request per row (OPSS-328).\n\nUnlike :func:`list_insights` this is NOT published-only — it forwards the\nupstream's authoring view verbatim, so ``draft`` / ``dismissed`` / ``applied``\nrows reach the client, which filters to the states it wants to show.","operationId":"list_all_insights_gateway_insights_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List All Insights Gateway Insights All Get"}}}}}}},"/gateway/insights/{insight_id}/apply":{"post":{"summary":"Apply Insight","description":"Apply an insight's config suggestion to its agent (``published`` -> ``applied``).","operationId":"apply_insight_gateway_insights__insight_id__apply_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/{insight_id}/dismiss":{"post":{"summary":"Dismiss Insight","description":"Dismiss an insight (``published`` -> ``dismissed``).","operationId":"dismiss_insight_gateway_insights__insight_id__dismiss_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/{insight_id}/acknowledge":{"post":{"summary":"Acknowledge Insight","description":"Mark an advisory insight as acted on (``published`` -> ``acknowledged``).\n\nThe positive terminal action for a ``kind=\"advisory\"`` insight, which carries\nno config suggestion to apply. The gateway 409s a ``config_change`` insight\nhere — those go through ``apply``.","operationId":"acknowledge_insight_gateway_insights__insight_id__acknowledge_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/{insight_id}/feedback":{"post":{"summary":"Submit Insight Feedback","description":"Record the user's verdict (+ optional comment) on an insight.\n\nOrthogonal to the lifecycle — allowed in every customer-visible state, and\nlast write wins. The gateway owns the closed verdict set.","operationId":"submit_insight_feedback_gateway_insights__insight_id__feedback_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightFeedbackIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/analytics/v1/summary":{"get":{"summary":"Analytics Summary","operationId":"analytics_summary_gateway_analytics_v1_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/errors":{"get":{"summary":"Analytics Errors","operationId":"analytics_errors_gateway_analytics_v1_errors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/sessions":{"get":{"summary":"Analytics Sessions","operationId":"analytics_sessions_gateway_analytics_v1_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/sessions/{session_id}":{"get":{"summary":"Analytics Session Detail","operationId":"analytics_session_detail_gateway_analytics_v1_sessions__session_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/analytics/v1/transformers":{"get":{"summary":"Analytics Transformers","operationId":"analytics_transformers_gateway_analytics_v1_transformers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/tools":{"get":{"summary":"Analytics Context Tools","operationId":"analytics_context_tools_gateway_analytics_v1_context_tools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/bash":{"get":{"summary":"Analytics Context Bash","operationId":"analytics_context_bash_gateway_analytics_v1_context_bash_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/prefix":{"get":{"summary":"Analytics Context Prefix","operationId":"analytics_context_prefix_gateway_analytics_v1_context_prefix_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/blocks":{"get":{"summary":"Analytics Context Blocks","operationId":"analytics_context_blocks_gateway_analytics_v1_context_blocks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/trends":{"get":{"summary":"Analytics Trends","operationId":"analytics_trends_gateway_analytics_v1_trends_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/agents":{"get":{"summary":"Analytics Agents","operationId":"analytics_agents_gateway_analytics_v1_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/filters":{"get":{"summary":"Analytics Filters","operationId":"analytics_filters_gateway_analytics_v1_filters_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/v1/{path}":{"get":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/v1beta/{path}":{"get":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/v1internal{path}":{"get":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/off/v1/{path}":{"get":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/on/v1/{path}":{"get":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/agents":{"get":{"summary":"List Agents","operationId":"list_agents_tokenwise_settings_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOut"},"type":"array","title":"Response List Agents Tokenwise Settings Agents Get"}}}}}},"post":{"summary":"Create Agent","operationId":"create_agent_tokenwise_settings_agents_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/agents/{agent_id}/optimizations":{"get":{"summary":"Get Agent Optimizations","operationId":"get_agent_optimizations_tokenwise_settings_agents__agent_id__optimizations_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOptimization"},"type":"array","title":"Response Get Agent Optimizations Tokenwise Settings Agents Agent Id Optimizations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/agents/{agent_id}":{"get":{"summary":"Get Agent","operationId":"get_agent_tokenwise_settings_agents__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Agent","operationId":"update_agent_tokenwise_settings_agents__agent_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Agent","operationId":"delete_agent_tokenwise_settings_agents__agent_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/configs":{"get":{"summary":"List Configs","operationId":"list_configs_tokenwise_settings_configs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConfigProfileOut"},"type":"array","title":"Response List Configs Tokenwise Settings Configs Get"}}}}}},"post":{"summary":"Create Config","operationId":"create_config_tokenwise_settings_configs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/configs/schema":{"get":{"summary":"Get Config Schema","operationId":"get_config_schema_tokenwise_settings_configs_schema_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigSchemaOut"}}}}}}},"/tokenwise/settings/configs/{config_id}":{"get":{"summary":"Get Config","operationId":"get_config_tokenwise_settings_configs__config_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Config","operationId":"update_config_tokenwise_settings_configs__config_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Config","operationId":"delete_config_tokenwise_settings_configs__config_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/provider-keys":{"get":{"summary":"List Provider Keys","description":"The workspace's provider keys, masked.\n\nOne endpoint, two shapes, mirroring the BFF: without ``provider`` it lists\nevery key for the workspace; with one it returns that single key, or 404 if\nthe workspace has none for it. The union response model is the honest\ndeclaration of that — see ``provider_keys/router.py::list_provider_keys``.\n\n``provider`` is bounded here so an explicitly empty ``?provider=`` fails with\n422 at this edge rather than making the round trip (the BFF rejects it too);\nomitting it entirely is the list case. It rides through on the forwarded query\nstring — see ``tokenwise_service._build_gateway_request``.","operationId":"list_provider_keys_tokenwise_settings_provider_keys_get","parameters":[{"required":false,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/ProviderKeyOut"},"type":"array"},{"$ref":"#/components/schemas/ProviderKeyOut"}],"title":"Response List Provider Keys Tokenwise Settings Provider Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Provider Key","description":"Rotate the workspace's key for a provider. 404 if none is configured.\n\nFull replacement, not a partial update — unlike the agent/config mirrors there\nis no ``exclude_unset``, because ``api_key`` is the whole point of the call.","operationId":"update_provider_key_tokenwise_settings_provider_keys_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Provider Key","description":"Store a provider key for the workspace. 409 if one already exists.","operationId":"create_provider_key_tokenwise_settings_provider_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Provider Key","description":"Delete the workspace's key for a provider. 404 if none is configured.","operationId":"delete_provider_key_tokenwise_settings_provider_keys_delete","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights":{"get":{"summary":"List Insights","description":"Published insights for ``agent_id``, newest first.\n\n``agent_id`` is typed here so a missing/empty value fails with 422 before\nreaching the gateway; it rides through to the upstream via the forwarded\nquery string (see ``tokenwise_service._build_gateway_request``).","operationId":"list_insights_tokenwise_insights_get","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Agent Id"},"name":"agent_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List Insights Tokenwise Insights Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/all":{"get":{"summary":"List All Insights","description":"Every insight for the workspace in one read, newest first, with an optional\n``agent_id`` filter that rides through on the query string.\n\nBacks the overview roster's recommendations pill, which needs a count per\nagent and would otherwise fan out one request per row (OPSS-328).\n\nUnlike :func:`list_insights` this is NOT published-only — it forwards the\nupstream's authoring view verbatim, so ``draft`` / ``dismissed`` / ``applied``\nrows reach the client, which filters to the states it wants to show.","operationId":"list_all_insights_tokenwise_insights_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List All Insights Tokenwise Insights All Get"}}}}}}},"/tokenwise/insights/{insight_id}/apply":{"post":{"summary":"Apply Insight","description":"Apply an insight's config suggestion to its agent (``published`` -> ``applied``).","operationId":"apply_insight_tokenwise_insights__insight_id__apply_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/{insight_id}/dismiss":{"post":{"summary":"Dismiss Insight","description":"Dismiss an insight (``published`` -> ``dismissed``).","operationId":"dismiss_insight_tokenwise_insights__insight_id__dismiss_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/{insight_id}/acknowledge":{"post":{"summary":"Acknowledge Insight","description":"Mark an advisory insight as acted on (``published`` -> ``acknowledged``).\n\nThe positive terminal action for a ``kind=\"advisory\"`` insight, which carries\nno config suggestion to apply. The gateway 409s a ``config_change`` insight\nhere — those go through ``apply``.","operationId":"acknowledge_insight_tokenwise_insights__insight_id__acknowledge_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/{insight_id}/feedback":{"post":{"summary":"Submit Insight Feedback","description":"Record the user's verdict (+ optional comment) on an insight.\n\nOrthogonal to the lifecycle — allowed in every customer-visible state, and\nlast write wins. The gateway owns the closed verdict set.","operationId":"submit_insight_feedback_tokenwise_insights__insight_id__feedback_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightFeedbackIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/analytics/v1/summary":{"get":{"summary":"Analytics Summary","operationId":"analytics_summary_tokenwise_analytics_v1_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/errors":{"get":{"summary":"Analytics Errors","operationId":"analytics_errors_tokenwise_analytics_v1_errors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/sessions":{"get":{"summary":"Analytics Sessions","operationId":"analytics_sessions_tokenwise_analytics_v1_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/sessions/{session_id}":{"get":{"summary":"Analytics Session Detail","operationId":"analytics_session_detail_tokenwise_analytics_v1_sessions__session_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/analytics/v1/transformers":{"get":{"summary":"Analytics Transformers","operationId":"analytics_transformers_tokenwise_analytics_v1_transformers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/tools":{"get":{"summary":"Analytics Context Tools","operationId":"analytics_context_tools_tokenwise_analytics_v1_context_tools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/bash":{"get":{"summary":"Analytics Context Bash","operationId":"analytics_context_bash_tokenwise_analytics_v1_context_bash_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/prefix":{"get":{"summary":"Analytics Context Prefix","operationId":"analytics_context_prefix_tokenwise_analytics_v1_context_prefix_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/blocks":{"get":{"summary":"Analytics Context Blocks","operationId":"analytics_context_blocks_tokenwise_analytics_v1_context_blocks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/trends":{"get":{"summary":"Analytics Trends","operationId":"analytics_trends_tokenwise_analytics_v1_trends_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/agents":{"get":{"summary":"Analytics Agents","operationId":"analytics_agents_tokenwise_analytics_v1_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/filters":{"get":{"summary":"Analytics Filters","operationId":"analytics_filters_tokenwise_analytics_v1_filters_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/harness/api/auth/cli-config":{"get":{"summary":"Proxy Cli Config","operationId":"proxy_cli_config_harness_api_auth_cli_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/harness/api/{path}":{"get":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/generation/requirements":{"post":{"summary":"Generate Requirements","operationId":"v1_studio_api_generation_requirements","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequirementsGenerationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequirementsGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/models":{"get":{"summary":"Get Models Info","operationId":"v1_list_models_info","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelsInfoResponse"}}}}}}},"/studio/v1/assistants":{"get":{"summary":"Get Assistants","operationId":"v1_list_assistants","parameters":[{"required":false,"schema":{"items":{"type":"string"},"type":"array","title":"Workspace Ids"},"name":"workspace_ids","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAssistantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Assistant","operationId":"v1_create_assistant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assistant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/generate":{"post":{"summary":"Generate Assistant","operationId":"v1_generate_assistant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateAssistantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}":{"get":{"summary":"Get Assistant","operationId":"v1_get_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assistant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Assistant","operationId":"v1_delete_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAssistantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Modify Assistant","operationId":"v1_modify_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assistant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/run":{"post":{"summary":"Run Assistant","operationId":"v1_run_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaestroRunResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/plans":{"get":{"summary":"List Plans","operationId":"v1_list_plans","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPlansResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Plan","operationId":"v1_create_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlanPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/plans/{plan_id}":{"get":{"summary":"Get Plan","operationId":"v1_get_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Plan Id"},"name":"plan_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Modify Plan","operationId":"v1_modify_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Plan Id"},"name":"plan_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlanPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/routes":{"get":{"summary":"Get Routes","operationId":"v1_list_routes","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Name"},"name":"name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListRoutesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Route","operationId":"v1_create_route","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoutePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantRoute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/routes/{route_id}":{"get":{"summary":"Get Route","operationId":"v1_get_route","parameters":[{"required":true,"schema":{"type":"string","title":"Route Id"},"name":"route_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantRoute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Route","operationId":"v1_delete_route","parameters":[{"required":true,"schema":{"type":"string","title":"Route Id"},"name":"route_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Modify Route","operationId":"v1_modify_route","parameters":[{"required":true,"schema":{"type":"string","title":"Route Id"},"name":"route_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRoutePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantRoute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/validate_plan":{"post":{"summary":"Validate Plan","operationId":"v1_validate_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlanPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/mcp/storage":{"get":{"summary":"List Mcp Storage","operationId":"list_mcp_storage_studio_v1_mcp_storage_get","parameters":[{"required":false,"schema":{"type":"string","format":"uuid","title":"Workspace Id"},"name":"workspace_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListMCPsStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Mcp Storage","operationId":"create_mcp_storage_studio_v1_mcp_storage_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMCPStorageRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/mcp/storage/{mcp_id}":{"get":{"summary":"Get Mcp Storage","operationId":"get_mcp_storage_studio_v1_mcp_storage__mcp_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Mcp Storage","operationId":"delete_mcp_storage_studio_v1_mcp_storage__mcp_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Update Mcp Storage","operationId":"update_mcp_storage_studio_v1_mcp_storage__mcp_id__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMCPStorageRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/mcp/storage/{mcp_id}/assistants":{"get":{"summary":"Get Assistants By Mcp","operationId":"get_assistants_by_mcp_studio_v1_mcp_storage__mcp_id__assistants_get","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantsByMcpResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/settings/models":{"get":{"summary":"Get Workspace Models By Organization Endpoint","operationId":"get_workspace_models_by_organization_endpoint_studio_v1_settings_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceModelsResponse"}}}}}}},"/studio/v1/settings/models/available":{"get":{"summary":"Get Available Models Endpoint","operationId":"get_available_models_endpoint_studio_v1_settings_models_available_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/studio/v1/settings/models/{name}/secrets":{"get":{"summary":"Get Workspace Model Secret Endpoint","operationId":"get_workspace_model_secret_endpoint_studio_v1_settings_models__name__secrets_get","parameters":[{"required":true,"schema":{"type":"string","title":"Name"},"name":"name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/settings/models/{name}":{"patch":{"summary":"Update Workspace Model Endpoint","operationId":"update_workspace_model_endpoint_studio_v1_settings_models__name__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Name"},"name":"name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceModelUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceModelResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/solutions/tlv_municipality/convrag":{"post":{"summary":"Tlv Convrag","operationId":"v1_solutions_tlv_municipality_convrag","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/solutions-preview/tlv_municipality/convrag":{"post":{"summary":"Tlv Convrag Prefix Preview","operationId":"v1_solutions_tlv_municipality_preview_convrag","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AgentCreate":{"properties":{"agent_id":{"type":"string","maxLength":128,"minLength":1,"title":"Agent Id"},"kind":{"type":"string","title":"Kind","default":"other"},"name":{"type":"string","title":"Name","default":""},"description":{"type":"string","title":"Description"},"config_id":{"type":"string","title":"Config Id"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["agent_id"],"title":"AgentCreate","description":"Body for ``POST /tokenwise/settings/agents``."},"AgentOptimization":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"keys":{"items":{"type":"string"},"type":"array","title":"Keys"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"category":{"type":"string","title":"Category"},"availability":{"type":"string","title":"Availability"},"safety":{"type":"string","title":"Safety"}},"type":"object","required":["id","keys","name","description","category","availability","safety"],"title":"AgentOptimization","description":"Response shape for one card in ``GET /tokenwise/settings/agents/{agent_id}/optimizations``.\n\nString-ish fields stay plain ``str`` (not ``Literal``) so a new gateway enum\nvalue (a new ``availability`` / ``safety`` / ``category``) doesn't force an\napi-server release. The gateway filters ``hidden`` cards, so we never see them."},"AgentOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"agent_id":{"type":"string","title":"Agent Id"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"description":{"type":"string","title":"Description"},"config_id":{"type":"string","title":"Config Id"},"enabled":{"type":"boolean","title":"Enabled"},"used":{"type":"boolean","title":"Used"},"created_by_user_id":{"type":"string","title":"Created By User Id"},"can_edit":{"type":"boolean","title":"Can Edit","default":true},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","workspace_id","agent_id","name","kind","enabled","used","created_at","updated_at"],"title":"AgentOut","description":"Response shape for agent GET / POST / PUT."},"AgentUpdate":{"properties":{"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"description":{"type":"string","title":"Description"},"config_id":{"type":"string","title":"Config Id"},"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","title":"AgentUpdate","description":"Body for ``PUT /tokenwise/settings/agents/{agent_id}`` — partial update."},"Assistant":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"object":{"type":"string","title":"Object"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"type":"string","title":"Optimization"},"organization_id":{"type":"string","title":"Organization Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"user_id":{"type":"string","title":"User Id"},"avatar":{"type":"string","title":"Avatar"},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"models":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"items":{"type":"string"},"type":"array"}],"title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"allOf":[{"$ref":"#/components/schemas/BudgetLevel"}],"default":"medium"},"visibility":{"allOf":[{"$ref":"#/components/schemas/Visibility"}],"default":"public"},"assistant_type":{"allOf":[{"$ref":"#/components/schemas/AssistantType"}],"default":"default"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"vibe_prompt":{"type":"string","title":"Vibe Prompt"},"starter_questions":{"items":{"$ref":"#/components/schemas/StarterQuestion"},"type":"array","title":"Starter Questions"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"}},"type":"object","required":["id","created_at","updated_at","object","name","organization_id","user_id"],"title":"Assistant"},"AssistantBasicInfo":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"AssistantBasicInfo"},"AssistantMessage":{"properties":{"role":{"type":"string","enum":["assistant"],"title":"Role","default":"assistant","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"},"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCall"},"type":"array","title":"Tool Calls"},"reasoning_content":{"type":"string","title":"Reasoning Content"}},"type":"object","title":"AssistantMessage"},"AssistantRoute":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"plan_id":{"type":"string","title":"Plan Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples"},"assistant_id":{"type":"string","title":"Assistant Id"}},"type":"object","required":["id","created_at","updated_at","plan_id","name","description","examples","assistant_id"],"title":"AssistantRoute"},"AssistantType":{"enum":["default","chat","maestro"],"title":"AssistantType","description":"An enumeration."},"AssistantsByMcpResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/AssistantBasicInfo"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"AssistantsByMcpResponse"},"AuthenticationType":{"type":"string","enum":["none","token-api","custom-header"],"title":"AuthenticationType","description":"An enumeration."},"Body_convert_document_file_studio_v1_chat_files_convert_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_convert_document_file_studio_v1_chat_files_convert_post"},"Body_parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post"},"Body_process_rfi_document_studio_v1_demos_rfi_process_rfi_post":{"properties":{"file":{"type":"string","format":"binary","title":"File","description":"RFI document file (PDF supported)"},"budget":{"type":"string","title":"Budget","description":"Budget level: LOW, MEDIUM, or HIGH","default":"MEDIUM"},"vector_store_id":{"type":"string","title":"Vector Store Id","description":"Vector store ID to use for RFI processing"}},"type":"object","required":["file"],"title":"Body_process_rfi_document_studio_v1_demos_rfi_process_rfi_post"},"Body_upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"budget":{"type":"string","title":"Budget","default":"MEDIUM"},"vector_store_id":{"type":"string","title":"Vector Store Id","description":"Vector store ID to use for RFI processing"}},"type":"object","required":["file"],"title":"Body_upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post"},"Body_v1_library_upload":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"path":{"type":"string","title":"Path"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels"},"publicUrl":{"type":"string","title":"Publicurl"},"custom_configs":{"type":"string","title":"Custom Configs"},"upload_mode":{"allOf":[{"$ref":"#/components/schemas/UploadMode"}],"default":"immediate"},"batch_id":{"type":"string","format":"uuid","title":"Batch Id"},"data_source":{"type":"string","title":"Data Source"},"metadata":{"type":"string","title":"Metadata"}},"type":"object","required":["file"],"title":"Body_v1_library_upload"},"BudgetLevel":{"enum":["low","medium","high"],"title":"BudgetLevel","description":"An enumeration."},"ChatCompletion":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"choices":{"items":{"$ref":"#/components/schemas/ChatCompletionResponseChoice"},"type":"array","title":"Choices","description":"One or more responses, depending on the `n` parameter from the request.\n"},"usage":{"$ref":"#/components/schemas/UsageInfo","description":"The token counts for this request. Per-token billing is based on the\nprompt token and completion token counts and rates.\n"},"meta":{"type":"object","title":"Meta"}},"type":"object","required":["id","choices","usage"],"title":"ChatCompletion","description":"Used for non-streaming responses. Streaming responses return `ChatCompletionVllmStreamingMessage`."},"ChatCompletionResponseChoice":{"properties":{"index":{"type":"integer","title":"Index","description":"Zero-based index of the message in the list of messages. Note that this might not\ncorrespond with the position in the response list.\n"},"message":{"$ref":"#/components/schemas/AssistantMessage","description":"The message generated by the model. Same structure as the request message, with `role` and `content` members.\n"},"logprobs":{"$ref":"#/components/schemas/Logprobs"},"finish_reason":{"type":"string","title":"Finish Reason","description":"Why the message ended. Possible reasons:\n - `stop`: The response ended naturally as a complete answer (due to\n [end-of-sequence token](https://huggingface.co/docs/transformers/v4.32.1/en/llm_tutorial#generate-text))\n or because the model generated a stop sequence provided in the request.\n - `length`: The response ended by reaching `max_tokens`.\n"}},"type":"object","required":["index","message"],"title":"ChatCompletionResponseChoice","description":"A single possible response generated by the system. For non-streaming replies, There\ncan be multiple responses, depending on what `n` value you specified in the request.\n"},"ChatCompletionResponseDeltaChoice":{"properties":{"index":{"type":"integer","title":"Index","description":"Always zero in streamed responses."},"delta":{"anyOf":[{"$ref":"#/components/schemas/ChatStreamingFirstDelta"},{"$ref":"#/components/schemas/ChatStreamingContentDelta"},{"$ref":"#/components/schemas/ChatStreamingToolCallsFirstDelta"},{"$ref":"#/components/schemas/ChatStreamingToolCallsDelta"}],"title":"Delta","description":"- **The first message** in the stream will be an object set to `{\"role\":\"assistant\"}`.\n- **Subsequent messages** will have an object `{\"content\": __token__}` with the generated token.\n"},"logprobs":{"$ref":"#/components/schemas/Logprobs"},"finish_reason":{"type":"string","title":"Finish Reason","description":"One of the following string values:\n - `null`: All messages but the last will return null for `finish_reason`.\n - `stop`: The response ended naturally as a complete answer (due to\n [end-of-sequence token](https://huggingface.co/docs/transformers/v4.32.1/en/llm_tutorial#generate-text))\n or because the model generated a stop sequence provided in the request.\n - `length`: The response ended by reaching `max_tokens`.\n"}},"type":"object","required":["index","delta"],"title":"ChatCompletionResponseDeltaChoice"},"ChatCompletionVllmStreamingMessage":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"choices":{"items":{"$ref":"#/components/schemas/ChatCompletionResponseDeltaChoice"},"type":"array","title":"Choices","description":"The message"},"usage":{"$ref":"#/components/schemas/UsageInfo","description":"Included in the last message only. Total token counts for the message."},"meta":{"type":"object","title":"Meta"}},"type":"object","required":["id","choices"],"title":"ChatCompletionVllmStreamingMessage","description":"Returned for streaming messages. Non-streaming responses return `ChatCompletion`."},"ChatRequest":{"properties":{"model":{"$ref":"#/components/schemas/ModelName","description":"The name of the model to use. Choose one of the following values:\n* `jamba-instruct-preview`\n"},"messages":{"items":{"oneOf":[{"$ref":"#/components/schemas/UserMessage"},{"$ref":"#/components/schemas/AssistantMessage"},{"$ref":"#/components/schemas/ToolMessage"},{"$ref":"#/components/schemas/SystemMessage"}],"discriminator":{"propertyName":"role","mapping":{"user":"#/components/schemas/UserMessage","assistant":"#/components/schemas/AssistantMessage","tool":"#/components/schemas/ToolMessage","system":"#/components/schemas/SystemMessage"}}},"type":"array","title":"Messages","description":"The previous messages in this chat, from oldest (index 0) to newest. Messages\nmust be alternating `user`/`assistant` messages, optionally starting with a `system`\nmessage. For single turn interactions, this should be an optional `system` message,\nand a single `user` message. Maximum total size for the list is about 256K tokens.\n"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__chat__ToolDefinition"},"type":"array","title":"Tools"},"n":{"type":"integer","title":"N","default":1,"description":"How many chat responses to generate. _Range: 1 – 16_ **Notes:**\n- If `n > 1`, setting `temperature=0` will fail because all answers are guaranteed to be duplicates.\n- `n` must be 1 when `stream = True`\n"},"max_tokens":{"type":"integer","title":"Max Tokens","default":4096,"description":"The maximum number of tokens to allow for each generated response message. Typically\nthe best way to limit output length is by providing a length limit in the system\nprompt (for example, \"limit your answers to three sentences\"). _Range: 0 – 4096_\n"},"temperature":{"type":"number","title":"Temperature","description":"How much variation to provide in each answer. Setting this value to 0 guarantees the\nsame response to the same question every time. Setting a higher value encourages more\nvariation. Modifies the distribution from which tokens are sampled.\n[More information](https://docs.ai21.com/docs/sampling-from-language-models#temperature)\n_Range: 0.0 – 2.0_\n"},"top_p":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0,"title":"Top P","default":1,"description":"Limit the pool of next tokens in each step to the top N percentile of possible\ntokens, where 1.0 means the pool of all possible tokens, and 0.01 means the\npool of only the most likely next tokens. [More information]\n(https://docs.ai21.com/docs/sampling-from-language-models#topp) _Range: 0 \\<= value \\<=1.0_\n"},"stop":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"title":"Stop","description":"End the message when the model generates one of these strings. The stop sequence\nis not included in the generated message. Each sequence can be up to 64K long, and\ncan contain newlines as `\\n` characters. Examples:\n- Single stop string with a word and a period: \"monkeys.\"\n- Multiple stop strings and a newline: [\"cat\", \"dog\", \" .\", \"####\", \"\\n\"]\n"},"stream":{"type":"boolean","title":"Stream","default":false,"description":"Whether or not to stream the result one token at a time using\n[server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).\nThis can be useful when waiting for long results where a long wait time for an\nanswer can be problematic, such as a chatbot. If set to `True`, then `n` must\nbe 1. A streaming response is different than the non-streaming response.\n"},"mock_response":{"$ref":"#/components/schemas/MockResponseConfig"},"documents":{"items":{"$ref":"#/components/schemas/DocumentSchema"},"type":"array","title":"Documents","default":[]},"response_format":{"allOf":[{"$ref":"#/components/schemas/ResponseFormat"}],"title":"Response Format","default":{"type":"text"}}},"type":"object","required":["model","messages"],"title":"ChatRequest"},"ChatStreamingContentDelta":{"properties":{"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"ChatStreamingContentDelta"},"ChatStreamingFirstDelta":{"properties":{"role":{"type":"string","enum":["system","user","assistant","tool"],"title":"Role","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"}},"type":"object","required":["role"],"title":"ChatStreamingFirstDelta"},"ChatStreamingToolCallsDelta":{"properties":{"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCallDelta"},"type":"array","title":"Tool Calls"}},"type":"object","required":["tool_calls"],"title":"ChatStreamingToolCallsDelta"},"ChatStreamingToolCallsFirstDelta":{"properties":{"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCallDeltaStart"},"type":"array","title":"Tool Calls"}},"type":"object","required":["tool_calls"],"title":"ChatStreamingToolCallsFirstDelta"},"CompareTextRequest":{"properties":{"original_text":{"type":"string","title":"Original Text"},"modified_text":{"type":"string","title":"Modified Text"}},"type":"object","required":["original_text","modified_text"],"title":"CompareTextRequest"},"ComparisonOperator":{"type":"object","title":"ComparisonOperator"},"ConfigProfileCreate":{"properties":{"config_id":{"type":"string","maxLength":128,"minLength":1,"title":"Config Id"},"name":{"type":"string","title":"Name","default":""},"description":{"type":"string","title":"Description"},"overrides":{"type":"object","title":"Overrides"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["config_id"],"title":"ConfigProfileCreate","description":"Body for ``POST /tokenwise/settings/configs``."},"ConfigProfileOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"config_id":{"type":"string","title":"Config Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"overrides":{"type":"object","title":"Overrides"},"enabled":{"type":"boolean","title":"Enabled"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","workspace_id","config_id","name","overrides","enabled","created_at","updated_at"],"title":"ConfigProfileOut","description":"Response shape for config GET / POST / PUT."},"ConfigProfileUpdate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"overrides":{"type":"object","title":"Overrides"},"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","title":"ConfigProfileUpdate","description":"Body for ``PUT /tokenwise/settings/configs/{config_id}`` — partial update.\n\nAn explicit ``overrides: null`` is \"leave unchanged\"; ``{}`` clears them.\nThe gateway enforces the same semantics; we forward the JSON verbatim."},"ConfigSchemaOut":{"properties":{"groups":{"items":{"type":"object"},"type":"array","title":"Groups"}},"type":"object","required":["groups"],"title":"ConfigSchemaOut","description":"Response shape for ``GET /tokenwise/settings/configs/schema``.\n\nLoosely typed — the gateway derives this from its ``ProxySettings`` and the\nshape evolves with new transformer groups. Kept as a flexible envelope so\napi-server does not need a release every time the gateway adds a knob."},"CreateAssistantRequest":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"type":"string","title":"Optimization"},"avatar":{"type":"string","title":"Avatar"},"models":{"items":{"type":"string"},"type":"array","title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"allOf":[{"$ref":"#/components/schemas/BudgetLevel"}],"default":"medium"},"assistant_type":{"allOf":[{"$ref":"#/components/schemas/AssistantType"}],"default":"default"},"starter_questions":{"items":{"$ref":"#/components/schemas/StarterQuestion"},"type":"array","title":"Starter Questions"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"}},"type":"object","required":["name"],"title":"CreateAssistantRequest"},"CreateMCPStorageRequest":{"properties":{"server_url":{"type":"string","title":"Server Url"},"server_label":{"type":"string","title":"Server Label"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"authentication_type":{"$ref":"#/components/schemas/AuthenticationType"},"auth_header_name":{"type":"string","title":"Auth Header Name"},"auth_value":{"type":"string","title":"Auth Value"},"allowed_tools":{"items":{"type":"string"},"type":"array","title":"Allowed Tools"}},"type":"object","required":["server_url","server_label"],"title":"CreateMCPStorageRequest"},"CreateMaestroRunsPayload":{"properties":{"input":{"anyOf":[{"items":{"$ref":"#/components/schemas/Message"},"type":"array"},{"type":"string"}],"title":"Input"},"output_type":{"type":"object","title":"Output Type"},"models":{"items":{"type":"string"},"type":"array","title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"context":{"type":"object","title":"Context"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__Requirement"},"type":"array","title":"Requirements"},"budget":{"type":"string","enum":["low","medium","high"],"title":"Budget"},"verbose":{"type":"boolean","title":"Verbose","default":false},"include":{"items":{"type":"string"},"type":"array","title":"Include"},"structured_rag_enabled":{"type":"boolean","title":"Structured Rag Enabled","default":false},"dynamic_planning_enabled":{"type":"boolean","title":"Dynamic Planning Enabled","default":false},"assistant_id":{"type":"string","title":"Assistant Id"},"variant":{"type":"string","enum":["main","ingestion"],"title":"Variant","default":"main"},"custom_retrieval_configs":{"items":{"type":"object"},"type":"array","title":"Custom Retrieval Configs"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"system_prompt":{"type":"string","title":"System Prompt"},"stream":{"type":"boolean","title":"Stream","default":false,"description":"Whether or not to stream the result one token at a time using\n[server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).\nThis can be useful when waiting for long results where a long wait time for an\nanswer can be problematic, such as a chatbot. If set to `True`, then `n` must\nbe 1. A streaming response is different than the non-streaming response.\n"}},"type":"object","required":["input"],"title":"CreateMaestroRunsPayload"},"CreateOrganizationSchemaRequest":{"properties":{"schema_name":{"type":"string","title":"Schema Name"},"schema_object":{"type":"object","title":"Schema Object"},"run_classification":{"type":"boolean","title":"Run Classification","default":false}},"type":"object","required":["schema_name","schema_object"],"title":"CreateOrganizationSchemaRequest"},"CreatePlanPayload":{"properties":{"code":{"type":"string","title":"Code"},"schemas":{"items":{"type":"object"},"type":"array","title":"Schemas"}},"type":"object","required":["code"],"title":"CreatePlanPayload"},"CreateRoutePayload":{"properties":{"plan_id":{"type":"string","title":"Plan Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples"}},"type":"object","required":["plan_id","name","description","examples"],"title":"CreateRoutePayload"},"CreateSecretPayload":{"properties":{"secret_name":{"type":"string","title":"Secret Name"},"secret_value":{"type":"string","title":"Secret Value"}},"type":"object","required":["secret_name","secret_value"],"title":"CreateSecretPayload"},"DeleteAssistantResponse":{"properties":{"object":{"type":"string","title":"Object","default":"assistant"},"deleted":{"type":"boolean","title":"Deleted","default":true},"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"}},"type":"object","required":["id"],"title":"DeleteAssistantResponse"},"DeleteMCPStorageResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"}},"type":"object","required":["id"],"title":"DeleteMCPStorageResponse"},"Demo":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"name":{"type":"string","title":"Name","description":"Name of the demo"},"visibility":{"allOf":[{"$ref":"#/components/schemas/DemoVisibility"}],"description":"Visibility of the demo (public/private)"},"status":{"allOf":[{"$ref":"#/components/schemas/DemoStatus"}],"description":"Status of the demo (active/inactive)"},"config":{"type":"object","title":"Config","description":"Demo configuration"},"ui_component_name":{"type":"string","title":"Ui Component Name","description":"Name of the UI component"}},"type":"object","required":["id","name","visibility","status","ui_component_name"],"title":"Demo"},"DemoCreate":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the demo"},"visibility":{"allOf":[{"$ref":"#/components/schemas/DemoVisibility"}],"description":"Visibility of the demo (public/private)"},"status":{"allOf":[{"$ref":"#/components/schemas/DemoStatus"}],"description":"Status of the demo (active/inactive)"},"config":{"type":"object","title":"Config","description":"Demo configuration"},"ui_component_name":{"type":"string","title":"Ui Component Name","description":"Name of the UI component"}},"type":"object","required":["name","visibility","status","ui_component_name"],"title":"DemoCreate"},"DemoStatus":{"enum":["active","inactive"],"title":"DemoStatus","description":"An enumeration."},"DemoUpdate":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the demo"},"visibility":{"allOf":[{"$ref":"#/components/schemas/DemoVisibility"}],"description":"Visibility of the demo (public/private)"},"status":{"allOf":[{"$ref":"#/components/schemas/DemoStatus"}],"description":"Status of the demo (active/inactive)"},"config":{"type":"object","title":"Config","description":"Demo configuration"},"ui_component_name":{"type":"string","title":"Ui Component Name","description":"Name of the UI component"}},"type":"object","title":"DemoUpdate"},"DemoVisibility":{"enum":["public","private"],"title":"DemoVisibility","description":"An enumeration."},"DetectSchemaRequest":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/DocumentReference"},"type":"array","title":"Documents"},"queries":{"items":{"type":"string"},"type":"array","title":"Queries"}},"type":"object","required":["documents"],"title":"DetectSchemaRequest"},"DetectSchemaResponse":{"properties":{"schema_name":{"type":"string","title":"Schema Name"},"schema_definition":{"type":"object","title":"Schema Definition"}},"type":"object","required":["schema_name","schema_definition"],"title":"DetectSchemaResponse"},"DocumentReference":{"properties":{"document_id":{"type":"string","format":"uuid","title":"Document Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["document_id","name"],"title":"DocumentReference"},"DocumentSchema":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"content":{"type":"string","title":"Content"},"metadata":{"additionalProperties":{"type":"string"},"type":"object","title":"Metadata","default":{}}},"type":"object","required":["content"],"title":"DocumentSchema"},"DownloadModifiedDocumentRequest":{"properties":{"content":{"type":"string","title":"Content"},"filename":{"type":"string","title":"Filename"}},"type":"object","required":["content","filename"],"title":"DownloadModifiedDocumentRequest"},"FileResponse":{"properties":{"fileId":{"type":"string","format":"uuid","title":"Fileid","description":"The unique identifier of the file, generated by AI21.\n"},"name":{"type":"string","title":"Name","description":"The name of the file. This is the local file name from when the file was\nuploaded. It cannot be modified.\n"},"path":{"type":"string","title":"Path","description":"An arbitrary file-path-like string to indicate the content of a file. This has\nnothing to do with the location of the file in storage or on disk, and is only\nanother label that you can assign to the file in path-like format to help you\norganize the contents of the file or filter queries against your files. Example\npaths might be `pets/fish` or `pets/dogs`. Then, when searching your library,\nyou can filter files by the full path or path prefix. So to search only files\nin the \"dog folder\", filter by the path `/pets/dogs`. To search all files in\nthe \"pet folder\", filter your search by the path `pets/` when searching by path.\nThere isn't a restriction on whether a path must start or end with a / mark, but\nbe consistent in your usage, and all matches are prefix matching, not substring\nmatching. So filtering by `dog/` matches `dog/` and `dog/setter` but not `pets/dog/`.\n"},"fileType":{"type":"string","title":"Filetype","description":"The file type. See the file upload method to learn what file types are supported.\n"},"sizeBytes":{"type":"integer","title":"Sizebytes","description":"The size of the file, in bytes."},"labels":{"items":{"type":"string"},"type":"array","title":"Labels","description":"Any string labels you have associated with the file. You can apply arbitrary\nstring labels to your files and limit queries to files with one or more labels.\nSimilar to paths, but labels do not prefix match. Labels are case-sensitive.\nThere can be a maximum of 20 unique labels per account.\n"},"publicUrl":{"type":"string","title":"Publicurl","description":"The public URL of the file, if any. This URL is not validated by\nAI21 or used in any way. It is strictly a piece of metadata that you can\noptionally attach to a file.\n"},"createdBy":{"type":"string","format":"uuid","title":"Createdby","description":"An internal identifier of the user who uploaded the file.\n"},"creationDate":{"type":"string","format":"date","title":"Creationdate","description":"The date when the file was uploaded."},"lastUpdated":{"type":"string","format":"date","title":"Lastupdated","description":"When the file data or metadata was last changed."},"status":{"type":"string","title":"Status","description":"File status. One of the following values: \"DB_RECORD_CREATED\",\n\"UPLOADED\", \"UPLOAD_FAILED\", \"PROCESSED\", \"PROCESSING_FAILED\"\n"},"dataSource":{"type":"string","title":"Datasource"}},"type":"object","required":["fileId","name","fileType","sizeBytes","createdBy","creationDate","lastUpdated","status"],"title":"FileResponse"},"FileSearchToolResource":{"properties":{"type":{"type":"string","enum":["file_search"],"title":"Type","default":"file_search"},"retrieval_similarity_threshold":{"type":"number","title":"Retrieval Similarity Threshold"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels"},"labels_filter_mode":{"type":"string","enum":["AND","OR"],"title":"Labels Filter Mode","default":"AND"},"labels_filter":{"$ref":"#/components/schemas/QueryFilter"},"file_ids":{"items":{"type":"string"},"type":"array","title":"File Ids"},"retrieval_strategy":{"allOf":[{"$ref":"#/components/schemas/RetrievalStrategy"}],"default":"segments"},"max_neighbors":{"type":"integer","title":"Max Neighbors"},"path":{"type":"string","title":"Path"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"hybrid_search_alpha":{"type":"number","title":"Hybrid Search Alpha","default":1},"use_two_step_embedders":{"type":"boolean","title":"Use Two Step Embedders","default":false}},"type":"object","title":"FileSearchToolResource"},"FileStatus":{"type":"string","enum":["DB_RECORD_CREATED","UPLOADED","UPLOAD_FAILED","PROCESSED","PROCESSING_FAILED"],"title":"FileStatus","description":"An enumeration."},"FilesUpdateRequest":{"properties":{"publicUrl":{"type":"string","title":"Publicurl","description":"The public URL of the file, if any. This URL is not validated by\nAI21 or used in any way. It is strictly a piece of metadata that you can\noptionally attach to a file.\n"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels","description":"Any labels to associate with this file. Separate multiple labels with commas. If\nprovided, will overwrite all existing labels.\n"}},"type":"object","title":"FilesUpdateRequest"},"FunctionToolDefinition":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"parameters":{"$ref":"#/components/schemas/ToolParameters"}},"type":"object","required":["name"],"title":"FunctionToolDefinition"},"GenerateAssistantRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"avatar":{"type":"string","title":"Avatar"}},"type":"object","required":["prompt"],"title":"GenerateAssistantRequest"},"GenerateAssistantResponse":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"object":{"type":"string","title":"Object"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"type":"string","title":"Optimization"},"organization_id":{"type":"string","title":"Organization Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"user_id":{"type":"string","title":"User Id"},"avatar":{"type":"string","title":"Avatar"},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"models":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"items":{"type":"string"},"type":"array"}],"title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"allOf":[{"$ref":"#/components/schemas/BudgetLevel"}],"default":"medium"},"visibility":{"allOf":[{"$ref":"#/components/schemas/Visibility"}],"default":"public"},"assistant_type":{"allOf":[{"$ref":"#/components/schemas/AssistantType"}],"default":"default"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"vibe_prompt":{"type":"string","title":"Vibe Prompt"},"starter_questions":{"items":{"$ref":"#/components/schemas/StarterQuestion"},"type":"array","title":"Starter Questions"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"},"custom_tool_needed":{"additionalProperties":{"type":"string"},"type":"object","title":"Custom Tool Needed"},"recommended_files":{"items":{"type":"string"},"type":"array","title":"Recommended Files"}},"type":"object","required":["id","created_at","updated_at","object","name","organization_id","user_id"],"title":"GenerateAssistantResponse"},"HTTPToolEndpoint":{"properties":{"url":{"type":"string","title":"Url"},"headers":{"type":"object","title":"Headers"}},"type":"object","required":["url"],"title":"HTTPToolEndpoint"},"HTTPToolFunction":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"parameters":{"$ref":"#/components/schemas/HTTPToolFunctionParameters"}},"type":"object","required":["name","description","parameters"],"title":"HTTPToolFunction"},"HTTPToolFunctionParamProperties":{"properties":{"type":{"type":"string","title":"Type"},"description":{"type":"string","title":"Description"}},"type":"object","required":["type","description"],"title":"HTTPToolFunctionParamProperties"},"HTTPToolFunctionParameters":{"properties":{"type":{"type":"string","enum":["object"],"title":"Type","default":"object"},"properties":{"additionalProperties":{"$ref":"#/components/schemas/HTTPToolFunctionParamProperties"},"type":"object","title":"Properties"},"required":{"items":{"type":"string"},"type":"array","title":"Required"},"additionalProperties":{"type":"boolean","title":"Additionalproperties","default":false}},"type":"object","required":["properties","required"],"title":"HTTPToolFunctionParameters"},"HTTPToolResource":{"properties":{"type":{"type":"string","enum":["http"],"title":"Type","default":"http"},"function":{"$ref":"#/components/schemas/HTTPToolFunction"},"endpoint":{"$ref":"#/components/schemas/HTTPToolEndpoint"}},"type":"object","required":["function","endpoint"],"title":"HTTPToolResource"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IgnestionBatchStatusCount":{"properties":{"status":{"type":"string","title":"Status"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["status","count"],"title":"IgnestionBatchStatusCount"},"IngestionBatchStatusResponse":{"properties":{"batch_id":{"type":"string","title":"Batch Id","description":"The UUID of the batch"},"total_documents":{"type":"integer","title":"Total Documents","description":"Total number of documents in the batch"},"statuses":{"items":{"$ref":"#/components/schemas/IgnestionBatchStatusCount"},"type":"array","title":"Statuses","description":"List of document counts by status"}},"type":"object","required":["batch_id","total_documents","statuses"],"title":"IngestionBatchStatusResponse"},"InsightFeedbackIn":{"properties":{"verdict":{"type":"string","title":"Verdict"},"comment":{"type":"string","maxLength":1000,"title":"Comment"}},"type":"object","required":["verdict"],"title":"InsightFeedbackIn","description":"Body for ``POST /tokenwise/insights/{insight_id}/feedback``.\n\n``verdict`` stays a plain ``str`` for the same reason as\n:attr:`InsightOut.state` — the gateway owns the closed set (``helpful`` /\n``not_helpful``) and answers 422 on anything else, so widening it there\ndoesn't force an api-server release.\n\n``comment`` is bounded at 1000 chars to mirror the gateway's own limit (and\nits ``varchar(1000)`` column) so an over-long body fails here instead of\nmaking the round trip just to come back 422. The gateway stays the\nauthoritative enforcement point; keep this number in sync with it."},"InsightOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"agent_id":{"type":"string","title":"Agent Id"},"state":{"type":"string","title":"State"},"source":{"type":"string","title":"Source"},"kind":{"type":"string","title":"Kind"},"author":{"type":"string","title":"Author"},"title":{"type":"string","title":"Title"},"narrative":{"type":"string","title":"Narrative"},"projected_savings":{"type":"string","title":"Projected Savings"},"optimization_id":{"type":"string","title":"Optimization Id"},"config_suggestion":{"type":"object","title":"Config Suggestion"},"feedback_verdict":{"type":"string","title":"Feedback Verdict"},"feedback_comment":{"type":"string","title":"Feedback Comment"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","workspace_id","agent_id","state","source","kind","title","narrative","created_at","updated_at"],"title":"InsightOut","description":"Response shape for one insight — ``GET /tokenwise/insights`` and the\n``apply`` / ``dismiss`` / ``acknowledge`` transitions.\n\n``state``, ``source`` and ``kind`` stay plain ``str`` (not enums) so a new\ngateway lifecycle state, source or insight kind doesn't force an api-server\nrelease — the same stance as :class:`AgentOptimization`. The gateway is the\nsource of truth (``ai21_intelligent_gateway_api.insights.schemas.InsightResponse``).\n\nFeedback is two columns, not three: ``verdict`` is required on submission, so\na non-null ``feedback_verdict`` is itself the \"has feedback\" signal, and\n``updated_at`` covers when it arrived."},"JambaExecuteRequest":{"properties":{"content":{"type":"string","title":"Content"},"task":{"type":"string","title":"Task"},"prompt":{"type":"string","title":"Prompt"},"api_key":{"type":"string","title":"Api Key"}},"type":"object","required":["content","task","prompt"],"title":"JambaExecuteRequest"},"ListAssistantsResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/Assistant"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListAssistantsResponse"},"ListMCPsStorageResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/MCPStorageResponse"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListMCPsStorageResponse"},"ListPlansResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/Plan"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListPlansResponse"},"ListRoutesResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/AssistantRoute"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListRoutesResponse"},"LogicalOperator":{"additionalProperties":{"items":{"type":"object"},"type":"array"},"type":"object","title":"LogicalOperator"},"Logprobs":{"properties":{"content":{"items":{"$ref":"#/components/schemas/LogprobsData"},"type":"array","title":"Content"}},"type":"object","required":["content"],"title":"Logprobs"},"LogprobsData":{"properties":{"token":{"type":"string","title":"Token"},"logprob":{"type":"number","title":"Logprob"},"top_logprobs":{"items":{"$ref":"#/components/schemas/TopLogprobsData"},"type":"array","title":"Top Logprobs"}},"type":"object","required":["token","logprob"],"title":"LogprobsData"},"MCPStorageResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"server_url":{"type":"string","title":"Server Url"},"server_label":{"type":"string","title":"Server Label"},"organization_id":{"type":"string","format":"uuid","title":"Organization Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"authentication_type":{"$ref":"#/components/schemas/AuthenticationType"},"auth_header_name":{"type":"string","title":"Auth Header Name"},"auth_secret_key":{"type":"string","title":"Auth Secret Key"},"allowed_tools":{"items":{"type":"string"},"type":"array","title":"Allowed Tools"}},"type":"object","required":["id","server_url","server_label","organization_id","user_id"],"title":"MCPStorageResponse"},"MCPToolResource":{"properties":{"type":{"type":"string","enum":["mcp"],"title":"Type","default":"mcp"},"server_label":{"type":"string","title":"Server Label"},"server_url":{"type":"string","title":"Server Url"},"headers":{"type":"object","title":"Headers"},"allowed_tools":{"items":{"type":"string"},"type":"array","title":"Allowed Tools"},"mcp_id":{"type":"string","title":"Mcp Id"}},"type":"object","title":"MCPToolResource"},"MaestroRunError":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"MaestroRunError"},"MaestroRunResult":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"status":{"type":"string","enum":["completed","failed","in_progress","requires_action"],"title":"Status"},"result":{"title":"Result"},"data_sources":{"type":"object","title":"Data Sources"},"requirements_result":{"type":"object","title":"Requirements Result"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"error":{"$ref":"#/components/schemas/MaestroRunError"}},"type":"object","required":["id","status"],"title":"MaestroRunResult"},"MarkdownRequest":{"properties":{"text":{"type":"string","title":"Text","description":"All section answers concatenated"}},"type":"object","required":["text"],"title":"MarkdownRequest"},"Message":{"properties":{"role":{"type":"string","enum":["assistant","user"],"title":"Role","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"}},"type":"object","required":["role","content"],"title":"Message"},"MockResponseConfig":{"properties":{"response_delay_seconds":{"type":"number","minimum":0.0,"title":"Response Delay Seconds","default":1},"stream_response_delay_between_deltas_seconds":{"type":"number","minimum":0.0,"title":"Stream Response Delay Between Deltas Seconds","default":0.1}},"type":"object","title":"MockResponseConfig","include_in_schema":false},"ModelInfo":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"name":{"type":"string","title":"Name"},"updated":{"type":"string","title":"Updated"},"context_length":{"type":"integer","title":"Context Length"},"quantization":{"$ref":"#/components/schemas/ModelQuantization"},"max_completion_tokens":{"type":"integer","title":"Max Completion Tokens"},"pricing":{"$ref":"#/components/schemas/ModelPricing"}},"type":"object","required":["id","name","updated","context_length","quantization","max_completion_tokens","pricing"],"title":"ModelInfo"},"ModelName":{"type":"string","enum":["jamba-mini","jamba-large","jamba-large-1.7","jamba-large-1.7-2025-07","jamba-mini-2","jamba-mini-2-2026-01"],"title":"ModelName","description":"An enumeration."},"ModelPricing":{"properties":{"prompt":{"type":"string","title":"Prompt"},"completion":{"type":"string","title":"Completion"}},"type":"object","required":["prompt","completion"],"title":"ModelPricing"},"ModelQuantization":{"type":"string","enum":["FP8","experts_int8"],"title":"ModelQuantization","description":"An enumeration."},"ModelsInfoResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ModelInfo"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"ModelsInfoResponse"},"ModifyAssistantRequest":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"$ref":"#/components/schemas/RunOptimization"},"avatar":{"type":"string","title":"Avatar"},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"models":{"items":{"type":"string"},"type":"array","title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"$ref":"#/components/schemas/BudgetLevel"},"visibility":{"$ref":"#/components/schemas/Visibility"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"}},"type":"object","title":"ModifyAssistantRequest"},"OrgSchema":{"properties":{"organization_id":{"type":"string","format":"uuid","title":"Organization Id"},"schema_name":{"type":"string","title":"Schema Name"},"schema_definition":{"type":"object","title":"Schema Definition"},"table_stats":{"type":"object","title":"Table Stats"}},"type":"object","required":["organization_id","schema_name","schema_definition","table_stats"],"title":"OrgSchema"},"OrgSchemas":{"properties":{"schemas":{"items":{"$ref":"#/components/schemas/OrgSchema"},"type":"array","title":"Schemas"}},"type":"object","required":["schemas"],"title":"OrgSchemas"},"Plan":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"code":{"type":"string","title":"Code"},"schemas":{"items":{"type":"object"},"type":"array","title":"Schemas"},"assistant_id":{"type":"string","title":"Assistant Id"}},"type":"object","required":["id","created_at","updated_at","code","assistant_id"],"title":"Plan"},"ProviderKeyCreate":{"properties":{"provider":{"type":"string","minLength":1,"title":"Provider"},"api_key":{"type":"string","maxLength":8192,"minLength":1,"format":"password","title":"Api Key","writeOnly":true}},"type":"object","required":["provider","api_key"],"title":"ProviderKeyCreate","description":"Body for ``POST /tokenwise/settings/provider-keys``."},"ProviderKeyOut":{"properties":{"provider":{"type":"string","title":"Provider"},"masked_key":{"type":"string","title":"Masked Key"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["provider","created_at","updated_at"],"title":"ProviderKeyOut","description":"Response shape for provider-key GET / POST / PUT.\n\nNever carries the key itself. ``masked_key`` is the BFF's masked rendering\nfrom the secret store, and is ``null`` when the store is unreachable — whether\na workspace has a key configured is the BFF's own fact and stays readable even\nwhen the store is down."},"ProviderKeyUpdate":{"properties":{"provider":{"type":"string","minLength":1,"title":"Provider"},"api_key":{"type":"string","maxLength":8192,"minLength":1,"format":"password","title":"Api Key","writeOnly":true}},"type":"object","required":["provider","api_key"],"title":"ProviderKeyUpdate","description":"Body for ``PUT /tokenwise/settings/provider-keys`` — rotation.\n\nSame shape as create; the BFF distinguishes them by method, not by body."},"QueryFilter":{"anyOf":[{"$ref":"#/components/schemas/ComparisonOperator"},{"$ref":"#/components/schemas/LogicalOperator"},{"additionalProperties":{"$ref":"#/components/schemas/ComparisonOperator"},"type":"object"}],"title":"QueryFilter"},"RFIResponseSection":{"properties":{"header":{"type":"string","title":"Header","description":"Exact or closest RFI heading for the section"},"description":{"type":"string","title":"Description","description":"≤350-character directive listing everything to include in that section"},"generated_content":{"type":"string","title":"Generated Content","description":"Generated content for this section based on company files"}},"type":"object","required":["header","description"],"title":"RFIResponseSection","description":"Model for a single RFI response section."},"RequirementItem":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"}},"type":"object","required":["name","description"],"title":"RequirementItem"},"RequirementsGenerationRequest":{"properties":{"query":{"type":"string","title":"Query"}},"type":"object","required":["query"],"title":"RequirementsGenerationRequest"},"RequirementsGenerationResponse":{"properties":{"requirements":{"items":{"$ref":"#/components/schemas/RequirementItem"},"type":"array","title":"Requirements"}},"type":"object","required":["requirements"],"title":"RequirementsGenerationResponse"},"ResponseFormat":{"properties":{"type":{"type":"string","enum":["text","json_object"],"title":"Type"}},"type":"object","required":["type"],"title":"ResponseFormat"},"RetrievalStrategy":{"type":"string","enum":["segments","default","add_neighbors","full_doc"],"title":"RetrievalStrategy","description":"An enumeration."},"RunAssistantRequest":{"properties":{"input":{"items":{"$ref":"#/components/schemas/Message"},"type":"array","title":"Input"},"verbose":{"type":"boolean","title":"Verbose","default":false},"output_type":{"type":"object","title":"Output Type"},"include":{"items":{"type":"string"},"type":"array","title":"Include","default":["data_sources","requirements_result","requirements_result.metadata"]},"structured_rag_enabled":{"type":"boolean","title":"Structured Rag Enabled","default":false},"dynamic_planning_enabled":{"type":"boolean","title":"Dynamic Planning Enabled","default":false},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"system_prompt":{"type":"string","title":"System Prompt"}},"type":"object","required":["input"],"title":"RunAssistantRequest"},"RunOptimization":{"enum":["cost","latency"],"title":"RunOptimization","description":"An enumeration."},"SecretResponse":{"properties":{"secret_id":{"type":"string","title":"Secret Id"},"secret_key":{"type":"string","title":"Secret Key"}},"type":"object","required":["secret_id","secret_key"],"title":"SecretResponse"},"StarterQuestion":{"properties":{"title":{"type":"string","title":"Title"},"prompt":{"type":"string","title":"Prompt"}},"type":"object","required":["title","prompt"],"title":"StarterQuestion"},"SystemMessage":{"properties":{"role":{"type":"string","enum":["system"],"title":"Role","default":"system","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"SystemMessage"},"ToolCall":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"type":{"type":"string","enum":["function"],"title":"Type","default":"function"},"function":{"$ref":"#/components/schemas/ToolFunction"}},"type":"object","required":["id","function"],"title":"ToolCall"},"ToolCallDelta":{"properties":{"index":{"type":"integer","title":"Index"},"function":{"$ref":"#/components/schemas/ToolFunctionDelta"}},"type":"object","required":["index","function"],"title":"ToolCallDelta"},"ToolCallDeltaStart":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"index":{"type":"integer","title":"Index"},"type":{"type":"string","enum":["function"],"title":"Type"},"function":{"$ref":"#/components/schemas/ToolFunctionDeltaStart"}},"type":"object","required":["id","index","type","function"],"title":"ToolCallDeltaStart"},"ToolFunction":{"properties":{"name":{"type":"string","title":"Name"},"arguments":{"type":"string","title":"Arguments"}},"type":"object","required":["name","arguments"],"title":"ToolFunction"},"ToolFunctionDelta":{"properties":{"arguments":{"type":"string","title":"Arguments"}},"type":"object","required":["arguments"],"title":"ToolFunctionDelta"},"ToolFunctionDeltaStart":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"ToolFunctionDeltaStart"},"ToolMessage":{"properties":{"role":{"type":"string","enum":["tool"],"title":"Role","default":"tool","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"},"tool_call_id":{"type":"string","title":"Tool Call Id"}},"type":"object","required":["content","tool_call_id"],"title":"ToolMessage"},"ToolParameters":{"properties":{"type":{"type":"string","enum":["object"],"title":"Type","description":"Type of the parameter schema, only `object` is supported","default":"object"},"properties":{"type":"object","title":"Properties"},"required":{"items":{"type":"string"},"type":"array","title":"Required","description":"List of required properties"}},"type":"object","required":["properties"],"title":"ToolParameters"},"TopLogprobsData":{"properties":{"token":{"type":"string","title":"Token"},"logprob":{"type":"number","title":"Logprob"}},"type":"object","required":["token","logprob"],"title":"TopLogprobsData"},"UpdateMCPStorageRequest":{"properties":{"server_label":{"type":"string","title":"Server Label"}},"type":"object","required":["server_label"],"title":"UpdateMCPStorageRequest"},"UpdateRoutePayload":{"properties":{"description":{"type":"string","title":"Description"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples"}},"type":"object","required":["description"],"title":"UpdateRoutePayload"},"UpdateSecretPayload":{"properties":{"secret_name":{"type":"string","title":"Secret Name"},"secret_value":{"type":"string","title":"Secret Value"}},"type":"object","title":"UpdateSecretPayload"},"UploadMode":{"type":"string","enum":["immediate","batch"],"title":"UploadMode","description":"An enumeration."},"UsageInfo":{"properties":{"prompt_tokens":{"type":"integer","title":"Prompt Tokens","description":"Number of tokens in the prompt for this request. Note that the prompt token\nincludes the entire message history, plus extra tokens needed by the system\nwhen combining the list of prompt messages into a single message, as\nrequired by the model. The number of extra tokens is typically proportional\nto the number of messages in the thread, and should be relatively small.\n"},"completion_tokens":{"type":"integer","title":"Completion Tokens","description":"Number of tokens in the response message."},"total_tokens":{"type":"integer","title":"Total Tokens","description":"`prompt_tokens` + `completion_tokens`.\n"}},"type":"object","required":["prompt_tokens","completion_tokens","total_tokens"],"title":"UsageInfo"},"UserMessage":{"properties":{"role":{"type":"string","enum":["user"],"title":"Role","default":"user","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"UserMessage"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"ValidationResult":{"properties":{"is_valid":{"type":"boolean","title":"Is Valid"},"message":{"type":"string","title":"Message"},"details":{"type":"string","title":"Details"}},"type":"object","required":["is_valid"],"title":"ValidationResult"},"Visibility":{"enum":["public","private"],"title":"Visibility","description":"An enumeration."},"WebSearchToolResource":{"properties":{"type":{"type":"string","enum":["web_search"],"title":"Type","default":"web_search"},"urls":{"items":{"type":"string"},"type":"array","title":"Urls"},"fallback_to_web":{"type":"boolean","title":"Fallback To Web"},"query_suffix":{"type":"string","title":"Query Suffix"},"rephrase_query":{"type":"boolean","title":"Rephrase Query"},"use_cached_pages":{"type":"boolean","title":"Use Cached Pages","default":false}},"type":"object","title":"WebSearchToolResource"},"WebsiteConnectorCreateConfigPayload":{"properties":{"name":{"type":"string","title":"Name"},"extract_linked_files":{"type":"boolean","title":"Extract Linked Files","default":false},"wait_for_dynamic_content":{"type":"boolean","title":"Wait For Dynamic Content","default":false},"skip_url_patterns":{"items":{"type":"string"},"type":"array","title":"Skip Url Patterns"},"target_file_extensions":{"items":{"type":"string"},"type":"array","title":"Target File Extensions"},"localization":{"type":"string","title":"Localization"}},"type":"object","required":["name","skip_url_patterns","target_file_extensions"],"title":"WebsiteConnectorCreateConfigPayload"},"WebsiteConnectorIngestUrlPayload":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"WebsiteConnectorIngestUrlPayload"},"WebsiteConnectorIngestWebsitePayload":{"properties":{"sitemap_url":{"type":"string","title":"Sitemap Url"},"client_config":{"type":"string","title":"Client Config"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels"}},"type":"object","required":["sitemap_url"],"title":"WebsiteConnectorIngestWebsitePayload"},"WebsiteConnectorRetryIngestWebsitePayload":{"properties":{"website_id":{"type":"string","format":"uuid","title":"Website Id"}},"type":"object","required":["website_id"],"title":"WebsiteConnectorRetryIngestWebsitePayload"},"WorkflowConfig":{"properties":{"endpoint_url":{"type":"string","title":"Endpoint Url"},"headers":{"type":"object","title":"Headers"},"additional_params":{"type":"object","title":"Additional Params"}},"type":"object","required":["endpoint_url"],"title":"WorkflowConfig"},"WorkspaceModelResponse":{"properties":{"name":{"type":"string","title":"Name"},"model_type":{"type":"string","title":"Model Type"},"secret_id":{"type":"string","title":"Secret Id"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"provider":{"type":"string","title":"Provider"},"internal":{"type":"boolean","title":"Internal","default":false}},"type":"object","required":["name","model_type"],"title":"WorkspaceModelResponse"},"WorkspaceModelUpdate":{"properties":{"name":{"type":"string","title":"Name"},"model_type":{"type":"string","title":"Model Type"},"secret_id":{"type":"string","title":"Secret Id"}},"type":"object","title":"WorkspaceModelUpdate"},"WorkspaceModelsResponse":{"properties":{"models":{"items":{"$ref":"#/components/schemas/WorkspaceModelResponse"},"type":"array","title":"Models"}},"type":"object","required":["models"],"title":"WorkspaceModelsResponse"},"language_studio_api_server__data_types__assistant__Requirement":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"type":{"type":"string","title":"Type"}},"type":"object","title":"Requirement"},"language_studio_api_server__data_types__chat__ToolDefinition":{"properties":{"type":{"type":"string","enum":["function"],"title":"Type"},"function":{"$ref":"#/components/schemas/FunctionToolDefinition"}},"type":"object","required":["type","function"],"title":"ToolDefinition"},"language_studio_api_server__data_types__execution_engine__Requirement":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"is_mandatory":{"type":"boolean","title":"Is Mandatory"}},"type":"object","required":["name","description"],"title":"Requirement"},"language_studio_api_server__data_types__execution_engine__ToolDefinition":{"oneOf":[{"$ref":"#/components/schemas/HTTPToolResource"},{"$ref":"#/components/schemas/MCPToolResource"},{"$ref":"#/components/schemas/FileSearchToolResource"},{"$ref":"#/components/schemas/WebSearchToolResource"}],"title":"ToolDefinition","discriminator":{"propertyName":"type","mapping":{"http":"#/components/schemas/HTTPToolResource","mcp":"#/components/schemas/MCPToolResource","file_search":"#/components/schemas/FileSearchToolResource","web_search":"#/components/schemas/WebSearchToolResource"}}}}}} \ No newline at end of file