From 6f048d9d00450ab2b5477315a523b5d010e7ea66 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 29 Sep 2026 12:16:23 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../LabelStudio.IOrganizationsClient.Update.g.cs | 5 +++++ .../LabelStudio.Models.LseOrganization.g.cs | 12 ++++++++++++ ...tchedLseOrganizationSerializerUpdateRequest.g.cs | 13 +++++++++++++ .../LabelStudio.OrganizationsClient.Update.g.cs | 6 ++++++ src/libs/LabelStudio/openapi.yaml | 8 ++++++++ 5 files changed, 44 insertions(+) diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IOrganizationsClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IOrganizationsClient.Update.g.cs index c85995b4..8dc83f06 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IOrganizationsClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IOrganizationsClient.Update.g.cs @@ -57,6 +57,10 @@ public partial interface IOrganizationsClient /// Update organization details including title, embed domains, and Plugins settings. /// /// + /// + /// Keep script, iframe, style and other active tags in project instructions
+ /// Included only in requests + /// /// /// /// Enable or disable custom interfaces for this organization
@@ -100,6 +104,7 @@ public partial interface IOrganizationsClient /// global::System.Threading.Tasks.Task UpdateAsync( int id, + bool? allowUnsafeInstructionTags = default, string? contactInfo = default, bool? customInterfacesEnabled = default, bool? customScriptsEnabled = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.LseOrganization.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.LseOrganization.g.cs index baf2d932..09b58dce 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.LseOrganization.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.LseOrganization.g.cs @@ -8,6 +8,13 @@ namespace LabelStudio /// public sealed partial class LseOrganization { + /// + /// Included only in responses + /// + /// default! + [global::System.Text.Json.Serialization.JsonPropertyName("allow_unsafe_instruction_tags")] + public bool AllowUnsafeInstructionTags { get; set; } = default!; + /// /// /// @@ -169,6 +176,9 @@ public sealed partial class LseOrganization /// /// Security settings for custom interfaces: CSP allowlists, script origins, iframe permissions. /// + /// + /// Included only in responses + /// /// /// Included only in responses /// @@ -217,6 +227,7 @@ public LseOrganization( object? embedSettings, string? externalId, object? interfaceSettings, + bool allowUnsafeInstructionTags = default!, global::System.DateTime createdAt = default!, bool customScriptsEnabled = default!, object emailNotificationSettings = default!, @@ -225,6 +236,7 @@ public LseOrganization( string title = default!, string token = default!) { + this.AllowUnsafeInstructionTags = allowUnsafeInstructionTags; this.Billing = billing ?? throw new global::System.ArgumentNullException(nameof(billing)); this.CreatedAt = createdAt; this.CustomInterfacesEnabled = customInterfacesEnabled; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLseOrganizationSerializerUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLseOrganizationSerializerUpdateRequest.g.cs index 4c2a3ccf..9eb655c0 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLseOrganizationSerializerUpdateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLseOrganizationSerializerUpdateRequest.g.cs @@ -9,6 +9,13 @@ namespace LabelStudio /// public sealed partial class PatchedLseOrganizationSerializerUpdateRequest { + /// + /// Keep script, iframe, style and other active tags in project instructions
+ /// Included only in requests + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("allow_unsafe_instruction_tags")] + public bool? AllowUnsafeInstructionTags { get; set; } + /// /// /// @@ -93,6 +100,10 @@ public sealed partial class PatchedLseOrganizationSerializerUpdateRequest /// /// Initializes a new instance of the class. /// + /// + /// Keep script, iframe, style and other active tags in project instructions
+ /// Included only in requests + /// /// /// /// Enable or disable custom interfaces for this organization
@@ -135,6 +146,7 @@ public sealed partial class PatchedLseOrganizationSerializerUpdateRequest [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public PatchedLseOrganizationSerializerUpdateRequest( + bool? allowUnsafeInstructionTags, string? contactInfo, bool? customInterfacesEnabled, bool? customScriptsEnabled, @@ -147,6 +159,7 @@ public PatchedLseOrganizationSerializerUpdateRequest( string? title, string? token) { + this.AllowUnsafeInstructionTags = allowUnsafeInstructionTags; this.ContactInfo = contactInfo; this.CustomInterfacesEnabled = customInterfacesEnabled; this.CustomScriptsEnabled = customScriptsEnabled; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.OrganizationsClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.OrganizationsClient.Update.g.cs index 0ce12b3c..7899a243 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.OrganizationsClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.OrganizationsClient.Update.g.cs @@ -561,6 +561,10 @@ partial void ProcessUpdateResponseContent( /// Update organization details including title, embed domains, and Plugins settings. /// /// + /// + /// Keep script, iframe, style and other active tags in project instructions
+ /// Included only in requests + /// /// /// /// Enable or disable custom interfaces for this organization
@@ -604,6 +608,7 @@ partial void ProcessUpdateResponseContent( /// public async global::System.Threading.Tasks.Task UpdateAsync( int id, + bool? allowUnsafeInstructionTags = default, string? contactInfo = default, bool? customInterfacesEnabled = default, bool? customScriptsEnabled = default, @@ -620,6 +625,7 @@ partial void ProcessUpdateResponseContent( { var __request = new global::LabelStudio.PatchedLseOrganizationSerializerUpdateRequest { + AllowUnsafeInstructionTags = allowUnsafeInstructionTags, ContactInfo = contactInfo, CustomInterfacesEnabled = customInterfacesEnabled, CustomScriptsEnabled = customScriptsEnabled, diff --git a/src/libs/LabelStudio/openapi.yaml b/src/libs/LabelStudio/openapi.yaml index bd388d16..4bd6a57e 100644 --- a/src/libs/LabelStudio/openapi.yaml +++ b/src/libs/LabelStudio/openapi.yaml @@ -34125,6 +34125,9 @@ components: type: object LseOrganization: properties: + allow_unsafe_instruction_tags: + readOnly: true + type: boolean billing: $ref: '#/components/schemas/OrganizationBilling' created_at: @@ -34206,6 +34209,7 @@ components: readOnly: true type: string required: + - allow_unsafe_instruction_tags - billing - created_at - custom_scripts_enabled @@ -41085,6 +41089,10 @@ components: A serializer mixin that takes an additional `fields` argument that controls which fields should be displayed. properties: + allow_unsafe_instruction_tags: + description: Keep script, iframe, style and other active tags in project instructions + type: boolean + writeOnly: true contact_info: format: email maxLength: 254