@meshery/schemas 1.3.14 → 1.3.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1999,24 +1999,96 @@ export interface components {
1999
1999
  */
2000
2000
  deletedAt: string | null;
2001
2001
  /**
2002
- * @description List of global roles assigned to the user
2002
+ * @description Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set.
2003
2003
  * @example [
2004
- * "admin",
2005
- * "meshmap"
2004
+ * "organization admin",
2005
+ * "user"
2006
2006
  * ]
2007
2007
  */
2008
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
2008
+ roleNames?: string[];
2009
2009
  /** @description Teams the user belongs to with role information */
2010
2010
  teams?: {
2011
2011
  /** @description Team memberships for the user with their assigned roles. */
2012
- teamsWithRoles?: Record<string, never>[];
2012
+ teamsWithRoles?: {
2013
+ /**
2014
+ * Format: uuid
2015
+ * @description Unique identifier of the team.
2016
+ */
2017
+ id: string;
2018
+ /** @description Name of the team. */
2019
+ name: string;
2020
+ /** @description Human readable description of the team. */
2021
+ description?: string;
2022
+ /**
2023
+ * Format: uuid
2024
+ * @description Identifier of the team owner.
2025
+ */
2026
+ owner?: string;
2027
+ /** @description Free-form metadata associated with the team. */
2028
+ metadata?: {
2029
+ [key: string]: unknown;
2030
+ };
2031
+ /**
2032
+ * Format: date-time
2033
+ * @description Timestamp when the team was created.
2034
+ */
2035
+ createdAt?: string;
2036
+ /**
2037
+ * Format: date-time
2038
+ * @description Timestamp when the team was last updated.
2039
+ */
2040
+ updatedAt?: string;
2041
+ /**
2042
+ * Format: date-time
2043
+ * @description Timestamp when the team was soft-deleted (null if not deleted).
2044
+ */
2045
+ deletedAt?: string | null;
2046
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2047
+ roleNames: string[];
2048
+ }[];
2013
2049
  /** @description Total number of team memberships returned for the user. */
2014
2050
  totalCount?: number;
2015
2051
  };
2016
2052
  /** @description Organizations the user belongs to with role information */
2017
2053
  organizations?: {
2018
2054
  /** @description Organization memberships for the user with their assigned roles. */
2019
- organizationsWithRoles?: Record<string, never>[];
2055
+ organizationsWithRoles?: {
2056
+ /**
2057
+ * Format: uuid
2058
+ * @description Unique identifier of the organization.
2059
+ */
2060
+ id: string;
2061
+ /** @description Name of the organization. */
2062
+ name: string;
2063
+ /** @description Human readable description of the organization. */
2064
+ description?: string;
2065
+ /** @description Country associated with the organization. */
2066
+ country?: string;
2067
+ /** @description Region associated with the organization. */
2068
+ region?: string;
2069
+ /**
2070
+ * Format: uuid
2071
+ * @description Identifier of the organization owner.
2072
+ */
2073
+ owner?: string;
2074
+ /**
2075
+ * Format: date-time
2076
+ * @description Timestamp when the organization was created.
2077
+ */
2078
+ createdAt?: string;
2079
+ /**
2080
+ * Format: date-time
2081
+ * @description Timestamp when the organization was last updated.
2082
+ */
2083
+ updatedAt?: string;
2084
+ /**
2085
+ * Format: date-time
2086
+ * @description Timestamp when the organization was soft-deleted (null if not deleted).
2087
+ */
2088
+ deletedAt?: string | null;
2089
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2090
+ roleNames: string[];
2091
+ }[];
2020
2092
  /** @description Total number of organization memberships returned for the user. */
2021
2093
  totalCount?: number;
2022
2094
  };
@@ -2296,24 +2368,96 @@ export interface components {
2296
2368
  */
2297
2369
  deletedAt: string | null;
2298
2370
  /**
2299
- * @description List of global roles assigned to the user
2371
+ * @description Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set.
2300
2372
  * @example [
2301
- * "admin",
2302
- * "meshmap"
2373
+ * "organization admin",
2374
+ * "user"
2303
2375
  * ]
2304
2376
  */
2305
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
2377
+ roleNames?: string[];
2306
2378
  /** @description Teams the user belongs to with role information */
2307
2379
  teams?: {
2308
2380
  /** @description Team memberships for the user with their assigned roles. */
2309
- teamsWithRoles?: Record<string, never>[];
2381
+ teamsWithRoles?: {
2382
+ /**
2383
+ * Format: uuid
2384
+ * @description Unique identifier of the team.
2385
+ */
2386
+ id: string;
2387
+ /** @description Name of the team. */
2388
+ name: string;
2389
+ /** @description Human readable description of the team. */
2390
+ description?: string;
2391
+ /**
2392
+ * Format: uuid
2393
+ * @description Identifier of the team owner.
2394
+ */
2395
+ owner?: string;
2396
+ /** @description Free-form metadata associated with the team. */
2397
+ metadata?: {
2398
+ [key: string]: unknown;
2399
+ };
2400
+ /**
2401
+ * Format: date-time
2402
+ * @description Timestamp when the team was created.
2403
+ */
2404
+ createdAt?: string;
2405
+ /**
2406
+ * Format: date-time
2407
+ * @description Timestamp when the team was last updated.
2408
+ */
2409
+ updatedAt?: string;
2410
+ /**
2411
+ * Format: date-time
2412
+ * @description Timestamp when the team was soft-deleted (null if not deleted).
2413
+ */
2414
+ deletedAt?: string | null;
2415
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2416
+ roleNames: string[];
2417
+ }[];
2310
2418
  /** @description Total number of team memberships returned for the user. */
2311
2419
  totalCount?: number;
2312
2420
  };
2313
2421
  /** @description Organizations the user belongs to with role information */
2314
2422
  organizations?: {
2315
2423
  /** @description Organization memberships for the user with their assigned roles. */
2316
- organizationsWithRoles?: Record<string, never>[];
2424
+ organizationsWithRoles?: {
2425
+ /**
2426
+ * Format: uuid
2427
+ * @description Unique identifier of the organization.
2428
+ */
2429
+ id: string;
2430
+ /** @description Name of the organization. */
2431
+ name: string;
2432
+ /** @description Human readable description of the organization. */
2433
+ description?: string;
2434
+ /** @description Country associated with the organization. */
2435
+ country?: string;
2436
+ /** @description Region associated with the organization. */
2437
+ region?: string;
2438
+ /**
2439
+ * Format: uuid
2440
+ * @description Identifier of the organization owner.
2441
+ */
2442
+ owner?: string;
2443
+ /**
2444
+ * Format: date-time
2445
+ * @description Timestamp when the organization was created.
2446
+ */
2447
+ createdAt?: string;
2448
+ /**
2449
+ * Format: date-time
2450
+ * @description Timestamp when the organization was last updated.
2451
+ */
2452
+ updatedAt?: string;
2453
+ /**
2454
+ * Format: date-time
2455
+ * @description Timestamp when the organization was soft-deleted (null if not deleted).
2456
+ */
2457
+ deletedAt?: string | null;
2458
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2459
+ roleNames: string[];
2460
+ }[];
2317
2461
  /** @description Total number of organization memberships returned for the user. */
2318
2462
  totalCount?: number;
2319
2463
  };
@@ -2839,24 +2983,96 @@ export interface components {
2839
2983
  */
2840
2984
  deletedAt: string | null;
2841
2985
  /**
2842
- * @description List of global roles assigned to the user
2986
+ * @description Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set.
2843
2987
  * @example [
2844
- * "admin",
2845
- * "meshmap"
2988
+ * "organization admin",
2989
+ * "user"
2846
2990
  * ]
2847
2991
  */
2848
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
2992
+ roleNames?: string[];
2849
2993
  /** @description Teams the user belongs to with role information */
2850
2994
  teams?: {
2851
2995
  /** @description Team memberships for the user with their assigned roles. */
2852
- teamsWithRoles?: Record<string, never>[];
2996
+ teamsWithRoles?: {
2997
+ /**
2998
+ * Format: uuid
2999
+ * @description Unique identifier of the team.
3000
+ */
3001
+ id: string;
3002
+ /** @description Name of the team. */
3003
+ name: string;
3004
+ /** @description Human readable description of the team. */
3005
+ description?: string;
3006
+ /**
3007
+ * Format: uuid
3008
+ * @description Identifier of the team owner.
3009
+ */
3010
+ owner?: string;
3011
+ /** @description Free-form metadata associated with the team. */
3012
+ metadata?: {
3013
+ [key: string]: unknown;
3014
+ };
3015
+ /**
3016
+ * Format: date-time
3017
+ * @description Timestamp when the team was created.
3018
+ */
3019
+ createdAt?: string;
3020
+ /**
3021
+ * Format: date-time
3022
+ * @description Timestamp when the team was last updated.
3023
+ */
3024
+ updatedAt?: string;
3025
+ /**
3026
+ * Format: date-time
3027
+ * @description Timestamp when the team was soft-deleted (null if not deleted).
3028
+ */
3029
+ deletedAt?: string | null;
3030
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
3031
+ roleNames: string[];
3032
+ }[];
2853
3033
  /** @description Total number of team memberships returned for the user. */
2854
3034
  totalCount?: number;
2855
3035
  };
2856
3036
  /** @description Organizations the user belongs to with role information */
2857
3037
  organizations?: {
2858
3038
  /** @description Organization memberships for the user with their assigned roles. */
2859
- organizationsWithRoles?: Record<string, never>[];
3039
+ organizationsWithRoles?: {
3040
+ /**
3041
+ * Format: uuid
3042
+ * @description Unique identifier of the organization.
3043
+ */
3044
+ id: string;
3045
+ /** @description Name of the organization. */
3046
+ name: string;
3047
+ /** @description Human readable description of the organization. */
3048
+ description?: string;
3049
+ /** @description Country associated with the organization. */
3050
+ country?: string;
3051
+ /** @description Region associated with the organization. */
3052
+ region?: string;
3053
+ /**
3054
+ * Format: uuid
3055
+ * @description Identifier of the organization owner.
3056
+ */
3057
+ owner?: string;
3058
+ /**
3059
+ * Format: date-time
3060
+ * @description Timestamp when the organization was created.
3061
+ */
3062
+ createdAt?: string;
3063
+ /**
3064
+ * Format: date-time
3065
+ * @description Timestamp when the organization was last updated.
3066
+ */
3067
+ updatedAt?: string;
3068
+ /**
3069
+ * Format: date-time
3070
+ * @description Timestamp when the organization was soft-deleted (null if not deleted).
3071
+ */
3072
+ deletedAt?: string | null;
3073
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
3074
+ roleNames: string[];
3075
+ }[];
2860
3076
  /** @description Total number of organization memberships returned for the user. */
2861
3077
  totalCount?: number;
2862
3078
  };
@@ -3419,24 +3635,96 @@ export interface operations {
3419
3635
  */
3420
3636
  deletedAt: string | null;
3421
3637
  /**
3422
- * @description List of global roles assigned to the user
3638
+ * @description Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set.
3423
3639
  * @example [
3424
- * "admin",
3425
- * "meshmap"
3640
+ * "organization admin",
3641
+ * "user"
3426
3642
  * ]
3427
3643
  */
3428
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
3644
+ roleNames?: string[];
3429
3645
  /** @description Teams the user belongs to with role information */
3430
3646
  teams?: {
3431
3647
  /** @description Team memberships for the user with their assigned roles. */
3432
- teamsWithRoles?: Record<string, never>[];
3648
+ teamsWithRoles?: {
3649
+ /**
3650
+ * Format: uuid
3651
+ * @description Unique identifier of the team.
3652
+ */
3653
+ id: string;
3654
+ /** @description Name of the team. */
3655
+ name: string;
3656
+ /** @description Human readable description of the team. */
3657
+ description?: string;
3658
+ /**
3659
+ * Format: uuid
3660
+ * @description Identifier of the team owner.
3661
+ */
3662
+ owner?: string;
3663
+ /** @description Free-form metadata associated with the team. */
3664
+ metadata?: {
3665
+ [key: string]: unknown;
3666
+ };
3667
+ /**
3668
+ * Format: date-time
3669
+ * @description Timestamp when the team was created.
3670
+ */
3671
+ createdAt?: string;
3672
+ /**
3673
+ * Format: date-time
3674
+ * @description Timestamp when the team was last updated.
3675
+ */
3676
+ updatedAt?: string;
3677
+ /**
3678
+ * Format: date-time
3679
+ * @description Timestamp when the team was soft-deleted (null if not deleted).
3680
+ */
3681
+ deletedAt?: string | null;
3682
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
3683
+ roleNames: string[];
3684
+ }[];
3433
3685
  /** @description Total number of team memberships returned for the user. */
3434
3686
  totalCount?: number;
3435
3687
  };
3436
3688
  /** @description Organizations the user belongs to with role information */
3437
3689
  organizations?: {
3438
3690
  /** @description Organization memberships for the user with their assigned roles. */
3439
- organizationsWithRoles?: Record<string, never>[];
3691
+ organizationsWithRoles?: {
3692
+ /**
3693
+ * Format: uuid
3694
+ * @description Unique identifier of the organization.
3695
+ */
3696
+ id: string;
3697
+ /** @description Name of the organization. */
3698
+ name: string;
3699
+ /** @description Human readable description of the organization. */
3700
+ description?: string;
3701
+ /** @description Country associated with the organization. */
3702
+ country?: string;
3703
+ /** @description Region associated with the organization. */
3704
+ region?: string;
3705
+ /**
3706
+ * Format: uuid
3707
+ * @description Identifier of the organization owner.
3708
+ */
3709
+ owner?: string;
3710
+ /**
3711
+ * Format: date-time
3712
+ * @description Timestamp when the organization was created.
3713
+ */
3714
+ createdAt?: string;
3715
+ /**
3716
+ * Format: date-time
3717
+ * @description Timestamp when the organization was last updated.
3718
+ */
3719
+ updatedAt?: string;
3720
+ /**
3721
+ * Format: date-time
3722
+ * @description Timestamp when the organization was soft-deleted (null if not deleted).
3723
+ */
3724
+ deletedAt?: string | null;
3725
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
3726
+ roleNames: string[];
3727
+ }[];
3440
3728
  /** @description Total number of organization memberships returned for the user. */
3441
3729
  totalCount?: number;
3442
3730
  };
@@ -3825,24 +4113,96 @@ export interface operations {
3825
4113
  */
3826
4114
  deletedAt: string | null;
3827
4115
  /**
3828
- * @description List of global roles assigned to the user
4116
+ * @description Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set.
3829
4117
  * @example [
3830
- * "admin",
3831
- * "meshmap"
4118
+ * "organization admin",
4119
+ * "user"
3832
4120
  * ]
3833
4121
  */
3834
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
4122
+ roleNames?: string[];
3835
4123
  /** @description Teams the user belongs to with role information */
3836
4124
  teams?: {
3837
4125
  /** @description Team memberships for the user with their assigned roles. */
3838
- teamsWithRoles?: Record<string, never>[];
4126
+ teamsWithRoles?: {
4127
+ /**
4128
+ * Format: uuid
4129
+ * @description Unique identifier of the team.
4130
+ */
4131
+ id: string;
4132
+ /** @description Name of the team. */
4133
+ name: string;
4134
+ /** @description Human readable description of the team. */
4135
+ description?: string;
4136
+ /**
4137
+ * Format: uuid
4138
+ * @description Identifier of the team owner.
4139
+ */
4140
+ owner?: string;
4141
+ /** @description Free-form metadata associated with the team. */
4142
+ metadata?: {
4143
+ [key: string]: unknown;
4144
+ };
4145
+ /**
4146
+ * Format: date-time
4147
+ * @description Timestamp when the team was created.
4148
+ */
4149
+ createdAt?: string;
4150
+ /**
4151
+ * Format: date-time
4152
+ * @description Timestamp when the team was last updated.
4153
+ */
4154
+ updatedAt?: string;
4155
+ /**
4156
+ * Format: date-time
4157
+ * @description Timestamp when the team was soft-deleted (null if not deleted).
4158
+ */
4159
+ deletedAt?: string | null;
4160
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
4161
+ roleNames: string[];
4162
+ }[];
3839
4163
  /** @description Total number of team memberships returned for the user. */
3840
4164
  totalCount?: number;
3841
4165
  };
3842
4166
  /** @description Organizations the user belongs to with role information */
3843
4167
  organizations?: {
3844
4168
  /** @description Organization memberships for the user with their assigned roles. */
3845
- organizationsWithRoles?: Record<string, never>[];
4169
+ organizationsWithRoles?: {
4170
+ /**
4171
+ * Format: uuid
4172
+ * @description Unique identifier of the organization.
4173
+ */
4174
+ id: string;
4175
+ /** @description Name of the organization. */
4176
+ name: string;
4177
+ /** @description Human readable description of the organization. */
4178
+ description?: string;
4179
+ /** @description Country associated with the organization. */
4180
+ country?: string;
4181
+ /** @description Region associated with the organization. */
4182
+ region?: string;
4183
+ /**
4184
+ * Format: uuid
4185
+ * @description Identifier of the organization owner.
4186
+ */
4187
+ owner?: string;
4188
+ /**
4189
+ * Format: date-time
4190
+ * @description Timestamp when the organization was created.
4191
+ */
4192
+ createdAt?: string;
4193
+ /**
4194
+ * Format: date-time
4195
+ * @description Timestamp when the organization was last updated.
4196
+ */
4197
+ updatedAt?: string;
4198
+ /**
4199
+ * Format: date-time
4200
+ * @description Timestamp when the organization was soft-deleted (null if not deleted).
4201
+ */
4202
+ deletedAt?: string | null;
4203
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
4204
+ roleNames: string[];
4205
+ }[];
3846
4206
  /** @description Total number of organization memberships returned for the user. */
3847
4207
  totalCount?: number;
3848
4208
  };
@@ -4408,24 +4768,96 @@ export interface operations {
4408
4768
  */
4409
4769
  deletedAt: string | null;
4410
4770
  /**
4411
- * @description List of global roles assigned to the user
4771
+ * @description Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set.
4412
4772
  * @example [
4413
- * "admin",
4414
- * "meshmap"
4773
+ * "organization admin",
4774
+ * "user"
4415
4775
  * ]
4416
4776
  */
4417
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
4777
+ roleNames?: string[];
4418
4778
  /** @description Teams the user belongs to with role information */
4419
4779
  teams?: {
4420
4780
  /** @description Team memberships for the user with their assigned roles. */
4421
- teamsWithRoles?: Record<string, never>[];
4781
+ teamsWithRoles?: {
4782
+ /**
4783
+ * Format: uuid
4784
+ * @description Unique identifier of the team.
4785
+ */
4786
+ id: string;
4787
+ /** @description Name of the team. */
4788
+ name: string;
4789
+ /** @description Human readable description of the team. */
4790
+ description?: string;
4791
+ /**
4792
+ * Format: uuid
4793
+ * @description Identifier of the team owner.
4794
+ */
4795
+ owner?: string;
4796
+ /** @description Free-form metadata associated with the team. */
4797
+ metadata?: {
4798
+ [key: string]: unknown;
4799
+ };
4800
+ /**
4801
+ * Format: date-time
4802
+ * @description Timestamp when the team was created.
4803
+ */
4804
+ createdAt?: string;
4805
+ /**
4806
+ * Format: date-time
4807
+ * @description Timestamp when the team was last updated.
4808
+ */
4809
+ updatedAt?: string;
4810
+ /**
4811
+ * Format: date-time
4812
+ * @description Timestamp when the team was soft-deleted (null if not deleted).
4813
+ */
4814
+ deletedAt?: string | null;
4815
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
4816
+ roleNames: string[];
4817
+ }[];
4422
4818
  /** @description Total number of team memberships returned for the user. */
4423
4819
  totalCount?: number;
4424
4820
  };
4425
4821
  /** @description Organizations the user belongs to with role information */
4426
4822
  organizations?: {
4427
4823
  /** @description Organization memberships for the user with their assigned roles. */
4428
- organizationsWithRoles?: Record<string, never>[];
4824
+ organizationsWithRoles?: {
4825
+ /**
4826
+ * Format: uuid
4827
+ * @description Unique identifier of the organization.
4828
+ */
4829
+ id: string;
4830
+ /** @description Name of the organization. */
4831
+ name: string;
4832
+ /** @description Human readable description of the organization. */
4833
+ description?: string;
4834
+ /** @description Country associated with the organization. */
4835
+ country?: string;
4836
+ /** @description Region associated with the organization. */
4837
+ region?: string;
4838
+ /**
4839
+ * Format: uuid
4840
+ * @description Identifier of the organization owner.
4841
+ */
4842
+ owner?: string;
4843
+ /**
4844
+ * Format: date-time
4845
+ * @description Timestamp when the organization was created.
4846
+ */
4847
+ createdAt?: string;
4848
+ /**
4849
+ * Format: date-time
4850
+ * @description Timestamp when the organization was last updated.
4851
+ */
4852
+ updatedAt?: string;
4853
+ /**
4854
+ * Format: date-time
4855
+ * @description Timestamp when the organization was soft-deleted (null if not deleted).
4856
+ */
4857
+ deletedAt?: string | null;
4858
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
4859
+ roleNames: string[];
4860
+ }[];
4429
4861
  /** @description Total number of organization memberships returned for the user. */
4430
4862
  totalCount?: number;
4431
4863
  };
@@ -4793,24 +5225,96 @@ export interface operations {
4793
5225
  */
4794
5226
  deletedAt: string | null;
4795
5227
  /**
4796
- * @description List of global roles assigned to the user
5228
+ * @description Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set.
4797
5229
  * @example [
4798
- * "admin",
4799
- * "meshmap"
5230
+ * "organization admin",
5231
+ * "user"
4800
5232
  * ]
4801
5233
  */
4802
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
5234
+ roleNames?: string[];
4803
5235
  /** @description Teams the user belongs to with role information */
4804
5236
  teams?: {
4805
5237
  /** @description Team memberships for the user with their assigned roles. */
4806
- teamsWithRoles?: Record<string, never>[];
5238
+ teamsWithRoles?: {
5239
+ /**
5240
+ * Format: uuid
5241
+ * @description Unique identifier of the team.
5242
+ */
5243
+ id: string;
5244
+ /** @description Name of the team. */
5245
+ name: string;
5246
+ /** @description Human readable description of the team. */
5247
+ description?: string;
5248
+ /**
5249
+ * Format: uuid
5250
+ * @description Identifier of the team owner.
5251
+ */
5252
+ owner?: string;
5253
+ /** @description Free-form metadata associated with the team. */
5254
+ metadata?: {
5255
+ [key: string]: unknown;
5256
+ };
5257
+ /**
5258
+ * Format: date-time
5259
+ * @description Timestamp when the team was created.
5260
+ */
5261
+ createdAt?: string;
5262
+ /**
5263
+ * Format: date-time
5264
+ * @description Timestamp when the team was last updated.
5265
+ */
5266
+ updatedAt?: string;
5267
+ /**
5268
+ * Format: date-time
5269
+ * @description Timestamp when the team was soft-deleted (null if not deleted).
5270
+ */
5271
+ deletedAt?: string | null;
5272
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
5273
+ roleNames: string[];
5274
+ }[];
4807
5275
  /** @description Total number of team memberships returned for the user. */
4808
5276
  totalCount?: number;
4809
5277
  };
4810
5278
  /** @description Organizations the user belongs to with role information */
4811
5279
  organizations?: {
4812
5280
  /** @description Organization memberships for the user with their assigned roles. */
4813
- organizationsWithRoles?: Record<string, never>[];
5281
+ organizationsWithRoles?: {
5282
+ /**
5283
+ * Format: uuid
5284
+ * @description Unique identifier of the organization.
5285
+ */
5286
+ id: string;
5287
+ /** @description Name of the organization. */
5288
+ name: string;
5289
+ /** @description Human readable description of the organization. */
5290
+ description?: string;
5291
+ /** @description Country associated with the organization. */
5292
+ country?: string;
5293
+ /** @description Region associated with the organization. */
5294
+ region?: string;
5295
+ /**
5296
+ * Format: uuid
5297
+ * @description Identifier of the organization owner.
5298
+ */
5299
+ owner?: string;
5300
+ /**
5301
+ * Format: date-time
5302
+ * @description Timestamp when the organization was created.
5303
+ */
5304
+ createdAt?: string;
5305
+ /**
5306
+ * Format: date-time
5307
+ * @description Timestamp when the organization was last updated.
5308
+ */
5309
+ updatedAt?: string;
5310
+ /**
5311
+ * Format: date-time
5312
+ * @description Timestamp when the organization was soft-deleted (null if not deleted).
5313
+ */
5314
+ deletedAt?: string | null;
5315
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
5316
+ roleNames: string[];
5317
+ }[];
4814
5318
  /** @description Total number of organization memberships returned for the user. */
4815
5319
  totalCount?: number;
4816
5320
  };
@@ -5348,24 +5852,96 @@ export interface operations {
5348
5852
  */
5349
5853
  deletedAt: string | null;
5350
5854
  /**
5351
- * @description List of global roles assigned to the user
5855
+ * @description Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set.
5352
5856
  * @example [
5353
- * "admin",
5354
- * "meshmap"
5857
+ * "organization admin",
5858
+ * "user"
5355
5859
  * ]
5356
5860
  */
5357
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
5861
+ roleNames?: string[];
5358
5862
  /** @description Teams the user belongs to with role information */
5359
5863
  teams?: {
5360
5864
  /** @description Team memberships for the user with their assigned roles. */
5361
- teamsWithRoles?: Record<string, never>[];
5865
+ teamsWithRoles?: {
5866
+ /**
5867
+ * Format: uuid
5868
+ * @description Unique identifier of the team.
5869
+ */
5870
+ id: string;
5871
+ /** @description Name of the team. */
5872
+ name: string;
5873
+ /** @description Human readable description of the team. */
5874
+ description?: string;
5875
+ /**
5876
+ * Format: uuid
5877
+ * @description Identifier of the team owner.
5878
+ */
5879
+ owner?: string;
5880
+ /** @description Free-form metadata associated with the team. */
5881
+ metadata?: {
5882
+ [key: string]: unknown;
5883
+ };
5884
+ /**
5885
+ * Format: date-time
5886
+ * @description Timestamp when the team was created.
5887
+ */
5888
+ createdAt?: string;
5889
+ /**
5890
+ * Format: date-time
5891
+ * @description Timestamp when the team was last updated.
5892
+ */
5893
+ updatedAt?: string;
5894
+ /**
5895
+ * Format: date-time
5896
+ * @description Timestamp when the team was soft-deleted (null if not deleted).
5897
+ */
5898
+ deletedAt?: string | null;
5899
+ /** @description Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
5900
+ roleNames: string[];
5901
+ }[];
5362
5902
  /** @description Total number of team memberships returned for the user. */
5363
5903
  totalCount?: number;
5364
5904
  };
5365
5905
  /** @description Organizations the user belongs to with role information */
5366
5906
  organizations?: {
5367
5907
  /** @description Organization memberships for the user with their assigned roles. */
5368
- organizationsWithRoles?: Record<string, never>[];
5908
+ organizationsWithRoles?: {
5909
+ /**
5910
+ * Format: uuid
5911
+ * @description Unique identifier of the organization.
5912
+ */
5913
+ id: string;
5914
+ /** @description Name of the organization. */
5915
+ name: string;
5916
+ /** @description Human readable description of the organization. */
5917
+ description?: string;
5918
+ /** @description Country associated with the organization. */
5919
+ country?: string;
5920
+ /** @description Region associated with the organization. */
5921
+ region?: string;
5922
+ /**
5923
+ * Format: uuid
5924
+ * @description Identifier of the organization owner.
5925
+ */
5926
+ owner?: string;
5927
+ /**
5928
+ * Format: date-time
5929
+ * @description Timestamp when the organization was created.
5930
+ */
5931
+ createdAt?: string;
5932
+ /**
5933
+ * Format: date-time
5934
+ * @description Timestamp when the organization was last updated.
5935
+ */
5936
+ updatedAt?: string;
5937
+ /**
5938
+ * Format: date-time
5939
+ * @description Timestamp when the organization was soft-deleted (null if not deleted).
5940
+ */
5941
+ deletedAt?: string | null;
5942
+ /** @description Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
5943
+ roleNames: string[];
5944
+ }[];
5369
5945
  /** @description Total number of organization memberships returned for the user. */
5370
5946
  totalCount?: number;
5371
5947
  };