diff --git a/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsCreate.g.cs b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsCreate.g.cs
index 36d0a2b..886054e 100644
--- a/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsCreate.g.cs
+++ b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsCreate.g.cs
@@ -702,9 +702,9 @@ partial void ProcessDeploymentsCreateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task DeploymentsCreateAsync(
- string projectId,
string chatId,
string versionId,
+ string? projectId = default,
global::V0.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
diff --git a/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFind.g.cs b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFind.g.cs
index 761a0ee..e04a3f4 100644
--- a/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFind.g.cs
+++ b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFind.g.cs
@@ -27,13 +27,13 @@ public partial class DeploymentsClient
};
partial void PrepareDeploymentsFindArguments(
global::System.Net.Http.HttpClient httpClient,
- ref string projectId,
+ ref string? projectId,
ref string chatId,
ref string versionId);
partial void PrepareDeploymentsFindRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string projectId,
+ string? projectId,
string chatId,
string versionId);
partial void ProcessDeploymentsFindResponse(
@@ -62,9 +62,9 @@ partial void ProcessDeploymentsFindResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task DeploymentsFindAsync(
- string projectId,
string chatId,
string versionId,
+ string? projectId = default,
global::V0.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -102,7 +102,7 @@ partial void ProcessDeploymentsFindResponseContent(
path: "/deployments",
baseUri: HttpClient.BaseAddress);
__pathBuilder
- .AddRequiredParameter("projectId", projectId)
+ .AddOptionalParameter("projectId", projectId)
.AddRequiredParameter("chatId", chatId)
.AddRequiredParameter("versionId", versionId)
;
@@ -146,7 +146,7 @@ partial void ProcessDeploymentsFindResponseContent(
PrepareDeploymentsFindRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- projectId: projectId!,
+ projectId: projectId,
chatId: chatId!,
versionId: versionId!);
diff --git a/src/libs/V0/Generated/V0.IDeploymentsClient.DeploymentsCreate.g.cs b/src/libs/V0/Generated/V0.IDeploymentsClient.DeploymentsCreate.g.cs
index a160c3b..d69cda5 100644
--- a/src/libs/V0/Generated/V0.IDeploymentsClient.DeploymentsCreate.g.cs
+++ b/src/libs/V0/Generated/V0.IDeploymentsClient.DeploymentsCreate.g.cs
@@ -28,9 +28,9 @@ public partial interface IDeploymentsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task DeploymentsCreateAsync(
- string projectId,
string chatId,
string versionId,
+ string? projectId = default,
global::V0.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/V0/Generated/V0.IDeploymentsClient.DeploymentsFind.g.cs b/src/libs/V0/Generated/V0.IDeploymentsClient.DeploymentsFind.g.cs
index fa14d45..6354caf 100644
--- a/src/libs/V0/Generated/V0.IDeploymentsClient.DeploymentsFind.g.cs
+++ b/src/libs/V0/Generated/V0.IDeploymentsClient.DeploymentsFind.g.cs
@@ -21,9 +21,9 @@ public partial interface IDeploymentsClient
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task DeploymentsFindAsync(
- string projectId,
string chatId,
string versionId,
+ string? projectId = default,
global::V0.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/V0/Generated/V0.Models.ChatsCreateRequestAttachment.g.cs b/src/libs/V0/Generated/V0.Models.ChatsCreateRequestAttachment.g.cs
index ecbda0d..b20c1f7 100644
--- a/src/libs/V0/Generated/V0.Models.ChatsCreateRequestAttachment.g.cs
+++ b/src/libs/V0/Generated/V0.Models.ChatsCreateRequestAttachment.g.cs
@@ -9,7 +9,7 @@ namespace V0
public sealed partial class ChatsCreateRequestAttachment
{
///
- ///
+ /// The URL or data URI of the file or asset to include with the message.
///
[global::System.Text.Json.Serialization.JsonPropertyName("url")]
[global::System.Text.Json.Serialization.JsonRequired]
@@ -24,7 +24,9 @@ public sealed partial class ChatsCreateRequestAttachment
///
/// Initializes a new instance of the class.
///
- ///
+ ///
+ /// The URL or data URI of the file or asset to include with the message.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/V0/Generated/V0.Models.ChatsSendMessageRequestAttachment.g.cs b/src/libs/V0/Generated/V0.Models.ChatsSendMessageRequestAttachment.g.cs
index 45af1be..7438bea 100644
--- a/src/libs/V0/Generated/V0.Models.ChatsSendMessageRequestAttachment.g.cs
+++ b/src/libs/V0/Generated/V0.Models.ChatsSendMessageRequestAttachment.g.cs
@@ -9,7 +9,7 @@ namespace V0
public sealed partial class ChatsSendMessageRequestAttachment
{
///
- ///
+ /// The URL or data URI of the file or asset to include with the message.
///
[global::System.Text.Json.Serialization.JsonPropertyName("url")]
[global::System.Text.Json.Serialization.JsonRequired]
@@ -24,7 +24,9 @@ public sealed partial class ChatsSendMessageRequestAttachment
///
/// Initializes a new instance of the class.
///
- ///
+ ///
+ /// The URL or data URI of the file or asset to include with the message.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/V0/Generated/V0.Models.DeploymentDetail.g.cs b/src/libs/V0/Generated/V0.Models.DeploymentDetail.g.cs
index 69d3f30..dbb07b2 100644
--- a/src/libs/V0/Generated/V0.Models.DeploymentDetail.g.cs
+++ b/src/libs/V0/Generated/V0.Models.DeploymentDetail.g.cs
@@ -40,8 +40,7 @@ public sealed partial class DeploymentDetail
/// The ID of the project that this deployment is scoped to.
///
[global::System.Text.Json.Serialization.JsonPropertyName("projectId")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string ProjectId { get; set; }
+ public string? ProjectId { get; set; }
///
/// The ID of the version that this deployment is scoped to.
@@ -82,9 +81,6 @@ public sealed partial class DeploymentDetail
///
/// The ID of the chat that this deployment is scoped to.
///
- ///
- /// The ID of the project that this deployment is scoped to.
- ///
///
/// The ID of the version that this deployment is scoped to.
///
@@ -94,6 +90,9 @@ public sealed partial class DeploymentDetail
///
/// The web URL where the deployment can be viewed or managed.
///
+ ///
+ /// The ID of the project that this deployment is scoped to.
+ ///
///
/// Fixed value identifying this object as a deployment.
///
@@ -104,17 +103,17 @@ public DeploymentDetail(
string id,
string inspectorUrl,
string chatId,
- string projectId,
string versionId,
string apiUrl,
string webUrl,
+ string? projectId,
string @object = "deployment")
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Object = @object;
this.InspectorUrl = inspectorUrl ?? throw new global::System.ArgumentNullException(nameof(inspectorUrl));
this.ChatId = chatId ?? throw new global::System.ArgumentNullException(nameof(chatId));
- this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId));
+ this.ProjectId = projectId;
this.VersionId = versionId ?? throw new global::System.ArgumentNullException(nameof(versionId));
this.ApiUrl = apiUrl ?? throw new global::System.ArgumentNullException(nameof(apiUrl));
this.WebUrl = webUrl ?? throw new global::System.ArgumentNullException(nameof(webUrl));
diff --git a/src/libs/V0/Generated/V0.Models.DeploymentSummary.g.cs b/src/libs/V0/Generated/V0.Models.DeploymentSummary.g.cs
index 54c0577..c0eb952 100644
--- a/src/libs/V0/Generated/V0.Models.DeploymentSummary.g.cs
+++ b/src/libs/V0/Generated/V0.Models.DeploymentSummary.g.cs
@@ -40,8 +40,7 @@ public sealed partial class DeploymentSummary
/// The ID of the project that this deployment is scoped to.
///
[global::System.Text.Json.Serialization.JsonPropertyName("projectId")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string ProjectId { get; set; }
+ public string? ProjectId { get; set; }
///
/// The ID of the version that this deployment is scoped to.
@@ -82,9 +81,6 @@ public sealed partial class DeploymentSummary
///
/// The ID of the chat that this deployment is scoped to.
///
- ///
- /// The ID of the project that this deployment is scoped to.
- ///
///
/// The ID of the version that this deployment is scoped to.
///
@@ -94,6 +90,9 @@ public sealed partial class DeploymentSummary
///
/// The web URL where the deployment can be viewed or managed.
///
+ ///
+ /// The ID of the project that this deployment is scoped to.
+ ///
///
/// Fixed value identifying this object as a deployment.
///
@@ -104,17 +103,17 @@ public DeploymentSummary(
string id,
string inspectorUrl,
string chatId,
- string projectId,
string versionId,
string apiUrl,
string webUrl,
+ string? projectId,
string @object = "deployment")
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Object = @object;
this.InspectorUrl = inspectorUrl ?? throw new global::System.ArgumentNullException(nameof(inspectorUrl));
this.ChatId = chatId ?? throw new global::System.ArgumentNullException(nameof(chatId));
- this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId));
+ this.ProjectId = projectId;
this.VersionId = versionId ?? throw new global::System.ArgumentNullException(nameof(versionId));
this.ApiUrl = apiUrl ?? throw new global::System.ArgumentNullException(nameof(apiUrl));
this.WebUrl = webUrl ?? throw new global::System.ArgumentNullException(nameof(webUrl));
diff --git a/src/libs/V0/Generated/V0.Models.DeploymentsCreateRequest.g.cs b/src/libs/V0/Generated/V0.Models.DeploymentsCreateRequest.g.cs
index 0a5de7e..ebfbd66 100644
--- a/src/libs/V0/Generated/V0.Models.DeploymentsCreateRequest.g.cs
+++ b/src/libs/V0/Generated/V0.Models.DeploymentsCreateRequest.g.cs
@@ -12,8 +12,7 @@ public sealed partial class DeploymentsCreateRequest
///
///
[global::System.Text.Json.Serialization.JsonPropertyName("projectId")]
- [global::System.Text.Json.Serialization.JsonRequired]
- public required string ProjectId { get; set; }
+ public string? ProjectId { get; set; }
///
///
@@ -38,18 +37,18 @@ public sealed partial class DeploymentsCreateRequest
///
/// Initializes a new instance of the class.
///
- ///
///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public DeploymentsCreateRequest(
- string projectId,
string chatId,
- string versionId)
+ string versionId,
+ string? projectId)
{
- this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId));
+ this.ProjectId = projectId;
this.ChatId = chatId ?? throw new global::System.ArgumentNullException(nameof(chatId));
this.VersionId = versionId ?? throw new global::System.ArgumentNullException(nameof(versionId));
}
diff --git a/src/libs/V0/openapi.yaml b/src/libs/V0/openapi.yaml
index 5c2adcf..2585406 100644
--- a/src/libs/V0/openapi.yaml
+++ b/src/libs/V0/openapi.yaml
@@ -38,6 +38,7 @@ paths:
properties:
url:
type: string
+ description: The URL or data URI of the file or asset to include with the message.
required:
- url
additionalProperties: false
@@ -1191,6 +1192,7 @@ paths:
properties:
url:
type: string
+ description: The URL or data URI of the file or asset to include with the message.
required:
- url
additionalProperties: false
@@ -2445,10 +2447,10 @@ paths:
parameters:
- name: projectId
in: query
- required: true
+ required: false
schema:
- type: string
description: The ID of the project to find deployments for
+ type: string
description: The ID of the project to find deployments for
- name: chatId
in: query
@@ -2486,7 +2488,6 @@ paths:
versionId:
type: string
required:
- - projectId
- chatId
- versionId
additionalProperties: false
@@ -7191,8 +7192,8 @@ components:
type: string
description: The ID of the chat that this deployment is scoped to.
projectId:
- type: string
description: The ID of the project that this deployment is scoped to.
+ type: string
versionId:
type: string
description: The ID of the version that this deployment is scoped to.
@@ -7209,7 +7210,6 @@ components:
- object
- inspectorUrl
- chatId
- - projectId
- versionId
- apiUrl
- webUrl
@@ -7231,8 +7231,8 @@ components:
type: string
description: The ID of the chat that this deployment is scoped to.
projectId:
- type: string
description: The ID of the project that this deployment is scoped to.
+ type: string
versionId:
type: string
description: The ID of the version that this deployment is scoped to.
@@ -7249,7 +7249,6 @@ components:
- object
- inspectorUrl
- chatId
- - projectId
- versionId
- apiUrl
- webUrl