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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/libs/AI21/Generated/AI21.Models.Assistant.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ public sealed partial class Assistant
/// <param name="updatedAt"></param>
/// <param name="object"></param>
/// <param name="name"></param>
/// <param name="organizationId"></param>
/// <param name="userId"></param>
/// <param name="description"></param>
/// <param name="optimization"></param>
/// <param name="organizationId"></param>
/// <param name="workspaceId"></param>
/// <param name="userId"></param>
/// <param name="avatar"></param>
/// <param name="isArchived">
/// Default Value: false
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ public sealed partial class ConnectorConnectionStatus
/// <summary>
/// Initializes a new instance of the <see cref="ConnectorConnectionStatus" /> class.
/// </summary>
/// <param name="latestUpdated"></param>
/// <param name="filesIndexed"></param>
/// <param name="creationDate"></param>
/// <param name="status">
/// An enumeration.
/// </param>
/// <param name="latestUpdated"></param>
/// <param name="lastSyncedAt"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
Expand All @@ -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;
}

Expand Down
12 changes: 6 additions & 6 deletions src/libs/AI21/Generated/AI21.Models.DeleteAssistantResponse.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ public sealed partial class DeleteAssistantResponse
/// <summary>
/// Initializes a new instance of the <see cref="DeleteAssistantResponse" /> class.
/// </summary>
/// <param name="id">
/// A unique ID for the request (not the message). Repeated identical requests<br/>
/// get different IDs. However, for a streaming response, the ID will be the same<br/>
/// for all responses in the stream.
/// </param>
/// <param name="object">
/// Default Value: assistant
/// </param>
/// <param name="deleted">
/// Default Value: true
/// </param>
/// <param name="id">
/// A unique ID for the request (not the message). Repeated identical requests<br/>
/// get different IDs. However, for a streaming response, the ID will be the same<br/>
/// for all responses in the stream.
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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));
}

/// <summary>
Expand Down
8 changes: 4 additions & 4 deletions src/libs/AI21/Generated/AI21.Models.Demo.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ public sealed partial class Demo
/// <param name="status">
/// Status of the demo (active/inactive)
/// </param>
/// <param name="config">
/// Demo configuration
/// </param>
/// <param name="uiComponentName">
/// Name of the UI component
/// </param>
/// <param name="config">
/// Demo configuration
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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));
}

/// <summary>
Expand Down
8 changes: 4 additions & 4 deletions src/libs/AI21/Generated/AI21.Models.DemoCreate.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ public sealed partial class DemoCreate
/// <param name="status">
/// Status of the demo (active/inactive)
/// </param>
/// <param name="config">
/// Demo configuration
/// </param>
/// <param name="uiComponentName">
/// Name of the UI component
/// </param>
/// <param name="config">
/// Demo configuration
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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));
}

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/AI21/Generated/AI21.Models.DocumentSchema.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ public sealed partial class DocumentSchema
/// <summary>
/// Initializes a new instance of the <see cref="DocumentSchema" /> class.
/// </summary>
/// <param name="content"></param>
/// <param name="id">
/// A unique ID for the request (not the message). Repeated identical requests<br/>
/// get different IDs. However, for a streaming response, the ID will be the same<br/>
/// for all responses in the stream.
/// </param>
/// <param name="content"></param>
/// <param name="metadata">
/// Default Value: {}
/// </param>
Expand All @@ -55,8 +55,8 @@ public DocumentSchema(
string? id,
global::System.Collections.Generic.Dictionary<string, string>? 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;
}

