@meshery/schemas 1.3.14 → 1.3.15

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.
@@ -2247,19 +2247,61 @@ type GetUsersForOrgApiResponse = {
2247
2247
  }[];
2248
2248
  /** Timestamp when the user record was soft-deleted (null if not deleted) */
2249
2249
  deletedAt: string | null;
2250
- /** List of global roles assigned to the user */
2251
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
2250
+ /** 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. */
2251
+ roleNames?: string[];
2252
2252
  /** Teams the user belongs to with role information */
2253
2253
  teams?: {
2254
2254
  /** Team memberships for the user with their assigned roles. */
2255
- teamsWithRoles?: object[];
2255
+ teamsWithRoles?: {
2256
+ /** Unique identifier of the team. */
2257
+ id: string;
2258
+ /** Name of the team. */
2259
+ name: string;
2260
+ /** Human readable description of the team. */
2261
+ description?: string;
2262
+ /** Identifier of the team owner. */
2263
+ owner?: string;
2264
+ /** Free-form metadata associated with the team. */
2265
+ metadata?: {
2266
+ [key: string]: any;
2267
+ };
2268
+ /** Timestamp when the team was created. */
2269
+ createdAt?: string;
2270
+ /** Timestamp when the team was last updated. */
2271
+ updatedAt?: string;
2272
+ /** Timestamp when the team was soft-deleted (null if not deleted). */
2273
+ deletedAt?: string | null;
2274
+ /** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2275
+ roleNames: string[];
2276
+ }[];
2256
2277
  /** Total number of team memberships returned for the user. */
2257
2278
  totalCount?: number;
2258
2279
  };
2259
2280
  /** Organizations the user belongs to with role information */
2260
2281
  organizations?: {
2261
2282
  /** Organization memberships for the user with their assigned roles. */
2262
- organizationsWithRoles?: object[];
2283
+ organizationsWithRoles?: {
2284
+ /** Unique identifier of the organization. */
2285
+ id: string;
2286
+ /** Name of the organization. */
2287
+ name: string;
2288
+ /** Human readable description of the organization. */
2289
+ description?: string;
2290
+ /** Country associated with the organization. */
2291
+ country?: string;
2292
+ /** Region associated with the organization. */
2293
+ region?: string;
2294
+ /** Identifier of the organization owner. */
2295
+ owner?: string;
2296
+ /** Timestamp when the organization was created. */
2297
+ createdAt?: string;
2298
+ /** Timestamp when the organization was last updated. */
2299
+ updatedAt?: string;
2300
+ /** Timestamp when the organization was soft-deleted (null if not deleted). */
2301
+ deletedAt?: string | null;
2302
+ /** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2303
+ roleNames: string[];
2304
+ }[];
2263
2305
  /** Total number of organization memberships returned for the user. */
2264
2306
  totalCount?: number;
2265
2307
  };
@@ -2402,19 +2444,61 @@ type GetUsersApiResponse = {
2402
2444
  }[];
2403
2445
  /** Timestamp when the user record was soft-deleted (null if not deleted) */
2404
2446
  deletedAt: string | null;
2405
- /** List of global roles assigned to the user */
2406
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
2447
+ /** 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. */
2448
+ roleNames?: string[];
2407
2449
  /** Teams the user belongs to with role information */
2408
2450
  teams?: {
2409
2451
  /** Team memberships for the user with their assigned roles. */
2410
- teamsWithRoles?: object[];
2452
+ teamsWithRoles?: {
2453
+ /** Unique identifier of the team. */
2454
+ id: string;
2455
+ /** Name of the team. */
2456
+ name: string;
2457
+ /** Human readable description of the team. */
2458
+ description?: string;
2459
+ /** Identifier of the team owner. */
2460
+ owner?: string;
2461
+ /** Free-form metadata associated with the team. */
2462
+ metadata?: {
2463
+ [key: string]: any;
2464
+ };
2465
+ /** Timestamp when the team was created. */
2466
+ createdAt?: string;
2467
+ /** Timestamp when the team was last updated. */
2468
+ updatedAt?: string;
2469
+ /** Timestamp when the team was soft-deleted (null if not deleted). */
2470
+ deletedAt?: string | null;
2471
+ /** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2472
+ roleNames: string[];
2473
+ }[];
2411
2474
  /** Total number of team memberships returned for the user. */
2412
2475
  totalCount?: number;
2413
2476
  };
2414
2477
  /** Organizations the user belongs to with role information */
2415
2478
  organizations?: {
2416
2479
  /** Organization memberships for the user with their assigned roles. */
2417
- organizationsWithRoles?: object[];
2480
+ organizationsWithRoles?: {
2481
+ /** Unique identifier of the organization. */
2482
+ id: string;
2483
+ /** Name of the organization. */
2484
+ name: string;
2485
+ /** Human readable description of the organization. */
2486
+ description?: string;
2487
+ /** Country associated with the organization. */
2488
+ country?: string;
2489
+ /** Region associated with the organization. */
2490
+ region?: string;
2491
+ /** Identifier of the organization owner. */
2492
+ owner?: string;
2493
+ /** Timestamp when the organization was created. */
2494
+ createdAt?: string;
2495
+ /** Timestamp when the organization was last updated. */
2496
+ updatedAt?: string;
2497
+ /** Timestamp when the organization was soft-deleted (null if not deleted). */
2498
+ deletedAt?: string | null;
2499
+ /** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2500
+ roleNames: string[];
2501
+ }[];
2418
2502
  /** Total number of organization memberships returned for the user. */
2419
2503
  totalCount?: number;
2420
2504
  };
@@ -2545,19 +2629,61 @@ type GetUserProfileByIdApiResponse = {
2545
2629
  }[];
2546
2630
  /** Timestamp when the user record was soft-deleted (null if not deleted) */
2547
2631
  deletedAt: string | null;
2548
- /** List of global roles assigned to the user */
2549
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
2632
+ /** 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. */
2633
+ roleNames?: string[];
2550
2634
  /** Teams the user belongs to with role information */
2551
2635
  teams?: {
2552
2636
  /** Team memberships for the user with their assigned roles. */
2553
- teamsWithRoles?: object[];
2637
+ teamsWithRoles?: {
2638
+ /** Unique identifier of the team. */
2639
+ id: string;
2640
+ /** Name of the team. */
2641
+ name: string;
2642
+ /** Human readable description of the team. */
2643
+ description?: string;
2644
+ /** Identifier of the team owner. */
2645
+ owner?: string;
2646
+ /** Free-form metadata associated with the team. */
2647
+ metadata?: {
2648
+ [key: string]: any;
2649
+ };
2650
+ /** Timestamp when the team was created. */
2651
+ createdAt?: string;
2652
+ /** Timestamp when the team was last updated. */
2653
+ updatedAt?: string;
2654
+ /** Timestamp when the team was soft-deleted (null if not deleted). */
2655
+ deletedAt?: string | null;
2656
+ /** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2657
+ roleNames: string[];
2658
+ }[];
2554
2659
  /** Total number of team memberships returned for the user. */
2555
2660
  totalCount?: number;
2556
2661
  };
2557
2662
  /** Organizations the user belongs to with role information */
2558
2663
  organizations?: {
2559
2664
  /** Organization memberships for the user with their assigned roles. */
2560
- organizationsWithRoles?: object[];
2665
+ organizationsWithRoles?: {
2666
+ /** Unique identifier of the organization. */
2667
+ id: string;
2668
+ /** Name of the organization. */
2669
+ name: string;
2670
+ /** Human readable description of the organization. */
2671
+ description?: string;
2672
+ /** Country associated with the organization. */
2673
+ country?: string;
2674
+ /** Region associated with the organization. */
2675
+ region?: string;
2676
+ /** Identifier of the organization owner. */
2677
+ owner?: string;
2678
+ /** Timestamp when the organization was created. */
2679
+ createdAt?: string;
2680
+ /** Timestamp when the organization was last updated. */
2681
+ updatedAt?: string;
2682
+ /** Timestamp when the organization was soft-deleted (null if not deleted). */
2683
+ deletedAt?: string | null;
2684
+ /** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2685
+ roleNames: string[];
2686
+ }[];
2561
2687
  /** Total number of organization memberships returned for the user. */
2562
2688
  totalCount?: number;
2563
2689
  };
@@ -2679,19 +2805,61 @@ type GetUserApiResponse = {
2679
2805
  }[];
2680
2806
  /** Timestamp when the user record was soft-deleted (null if not deleted) */
2681
2807
  deletedAt: string | null;
2682
- /** List of global roles assigned to the user */
2683
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
2808
+ /** 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. */
2809
+ roleNames?: string[];
2684
2810
  /** Teams the user belongs to with role information */
2685
2811
  teams?: {
2686
2812
  /** Team memberships for the user with their assigned roles. */
2687
- teamsWithRoles?: object[];
2813
+ teamsWithRoles?: {
2814
+ /** Unique identifier of the team. */
2815
+ id: string;
2816
+ /** Name of the team. */
2817
+ name: string;
2818
+ /** Human readable description of the team. */
2819
+ description?: string;
2820
+ /** Identifier of the team owner. */
2821
+ owner?: string;
2822
+ /** Free-form metadata associated with the team. */
2823
+ metadata?: {
2824
+ [key: string]: any;
2825
+ };
2826
+ /** Timestamp when the team was created. */
2827
+ createdAt?: string;
2828
+ /** Timestamp when the team was last updated. */
2829
+ updatedAt?: string;
2830
+ /** Timestamp when the team was soft-deleted (null if not deleted). */
2831
+ deletedAt?: string | null;
2832
+ /** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
2833
+ roleNames: string[];
2834
+ }[];
2688
2835
  /** Total number of team memberships returned for the user. */
2689
2836
  totalCount?: number;
2690
2837
  };
2691
2838
  /** Organizations the user belongs to with role information */
2692
2839
  organizations?: {
2693
2840
  /** Organization memberships for the user with their assigned roles. */
2694
- organizationsWithRoles?: object[];
2841
+ organizationsWithRoles?: {
2842
+ /** Unique identifier of the organization. */
2843
+ id: string;
2844
+ /** Name of the organization. */
2845
+ name: string;
2846
+ /** Human readable description of the organization. */
2847
+ description?: string;
2848
+ /** Country associated with the organization. */
2849
+ country?: string;
2850
+ /** Region associated with the organization. */
2851
+ region?: string;
2852
+ /** Identifier of the organization owner. */
2853
+ owner?: string;
2854
+ /** Timestamp when the organization was created. */
2855
+ createdAt?: string;
2856
+ /** Timestamp when the organization was last updated. */
2857
+ updatedAt?: string;
2858
+ /** Timestamp when the organization was soft-deleted (null if not deleted). */
2859
+ deletedAt?: string | null;
2860
+ /** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
2861
+ roleNames: string[];
2862
+ }[];
2695
2863
  /** Total number of organization memberships returned for the user. */
2696
2864
  totalCount?: number;
2697
2865
  };
@@ -6695,19 +6863,61 @@ type GetPatternsApiResponse = {
6695
6863
  }[];
6696
6864
  /** Timestamp when the user record was soft-deleted (null if not deleted) */
6697
6865
  deletedAt: string | null;
6698
- /** List of global roles assigned to the user */
6699
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
6866
+ /** 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. */
6867
+ roleNames?: string[];
6700
6868
  /** Teams the user belongs to with role information */
6701
6869
  teams?: {
6702
6870
  /** Team memberships for the user with their assigned roles. */
6703
- teamsWithRoles?: object[];
6871
+ teamsWithRoles?: {
6872
+ /** Unique identifier of the team. */
6873
+ id: string;
6874
+ /** Name of the team. */
6875
+ name: string;
6876
+ /** Human readable description of the team. */
6877
+ description?: string;
6878
+ /** Identifier of the team owner. */
6879
+ owner?: string;
6880
+ /** Free-form metadata associated with the team. */
6881
+ metadata?: {
6882
+ [key: string]: any;
6883
+ };
6884
+ /** Timestamp when the team was created. */
6885
+ createdAt?: string;
6886
+ /** Timestamp when the team was last updated. */
6887
+ updatedAt?: string;
6888
+ /** Timestamp when the team was soft-deleted (null if not deleted). */
6889
+ deletedAt?: string | null;
6890
+ /** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
6891
+ roleNames: string[];
6892
+ }[];
6704
6893
  /** Total number of team memberships returned for the user. */
6705
6894
  totalCount?: number;
6706
6895
  };
6707
6896
  /** Organizations the user belongs to with role information */
6708
6897
  organizations?: {
6709
6898
  /** Organization memberships for the user with their assigned roles. */
6710
- organizationsWithRoles?: object[];
6899
+ organizationsWithRoles?: {
6900
+ /** Unique identifier of the organization. */
6901
+ id: string;
6902
+ /** Name of the organization. */
6903
+ name: string;
6904
+ /** Human readable description of the organization. */
6905
+ description?: string;
6906
+ /** Country associated with the organization. */
6907
+ country?: string;
6908
+ /** Region associated with the organization. */
6909
+ region?: string;
6910
+ /** Identifier of the organization owner. */
6911
+ owner?: string;
6912
+ /** Timestamp when the organization was created. */
6913
+ createdAt?: string;
6914
+ /** Timestamp when the organization was last updated. */
6915
+ updatedAt?: string;
6916
+ /** Timestamp when the organization was soft-deleted (null if not deleted). */
6917
+ deletedAt?: string | null;
6918
+ /** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
6919
+ roleNames: string[];
6920
+ }[];
6711
6921
  /** Total number of organization memberships returned for the user. */
6712
6922
  totalCount?: number;
6713
6923
  };
@@ -6914,19 +7124,61 @@ type UpsertPatternApiResponse = {
6914
7124
  }[];
6915
7125
  /** Timestamp when the user record was soft-deleted (null if not deleted) */
6916
7126
  deletedAt: string | null;
6917
- /** List of global roles assigned to the user */
6918
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
7127
+ /** 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. */
7128
+ roleNames?: string[];
6919
7129
  /** Teams the user belongs to with role information */
6920
7130
  teams?: {
6921
7131
  /** Team memberships for the user with their assigned roles. */
6922
- teamsWithRoles?: object[];
7132
+ teamsWithRoles?: {
7133
+ /** Unique identifier of the team. */
7134
+ id: string;
7135
+ /** Name of the team. */
7136
+ name: string;
7137
+ /** Human readable description of the team. */
7138
+ description?: string;
7139
+ /** Identifier of the team owner. */
7140
+ owner?: string;
7141
+ /** Free-form metadata associated with the team. */
7142
+ metadata?: {
7143
+ [key: string]: any;
7144
+ };
7145
+ /** Timestamp when the team was created. */
7146
+ createdAt?: string;
7147
+ /** Timestamp when the team was last updated. */
7148
+ updatedAt?: string;
7149
+ /** Timestamp when the team was soft-deleted (null if not deleted). */
7150
+ deletedAt?: string | null;
7151
+ /** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
7152
+ roleNames: string[];
7153
+ }[];
6923
7154
  /** Total number of team memberships returned for the user. */
6924
7155
  totalCount?: number;
6925
7156
  };
6926
7157
  /** Organizations the user belongs to with role information */
6927
7158
  organizations?: {
6928
7159
  /** Organization memberships for the user with their assigned roles. */
6929
- organizationsWithRoles?: object[];
7160
+ organizationsWithRoles?: {
7161
+ /** Unique identifier of the organization. */
7162
+ id: string;
7163
+ /** Name of the organization. */
7164
+ name: string;
7165
+ /** Human readable description of the organization. */
7166
+ description?: string;
7167
+ /** Country associated with the organization. */
7168
+ country?: string;
7169
+ /** Region associated with the organization. */
7170
+ region?: string;
7171
+ /** Identifier of the organization owner. */
7172
+ owner?: string;
7173
+ /** Timestamp when the organization was created. */
7174
+ createdAt?: string;
7175
+ /** Timestamp when the organization was last updated. */
7176
+ updatedAt?: string;
7177
+ /** Timestamp when the organization was soft-deleted (null if not deleted). */
7178
+ deletedAt?: string | null;
7179
+ /** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
7180
+ roleNames: string[];
7181
+ }[];
6930
7182
  /** Total number of organization memberships returned for the user. */
6931
7183
  totalCount?: number;
6932
7184
  };
@@ -7191,19 +7443,61 @@ type GetPatternApiResponse = {
7191
7443
  }[];
7192
7444
  /** Timestamp when the user record was soft-deleted (null if not deleted) */
7193
7445
  deletedAt: string | null;
7194
- /** List of global roles assigned to the user */
7195
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
7446
+ /** 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. */
7447
+ roleNames?: string[];
7196
7448
  /** Teams the user belongs to with role information */
7197
7449
  teams?: {
7198
7450
  /** Team memberships for the user with their assigned roles. */
7199
- teamsWithRoles?: object[];
7451
+ teamsWithRoles?: {
7452
+ /** Unique identifier of the team. */
7453
+ id: string;
7454
+ /** Name of the team. */
7455
+ name: string;
7456
+ /** Human readable description of the team. */
7457
+ description?: string;
7458
+ /** Identifier of the team owner. */
7459
+ owner?: string;
7460
+ /** Free-form metadata associated with the team. */
7461
+ metadata?: {
7462
+ [key: string]: any;
7463
+ };
7464
+ /** Timestamp when the team was created. */
7465
+ createdAt?: string;
7466
+ /** Timestamp when the team was last updated. */
7467
+ updatedAt?: string;
7468
+ /** Timestamp when the team was soft-deleted (null if not deleted). */
7469
+ deletedAt?: string | null;
7470
+ /** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
7471
+ roleNames: string[];
7472
+ }[];
7200
7473
  /** Total number of team memberships returned for the user. */
7201
7474
  totalCount?: number;
7202
7475
  };
7203
7476
  /** Organizations the user belongs to with role information */
7204
7477
  organizations?: {
7205
7478
  /** Organization memberships for the user with their assigned roles. */
7206
- organizationsWithRoles?: object[];
7479
+ organizationsWithRoles?: {
7480
+ /** Unique identifier of the organization. */
7481
+ id: string;
7482
+ /** Name of the organization. */
7483
+ name: string;
7484
+ /** Human readable description of the organization. */
7485
+ description?: string;
7486
+ /** Country associated with the organization. */
7487
+ country?: string;
7488
+ /** Region associated with the organization. */
7489
+ region?: string;
7490
+ /** Identifier of the organization owner. */
7491
+ owner?: string;
7492
+ /** Timestamp when the organization was created. */
7493
+ createdAt?: string;
7494
+ /** Timestamp when the organization was last updated. */
7495
+ updatedAt?: string;
7496
+ /** Timestamp when the organization was soft-deleted (null if not deleted). */
7497
+ deletedAt?: string | null;
7498
+ /** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
7499
+ roleNames: string[];
7500
+ }[];
7207
7501
  /** Total number of organization memberships returned for the user. */
7208
7502
  totalCount?: number;
7209
7503
  };
@@ -7392,19 +7686,61 @@ type ClonePatternApiResponse = {
7392
7686
  }[];
7393
7687
  /** Timestamp when the user record was soft-deleted (null if not deleted) */
7394
7688
  deletedAt: string | null;
7395
- /** List of global roles assigned to the user */
7396
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
7689
+ /** 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. */
7690
+ roleNames?: string[];
7397
7691
  /** Teams the user belongs to with role information */
7398
7692
  teams?: {
7399
7693
  /** Team memberships for the user with their assigned roles. */
7400
- teamsWithRoles?: object[];
7694
+ teamsWithRoles?: {
7695
+ /** Unique identifier of the team. */
7696
+ id: string;
7697
+ /** Name of the team. */
7698
+ name: string;
7699
+ /** Human readable description of the team. */
7700
+ description?: string;
7701
+ /** Identifier of the team owner. */
7702
+ owner?: string;
7703
+ /** Free-form metadata associated with the team. */
7704
+ metadata?: {
7705
+ [key: string]: any;
7706
+ };
7707
+ /** Timestamp when the team was created. */
7708
+ createdAt?: string;
7709
+ /** Timestamp when the team was last updated. */
7710
+ updatedAt?: string;
7711
+ /** Timestamp when the team was soft-deleted (null if not deleted). */
7712
+ deletedAt?: string | null;
7713
+ /** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
7714
+ roleNames: string[];
7715
+ }[];
7401
7716
  /** Total number of team memberships returned for the user. */
7402
7717
  totalCount?: number;
7403
7718
  };
7404
7719
  /** Organizations the user belongs to with role information */
7405
7720
  organizations?: {
7406
7721
  /** Organization memberships for the user with their assigned roles. */
7407
- organizationsWithRoles?: object[];
7722
+ organizationsWithRoles?: {
7723
+ /** Unique identifier of the organization. */
7724
+ id: string;
7725
+ /** Name of the organization. */
7726
+ name: string;
7727
+ /** Human readable description of the organization. */
7728
+ description?: string;
7729
+ /** Country associated with the organization. */
7730
+ country?: string;
7731
+ /** Region associated with the organization. */
7732
+ region?: string;
7733
+ /** Identifier of the organization owner. */
7734
+ owner?: string;
7735
+ /** Timestamp when the organization was created. */
7736
+ createdAt?: string;
7737
+ /** Timestamp when the organization was last updated. */
7738
+ updatedAt?: string;
7739
+ /** Timestamp when the organization was soft-deleted (null if not deleted). */
7740
+ deletedAt?: string | null;
7741
+ /** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
7742
+ roleNames: string[];
7743
+ }[];
7408
7744
  /** Total number of organization memberships returned for the user. */
7409
7745
  totalCount?: number;
7410
7746
  };
@@ -7625,19 +7961,61 @@ type GetCatalogContentApiResponse = {
7625
7961
  }[];
7626
7962
  /** Timestamp when the user record was soft-deleted (null if not deleted) */
7627
7963
  deletedAt: string | null;
7628
- /** List of global roles assigned to the user */
7629
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
7964
+ /** 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. */
7965
+ roleNames?: string[];
7630
7966
  /** Teams the user belongs to with role information */
7631
7967
  teams?: {
7632
7968
  /** Team memberships for the user with their assigned roles. */
7633
- teamsWithRoles?: object[];
7969
+ teamsWithRoles?: {
7970
+ /** Unique identifier of the team. */
7971
+ id: string;
7972
+ /** Name of the team. */
7973
+ name: string;
7974
+ /** Human readable description of the team. */
7975
+ description?: string;
7976
+ /** Identifier of the team owner. */
7977
+ owner?: string;
7978
+ /** Free-form metadata associated with the team. */
7979
+ metadata?: {
7980
+ [key: string]: any;
7981
+ };
7982
+ /** Timestamp when the team was created. */
7983
+ createdAt?: string;
7984
+ /** Timestamp when the team was last updated. */
7985
+ updatedAt?: string;
7986
+ /** Timestamp when the team was soft-deleted (null if not deleted). */
7987
+ deletedAt?: string | null;
7988
+ /** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
7989
+ roleNames: string[];
7990
+ }[];
7634
7991
  /** Total number of team memberships returned for the user. */
7635
7992
  totalCount?: number;
7636
7993
  };
7637
7994
  /** Organizations the user belongs to with role information */
7638
7995
  organizations?: {
7639
7996
  /** Organization memberships for the user with their assigned roles. */
7640
- organizationsWithRoles?: object[];
7997
+ organizationsWithRoles?: {
7998
+ /** Unique identifier of the organization. */
7999
+ id: string;
8000
+ /** Name of the organization. */
8001
+ name: string;
8002
+ /** Human readable description of the organization. */
8003
+ description?: string;
8004
+ /** Country associated with the organization. */
8005
+ country?: string;
8006
+ /** Region associated with the organization. */
8007
+ region?: string;
8008
+ /** Identifier of the organization owner. */
8009
+ owner?: string;
8010
+ /** Timestamp when the organization was created. */
8011
+ createdAt?: string;
8012
+ /** Timestamp when the organization was last updated. */
8013
+ updatedAt?: string;
8014
+ /** Timestamp when the organization was soft-deleted (null if not deleted). */
8015
+ deletedAt?: string | null;
8016
+ /** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
8017
+ roleNames: string[];
8018
+ }[];
7641
8019
  /** Total number of organization memberships returned for the user. */
7642
8020
  totalCount?: number;
7643
8021
  };