From db2b67fd7d4709deb824cbfef5a882852a32c1f9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 29 Mar 2026 03:24:11 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../AI21/Generated/AI21.Models.Assistant.g.cs | 8 ++-- ...AI21.Models.ConnectorConnectionStatus.g.cs | 4 +- .../AI21.Models.DeleteAssistantResponse.g.cs | 12 ++--- src/libs/AI21/Generated/AI21.Models.Demo.g.cs | 8 ++-- .../Generated/AI21.Models.DemoCreate.g.cs | 8 ++-- .../Generated/AI21.Models.DocumentSchema.g.cs | 4 +- .../Generated/AI21.Models.FileResponse.g.cs | 44 +++++++++---------- ...AI21.Models.GenerateAssistantResponse.g.cs | 8 ++-- ...I21.Models.HTTPToolFunctionParameters.g.cs | 6 +-- .../AI21.Models.HTTPToolResource.g.cs | 6 +-- ...oApiServerDataTypesChatToolDefinition.g.cs | 4 +- .../AI21.Models.MCPStorageResponse.g.cs | 4 +- .../AI21/Generated/AI21.Models.MCPTool.g.cs | 4 +- src/libs/AI21/Generated/AI21.Models.Plan.g.cs | 4 +- .../Generated/AI21.Models.SystemMessage.g.cs | 4 +- .../AI21/Generated/AI21.Models.ToolCall.g.cs | 4 +- .../AI21.Models.ToolCallDeltaStart.g.cs | 4 +- .../Generated/AI21.Models.ToolMessage.g.cs | 6 +-- .../Generated/AI21.Models.ToolParameters.g.cs | 4 +- .../Generated/AI21.Models.UserMessage.g.cs | 4 +- ...s.WebsiteConnectorCreateConfigPayload.g.cs | 8 ++-- 21 files changed, 79 insertions(+), 79 deletions(-) diff --git a/src/libs/AI21/Generated/AI21.Models.Assistant.g.cs b/src/libs/AI21/Generated/AI21.Models.Assistant.g.cs index 930e7326..2c380d15 100644 --- a/src/libs/AI21/Generated/AI21.Models.Assistant.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.Assistant.g.cs @@ -184,11 +184,11 @@ public sealed partial class Assistant /// /// /// + /// + /// /// /// - /// /// - /// /// /// /// Default Value: false @@ -247,11 +247,11 @@ public Assistant( this.UpdatedAt = updatedAt; this.Object = @object ?? throw new global::System.ArgumentNullException(nameof(@object)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); - this.UserId = userId ?? throw new global::System.ArgumentNullException(nameof(userId)); this.Description = description; this.Optimization = optimization; + this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); this.WorkspaceId = workspaceId; + this.UserId = userId ?? throw new global::System.ArgumentNullException(nameof(userId)); this.Avatar = avatar; this.IsArchived = isArchived; this.Models = models; diff --git a/src/libs/AI21/Generated/AI21.Models.ConnectorConnectionStatus.g.cs b/src/libs/AI21/Generated/AI21.Models.ConnectorConnectionStatus.g.cs index eb3d9ca4..4be7cfd5 100644 --- a/src/libs/AI21/Generated/AI21.Models.ConnectorConnectionStatus.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ConnectorConnectionStatus.g.cs @@ -51,12 +51,12 @@ public sealed partial class ConnectorConnectionStatus /// /// Initializes a new instance of the class. /// - /// /// /// /// /// An enumeration. /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -68,10 +68,10 @@ public ConnectorConnectionStatus( global::System.DateTime? latestUpdated, string? lastSyncedAt) { + this.LatestUpdated = latestUpdated; this.FilesIndexed = filesIndexed; this.CreationDate = creationDate; this.Status = status; - this.LatestUpdated = latestUpdated; this.LastSyncedAt = lastSyncedAt; } diff --git a/src/libs/AI21/Generated/AI21.Models.DeleteAssistantResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.DeleteAssistantResponse.g.cs index ba0ce101..4c4fdacb 100644 --- a/src/libs/AI21/Generated/AI21.Models.DeleteAssistantResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.DeleteAssistantResponse.g.cs @@ -38,17 +38,17 @@ public sealed partial class DeleteAssistantResponse /// /// Initializes a new instance of the class. /// + /// + /// A unique ID for the request (not the message). Repeated identical requests
+ /// get different IDs. However, for a streaming response, the ID will be the same
+ /// for all responses in the stream. + /// /// /// Default Value: assistant /// /// /// Default Value: true /// - /// - /// A unique ID for the request (not the message). Repeated identical requests
- /// get different IDs. However, for a streaming response, the ID will be the same
- /// for all responses in the stream. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -57,9 +57,9 @@ public DeleteAssistantResponse( string? @object, bool? deleted) { - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Object = @object; this.Deleted = deleted; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); } /// diff --git a/src/libs/AI21/Generated/AI21.Models.Demo.g.cs b/src/libs/AI21/Generated/AI21.Models.Demo.g.cs index 6216ea0f..615b6254 100644 --- a/src/libs/AI21/Generated/AI21.Models.Demo.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.Demo.g.cs @@ -76,12 +76,12 @@ public sealed partial class Demo /// /// Status of the demo (active/inactive) /// - /// - /// Demo configuration - /// /// /// Name of the UI component /// + /// + /// Demo configuration + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -97,8 +97,8 @@ public Demo( this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Visibility = visibility; this.Status = status; - this.UiComponentName = uiComponentName ?? throw new global::System.ArgumentNullException(nameof(uiComponentName)); this.Config = config; + this.UiComponentName = uiComponentName ?? throw new global::System.ArgumentNullException(nameof(uiComponentName)); } /// diff --git a/src/libs/AI21/Generated/AI21.Models.DemoCreate.g.cs b/src/libs/AI21/Generated/AI21.Models.DemoCreate.g.cs index 9b020ec8..a9c3a9e6 100644 --- a/src/libs/AI21/Generated/AI21.Models.DemoCreate.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.DemoCreate.g.cs @@ -62,12 +62,12 @@ public sealed partial class DemoCreate /// /// Status of the demo (active/inactive) /// - /// - /// Demo configuration - /// /// /// Name of the UI component /// + /// + /// Demo configuration + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -81,8 +81,8 @@ public DemoCreate( this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Visibility = visibility; this.Status = status; - this.UiComponentName = uiComponentName ?? throw new global::System.ArgumentNullException(nameof(uiComponentName)); this.Config = config; + this.UiComponentName = uiComponentName ?? throw new global::System.ArgumentNullException(nameof(uiComponentName)); } /// diff --git a/src/libs/AI21/Generated/AI21.Models.DocumentSchema.g.cs b/src/libs/AI21/Generated/AI21.Models.DocumentSchema.g.cs index b209226e..138f50bb 100644 --- a/src/libs/AI21/Generated/AI21.Models.DocumentSchema.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.DocumentSchema.g.cs @@ -38,12 +38,12 @@ public sealed partial class DocumentSchema /// /// Initializes a new instance of the class. /// + /// /// /// A unique ID for the request (not the message). Repeated identical requests
/// get different IDs. However, for a streaming response, the ID will be the same
/// for all responses in the stream. /// - /// /// /// Default Value: {} /// @@ -55,8 +55,8 @@ public DocumentSchema( string? id, global::System.Collections.Generic.Dictionary? metadata) { - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Id = id; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Metadata = metadata; } diff --git a/src/libs/AI21/Generated/AI21.Models.FileResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.FileResponse.g.cs index 99c6cf50..e42f7d56 100644 --- a/src/libs/AI21/Generated/AI21.Models.FileResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.FileResponse.g.cs @@ -121,6 +121,25 @@ public sealed partial class FileResponse /// The name of the file. This is the local file name from when the file was
/// uploaded. It cannot be modified. /// + /// + /// The file type. See the file upload method to learn what file types are supported. + /// + /// + /// The size of the file, in bytes. + /// + /// + /// An internal identifier of the user who uploaded the file. + /// + /// + /// The date when the file was uploaded. + /// + /// + /// When the file data or metadata was last changed. + /// + /// + /// File status. One of the following values: "DB_RECORD_CREATED",
+ /// "UPLOADED", "UPLOAD_FAILED", "PROCESSED", "PROCESSING_FAILED" + /// /// /// An arbitrary file-path-like string to indicate the content of a file. This has
/// nothing to do with the location of the file in storage or on disk, and is only
@@ -134,12 +153,6 @@ public sealed partial class FileResponse /// be consistent in your usage, and all matches are prefix matching, not substring
/// matching. So filtering by `dog/` matches `dog/` and `dog/setter` but not `pets/dog/`. /// - /// - /// The file type. See the file upload method to learn what file types are supported. - /// - /// - /// The size of the file, in bytes. - /// /// /// Any string labels you have associated with the file. You can apply arbitrary
/// string labels to your files and limit queries to files with one or more labels.
@@ -151,19 +164,6 @@ public sealed partial class FileResponse /// AI21 or used in any way. It is strictly a piece of metadata that you can
/// optionally attach to a file. /// - /// - /// An internal identifier of the user who uploaded the file. - /// - /// - /// The date when the file was uploaded. - /// - /// - /// When the file data or metadata was last changed. - /// - /// - /// File status. One of the following values: "DB_RECORD_CREATED",
- /// "UPLOADED", "UPLOAD_FAILED", "PROCESSED", "PROCESSING_FAILED" - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -184,15 +184,15 @@ public FileResponse( { this.FileId = fileId; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Path = path; this.FileType = fileType ?? throw new global::System.ArgumentNullException(nameof(fileType)); this.SizeBytes = sizeBytes; + this.Labels = labels; + this.PublicUrl = publicUrl; this.CreatedBy = createdBy; this.CreationDate = creationDate; this.LastUpdated = lastUpdated; this.Status = status ?? throw new global::System.ArgumentNullException(nameof(status)); - this.Path = path; - this.Labels = labels; - this.PublicUrl = publicUrl; this.DataSource = dataSource; } diff --git a/src/libs/AI21/Generated/AI21.Models.GenerateAssistantResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.GenerateAssistantResponse.g.cs index de4f216c..a73ece44 100644 --- a/src/libs/AI21/Generated/AI21.Models.GenerateAssistantResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.GenerateAssistantResponse.g.cs @@ -196,11 +196,11 @@ public sealed partial class GenerateAssistantResponse /// /// /// + /// + /// /// /// - /// /// - /// /// /// /// Default Value: false @@ -263,11 +263,11 @@ public GenerateAssistantResponse( this.UpdatedAt = updatedAt; this.Object = @object ?? throw new global::System.ArgumentNullException(nameof(@object)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); - this.UserId = userId ?? throw new global::System.ArgumentNullException(nameof(userId)); this.Description = description; this.Optimization = optimization; + this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); this.WorkspaceId = workspaceId; + this.UserId = userId ?? throw new global::System.ArgumentNullException(nameof(userId)); this.Avatar = avatar; this.IsArchived = isArchived; this.Models = models; diff --git a/src/libs/AI21/Generated/AI21.Models.HTTPToolFunctionParameters.g.cs b/src/libs/AI21/Generated/AI21.Models.HTTPToolFunctionParameters.g.cs index ce2a2502..a8019538 100644 --- a/src/libs/AI21/Generated/AI21.Models.HTTPToolFunctionParameters.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.HTTPToolFunctionParameters.g.cs @@ -38,11 +38,11 @@ public sealed partial class HTTPToolFunctionParameters /// /// Initializes a new instance of the class. /// + /// + /// /// /// Default Value: object /// - /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -51,9 +51,9 @@ public HTTPToolFunctionParameters( global::System.Collections.Generic.IList required, global::AI21.HTTPToolFunctionParametersType? type) { + this.Type = type; this.Properties = properties ?? throw new global::System.ArgumentNullException(nameof(properties)); this.Required = required ?? throw new global::System.ArgumentNullException(nameof(required)); - this.Type = type; } /// diff --git a/src/libs/AI21/Generated/AI21.Models.HTTPToolResource.g.cs b/src/libs/AI21/Generated/AI21.Models.HTTPToolResource.g.cs index ac04d5b2..dc08b344 100644 --- a/src/libs/AI21/Generated/AI21.Models.HTTPToolResource.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.HTTPToolResource.g.cs @@ -38,11 +38,11 @@ public sealed partial class HTTPToolResource /// /// Initializes a new instance of the class. /// + /// + /// /// /// Default Value: http /// - /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -51,9 +51,9 @@ public HTTPToolResource( global::AI21.HTTPToolEndpoint endpoint, global::AI21.HTTPToolResourceType? type) { + this.Type = type; this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.Endpoint = endpoint ?? throw new global::System.ArgumentNullException(nameof(endpoint)); - this.Type = type; } /// diff --git a/src/libs/AI21/Generated/AI21.Models.LanguageStudioApiServerDataTypesChatToolDefinition.g.cs b/src/libs/AI21/Generated/AI21.Models.LanguageStudioApiServerDataTypesChatToolDefinition.g.cs index b2a12fa3..7304f9c0 100644 --- a/src/libs/AI21/Generated/AI21.Models.LanguageStudioApiServerDataTypesChatToolDefinition.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.LanguageStudioApiServerDataTypesChatToolDefinition.g.cs @@ -31,8 +31,8 @@ public sealed partial class LanguageStudioApiServerDataTypesChatToolDefinition /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public LanguageStudioApiServerDataTypesChatToolDefinition( global::AI21.FunctionToolDefinition function, global::AI21.LanguageStudioApiServerDataTypesChatToolDefinitionType type) { - this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.Type = type; + this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); } /// diff --git a/src/libs/AI21/Generated/AI21.Models.MCPStorageResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.MCPStorageResponse.g.cs index e7a0ce3e..e400932c 100644 --- a/src/libs/AI21/Generated/AI21.Models.MCPStorageResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.MCPStorageResponse.g.cs @@ -93,8 +93,8 @@ public sealed partial class MCPStorageResponse /// /// /// - /// /// + /// /// /// An enumeration. /// @@ -120,8 +120,8 @@ public MCPStorageResponse( this.ServerUrl = serverUrl ?? throw new global::System.ArgumentNullException(nameof(serverUrl)); this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); this.OrganizationId = organizationId; - this.UserId = userId; this.WorkspaceId = workspaceId; + this.UserId = userId; this.AuthenticationType = authenticationType; this.AuthHeaderName = authHeaderName; this.AuthSecretKey = authSecretKey; diff --git a/src/libs/AI21/Generated/AI21.Models.MCPTool.g.cs b/src/libs/AI21/Generated/AI21.Models.MCPTool.g.cs index 5a848590..2ffcaa21 100644 --- a/src/libs/AI21/Generated/AI21.Models.MCPTool.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.MCPTool.g.cs @@ -38,8 +38,8 @@ public sealed partial class MCPTool /// Initializes a new instance of the class. /// /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,8 +49,8 @@ public MCPTool( string? description) { this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.InputSchema = inputSchema ?? throw new global::System.ArgumentNullException(nameof(inputSchema)); this.Description = description; + this.InputSchema = inputSchema ?? throw new global::System.ArgumentNullException(nameof(inputSchema)); } /// diff --git a/src/libs/AI21/Generated/AI21.Models.Plan.g.cs b/src/libs/AI21/Generated/AI21.Models.Plan.g.cs index 2945e756..b89a2d2f 100644 --- a/src/libs/AI21/Generated/AI21.Models.Plan.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.Plan.g.cs @@ -68,8 +68,8 @@ public sealed partial class Plan /// /// /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -85,8 +85,8 @@ public Plan( this.CreatedAt = createdAt; this.UpdatedAt = updatedAt; this.Code = code ?? throw new global::System.ArgumentNullException(nameof(code)); - this.AssistantId = assistantId ?? throw new global::System.ArgumentNullException(nameof(assistantId)); this.Schemas = schemas; + this.AssistantId = assistantId ?? throw new global::System.ArgumentNullException(nameof(assistantId)); } /// diff --git a/src/libs/AI21/Generated/AI21.Models.SystemMessage.g.cs b/src/libs/AI21/Generated/AI21.Models.SystemMessage.g.cs index 9b890248..bdb3985c 100644 --- a/src/libs/AI21/Generated/AI21.Models.SystemMessage.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.SystemMessage.g.cs @@ -41,6 +41,7 @@ public sealed partial class SystemMessage /// /// Initializes a new instance of the class. /// + /// /// /// The role of an individual message.
/// - `user`: Input provided by the user. Any instructions given here that conflict
@@ -54,7 +55,6 @@ public sealed partial class SystemMessage /// charming French accent."
/// Default Value: system /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -62,8 +62,8 @@ public SystemMessage( string content, global::AI21.SystemMessageRole? role) { - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Role = role; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); } /// diff --git a/src/libs/AI21/Generated/AI21.Models.ToolCall.g.cs b/src/libs/AI21/Generated/AI21.Models.ToolCall.g.cs index 59be6eb1..44bf3bc9 100644 --- a/src/libs/AI21/Generated/AI21.Models.ToolCall.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ToolCall.g.cs @@ -45,10 +45,10 @@ public sealed partial class ToolCall /// get different IDs. However, for a streaming response, the ID will be the same
/// for all responses in the stream. /// + /// /// /// Default Value: function /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,8 +58,8 @@ public ToolCall( global::AI21.ToolCallType? type) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.Type = type; + this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); } /// diff --git a/src/libs/AI21/Generated/AI21.Models.ToolCallDeltaStart.g.cs b/src/libs/AI21/Generated/AI21.Models.ToolCallDeltaStart.g.cs index 511e29d4..65a508b6 100644 --- a/src/libs/AI21/Generated/AI21.Models.ToolCallDeltaStart.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ToolCallDeltaStart.g.cs @@ -53,8 +53,8 @@ public sealed partial class ToolCallDeltaStart /// for all responses in the stream. /// /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,8 +66,8 @@ public ToolCallDeltaStart( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Index = index; - this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.Type = type; + this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); } /// diff --git a/src/libs/AI21/Generated/AI21.Models.ToolMessage.g.cs b/src/libs/AI21/Generated/AI21.Models.ToolMessage.g.cs index 60dc4c1e..ed8d4674 100644 --- a/src/libs/AI21/Generated/AI21.Models.ToolMessage.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ToolMessage.g.cs @@ -48,6 +48,8 @@ public sealed partial class ToolMessage /// /// Initializes a new instance of the class. /// + /// + /// /// /// The role of an individual message.
/// - `user`: Input provided by the user. Any instructions given here that conflict
@@ -61,8 +63,6 @@ public sealed partial class ToolMessage /// charming French accent."
/// Default Value: tool /// - /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -71,9 +71,9 @@ public ToolMessage( string toolCallId, global::AI21.ToolMessageRole? role) { + this.Role = role; this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.ToolCallId = toolCallId ?? throw new global::System.ArgumentNullException(nameof(toolCallId)); - this.Role = role; } /// diff --git a/src/libs/AI21/Generated/AI21.Models.ToolParameters.g.cs b/src/libs/AI21/Generated/AI21.Models.ToolParameters.g.cs index 7c688c45..1b7ceb65 100644 --- a/src/libs/AI21/Generated/AI21.Models.ToolParameters.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ToolParameters.g.cs @@ -38,11 +38,11 @@ public sealed partial class ToolParameters /// /// Initializes a new instance of the class. /// + /// /// /// Type of the parameter schema, only `object` is supported
/// Default Value: object /// - /// /// /// List of required properties /// @@ -54,8 +54,8 @@ public ToolParameters( global::AI21.ToolParametersType? type, global::System.Collections.Generic.IList? required) { - this.Properties = properties ?? throw new global::System.ArgumentNullException(nameof(properties)); this.Type = type; + this.Properties = properties ?? throw new global::System.ArgumentNullException(nameof(properties)); this.Required = required; } diff --git a/src/libs/AI21/Generated/AI21.Models.UserMessage.g.cs b/src/libs/AI21/Generated/AI21.Models.UserMessage.g.cs index 7030b289..757a6fb3 100644 --- a/src/libs/AI21/Generated/AI21.Models.UserMessage.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.UserMessage.g.cs @@ -41,6 +41,7 @@ public sealed partial class UserMessage /// /// Initializes a new instance of the class. /// + /// /// /// The role of an individual message.
/// - `user`: Input provided by the user. Any instructions given here that conflict
@@ -54,7 +55,6 @@ public sealed partial class UserMessage /// charming French accent."
/// Default Value: user /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -62,8 +62,8 @@ public UserMessage( string content, global::AI21.UserMessageRole? role) { - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Role = role; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); } /// diff --git a/src/libs/AI21/Generated/AI21.Models.WebsiteConnectorCreateConfigPayload.g.cs b/src/libs/AI21/Generated/AI21.Models.WebsiteConnectorCreateConfigPayload.g.cs index 484a39cb..23ba6c18 100644 --- a/src/libs/AI21/Generated/AI21.Models.WebsiteConnectorCreateConfigPayload.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.WebsiteConnectorCreateConfigPayload.g.cs @@ -57,14 +57,14 @@ public sealed partial class WebsiteConnectorCreateConfigPayload /// Initializes a new instance of the class. /// /// + /// + /// /// /// Default Value: false /// /// /// Default Value: false /// - /// - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -78,10 +78,10 @@ public WebsiteConnectorCreateConfigPayload( string? localization) { this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.SkipUrlPatterns = skipUrlPatterns ?? throw new global::System.ArgumentNullException(nameof(skipUrlPatterns)); - this.TargetFileExtensions = targetFileExtensions ?? throw new global::System.ArgumentNullException(nameof(targetFileExtensions)); this.ExtractLinkedFiles = extractLinkedFiles; this.WaitForDynamicContent = waitForDynamicContent; + this.SkipUrlPatterns = skipUrlPatterns ?? throw new global::System.ArgumentNullException(nameof(skipUrlPatterns)); + this.TargetFileExtensions = targetFileExtensions ?? throw new global::System.ArgumentNullException(nameof(targetFileExtensions)); this.Localization = localization; }