diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IOrganizationsClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IOrganizationsClient.Update.g.cs
index 8dc83f06..5e6adfb5 100644
--- a/src/libs/LabelStudio/Generated/LabelStudio.IOrganizationsClient.Update.g.cs
+++ b/src/libs/LabelStudio/Generated/LabelStudio.IOrganizationsClient.Update.g.cs
@@ -99,6 +99,9 @@ public partial interface IOrganizationsClient
/// Included only in requests
///
///
+ ///
+ /// When the current invite link stops working; null works only while expiration is disabled
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -116,6 +119,7 @@ public partial interface IOrganizationsClient
object? reactCodeSettings = default,
string? title = default,
string? token = default,
+ global::System.DateTime? tokenExpiresAt = default,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.OrganizationInvite.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.OrganizationInvite.g.cs
index 4ed63efa..8ef33791 100644
--- a/src/libs/LabelStudio/Generated/LabelStudio.Models.OrganizationInvite.g.cs
+++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.OrganizationInvite.g.cs
@@ -8,6 +8,18 @@ namespace LabelStudio
///
public sealed partial class OrganizationInvite
{
+ ///
+ /// True once the invite link has expired; reset the token to issue a new link
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("expired")]
+ public bool? Expired { get; set; }
+
+ ///
+ /// When the invite link expires; null if no expiry was recorded
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("expires_at")]
+ public global::System.DateTime? ExpiresAt { get; set; }
+
///
///
///
@@ -29,15 +41,25 @@ public sealed partial class OrganizationInvite
///
/// Initializes a new instance of the class.
///
+ ///
+ /// True once the invite link has expired; reset the token to issue a new link
+ ///
+ ///
+ /// When the invite link expires; null if no expiry was recorded
+ ///
///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public OrganizationInvite(
+ bool? expired,
+ global::System.DateTime? expiresAt,
string? inviteUrl,
string? token)
{
+ this.Expired = expired;
+ this.ExpiresAt = expiresAt;
this.InviteUrl = inviteUrl;
this.Token = token;
}
diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLseOrganizationSerializerUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLseOrganizationSerializerUpdateRequest.g.cs
index 9eb655c0..09c0741c 100644
--- a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLseOrganizationSerializerUpdateRequest.g.cs
+++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLseOrganizationSerializerUpdateRequest.g.cs
@@ -91,6 +91,12 @@ public sealed partial class PatchedLseOrganizationSerializerUpdateRequest
[global::System.Text.Json.Serialization.JsonPropertyName("token")]
public string? Token { get; set; }
+ ///
+ /// When the current invite link stops working; null works only while expiration is disabled
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("token_expires_at")]
+ public global::System.DateTime? TokenExpiresAt { get; set; }
+
///
/// Additional properties that are not explicitly defined in the schema
///
@@ -142,6 +148,9 @@ public sealed partial class PatchedLseOrganizationSerializerUpdateRequest
/// Included only in requests
///
///
+ ///
+ /// When the current invite link stops working; null works only while expiration is disabled
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -157,7 +166,8 @@ public PatchedLseOrganizationSerializerUpdateRequest(
object? interfaceSettings,
object? reactCodeSettings,
string? title,
- string? token)
+ string? token,
+ global::System.DateTime? tokenExpiresAt)
{
this.AllowUnsafeInstructionTags = allowUnsafeInstructionTags;
this.ContactInfo = contactInfo;
@@ -171,6 +181,7 @@ public PatchedLseOrganizationSerializerUpdateRequest(
this.ReactCodeSettings = reactCodeSettings;
this.Title = title;
this.Token = token;
+ this.TokenExpiresAt = tokenExpiresAt;
}
///
diff --git a/src/libs/LabelStudio/Generated/LabelStudio.OrganizationsClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.OrganizationsClient.Update.g.cs
index 7899a243..c79f1a2d 100644
--- a/src/libs/LabelStudio/Generated/LabelStudio.OrganizationsClient.Update.g.cs
+++ b/src/libs/LabelStudio/Generated/LabelStudio.OrganizationsClient.Update.g.cs
@@ -603,6 +603,9 @@ partial void ProcessUpdateResponseContent(
/// Included only in requests
///
///
+ ///
+ /// When the current invite link stops working; null works only while expiration is disabled
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -620,6 +623,7 @@ partial void ProcessUpdateResponseContent(
object? reactCodeSettings = default,
string? title = default,
string? token = default,
+ global::System.DateTime? tokenExpiresAt = default,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -637,6 +641,7 @@ partial void ProcessUpdateResponseContent(
ReactCodeSettings = reactCodeSettings,
Title = title,
Token = token,
+ TokenExpiresAt = tokenExpiresAt,
};
return await UpdateAsync(
diff --git a/src/libs/LabelStudio/openapi.yaml b/src/libs/LabelStudio/openapi.yaml
index 86888677..9846cffe 100644
--- a/src/libs/LabelStudio/openapi.yaml
+++ b/src/libs/LabelStudio/openapi.yaml
@@ -38934,6 +38934,14 @@ components:
type: object
OrganizationInvite:
properties:
+ expired:
+ description: True once the invite link has expired; reset the token to issue a new link
+ type: boolean
+ expires_at:
+ description: When the invite link expires; null if no expiry was recorded
+ format: date-time
+ nullable: true
+ type: string
invite_url:
type: string
token:
@@ -41815,6 +41823,11 @@ components:
maxLength: 256
nullable: true
type: string
+ token_expires_at:
+ description: When the current invite link stops working; null works only while expiration is disabled
+ format: date-time
+ nullable: true
+ type: string
type: object
PatchedLseProjectUpdateRequest:
description: |-