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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ partial void ProcessGetAudienceByIdResponseContent(
__authorization.Location == "Header")
{
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
}
}
}
global::JasperAI.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ partial void ProcessGetAudiencesResponseContent(
__authorization.Location == "Header")
{
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
}
}
}
global::JasperAI.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
Expand Down
2 changes: 1 addition & 1 deletion src/libs/JasperAI/Generated/JasperAI.AudiencesClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public sealed partial class AudiencesClient : global::JasperAI.IAudiencesClient,
internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext> JsonSerializerContextProvider { get; set; } = new(() => global::JasperAI.SourceGenerationContext.Default);

/// <summary>
///
///
/// </summary>
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ partial void ProcessCommandResponseContent(
__authorization.Location == "Header")
{
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
}
}
}
var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
Expand Down
2 changes: 1 addition & 1 deletion src/libs/JasperAI/Generated/JasperAI.CommandClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public sealed partial class CommandClient : global::JasperAI.ICommandClient, glo
internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext> JsonSerializerContextProvider { get; set; } = new(() => global::JasperAI.SourceGenerationContext.Default);

/// <summary>
///
///
/// </summary>
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ partial void ProcessCreateDocumentResponseContent(
__authorization.Location == "Header")
{
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
}
}
}
var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ await DeleteDocumentByIdAsResponseAsync(
__authorization.Location == "Header")
{
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
}
}
}
global::JasperAI.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ partial void ProcessGetAllDocumentsResponseContent(
__authorization.Location == "Header")
{
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
}
}
}
global::JasperAI.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ partial void ProcessGetDocumentByIdResponseContent(
__authorization.Location == "Header")
{
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
}
}
}
global::JasperAI.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ partial void ProcessUpdateDocumentResponseContent(
__authorization.Location == "Header")
{
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
}
}
}
var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
Expand Down
2 changes: 1 addition & 1 deletion src/libs/JasperAI/Generated/JasperAI.DocumentsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public sealed partial class DocumentsClient : global::JasperAI.IDocumentsClient,
internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext> JsonSerializerContextProvider { get; set; } = new(() => global::JasperAI.SourceGenerationContext.Default);

/// <summary>
///
///
/// </summary>
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
Expand Down
2 changes: 1 addition & 1 deletion src/libs/JasperAI/Generated/JasperAI.IAudiencesClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public partial interface IAudiencesClient : global::System.IDisposable


/// <summary>
///
///
/// </summary>
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/libs/JasperAI/Generated/JasperAI.ICommandClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public partial interface ICommandClient : global::System.IDisposable


/// <summary>
///
///
/// </summary>
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/libs/JasperAI/Generated/JasperAI.IDocumentsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public partial interface IDocumentsClient : global::System.IDisposable


/// <summary>
///
///
/// </summary>
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }

Expand Down
20 changes: 10 additions & 10 deletions src/libs/JasperAI/Generated/JasperAI.IJasperAIClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,53 +43,53 @@ public partial interface IJasperAIClient : global::System.IDisposable


/// <summary>
///
///
/// </summary>
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }


/// <summary>
///
///
/// </summary>
public AudiencesClient Audiences { get; }

/// <summary>
///
///
/// </summary>
public CommandClient Command { get; }

/// <summary>
///
///
/// </summary>
public DocumentsClient Documents { get; }

/// <summary>
///
///
/// </summary>
public KnowledgeClient Knowledge { get; }

/// <summary>
///
///
/// </summary>
public StylesClient Styles { get; }

/// <summary>
///
///
/// </summary>
public TasksClient Tasks { get; }

/// <summary>
///
///
/// </summary>
public UsageClient Usage { get; }

/// <summary>
///
///
/// </summary>
public UsersClient Users { get; }

/// <summary>
///
///
/// </summary>
public VoicesClient Voices { get; }

Expand Down
2 changes: 1 addition & 1 deletion src/libs/JasperAI/Generated/JasperAI.IKnowledgeClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public partial interface IKnowledgeClient : global::System.IDisposable


/// <summary>
///
///
/// </summary>
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/libs/JasperAI/Generated/JasperAI.IStylesClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public partial interface IStylesClient : global::System.IDisposable


/// <summary>
///
///
/// </summary>
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/libs/JasperAI/Generated/JasperAI.ITasksClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public partial interface ITasksClient : global::System.IDisposable


/// <summary>
///
///
/// </summary>
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/libs/JasperAI/Generated/JasperAI.IUsageClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public partial interface IUsageClient : global::System.IDisposable


/// <summary>
///
///
/// </summary>
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/libs/JasperAI/Generated/JasperAI.IUsersClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public partial interface IUsersClient : global::System.IDisposable


