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
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ public partial interface IUsersClient
/// Included only in requests
/// </param>
/// <param name="phone"></param>
/// <param name="username"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
Expand All @@ -82,7 +81,6 @@ public partial interface IUsersClient
string? onboardingState = default,
string? password = default,
string? phone = default,
string? username = default,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public partial interface IUsersClient
/// Included only in requests
/// </param>
/// <param name="phone"></param>
/// <param name="username"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
Expand All @@ -91,7 +90,6 @@ public partial interface IUsersClient
string? onboardingState = default,
string? password = default,
string? phone = default,
string? username = default,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ public sealed partial class PatchedLseUserSerializerUpdateRequest
[global::System.Text.Json.Serialization.JsonPropertyName("phone")]
public string? Phone { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("username")]
public string? Username { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand Down Expand Up @@ -115,7 +109,6 @@ public sealed partial class PatchedLseUserSerializerUpdateRequest
/// Included only in requests
/// </param>
/// <param name="phone"></param>
/// <param name="username"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -130,8 +123,7 @@ public PatchedLseUserSerializerUpdateRequest(
string? lastName,
string? onboardingState,
string? password,
string? phone,
string? username)
string? phone)
{
this.ActiveOrganization = activeOrganization;
this.AllowNewsletters = allowNewsletters;
Expand All @@ -144,7 +136,6 @@ public PatchedLseUserSerializerUpdateRequest(
this.OnboardingState = onboardingState;
this.Password = password;
this.Phone = phone;
this.Username = username;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,6 @@ partial void ProcessUpdateResponseContent(
/// Included only in requests
/// </param>
/// <param name="phone"></param>
/// <param name="username"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
Expand All @@ -490,7 +489,6 @@ partial void ProcessUpdateResponseContent(
string? onboardingState = default,
string? password = default,
string? phone = default,
string? username = default,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand All @@ -507,7 +505,6 @@ partial void ProcessUpdateResponseContent(
OnboardingState = onboardingState,
Password = password,
Phone = phone,
Username = username,
};

return await UpdateAsync(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,6 @@ partial void ProcessUpdateCurrentUserResponseContent(
/// Included only in requests
/// </param>
/// <param name="phone"></param>
/// <param name="username"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
Expand All @@ -494,7 +493,6 @@ partial void ProcessUpdateCurrentUserResponseContent(
string? onboardingState = default,
string? password = default,
string? phone = default,
string? username = default,
global::LabelStudio.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand All @@ -511,7 +509,6 @@ partial void ProcessUpdateCurrentUserResponseContent(
OnboardingState = onboardingState,
Password = password,
Phone = phone,
Username = username,
};

return await UpdateCurrentUserAsync(
Expand Down
4 changes: 0 additions & 4 deletions src/libs/LabelStudio/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40103,10 +40103,6 @@ components:
phone:
maxLength: 256
type: string
username:
maxLength: 256
minLength: 1
type: string
type: object
PatchedMLBackendRequestRequest:
description: OpenAPI/SDK request body for ML backend create/update. Runtime still uses MLBackendSerializer.
Expand Down
Loading