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 @@ -71,6 +71,7 @@ public partial interface IOrganizationsClient
/// <param name="userType">
/// Seat type for the invited members. View-Only members are free read-only seats scoped to the invited projects/workspaces and cannot be combined with a role.<br/>
/// * `standard` - Standard<br/>
/// * `flex` - Flex<br/>
/// * `viewonly` - View Only<br/>
/// Default Value: standard
/// </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ namespace LabelStudio
/// </summary>
public enum ApiFsmOrganizationsMembershipHistoryListUserType
{
/// <summary>
///
/// </summary>
Flex,
/// <summary>
///
/// </summary>
Expand All @@ -34,6 +38,7 @@ public static string ToValueString(this ApiFsmOrganizationsMembershipHistoryList
{
return value switch
{
ApiFsmOrganizationsMembershipHistoryListUserType.Flex => "flex",
ApiFsmOrganizationsMembershipHistoryListUserType.Service => "service",
ApiFsmOrganizationsMembershipHistoryListUserType.Standard => "standard",
ApiFsmOrganizationsMembershipHistoryListUserType.Viewonly => "viewonly",
Expand All @@ -47,6 +52,7 @@ public static string ToValueString(this ApiFsmOrganizationsMembershipHistoryList
{
return value switch
{
"flex" => ApiFsmOrganizationsMembershipHistoryListUserType.Flex,
"service" => ApiFsmOrganizationsMembershipHistoryListUserType.Service,
"standard" => ApiFsmOrganizationsMembershipHistoryListUserType.Standard,
"viewonly" => ApiFsmOrganizationsMembershipHistoryListUserType.Viewonly,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ namespace LabelStudio
{
/// <summary>
/// * `standard` - Standard<br/>
/// * `flex` - Flex<br/>
/// * `viewonly` - View Only
/// </summary>
public enum AssignableUserTypeEnum
{
/// <summary>
///
/// </summary>
Flex,
/// <summary>
///
/// </summary>
Expand All @@ -31,6 +36,7 @@ public static string ToValueString(this AssignableUserTypeEnum value)
{
return value switch
{
AssignableUserTypeEnum.Flex => "flex",
AssignableUserTypeEnum.Standard => "standard",
AssignableUserTypeEnum.Viewonly => "viewonly",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
Expand All @@ -43,6 +49,7 @@ public static string ToValueString(this AssignableUserTypeEnum value)
{
return value switch
{
"flex" => AssignableUserTypeEnum.Flex,
"standard" => AssignableUserTypeEnum.Standard,
"viewonly" => AssignableUserTypeEnum.Viewonly,
_ => null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public sealed partial class SendInviteRequest
/// <summary>
/// Seat type for the invited members. View-Only members are free read-only seats scoped to the invited projects/workspaces and cannot be combined with a role.<br/>
/// * `standard` - Standard<br/>
/// * `flex` - Flex<br/>
/// * `viewonly` - View Only<br/>
/// Default Value: standard
/// </summary>
Expand Down Expand Up @@ -79,6 +80,7 @@ public sealed partial class SendInviteRequest
/// <param name="userType">
/// Seat type for the invited members. View-Only members are free read-only seats scoped to the invited projects/workspaces and cannot be combined with a role.<br/>
/// * `standard` - Standard<br/>
/// * `flex` - Flex<br/>
/// * `viewonly` - View Only<br/>
/// Default Value: standard
/// </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ await SendEmailAsResponseAsync(
/// <param name="userType">
/// Seat type for the invited members. View-Only members are free read-only seats scoped to the invited projects/workspaces and cannot be combined with a role.<br/>
/// * `standard` - Standard<br/>
/// * `flex` - Flex<br/>
/// * `viewonly` - View Only<br/>
/// Default Value: standard
/// </param>
Expand Down
4 changes: 4 additions & 0 deletions src/libs/LabelStudio/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5606,6 +5606,7 @@ paths:
name: user_type
schema:
enum:
- flex
- service
- standard
- viewonly
Expand Down Expand Up @@ -27636,9 +27637,11 @@ components:
AssignableUserTypeEnum:
description: |-
* `standard` - Standard
* `flex` - Flex
* `viewonly` - View Only
enum:
- standard
- flex
- viewonly
type: string
AssignmentSettings:
Expand Down Expand Up @@ -44204,6 +44207,7 @@ components:
Seat type for the invited members. View-Only members are free read-only seats scoped to the invited projects/workspaces and cannot be combined with a role.

* `standard` - Standard
* `flex` - Flex
* `viewonly` - View Only
workspaces:
description: Workspace IDs to grant access to
Expand Down