Expand Down
44 changes: 22 additions & 22 deletions src/libs/AI21/Generated/AI21.Models.FileResponse.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<br/>
/// uploaded. It cannot be modified.
/// </param>
/// <param name="fileType">
/// The file type. See the file upload method to learn what file types are supported.
/// </param>
/// <param name="sizeBytes">
/// The size of the file, in bytes.
/// </param>
/// <param name="createdBy">
/// An internal identifier of the user who uploaded the file.
/// </param>
/// <param name="creationDate">
/// The date when the file was uploaded.
/// </param>
/// <param name="lastUpdated">
/// When the file data or metadata was last changed.
/// </param>
/// <param name="status">
/// File status. One of the following values: "DB_RECORD_CREATED",<br/>
/// "UPLOADED", "UPLOAD_FAILED", "PROCESSED", "PROCESSING_FAILED"
/// </param>
/// <param name="path">
/// An arbitrary file-path-like string to indicate the content of a file. This has<br/>
/// nothing to do with the location of the file in storage or on disk, and is only<br/>
Expand All @@ -134,12 +153,6 @@ public sealed partial class FileResponse
/// be consistent in your usage, and all matches are prefix matching, not substring<br/>
/// matching. So filtering by `dog/` matches `dog/` and `dog/setter` but not `pets/dog/`.
/// </param>
/// <param name="fileType">
/// The file type. See the file upload method to learn what file types are supported.
/// </param>
/// <param name="sizeBytes">
/// The size of the file, in bytes.
/// </param>
/// <param name="labels">
/// Any string labels you have associated with the file. You can apply arbitrary<br/>
/// string labels to your files and limit queries to files with one or more labels.<br/>
Expand All @@ -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<br/>
/// optionally attach to a file.
/// </param>
/// <param name="createdBy">
/// An internal identifier of the user who uploaded the file.
/// </param>
/// <param name="creationDate">
/// The date when the file was uploaded.
/// </param>
/// <param name="lastUpdated">
/// When the file data or metadata was last changed.
/// </param>
/// <param name="status">
/// File status. One of the following values: "DB_RECORD_CREATED",<br/>
/// "UPLOADED", "UPLOAD_FAILED", "PROCESSED", "PROCESSING_FAILED"
/// </param>
/// <param name="dataSource"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
Expand All @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@ public sealed partial class GenerateAssistantResponse
/// <param name="updatedAt"></param>
/// <param name="object"></param>
/// <param name="name"></param>
/// <param name="organizationId"></param>
/// <param name="userId"></param>
/// <param name="description"></param>
/// <param name="optimization"></param>
/// <param name="organizationId"></param>
/// <param name="workspaceId"></param>
/// <param name="userId"></param>
/// <param name="avatar"></param>
/// <param name="isArchived">
/// Default Value: false
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ public sealed partial class HTTPToolFunctionParameters
/// <summary>
/// Initializes a new instance of the <see cref="HTTPToolFunctionParameters" /> class.
/// </summary>
/// <param name="properties"></param>
/// <param name="required"></param>
/// <param name="type">
/// Default Value: object
/// </param>
/// <param name="properties"></param>
/// <param name="required"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -51,9 +51,9 @@ public HTTPToolFunctionParameters(
global::System.Collections.Generic.IList<string> 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;
}

/// <summary>
Expand Down
6 changes: 3 additions & 3 deletions src/libs/AI21/Generated/AI21.Models.HTTPToolResource.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ public sealed partial class HTTPToolResource
/// <summary>
/// Initializes a new instance of the <see cref="HTTPToolResource" /> class.
/// </summary>
/// <param name="function"></param>
/// <param name="endpoint"></param>
/// <param name="type">
/// Default Value: http
/// </param>
/// <param name="function"></param>
/// <param name="endpoint"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ public sealed partial class LanguageStudioApiServerDataTypesChatToolDefinition
/// <summary>
/// Initializes a new instance of the <see cref="LanguageStudioApiServerDataTypesChatToolDefinition" /> class.
/// </summary>
/// <param name="type"></param>
/// <param name="function"></param>
/// <param name="type"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
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));
}

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/AI21/Generated/AI21.Models.MCPStorageResponse.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ public sealed partial class MCPStorageResponse
/// <param name="serverUrl"></param>
/// <param name="serverLabel"></param>
/// <param name="organizationId"></param>
/// <param name="workspaceId"></param>
/// <param name="userId"></param>
/// <param name="workspaceId"></param>
/// <param name="authenticationType">
/// An enumeration.
/// </param>
Expand All @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/libs/AI21/Generated/AI21.Models.MCPTool.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ public sealed partial class MCPTool
/// Initializes a new instance of the <see cref="MCPTool" /> class.
/// </summary>
/// <param name="name"></param>
/// <param name="description"></param>
/// <param name="inputSchema"></param>
/// <param name="description"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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));
}

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/AI21/Generated/AI21.Models.Plan.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ public sealed partial class Plan
/// <param name="createdAt"></param>
/// <param name="updatedAt"></param>
/// <param name="code"></param>
/// <param name="schemas"></param>
/// <param name="assistantId"></param>
/// <param name="schemas"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -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));
}

/// <summary>
Expand Down
Loading