diff --git a/src/libs/Dust/Generated/Dust.ISkillsClient.CreateWByWIdSkills.g.cs b/src/libs/Dust/Generated/Dust.ISkillsClient.CreateWByWIdSkills.g.cs index 8d8dbed..18e23a4 100644 --- a/src/libs/Dust/Generated/Dust.ISkillsClient.CreateWByWIdSkills.g.cs +++ b/src/libs/Dust/Generated/Dust.ISkillsClient.CreateWByWIdSkills.g.cs @@ -48,6 +48,9 @@ public partial interface ISkillsClient /// /// Conflict handling strategy. Defaults to error. /// + /// + /// Optional editor email addresses to add to imported or updated skills. Editors must be active workspace builders. Existing skills keep their current editors. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -56,6 +59,7 @@ public partial interface ISkillsClient global::System.Collections.Generic.IList files, global::System.Collections.Generic.IList? names = default, global::Dust.CreateWSkillsRequestOnConflict? onConflict = default, + global::System.Collections.Generic.IList? editors = default, global::Dust.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -76,6 +80,9 @@ public partial interface ISkillsClient /// /// Conflict handling strategy. Defaults to error. /// + /// + /// Optional editor email addresses to add to imported or updated skills. Editors must be active workspace builders. Existing skills keep their current editors. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -85,6 +92,7 @@ public partial interface ISkillsClient global::System.Collections.Generic.IReadOnlyList? filesFileNames = default, global::System.Collections.Generic.IList? names = default, global::Dust.CreateWSkillsRequestOnConflict? onConflict = default, + global::System.Collections.Generic.IList? editors = default, global::Dust.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -104,6 +112,9 @@ public partial interface ISkillsClient /// /// Conflict handling strategy. Defaults to error. /// + /// + /// Optional editor email addresses to add to imported or updated skills. Editors must be active workspace builders. Existing skills keep their current editors. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -113,6 +124,7 @@ public partial interface ISkillsClient global::System.Collections.Generic.IReadOnlyList? filesFileNames = default, global::System.Collections.Generic.IList? names = default, global::Dust.CreateWSkillsRequestOnConflict? onConflict = default, + global::System.Collections.Generic.IList? editors = default, global::Dust.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Dust/Generated/Dust.Models.CreateWSkillsRequest.g.cs b/src/libs/Dust/Generated/Dust.Models.CreateWSkillsRequest.g.cs index 3fd0d20..86ce86c 100644 --- a/src/libs/Dust/Generated/Dust.Models.CreateWSkillsRequest.g.cs +++ b/src/libs/Dust/Generated/Dust.Models.CreateWSkillsRequest.g.cs @@ -28,6 +28,12 @@ public sealed partial class CreateWSkillsRequest [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Dust.JsonConverters.CreateWSkillsRequestOnConflictJsonConverter))] public global::Dust.CreateWSkillsRequestOnConflict? OnConflict { get; set; } + /// + /// Optional editor email addresses to add to imported or updated skills. Editors must be active workspace builders. Existing skills keep their current editors. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("editors")] + public global::System.Collections.Generic.IList? Editors { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -46,17 +52,22 @@ public sealed partial class CreateWSkillsRequest /// /// Conflict handling strategy. Defaults to error. /// + /// + /// Optional editor email addresses to add to imported or updated skills. Editors must be active workspace builders. Existing skills keep their current editors. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public CreateWSkillsRequest( global::System.Collections.Generic.IList files, global::System.Collections.Generic.IList? names, - global::Dust.CreateWSkillsRequestOnConflict? onConflict) + global::Dust.CreateWSkillsRequestOnConflict? onConflict, + global::System.Collections.Generic.IList? editors) { this.Files = files ?? throw new global::System.ArgumentNullException(nameof(files)); this.Names = names; this.OnConflict = onConflict; + this.Editors = editors; } /// diff --git a/src/libs/Dust/Generated/Dust.SkillsClient.CreateWByWIdSkills.g.cs b/src/libs/Dust/Generated/Dust.SkillsClient.CreateWByWIdSkills.g.cs index 46064cc..d57ec1d 100644 --- a/src/libs/Dust/Generated/Dust.SkillsClient.CreateWByWIdSkills.g.cs +++ b/src/libs/Dust/Generated/Dust.SkillsClient.CreateWByWIdSkills.g.cs @@ -199,6 +199,14 @@ partial void ProcessCreateWByWIdSkillsResponseContent( content: new global::System.Net.Http.StringContent((request.OnConflict).HasValue ? (request.OnConflict).GetValueOrDefault().ToValueString() : string.Empty), name: "\"onConflict\""); + } + if (request.Editors != default) + { + + __httpRequestContent.Add( + content: new global::System.Net.Http.StringContent($"[{string.Join(",", global::System.Linq.Enumerable.Select(request.Editors, x => x))}]"), + name: "\"editors\""); + } __httpRequest.Content = __httpRequestContent; @@ -600,6 +608,9 @@ partial void ProcessCreateWByWIdSkillsResponseContent( /// /// Conflict handling strategy. Defaults to error. /// + /// + /// Optional editor email addresses to add to imported or updated skills. Editors must be active workspace builders. Existing skills keep their current editors. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -608,6 +619,7 @@ partial void ProcessCreateWByWIdSkillsResponseContent( global::System.Collections.Generic.IList files, global::System.Collections.Generic.IList? names = default, global::Dust.CreateWSkillsRequestOnConflict? onConflict = default, + global::System.Collections.Generic.IList? editors = default, global::Dust.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -616,6 +628,7 @@ partial void ProcessCreateWByWIdSkillsResponseContent( Files = files, Names = names, OnConflict = onConflict, + Editors = editors, }; return await CreateWByWIdSkillsAsync( @@ -642,6 +655,9 @@ partial void ProcessCreateWByWIdSkillsResponseContent( /// /// Conflict handling strategy. Defaults to error. /// + /// + /// Optional editor email addresses to add to imported or updated skills. Editors must be active workspace builders. Existing skills keep their current editors. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -651,6 +667,7 @@ partial void ProcessCreateWByWIdSkillsResponseContent( global::System.Collections.Generic.IReadOnlyList? filesFileNames = default, global::System.Collections.Generic.IList? names = default, global::Dust.CreateWSkillsRequestOnConflict? onConflict = default, + global::System.Collections.Generic.IList? editors = default, global::Dust.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -661,6 +678,7 @@ partial void ProcessCreateWByWIdSkillsResponseContent( Files = new global::System.Collections.Generic.List(), Names = names, OnConflict = onConflict, + Editors = editors, }; PrepareArguments( client: HttpClient); @@ -793,6 +811,14 @@ __fileNameFiles is null content: new global::System.Net.Http.StringContent((request.OnConflict).HasValue ? (request.OnConflict).GetValueOrDefault().ToValueString() : string.Empty), name: "\"onConflict\""); + } + if (request.Editors != default) + { + + __httpRequestContent.Add( + content: new global::System.Net.Http.StringContent($"[{string.Join(",", global::System.Linq.Enumerable.Select(request.Editors, x => x))}]"), + name: "\"editors\""); + } __httpRequest.Content = __httpRequestContent; @@ -1189,6 +1215,9 @@ __fileNameFiles is null /// /// Conflict handling strategy. Defaults to error. /// + /// + /// Optional editor email addresses to add to imported or updated skills. Editors must be active workspace builders. Existing skills keep their current editors. + /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -1198,6 +1227,7 @@ __fileNameFiles is null global::System.Collections.Generic.IReadOnlyList? filesFileNames = default, global::System.Collections.Generic.IList? names = default, global::Dust.CreateWSkillsRequestOnConflict? onConflict = default, + global::System.Collections.Generic.IList? editors = default, global::Dust.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -1208,6 +1238,7 @@ __fileNameFiles is null Files = new global::System.Collections.Generic.List(), Names = names, OnConflict = onConflict, + Editors = editors, }; PrepareArguments( client: HttpClient); @@ -1340,6 +1371,14 @@ __fileNameFiles is null content: new global::System.Net.Http.StringContent((request.OnConflict).HasValue ? (request.OnConflict).GetValueOrDefault().ToValueString() : string.Empty), name: "\"onConflict\""); + } + if (request.Editors != default) + { + + __httpRequestContent.Add( + content: new global::System.Net.Http.StringContent($"[{string.Join(",", global::System.Linq.Enumerable.Select(request.Editors, x => x))}]"), + name: "\"editors\""); + } __httpRequest.Content = __httpRequestContent; diff --git a/src/libs/Dust/openapi.yaml b/src/libs/Dust/openapi.yaml index d49ee4e..fed8a08 100644 --- a/src/libs/Dust/openapi.yaml +++ b/src/libs/Dust/openapi.yaml @@ -3511,6 +3511,14 @@ "override" ], "description": "Conflict handling strategy. Defaults to error." + }, + "editors": { + "type": "array", + "items": { + "type": "string", + "format": "email" + }, + "description": "Optional editor email addresses to add to imported or updated skills. Editors must be active workspace builders. Existing skills keep their current editors." } } }