/// <summary>
///
///
/// </summary>
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/libs/JasperAI/Generated/JasperAI.IVoicesClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public partial interface IVoicesClient : global::System.IDisposable


/// <summary>
///
///
/// </summary>
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }

Expand Down
20 changes: 10 additions & 10 deletions src/libs/JasperAI/Generated/JasperAI.JasperAIClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public sealed partial class JasperAIClient : global::JasperAI.IJasperAIClient, g
internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext> JsonSerializerContextProvider { get; set; } = new(() => global::JasperAI.SourceGenerationContext.Default);

/// <summary>
///
///
/// </summary>
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
Expand All @@ -51,7 +51,7 @@ public sealed partial class JasperAIClient : global::JasperAI.IJasperAIClient, g


/// <summary>
///
///
/// </summary>
public AudiencesClient Audiences => new AudiencesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
Expand All @@ -60,7 +60,7 @@ public sealed partial class JasperAIClient : global::JasperAI.IJasperAIClient, g
};

/// <summary>
///
///
/// </summary>
public CommandClient Command => new CommandClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
Expand All @@ -69,7 +69,7 @@ public sealed partial class JasperAIClient : global::JasperAI.IJasperAIClient, g
};

/// <summary>
///
///
/// </summary>
public DocumentsClient Documents => new DocumentsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
Expand All @@ -78,7 +78,7 @@ public sealed partial class JasperAIClient : global::JasperAI.IJasperAIClient, g
};

/// <summary>
///
///
/// </summary>
public KnowledgeClient Knowledge => new KnowledgeClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
Expand All @@ -87,7 +87,7 @@ public sealed partial class JasperAIClient : global::JasperAI.IJasperAIClient, g
};

/// <summary>
///
///
/// </summary>
public StylesClient Styles => new StylesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
Expand All @@ -96,7 +96,7 @@ public sealed partial class JasperAIClient : global::JasperAI.IJasperAIClient, g
};

/// <summary>
///
///
/// </summary>
public TasksClient Tasks => new TasksClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
Expand All @@ -105,7 +105,7 @@ public sealed partial class JasperAIClient : global::JasperAI.IJasperAIClient, g
};

/// <summary>
///
///
/// </summary>
public UsageClient Usage => new UsageClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
Expand All @@ -114,7 +114,7 @@ public sealed partial class JasperAIClient : global::JasperAI.IJasperAIClient, g
};

/// <summary>
///
///
/// </summary>
public UsersClient Users => new UsersClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
Expand All @@ -123,7 +123,7 @@ public sealed partial class JasperAIClient : global::JasperAI.IJasperAIClient, g
};

/// <summary>
///
///
/// </summary>
public VoicesClient Voices => new VoicesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed class CommandInputsRetrievalAddOnJsonConverter : global::System.Te
{
return global::JasperAI.CommandInputsRetrievalAddOnExtensions.ToEnum(stringValue) ?? default;
}

break;
}
case global::System.Text.Json.JsonTokenType.Number:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed class CommandInputsRetrievalAddOnNullableJsonConverter : global::S
{
return global::JasperAI.CommandInputsRetrievalAddOnExtensions.ToEnum(stringValue);
}

break;
}
case global::System.Text.Json.JsonTokenType.Number:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed class CommandOptionsCompletionTypeJsonConverter : global::System.T
{
return global::JasperAI.CommandOptionsCompletionTypeExtensions.ToEnum(stringValue) ?? default;
}

break;
}
case global::System.Text.Json.JsonTokenType.Number:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed class CommandOptionsCompletionTypeNullableJsonConverter : global::
{
return global::JasperAI.CommandOptionsCompletionTypeExtensions.ToEnum(stringValue);
}

break;
}
case global::System.Text.Json.JsonTokenType.Number:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed class CommandOptionsLanguageFormalityJsonConverter : global::Syste
{
return global::JasperAI.CommandOptionsLanguageFormalityExtensions.ToEnum(stringValue) ?? default;
}

break;
}
case global::System.Text.Json.JsonTokenType.Number:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed class CommandOptionsLanguageFormalityNullableJsonConverter : globa
{
return global::JasperAI.CommandOptionsLanguageFormalityExtensions.ToEnum(stringValue);
}

break;
}
case global::System.Text.Json.JsonTokenType.Number:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed class DocumentCreateRequestStatusJsonConverter : global::System.Te
{
return global::JasperAI.DocumentCreateRequestStatusExtensions.ToEnum(stringValue) ?? default;
}

break;
}
case global::System.Text.Json.JsonTokenType.Number:
Expand Down
Loading