@meshery/schemas 1.3.8 → 1.4.0

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.
Files changed (103) hide show
  1. package/dist/cloudApi.d.mts +4154 -1704
  2. package/dist/cloudApi.d.ts +4154 -1704
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1alpha1/capability/Capability.d.ts +106 -111
  6. package/dist/constructs/v1alpha1/core/Core.d.ts +822 -734
  7. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +45 -40
  8. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1829 -1716
  9. package/dist/constructs/v1beta1/academy/Academy.d.ts +6023 -6642
  10. package/dist/constructs/v1beta1/badge/Badge.d.ts +439 -600
  11. package/dist/constructs/v1beta1/capability/Capability.d.ts +106 -111
  12. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +45 -40
  13. package/dist/constructs/v1beta1/category/Category.d.ts +38 -26
  14. package/dist/constructs/v1beta1/component/Component.d.ts +833 -729
  15. package/dist/constructs/v1beta1/connection/Connection.d.ts +1170 -1357
  16. package/dist/constructs/v1beta1/core/Core.d.ts +822 -734
  17. package/dist/constructs/v1beta1/credential/Credential.d.ts +458 -593
  18. package/dist/constructs/v1beta1/environment/Environment.d.ts +666 -835
  19. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6142 -5619
  20. package/dist/constructs/v1beta1/event/Event.d.ts +527 -898
  21. package/dist/constructs/v1beta1/feature/Feature.d.ts +343 -389
  22. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +877 -1244
  23. package/dist/constructs/v1beta1/key/Key.d.ts +444 -589
  24. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +575 -796
  25. package/dist/constructs/v1beta1/model/Model.d.ts +598 -572
  26. package/dist/constructs/v1beta1/organization/Organization.d.ts +1410 -1829
  27. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17988 -17171
  28. package/dist/constructs/v1beta1/plan/Plan.d.ts +115 -159
  29. package/dist/constructs/v1beta1/role/Role.d.ts +688 -933
  30. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +315 -425
  31. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +61 -18
  32. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +674 -839
  33. package/dist/constructs/v1beta1/support/Support.d.ts +74 -115
  34. package/dist/constructs/v1beta1/system/System.d.ts +250 -385
  35. package/dist/constructs/v1beta1/team/Team.d.ts +762 -1028
  36. package/dist/constructs/v1beta1/token/Token.d.ts +475 -612
  37. package/dist/constructs/v1beta1/user/User.d.ts +1553 -1722
  38. package/dist/constructs/v1beta1/view/View.d.ts +664 -833
  39. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4705 -4910
  40. package/dist/constructs/v1beta2/academy/Academy.d.ts +7246 -7864
  41. package/dist/constructs/v1beta2/badge/Badge.d.ts +453 -610
  42. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +45 -40
  43. package/dist/constructs/v1beta2/component/Component.d.ts +851 -747
  44. package/dist/constructs/v1beta2/connection/Connection.d.ts +1189 -1376
  45. package/dist/constructs/v1beta2/core/Core.d.ts +856 -768
  46. package/dist/constructs/v1beta2/credential/Credential.d.ts +437 -572
  47. package/dist/constructs/v1beta2/design/Design.d.ts +18631 -17846
  48. package/dist/constructs/v1beta2/event/Event.d.ts +575 -946
  49. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +901 -1268
  50. package/dist/constructs/v1beta2/key/Key.d.ts +454 -599
  51. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +585 -806
  52. package/dist/constructs/v1beta2/model/Model.d.ts +636 -610
  53. package/dist/constructs/v1beta2/organization/Organization.d.ts +2017 -2458
  54. package/dist/constructs/v1beta2/plan/Plan.d.ts +128 -169
  55. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2013 -1844
  56. package/dist/constructs/v1beta2/role/Role.d.ts +695 -940
  57. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +356 -466
  58. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +701 -866
  59. package/dist/constructs/v1beta2/team/Team.d.ts +852 -1118
  60. package/dist/constructs/v1beta2/token/Token.d.ts +479 -616
  61. package/dist/constructs/v1beta2/user/User.d.ts +1553 -1722
  62. package/dist/constructs/v1beta2/view/View.d.ts +669 -838
  63. package/dist/constructs/v1beta3/academy/Academy.d.ts +7246 -7864
  64. package/dist/constructs/v1beta3/academy/AcademySchema.js +1 -1
  65. package/dist/constructs/v1beta3/academy/AcademySchema.mjs +1 -1
  66. package/dist/constructs/v1beta3/component/Component.d.ts +857 -753
  67. package/dist/constructs/v1beta3/connection/Connection.d.ts +5919 -1416
  68. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +25 -1
  69. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +25 -1
  70. package/dist/constructs/v1beta3/design/Design.d.ts +5297 -5719
  71. package/dist/constructs/v1beta3/design/DesignSchema.js +2 -2
  72. package/dist/constructs/v1beta3/design/DesignSchema.mjs +2 -2
  73. package/dist/constructs/v1beta3/environment/Environment.d.ts +689 -858
  74. package/dist/constructs/v1beta3/event/Event.d.ts +666 -1041
  75. package/dist/constructs/v1beta3/event/EventSchema.js +1 -1
  76. package/dist/constructs/v1beta3/event/EventSchema.mjs +1 -1
  77. package/dist/constructs/v1beta3/filter/Filter.d.ts +1300 -1438
  78. package/dist/constructs/v1beta3/filter/FilterSchema.js +7 -7
  79. package/dist/constructs/v1beta3/filter/FilterSchema.mjs +7 -7
  80. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +911 -1278
  81. package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
  82. package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
  83. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +1114 -1412
  84. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.js +1 -1
  85. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.mjs +1 -1
  86. package/dist/constructs/v1beta3/plan/Plan.d.ts +156 -197
  87. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2013 -1844
  88. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +804 -969
  89. package/dist/constructs/v1beta3/token/Token.d.ts +480 -617
  90. package/dist/constructs/v1beta3/token/TokenSchema.js +1 -1
  91. package/dist/constructs/v1beta3/token/TokenSchema.mjs +1 -1
  92. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +4825 -5033
  93. package/dist/index.d.mts +5032 -5501
  94. package/dist/index.d.ts +5032 -5501
  95. package/dist/mesheryApi.d.mts +3334 -884
  96. package/dist/mesheryApi.d.ts +3334 -884
  97. package/dist/mesheryApi.js +1 -1
  98. package/dist/mesheryApi.mjs +1 -1
  99. package/dist/permissions.d.mts +25 -1
  100. package/dist/permissions.d.ts +25 -1
  101. package/dist/permissions.js +1 -1
  102. package/dist/permissions.mjs +1 -1
  103. package/package.json +1 -1
@@ -4,176 +4,889 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/api/identity/orgs/{orgId}/users": {
8
- parameters: {
9
- query?: never;
10
- header?: never;
11
- path?: never;
12
- cookie?: never;
7
+ "/api/identity/orgs/{orgId}/users": {
8
+ /** Returns organization users, optionally filtered by team membership. */
9
+ get: operations["getUsersForOrg"];
10
+ };
11
+ "/api/users": {
12
+ /** Returns publicly viewable user records. */
13
+ get: operations["getUsers"];
14
+ };
15
+ "/api/identity/users/profile/{id}": {
16
+ get: operations["getUserProfileById"];
17
+ };
18
+ "/api/identity/users/profile": {
19
+ get: operations["getUser"];
20
+ };
21
+ }
22
+
23
+ export interface components {
24
+ schemas: {
25
+ /** @description Represents a user */
26
+ User: {
27
+ /**
28
+ * Format: uuid
29
+ * @description Unique identifier for the user
30
+ */
31
+ id: string;
32
+ /** @description User identifier (username or external ID) */
33
+ userId: string;
34
+ /**
35
+ * @description Authentication provider (e.g., Google, Github)
36
+ * @example [
37
+ * "local",
38
+ * "github",
39
+ * "google",
40
+ * "twitter"
41
+ * ]
42
+ */
43
+ provider: string;
44
+ /**
45
+ * Format: email
46
+ * @description User's email address
47
+ */
48
+ email: string;
49
+ /** @description User's first name */
50
+ firstName: string;
51
+ /** @description User's last name */
52
+ lastName: string;
53
+ /**
54
+ * Format: uri
55
+ * @description URL to user's avatar image
56
+ */
57
+ avatarUrl?: string;
58
+ /**
59
+ * @description User account status
60
+ * @enum {string}
61
+ */
62
+ status: "active" | "inactive" | "pending" | "anonymous";
63
+ /**
64
+ * @description User's biography or description
65
+ * @default
66
+ */
67
+ bio?: string;
68
+ /** @description User's country information stored as JSONB */
69
+ country?: { [key: string]: unknown };
70
+ /** @description User's region information stored as JSONB */
71
+ region?: { [key: string]: unknown };
72
+ /** @description User preferences stored as JSONB */
73
+ preferences?: {
74
+ /** @description The mesh adapters of the preference. */
75
+ meshAdapters?: { [key: string]: unknown }[];
76
+ grafana?: {
77
+ /** @description Grafana URL for the user configuration. */
78
+ grafanaUrl?: string;
79
+ /** @description Grafana API key for the user configuration. */
80
+ grafanaApiKey?: string;
81
+ /** @description Selected Grafana board configurations for the user. */
82
+ selectedBoardsConfigs?: {
83
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
84
+ board?: { [key: string]: unknown };
85
+ /** @description Panels selected for the Grafana board configuration. */
86
+ panels?: { [key: string]: unknown }[];
87
+ /** @description Template variables applied to the selected Grafana board configuration. */
88
+ templateVars?: string[];
89
+ }[];
90
+ };
91
+ prometheus?: {
92
+ /** @description The prometheus URL of the prometheus. */
93
+ prometheusUrl?: string;
94
+ /** @description The selected prometheus boards configs of the prometheus. */
95
+ selectedPrometheusBoardsConfigs?: {
96
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
97
+ board?: { [key: string]: unknown };
98
+ /** @description Panels selected for the Grafana board configuration. */
99
+ panels?: { [key: string]: unknown }[];
100
+ /** @description Template variables applied to the selected Grafana board configuration. */
101
+ templateVars?: string[];
102
+ }[];
13
103
  };
104
+ loadTestPrefs?: {
105
+ /** @description Concurrent requests */
106
+ c?: number;
107
+ /** @description Queries per second */
108
+ qps?: number;
109
+ /** @description Duration */
110
+ t?: string;
111
+ /** @description Load generator */
112
+ gen?: string;
113
+ };
114
+ /** @description The anonymous usage stats of the preference. */
115
+ anonymousUsageStats: boolean;
116
+ /** @description The anonymous perf results of the preference. */
117
+ anonymousPerfResults: boolean;
118
+ /**
119
+ * Format: date-time
120
+ * @description Timestamp of when the resource was last updated.
121
+ */
122
+ updatedAt: string;
123
+ /** @description The dashboard preferences of the preference. */
124
+ dashboardPreferences: { [key: string]: unknown };
125
+ /**
126
+ * Format: uuid
127
+ * @description ID of the associated selectedOrganization.
128
+ */
129
+ selectedOrganizationId: string;
130
+ /** @description The selected workspace for organizations of the preference. */
131
+ selectedWorkspaceForOrganizations: { [key: string]: string };
132
+ /** @description The users extension preferences of the preference. */
133
+ usersExtensionPreferences: { [key: string]: unknown };
134
+ /** @description The remote provider preferences of the preference. */
135
+ remoteProviderPreferences: { [key: string]: unknown };
136
+ };
137
+ /**
138
+ * Format: date-time
139
+ * @description Timestamp when user accepted terms and conditions
140
+ */
141
+ acceptedTermsAt?: string;
142
+ /**
143
+ * Format: date-time
144
+ * @description Timestamp of user's first login
145
+ */
146
+ firstLoginTime?: string;
147
+ /**
148
+ * Format: date-time
149
+ * @description Timestamp of user's most recent login
150
+ */
151
+ lastLoginTime: string;
152
+ /**
153
+ * Format: date-time
154
+ * @description Timestamp when the user record was created
155
+ */
156
+ createdAt: string;
157
+ /**
158
+ * Format: date-time
159
+ * @description Timestamp when the user record was last updated
160
+ */
161
+ updatedAt: string;
162
+ /** @description Various online profiles associated with the user account */
163
+ socials?: {
164
+ /** @description The site of the social. */
165
+ site: string;
14
166
  /**
15
- * Get organization users
16
- * @description Returns organization users, optionally filtered by team membership.
167
+ * Format: uri
168
+ * @description The link of the social.
17
169
  */
18
- get: operations["getUsersForOrg"];
19
- put?: never;
20
- post?: never;
21
- delete?: never;
22
- options?: never;
23
- head?: never;
24
- patch?: never;
25
- trace?: never;
170
+ link: string;
171
+ }[];
172
+ /**
173
+ * Format: date-time
174
+ * @description Timestamp when the user record was soft-deleted (null if not deleted)
175
+ */
176
+ deletedAt: string | null;
177
+ /**
178
+ * @description List of global roles assigned to the user
179
+ * @example [
180
+ * "admin",
181
+ * "meshmap"
182
+ * ]
183
+ */
184
+ roleNames?: (
185
+ | "admin"
186
+ | "meshmap"
187
+ | "curator"
188
+ | "team admin"
189
+ | "workspace admin"
190
+ | "workspace manager"
191
+ | "organization admin"
192
+ | "user"
193
+ )[];
194
+ /** @description Teams the user belongs to with role information */
195
+ teams?: {
196
+ /** @description Team memberships for the user with their assigned roles. */
197
+ teamsWithRoles?: { [key: string]: unknown }[];
198
+ /** @description Total number of team memberships returned for the user. */
199
+ totalCount?: number;
200
+ };
201
+ /** @description Organizations the user belongs to with role information */
202
+ organizations?: {
203
+ /** @description Organization memberships for the user with their assigned roles. */
204
+ organizationsWithRoles?: { [key: string]: unknown }[];
205
+ /** @description Total number of organization memberships returned for the user. */
206
+ totalCount?: number;
207
+ };
26
208
  };
27
- "/api/users": {
28
- parameters: {
29
- query?: never;
30
- header?: never;
31
- path?: never;
32
- cookie?: never;
209
+ /** @description Paginated list of users with organization and team role context */
210
+ UsersPageForAdmin: {
211
+ /** @description Current page number of the result set. */
212
+ page?: number;
213
+ /** @description Number of items per page. */
214
+ pageSize?: number;
215
+ /** @description Total number of items available. */
216
+ totalCount?: number;
217
+ /** @description The data of the userspageforadmin. */
218
+ data?: {
219
+ /**
220
+ * Format: uuid
221
+ * @description Unique identifier for the user
222
+ */
223
+ id: string;
224
+ /** @description User identifier (username or external ID) */
225
+ userId: string;
226
+ /**
227
+ * @description Authentication provider (e.g., Google, Github)
228
+ * @example [
229
+ * "local",
230
+ * "github",
231
+ * "google",
232
+ * "twitter"
233
+ * ]
234
+ */
235
+ provider: string;
236
+ /**
237
+ * Format: email
238
+ * @description User's email address
239
+ */
240
+ email: string;
241
+ /** @description User's first name */
242
+ firstName: string;
243
+ /** @description User's last name */
244
+ lastName: string;
245
+ /**
246
+ * Format: uri
247
+ * @description URL to user's avatar image
248
+ */
249
+ avatarUrl?: string;
250
+ /**
251
+ * @description User account status
252
+ * @enum {string}
253
+ */
254
+ status: "active" | "inactive" | "pending" | "anonymous";
255
+ /**
256
+ * @description User's biography or description
257
+ * @default
258
+ */
259
+ bio?: string;
260
+ /** @description User's country information stored as JSONB */
261
+ country?: { [key: string]: unknown };
262
+ /** @description User's region information stored as JSONB */
263
+ region?: { [key: string]: unknown };
264
+ /** @description User preferences stored as JSONB */
265
+ preferences?: {
266
+ /** @description The mesh adapters of the preference. */
267
+ meshAdapters?: { [key: string]: unknown }[];
268
+ grafana?: {
269
+ /** @description Grafana URL for the user configuration. */
270
+ grafanaUrl?: string;
271
+ /** @description Grafana API key for the user configuration. */
272
+ grafanaApiKey?: string;
273
+ /** @description Selected Grafana board configurations for the user. */
274
+ selectedBoardsConfigs?: {
275
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
276
+ board?: { [key: string]: unknown };
277
+ /** @description Panels selected for the Grafana board configuration. */
278
+ panels?: { [key: string]: unknown }[];
279
+ /** @description Template variables applied to the selected Grafana board configuration. */
280
+ templateVars?: string[];
281
+ }[];
282
+ };
283
+ prometheus?: {
284
+ /** @description The prometheus URL of the prometheus. */
285
+ prometheusUrl?: string;
286
+ /** @description The selected prometheus boards configs of the prometheus. */
287
+ selectedPrometheusBoardsConfigs?: {
288
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
289
+ board?: { [key: string]: unknown };
290
+ /** @description Panels selected for the Grafana board configuration. */
291
+ panels?: { [key: string]: unknown }[];
292
+ /** @description Template variables applied to the selected Grafana board configuration. */
293
+ templateVars?: string[];
294
+ }[];
295
+ };
296
+ loadTestPrefs?: {
297
+ /** @description Concurrent requests */
298
+ c?: number;
299
+ /** @description Queries per second */
300
+ qps?: number;
301
+ /** @description Duration */
302
+ t?: string;
303
+ /** @description Load generator */
304
+ gen?: string;
305
+ };
306
+ /** @description The anonymous usage stats of the preference. */
307
+ anonymousUsageStats: boolean;
308
+ /** @description The anonymous perf results of the preference. */
309
+ anonymousPerfResults: boolean;
310
+ /**
311
+ * Format: date-time
312
+ * @description Timestamp of when the resource was last updated.
313
+ */
314
+ updatedAt: string;
315
+ /** @description The dashboard preferences of the preference. */
316
+ dashboardPreferences: { [key: string]: unknown };
317
+ /**
318
+ * Format: uuid
319
+ * @description ID of the associated selectedOrganization.
320
+ */
321
+ selectedOrganizationId: string;
322
+ /** @description The selected workspace for organizations of the preference. */
323
+ selectedWorkspaceForOrganizations: { [key: string]: string };
324
+ /** @description The users extension preferences of the preference. */
325
+ usersExtensionPreferences: { [key: string]: unknown };
326
+ /** @description The remote provider preferences of the preference. */
327
+ remoteProviderPreferences: { [key: string]: unknown };
33
328
  };
34
329
  /**
35
- * Get public users
36
- * @description Returns publicly viewable user records.
330
+ * Format: date-time
331
+ * @description Timestamp when user accepted terms and conditions
37
332
  */
38
- get: operations["getUsers"];
39
- put?: never;
40
- post?: never;
41
- delete?: never;
42
- options?: never;
43
- head?: never;
44
- patch?: never;
45
- trace?: never;
46
- };
47
- "/api/identity/users/profile/{id}": {
48
- parameters: {
49
- query?: never;
50
- header?: never;
51
- path?: never;
52
- cookie?: never;
333
+ acceptedTermsAt?: string;
334
+ /**
335
+ * Format: date-time
336
+ * @description Timestamp of user's first login
337
+ */
338
+ firstLoginTime?: string;
339
+ /**
340
+ * Format: date-time
341
+ * @description Timestamp of user's most recent login
342
+ */
343
+ lastLoginTime: string;
344
+ /**
345
+ * Format: date-time
346
+ * @description Timestamp when the user record was created
347
+ */
348
+ createdAt: string;
349
+ /**
350
+ * Format: date-time
351
+ * @description Timestamp when the user record was last updated
352
+ */
353
+ updatedAt: string;
354
+ /** @description Various online profiles associated with the user account */
355
+ socials?: {
356
+ /** @description The site of the social. */
357
+ site: string;
358
+ /**
359
+ * Format: uri
360
+ * @description The link of the social.
361
+ */
362
+ link: string;
363
+ }[];
364
+ /**
365
+ * Format: date-time
366
+ * @description Timestamp when the user record was soft-deleted (null if not deleted)
367
+ */
368
+ deletedAt: string | null;
369
+ /**
370
+ * @description List of global roles assigned to the user
371
+ * @example [
372
+ * "admin",
373
+ * "meshmap"
374
+ * ]
375
+ */
376
+ roleNames?: (
377
+ | "admin"
378
+ | "meshmap"
379
+ | "curator"
380
+ | "team admin"
381
+ | "workspace admin"
382
+ | "workspace manager"
383
+ | "organization admin"
384
+ | "user"
385
+ )[];
386
+ /** @description Teams the user belongs to with role information */
387
+ teams?: {
388
+ /** @description Team memberships for the user with their assigned roles. */
389
+ teamsWithRoles?: { [key: string]: unknown }[];
390
+ /** @description Total number of team memberships returned for the user. */
391
+ totalCount?: number;
392
+ };
393
+ /** @description Organizations the user belongs to with role information */
394
+ organizations?: {
395
+ /** @description Organization memberships for the user with their assigned roles. */
396
+ organizationsWithRoles?: { [key: string]: unknown }[];
397
+ /** @description Total number of organization memberships returned for the user. */
398
+ totalCount?: number;
53
399
  };
54
- /** Get user profile by ID */
55
- get: operations["getUserProfileById"];
56
- put?: never;
57
- post?: never;
58
- delete?: never;
59
- options?: never;
60
- head?: never;
61
- patch?: never;
62
- trace?: never;
400
+ }[];
63
401
  };
64
- "/api/identity/users/profile": {
65
- parameters: {
66
- query?: never;
67
- header?: never;
68
- path?: never;
69
- cookie?: never;
402
+ /** @description Paginated list of public user records */
403
+ UsersPageForNonAdmin: {
404
+ /** @description Current page number of the result set. */
405
+ page?: number;
406
+ /** @description Number of items per page. */
407
+ pageSize?: number;
408
+ /** @description Total number of items available. */
409
+ totalCount?: number;
410
+ /** @description The data of the userspagefornonadmin. */
411
+ data?: {
412
+ /**
413
+ * Format: uuid
414
+ * @description Unique identifier for the user
415
+ */
416
+ id: string;
417
+ /** @description User identifier (username or external ID) */
418
+ userId: string;
419
+ /**
420
+ * @description Authentication provider (e.g., Google, Github)
421
+ * @example [
422
+ * "local",
423
+ * "github",
424
+ * "google",
425
+ * "twitter"
426
+ * ]
427
+ */
428
+ provider: string;
429
+ /**
430
+ * Format: email
431
+ * @description User's email address
432
+ */
433
+ email: string;
434
+ /** @description User's first name */
435
+ firstName: string;
436
+ /** @description User's last name */
437
+ lastName: string;
438
+ /**
439
+ * Format: uri
440
+ * @description URL to user's avatar image
441
+ */
442
+ avatarUrl?: string;
443
+ /**
444
+ * @description User account status
445
+ * @enum {string}
446
+ */
447
+ status: "active" | "inactive" | "pending" | "anonymous";
448
+ /**
449
+ * @description User's biography or description
450
+ * @default
451
+ */
452
+ bio?: string;
453
+ /** @description User's country information stored as JSONB */
454
+ country?: { [key: string]: unknown };
455
+ /** @description User's region information stored as JSONB */
456
+ region?: { [key: string]: unknown };
457
+ /** @description User preferences stored as JSONB */
458
+ preferences?: {
459
+ /** @description The mesh adapters of the preference. */
460
+ meshAdapters?: { [key: string]: unknown }[];
461
+ grafana?: {
462
+ /** @description Grafana URL for the user configuration. */
463
+ grafanaUrl?: string;
464
+ /** @description Grafana API key for the user configuration. */
465
+ grafanaApiKey?: string;
466
+ /** @description Selected Grafana board configurations for the user. */
467
+ selectedBoardsConfigs?: {
468
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
469
+ board?: { [key: string]: unknown };
470
+ /** @description Panels selected for the Grafana board configuration. */
471
+ panels?: { [key: string]: unknown }[];
472
+ /** @description Template variables applied to the selected Grafana board configuration. */
473
+ templateVars?: string[];
474
+ }[];
475
+ };
476
+ prometheus?: {
477
+ /** @description The prometheus URL of the prometheus. */
478
+ prometheusUrl?: string;
479
+ /** @description The selected prometheus boards configs of the prometheus. */
480
+ selectedPrometheusBoardsConfigs?: {
481
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
482
+ board?: { [key: string]: unknown };
483
+ /** @description Panels selected for the Grafana board configuration. */
484
+ panels?: { [key: string]: unknown }[];
485
+ /** @description Template variables applied to the selected Grafana board configuration. */
486
+ templateVars?: string[];
487
+ }[];
488
+ };
489
+ loadTestPrefs?: {
490
+ /** @description Concurrent requests */
491
+ c?: number;
492
+ /** @description Queries per second */
493
+ qps?: number;
494
+ /** @description Duration */
495
+ t?: string;
496
+ /** @description Load generator */
497
+ gen?: string;
498
+ };
499
+ /** @description The anonymous usage stats of the preference. */
500
+ anonymousUsageStats: boolean;
501
+ /** @description The anonymous perf results of the preference. */
502
+ anonymousPerfResults: boolean;
503
+ /**
504
+ * Format: date-time
505
+ * @description Timestamp of when the resource was last updated.
506
+ */
507
+ updatedAt: string;
508
+ /** @description The dashboard preferences of the preference. */
509
+ dashboardPreferences: { [key: string]: unknown };
510
+ /**
511
+ * Format: uuid
512
+ * @description ID of the associated selectedOrganization.
513
+ */
514
+ selectedOrganizationId: string;
515
+ /** @description The selected workspace for organizations of the preference. */
516
+ selectedWorkspaceForOrganizations: { [key: string]: string };
517
+ /** @description The users extension preferences of the preference. */
518
+ usersExtensionPreferences: { [key: string]: unknown };
519
+ /** @description The remote provider preferences of the preference. */
520
+ remoteProviderPreferences: { [key: string]: unknown };
521
+ };
522
+ /**
523
+ * Format: date-time
524
+ * @description Timestamp when user accepted terms and conditions
525
+ */
526
+ acceptedTermsAt?: string;
527
+ /**
528
+ * Format: date-time
529
+ * @description Timestamp of user's first login
530
+ */
531
+ firstLoginTime?: string;
532
+ /**
533
+ * Format: date-time
534
+ * @description Timestamp of user's most recent login
535
+ */
536
+ lastLoginTime: string;
537
+ /**
538
+ * Format: date-time
539
+ * @description Timestamp when the user record was created
540
+ */
541
+ createdAt: string;
542
+ /**
543
+ * Format: date-time
544
+ * @description Timestamp when the user record was last updated
545
+ */
546
+ updatedAt: string;
547
+ /** @description Various online profiles associated with the user account */
548
+ socials?: {
549
+ /** @description The site of the social. */
550
+ site: string;
551
+ /**
552
+ * Format: uri
553
+ * @description The link of the social.
554
+ */
555
+ link: string;
556
+ }[];
557
+ /**
558
+ * Format: date-time
559
+ * @description Timestamp when the user record was soft-deleted (null if not deleted)
560
+ */
561
+ deletedAt: string | null;
562
+ /**
563
+ * @description List of global roles assigned to the user
564
+ * @example [
565
+ * "admin",
566
+ * "meshmap"
567
+ * ]
568
+ */
569
+ roleNames?: (
570
+ | "admin"
571
+ | "meshmap"
572
+ | "curator"
573
+ | "team admin"
574
+ | "workspace admin"
575
+ | "workspace manager"
576
+ | "organization admin"
577
+ | "user"
578
+ )[];
579
+ /** @description Teams the user belongs to with role information */
580
+ teams?: {
581
+ /** @description Team memberships for the user with their assigned roles. */
582
+ teamsWithRoles?: { [key: string]: unknown }[];
583
+ /** @description Total number of team memberships returned for the user. */
584
+ totalCount?: number;
70
585
  };
71
- /** Get current user profile */
72
- get: operations["getUser"];
73
- put?: never;
74
- post?: never;
75
- delete?: never;
76
- options?: never;
77
- head?: never;
78
- patch?: never;
79
- trace?: never;
586
+ /** @description Organizations the user belongs to with role information */
587
+ organizations?: {
588
+ /** @description Organization memberships for the user with their assigned roles. */
589
+ organizationsWithRoles?: { [key: string]: unknown }[];
590
+ /** @description Total number of organization memberships returned for the user. */
591
+ totalCount?: number;
592
+ };
593
+ }[];
594
+ };
595
+ Preference: {
596
+ /** @description The mesh adapters of the preference. */
597
+ meshAdapters?: { [key: string]: unknown }[];
598
+ grafana?: {
599
+ /** @description Grafana URL for the user configuration. */
600
+ grafanaUrl?: string;
601
+ /** @description Grafana API key for the user configuration. */
602
+ grafanaApiKey?: string;
603
+ /** @description Selected Grafana board configurations for the user. */
604
+ selectedBoardsConfigs?: {
605
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
606
+ board?: { [key: string]: unknown };
607
+ /** @description Panels selected for the Grafana board configuration. */
608
+ panels?: { [key: string]: unknown }[];
609
+ /** @description Template variables applied to the selected Grafana board configuration. */
610
+ templateVars?: string[];
611
+ }[];
612
+ };
613
+ prometheus?: {
614
+ /** @description The prometheus URL of the prometheus. */
615
+ prometheusUrl?: string;
616
+ /** @description The selected prometheus boards configs of the prometheus. */
617
+ selectedPrometheusBoardsConfigs?: {
618
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
619
+ board?: { [key: string]: unknown };
620
+ /** @description Panels selected for the Grafana board configuration. */
621
+ panels?: { [key: string]: unknown }[];
622
+ /** @description Template variables applied to the selected Grafana board configuration. */
623
+ templateVars?: string[];
624
+ }[];
625
+ };
626
+ loadTestPrefs?: {
627
+ /** @description Concurrent requests */
628
+ c?: number;
629
+ /** @description Queries per second */
630
+ qps?: number;
631
+ /** @description Duration */
632
+ t?: string;
633
+ /** @description Load generator */
634
+ gen?: string;
635
+ };
636
+ /** @description The anonymous usage stats of the preference. */
637
+ anonymousUsageStats: boolean;
638
+ /** @description The anonymous perf results of the preference. */
639
+ anonymousPerfResults: boolean;
640
+ /**
641
+ * Format: date-time
642
+ * @description Timestamp of when the resource was last updated.
643
+ */
644
+ updatedAt: string;
645
+ /** @description The dashboard preferences of the preference. */
646
+ dashboardPreferences: { [key: string]: unknown };
647
+ /**
648
+ * Format: uuid
649
+ * @description ID of the associated selectedOrganization.
650
+ */
651
+ selectedOrganizationId: string;
652
+ /** @description The selected workspace for organizations of the preference. */
653
+ selectedWorkspaceForOrganizations: { [key: string]: string };
654
+ /** @description The users extension preferences of the preference. */
655
+ usersExtensionPreferences: { [key: string]: unknown };
656
+ /** @description The remote provider preferences of the preference. */
657
+ remoteProviderPreferences: { [key: string]: unknown };
658
+ };
659
+ /** @description Placeholder for Adapter struct definition. */
660
+ Adapter: { [key: string]: unknown };
661
+ Grafana: {
662
+ /** @description Grafana URL for the user configuration. */
663
+ grafanaUrl?: string;
664
+ /** @description Grafana API key for the user configuration. */
665
+ grafanaApiKey?: string;
666
+ /** @description Selected Grafana board configurations for the user. */
667
+ selectedBoardsConfigs?: {
668
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
669
+ board?: { [key: string]: unknown };
670
+ /** @description Panels selected for the Grafana board configuration. */
671
+ panels?: { [key: string]: unknown }[];
672
+ /** @description Template variables applied to the selected Grafana board configuration. */
673
+ templateVars?: string[];
674
+ }[];
675
+ };
676
+ SelectedGrafanaConfig: {
677
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
678
+ board?: { [key: string]: unknown };
679
+ /** @description Panels selected for the Grafana board configuration. */
680
+ panels?: { [key: string]: unknown }[];
681
+ /** @description Template variables applied to the selected Grafana board configuration. */
682
+ templateVars?: string[];
683
+ };
684
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
685
+ GrafanaBoard: { [key: string]: unknown };
686
+ /** @description Grafana panel structure imported from github.com/grafana-tools/sdk */
687
+ Panel: { [key: string]: unknown };
688
+ Prometheus: {
689
+ /** @description The prometheus URL of the prometheus. */
690
+ prometheusUrl?: string;
691
+ /** @description The selected prometheus boards configs of the prometheus. */
692
+ selectedPrometheusBoardsConfigs?: {
693
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
694
+ board?: { [key: string]: unknown };
695
+ /** @description Panels selected for the Grafana board configuration. */
696
+ panels?: { [key: string]: unknown }[];
697
+ /** @description Template variables applied to the selected Grafana board configuration. */
698
+ templateVars?: string[];
699
+ }[];
700
+ };
701
+ LoadTestPreferences: {
702
+ /** @description Concurrent requests */
703
+ c?: number;
704
+ /** @description Queries per second */
705
+ qps?: number;
706
+ /** @description Duration */
707
+ t?: string;
708
+ /** @description Load generator */
709
+ gen?: string;
80
710
  };
711
+ /** @description Various online profiles associated with the user account, like GitHub, LinkedIn, X, and so on. */
712
+ Social: {
713
+ /** @description The site of the social. */
714
+ site: string;
715
+ /**
716
+ * Format: uri
717
+ * @description The link of the social.
718
+ */
719
+ link: string;
720
+ };
721
+ };
722
+ responses: {
723
+ /** Invalid request body or request param */
724
+ 400: {
725
+ content: {
726
+ "text/plain": string;
727
+ };
728
+ };
729
+ /** Expired JWT token used or insufficient privilege */
730
+ 401: {
731
+ content: {
732
+ "text/plain": string;
733
+ };
734
+ };
735
+ /** Result not found */
736
+ 404: {
737
+ content: {
738
+ "text/plain": string;
739
+ };
740
+ };
741
+ /** Internal server error */
742
+ 500: {
743
+ content: {
744
+ "text/plain": string;
745
+ };
746
+ };
747
+ };
748
+ parameters: {
749
+ /** @description User ID */
750
+ id: string;
751
+ /** @description Organization ID */
752
+ orgId: string;
753
+ /** @description Get responses by page */
754
+ page: string;
755
+ /** @description Get responses by page size */
756
+ pageSize: string;
757
+ /** @description Get responses that match search param value */
758
+ search: string;
759
+ /** @description Get ordered responses */
760
+ order: string;
761
+ /** @description Get filtered reponses */
762
+ filter: string;
763
+ /** @description Optional team filter when listing organization users */
764
+ teamId: string;
765
+ };
81
766
  }
82
- export type webhooks = Record<string, never>;
83
- export interface components {
84
- schemas: {
85
- /** @description Represents a user */
86
- User: {
87
- /**
88
- * Format: uuid
89
- * @description Unique identifier for the user
90
- */
91
- id: string;
92
- /** @description User identifier (username or external ID) */
93
- userId: string;
94
- /**
95
- * @description Authentication provider (e.g., Google, Github)
96
- * @example [
97
- * "local",
98
- * "github",
99
- * "google",
100
- * "twitter"
101
- * ]
102
- */
103
- provider: string;
104
- /**
105
- * Format: email
106
- * @description User's email address
107
- */
108
- email: string;
109
- /** @description User's first name */
110
- firstName: string;
111
- /** @description User's last name */
112
- lastName: string;
113
- /**
114
- * Format: uri
115
- * @description URL to user's avatar image
116
- */
117
- avatarUrl?: string;
118
- /**
119
- * @description User account status
120
- * @enum {string}
121
- */
122
- status: "active" | "inactive" | "pending" | "anonymous";
123
- /**
124
- * @description User's biography or description
125
- * @default
126
- */
127
- bio: string;
128
- /** @description User's country information stored as JSONB */
129
- country?: {
130
- [key: string]: unknown;
131
- };
132
- /** @description User's region information stored as JSONB */
133
- region?: {
134
- [key: string]: unknown;
135
- };
136
- /** @description User preferences stored as JSONB */
137
- preferences?: {
767
+
768
+ export interface operations {
769
+ /** Returns organization users, optionally filtered by team membership. */
770
+ getUsersForOrg: {
771
+ parameters: {
772
+ path: {
773
+ /** Organization ID */
774
+ orgId: string;
775
+ };
776
+ query: {
777
+ /** Get responses by page */
778
+ page?: string;
779
+ /** Get responses by page size */
780
+ pageSize?: string;
781
+ /** Get responses that match search param value */
782
+ search?: string;
783
+ /** Get ordered responses */
784
+ order?: string;
785
+ /** Get filtered reponses */
786
+ filter?: string;
787
+ /** Optional team filter when listing organization users */
788
+ teamId?: string;
789
+ };
790
+ };
791
+ responses: {
792
+ /** Paginated list of organization users */
793
+ 200: {
794
+ content: {
795
+ "application/json": {
796
+ /** @description Current page number of the result set. */
797
+ page?: number;
798
+ /** @description Number of items per page. */
799
+ pageSize?: number;
800
+ /** @description Total number of items available. */
801
+ totalCount?: number;
802
+ /** @description The data of the userspageforadmin. */
803
+ data?: {
804
+ /**
805
+ * Format: uuid
806
+ * @description Unique identifier for the user
807
+ */
808
+ id: string;
809
+ /** @description User identifier (username or external ID) */
810
+ userId: string;
811
+ /**
812
+ * @description Authentication provider (e.g., Google, Github)
813
+ * @example [
814
+ * "local",
815
+ * "github",
816
+ * "google",
817
+ * "twitter"
818
+ * ]
819
+ */
820
+ provider: string;
821
+ /**
822
+ * Format: email
823
+ * @description User's email address
824
+ */
825
+ email: string;
826
+ /** @description User's first name */
827
+ firstName: string;
828
+ /** @description User's last name */
829
+ lastName: string;
830
+ /**
831
+ * Format: uri
832
+ * @description URL to user's avatar image
833
+ */
834
+ avatarUrl?: string;
835
+ /**
836
+ * @description User account status
837
+ * @enum {string}
838
+ */
839
+ status: "active" | "inactive" | "pending" | "anonymous";
840
+ /**
841
+ * @description User's biography or description
842
+ * @default
843
+ */
844
+ bio?: string;
845
+ /** @description User's country information stored as JSONB */
846
+ country?: { [key: string]: unknown };
847
+ /** @description User's region information stored as JSONB */
848
+ region?: { [key: string]: unknown };
849
+ /** @description User preferences stored as JSONB */
850
+ preferences?: {
138
851
  /** @description The mesh adapters of the preference. */
139
- meshAdapters?: Record<string, never>[];
852
+ meshAdapters?: { [key: string]: unknown }[];
140
853
  grafana?: {
141
- /** @description Grafana URL for the user configuration. */
142
- grafanaUrl?: string;
143
- /** @description Grafana API key for the user configuration. */
144
- grafanaApiKey?: string;
145
- /** @description Selected Grafana board configurations for the user. */
146
- selectedBoardsConfigs?: {
147
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
148
- board?: Record<string, never>;
149
- /** @description Panels selected for the Grafana board configuration. */
150
- panels?: Record<string, never>[];
151
- /** @description Template variables applied to the selected Grafana board configuration. */
152
- templateVars?: string[];
153
- }[];
854
+ /** @description Grafana URL for the user configuration. */
855
+ grafanaUrl?: string;
856
+ /** @description Grafana API key for the user configuration. */
857
+ grafanaApiKey?: string;
858
+ /** @description Selected Grafana board configurations for the user. */
859
+ selectedBoardsConfigs?: {
860
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
861
+ board?: { [key: string]: unknown };
862
+ /** @description Panels selected for the Grafana board configuration. */
863
+ panels?: { [key: string]: unknown }[];
864
+ /** @description Template variables applied to the selected Grafana board configuration. */
865
+ templateVars?: string[];
866
+ }[];
154
867
  };
155
868
  prometheus?: {
156
- /** @description The prometheus URL of the prometheus. */
157
- prometheusUrl?: string;
158
- /** @description The selected prometheus boards configs of the prometheus. */
159
- selectedPrometheusBoardsConfigs?: {
160
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
161
- board?: Record<string, never>;
162
- /** @description Panels selected for the Grafana board configuration. */
163
- panels?: Record<string, never>[];
164
- /** @description Template variables applied to the selected Grafana board configuration. */
165
- templateVars?: string[];
166
- }[];
869
+ /** @description The prometheus URL of the prometheus. */
870
+ prometheusUrl?: string;
871
+ /** @description The selected prometheus boards configs of the prometheus. */
872
+ selectedPrometheusBoardsConfigs?: {
873
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
874
+ board?: { [key: string]: unknown };
875
+ /** @description Panels selected for the Grafana board configuration. */
876
+ panels?: { [key: string]: unknown }[];
877
+ /** @description Template variables applied to the selected Grafana board configuration. */
878
+ templateVars?: string[];
879
+ }[];
167
880
  };
168
881
  loadTestPrefs?: {
169
- /** @description Concurrent requests */
170
- c?: number;
171
- /** @description Queries per second */
172
- qps?: number;
173
- /** @description Duration */
174
- t?: string;
175
- /** @description Load generator */
176
- gen?: string;
882
+ /** @description Concurrent requests */
883
+ c?: number;
884
+ /** @description Queries per second */
885
+ qps?: number;
886
+ /** @description Duration */
887
+ t?: string;
888
+ /** @description Load generator */
889
+ gen?: string;
177
890
  };
178
891
  /** @description The anonymous usage stats of the preference. */
179
892
  anonymousUsageStats: boolean;
@@ -185,54 +898,46 @@ export interface components {
185
898
  */
186
899
  updatedAt: string;
187
900
  /** @description The dashboard preferences of the preference. */
188
- dashboardPreferences: {
189
- [key: string]: unknown;
190
- };
901
+ dashboardPreferences: { [key: string]: unknown };
191
902
  /**
192
903
  * Format: uuid
193
904
  * @description ID of the associated selectedOrganization.
194
905
  */
195
906
  selectedOrganizationId: string;
196
907
  /** @description The selected workspace for organizations of the preference. */
197
- selectedWorkspaceForOrganizations: {
198
- [key: string]: string;
199
- };
908
+ selectedWorkspaceForOrganizations: { [key: string]: string };
200
909
  /** @description The users extension preferences of the preference. */
201
- usersExtensionPreferences: {
202
- [key: string]: unknown;
203
- };
910
+ usersExtensionPreferences: { [key: string]: unknown };
204
911
  /** @description The remote provider preferences of the preference. */
205
- remoteProviderPreferences: {
206
- [key: string]: unknown;
207
- };
208
- };
209
- /**
210
- * Format: date-time
211
- * @description Timestamp when user accepted terms and conditions
212
- */
213
- acceptedTermsAt?: string;
214
- /**
215
- * Format: date-time
216
- * @description Timestamp of user's first login
217
- */
218
- firstLoginTime?: string;
219
- /**
220
- * Format: date-time
221
- * @description Timestamp of user's most recent login
222
- */
223
- lastLoginTime: string;
224
- /**
225
- * Format: date-time
226
- * @description Timestamp when the user record was created
227
- */
228
- createdAt: string;
229
- /**
230
- * Format: date-time
231
- * @description Timestamp when the user record was last updated
232
- */
233
- updatedAt: string;
234
- /** @description Various online profiles associated with the user account */
235
- socials?: {
912
+ remoteProviderPreferences: { [key: string]: unknown };
913
+ };
914
+ /**
915
+ * Format: date-time
916
+ * @description Timestamp when user accepted terms and conditions
917
+ */
918
+ acceptedTermsAt?: string;
919
+ /**
920
+ * Format: date-time
921
+ * @description Timestamp of user's first login
922
+ */
923
+ firstLoginTime?: string;
924
+ /**
925
+ * Format: date-time
926
+ * @description Timestamp of user's most recent login
927
+ */
928
+ lastLoginTime: string;
929
+ /**
930
+ * Format: date-time
931
+ * @description Timestamp when the user record was created
932
+ */
933
+ createdAt: string;
934
+ /**
935
+ * Format: date-time
936
+ * @description Timestamp when the user record was last updated
937
+ */
938
+ updatedAt: string;
939
+ /** @description Various online profiles associated with the user account */
940
+ socials?: {
236
941
  /** @description The site of the social. */
237
942
  site: string;
238
943
  /**
@@ -240,459 +945,397 @@ export interface components {
240
945
  * @description The link of the social.
241
946
  */
242
947
  link: string;
243
- }[];
244
- /**
245
- * Format: date-time
246
- * @description Timestamp when the user record was soft-deleted (null if not deleted)
247
- */
248
- deletedAt: string | null;
249
- /**
250
- * @description List of global roles assigned to the user
251
- * @example [
252
- * "admin",
253
- * "meshmap"
254
- * ]
255
- */
256
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
257
- /** @description Teams the user belongs to with role information */
258
- teams?: {
948
+ }[];
949
+ /**
950
+ * Format: date-time
951
+ * @description Timestamp when the user record was soft-deleted (null if not deleted)
952
+ */
953
+ deletedAt: string | null;
954
+ /**
955
+ * @description List of global roles assigned to the user
956
+ * @example [
957
+ * "admin",
958
+ * "meshmap"
959
+ * ]
960
+ */
961
+ roleNames?: (
962
+ | "admin"
963
+ | "meshmap"
964
+ | "curator"
965
+ | "team admin"
966
+ | "workspace admin"
967
+ | "workspace manager"
968
+ | "organization admin"
969
+ | "user"
970
+ )[];
971
+ /** @description Teams the user belongs to with role information */
972
+ teams?: {
259
973
  /** @description Team memberships for the user with their assigned roles. */
260
- teamsWithRoles?: Record<string, never>[];
974
+ teamsWithRoles?: { [key: string]: unknown }[];
261
975
  /** @description Total number of team memberships returned for the user. */
262
976
  totalCount?: number;
263
- };
264
- /** @description Organizations the user belongs to with role information */
265
- organizations?: {
977
+ };
978
+ /** @description Organizations the user belongs to with role information */
979
+ organizations?: {
266
980
  /** @description Organization memberships for the user with their assigned roles. */
267
- organizationsWithRoles?: Record<string, never>[];
981
+ organizationsWithRoles?: { [key: string]: unknown }[];
268
982
  /** @description Total number of organization memberships returned for the user. */
269
983
  totalCount?: number;
270
- };
984
+ };
985
+ }[];
986
+ };
987
+ };
988
+ };
989
+ /** Invalid request body or request param */
990
+ 400: {
991
+ content: {
992
+ "text/plain": string;
993
+ };
994
+ };
995
+ /** Expired JWT token used or insufficient privilege */
996
+ 401: {
997
+ content: {
998
+ "text/plain": string;
271
999
  };
272
- /** @description Paginated list of users with organization and team role context */
273
- UsersPageForAdmin: {
1000
+ };
1001
+ /** Result not found */
1002
+ 404: {
1003
+ content: {
1004
+ "text/plain": string;
1005
+ };
1006
+ };
1007
+ /** Internal server error */
1008
+ 500: {
1009
+ content: {
1010
+ "text/plain": string;
1011
+ };
1012
+ };
1013
+ };
1014
+ };
1015
+ /** Returns publicly viewable user records. */
1016
+ getUsers: {
1017
+ parameters: {
1018
+ query: {
1019
+ /** Get responses by page */
1020
+ page?: string;
1021
+ /** Get responses by page size */
1022
+ pageSize?: string;
1023
+ /** Get responses that match search param value */
1024
+ search?: string;
1025
+ /** Get ordered responses */
1026
+ order?: string;
1027
+ /** Get filtered reponses */
1028
+ filter?: string;
1029
+ };
1030
+ };
1031
+ responses: {
1032
+ /** Paginated list of public users */
1033
+ 200: {
1034
+ content: {
1035
+ "application/json": {
274
1036
  /** @description Current page number of the result set. */
275
1037
  page?: number;
276
1038
  /** @description Number of items per page. */
277
1039
  pageSize?: number;
278
1040
  /** @description Total number of items available. */
279
1041
  totalCount?: number;
280
- /** @description The data of the userspageforadmin. */
1042
+ /** @description The data of the userspagefornonadmin. */
281
1043
  data?: {
282
- /**
283
- * Format: uuid
284
- * @description Unique identifier for the user
285
- */
286
- id: string;
287
- /** @description User identifier (username or external ID) */
288
- userId: string;
289
- /**
290
- * @description Authentication provider (e.g., Google, Github)
291
- * @example [
292
- * "local",
293
- * "github",
294
- * "google",
295
- * "twitter"
296
- * ]
297
- */
298
- provider: string;
299
- /**
300
- * Format: email
301
- * @description User's email address
302
- */
303
- email: string;
304
- /** @description User's first name */
305
- firstName: string;
306
- /** @description User's last name */
307
- lastName: string;
308
- /**
309
- * Format: uri
310
- * @description URL to user's avatar image
311
- */
312
- avatarUrl?: string;
313
- /**
314
- * @description User account status
315
- * @enum {string}
316
- */
317
- status: "active" | "inactive" | "pending" | "anonymous";
318
- /**
319
- * @description User's biography or description
320
- * @default
321
- */
322
- bio: string;
323
- /** @description User's country information stored as JSONB */
324
- country?: {
325
- [key: string]: unknown;
1044
+ /**
1045
+ * Format: uuid
1046
+ * @description Unique identifier for the user
1047
+ */
1048
+ id: string;
1049
+ /** @description User identifier (username or external ID) */
1050
+ userId: string;
1051
+ /**
1052
+ * @description Authentication provider (e.g., Google, Github)
1053
+ * @example [
1054
+ * "local",
1055
+ * "github",
1056
+ * "google",
1057
+ * "twitter"
1058
+ * ]
1059
+ */
1060
+ provider: string;
1061
+ /**
1062
+ * Format: email
1063
+ * @description User's email address
1064
+ */
1065
+ email: string;
1066
+ /** @description User's first name */
1067
+ firstName: string;
1068
+ /** @description User's last name */
1069
+ lastName: string;
1070
+ /**
1071
+ * Format: uri
1072
+ * @description URL to user's avatar image
1073
+ */
1074
+ avatarUrl?: string;
1075
+ /**
1076
+ * @description User account status
1077
+ * @enum {string}
1078
+ */
1079
+ status: "active" | "inactive" | "pending" | "anonymous";
1080
+ /**
1081
+ * @description User's biography or description
1082
+ * @default
1083
+ */
1084
+ bio?: string;
1085
+ /** @description User's country information stored as JSONB */
1086
+ country?: { [key: string]: unknown };
1087
+ /** @description User's region information stored as JSONB */
1088
+ region?: { [key: string]: unknown };
1089
+ /** @description User preferences stored as JSONB */
1090
+ preferences?: {
1091
+ /** @description The mesh adapters of the preference. */
1092
+ meshAdapters?: { [key: string]: unknown }[];
1093
+ grafana?: {
1094
+ /** @description Grafana URL for the user configuration. */
1095
+ grafanaUrl?: string;
1096
+ /** @description Grafana API key for the user configuration. */
1097
+ grafanaApiKey?: string;
1098
+ /** @description Selected Grafana board configurations for the user. */
1099
+ selectedBoardsConfigs?: {
1100
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
1101
+ board?: { [key: string]: unknown };
1102
+ /** @description Panels selected for the Grafana board configuration. */
1103
+ panels?: { [key: string]: unknown }[];
1104
+ /** @description Template variables applied to the selected Grafana board configuration. */
1105
+ templateVars?: string[];
1106
+ }[];
326
1107
  };
327
- /** @description User's region information stored as JSONB */
328
- region?: {
329
- [key: string]: unknown;
1108
+ prometheus?: {
1109
+ /** @description The prometheus URL of the prometheus. */
1110
+ prometheusUrl?: string;
1111
+ /** @description The selected prometheus boards configs of the prometheus. */
1112
+ selectedPrometheusBoardsConfigs?: {
1113
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
1114
+ board?: { [key: string]: unknown };
1115
+ /** @description Panels selected for the Grafana board configuration. */
1116
+ panels?: { [key: string]: unknown }[];
1117
+ /** @description Template variables applied to the selected Grafana board configuration. */
1118
+ templateVars?: string[];
1119
+ }[];
330
1120
  };
331
- /** @description User preferences stored as JSONB */
332
- preferences?: {
333
- /** @description The mesh adapters of the preference. */
334
- meshAdapters?: Record<string, never>[];
335
- grafana?: {
336
- /** @description Grafana URL for the user configuration. */
337
- grafanaUrl?: string;
338
- /** @description Grafana API key for the user configuration. */
339
- grafanaApiKey?: string;
340
- /** @description Selected Grafana board configurations for the user. */
341
- selectedBoardsConfigs?: {
342
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
343
- board?: Record<string, never>;
344
- /** @description Panels selected for the Grafana board configuration. */
345
- panels?: Record<string, never>[];
346
- /** @description Template variables applied to the selected Grafana board configuration. */
347
- templateVars?: string[];
348
- }[];
349
- };
350
- prometheus?: {
351
- /** @description The prometheus URL of the prometheus. */
352
- prometheusUrl?: string;
353
- /** @description The selected prometheus boards configs of the prometheus. */
354
- selectedPrometheusBoardsConfigs?: {
355
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
356
- board?: Record<string, never>;
357
- /** @description Panels selected for the Grafana board configuration. */
358
- panels?: Record<string, never>[];
359
- /** @description Template variables applied to the selected Grafana board configuration. */
360
- templateVars?: string[];
361
- }[];
362
- };
363
- loadTestPrefs?: {
364
- /** @description Concurrent requests */
365
- c?: number;
366
- /** @description Queries per second */
367
- qps?: number;
368
- /** @description Duration */
369
- t?: string;
370
- /** @description Load generator */
371
- gen?: string;
372
- };
373
- /** @description The anonymous usage stats of the preference. */
374
- anonymousUsageStats: boolean;
375
- /** @description The anonymous perf results of the preference. */
376
- anonymousPerfResults: boolean;
377
- /**
378
- * Format: date-time
379
- * @description Timestamp of when the resource was last updated.
380
- */
381
- updatedAt: string;
382
- /** @description The dashboard preferences of the preference. */
383
- dashboardPreferences: {
384
- [key: string]: unknown;
385
- };
386
- /**
387
- * Format: uuid
388
- * @description ID of the associated selectedOrganization.
389
- */
390
- selectedOrganizationId: string;
391
- /** @description The selected workspace for organizations of the preference. */
392
- selectedWorkspaceForOrganizations: {
393
- [key: string]: string;
394
- };
395
- /** @description The users extension preferences of the preference. */
396
- usersExtensionPreferences: {
397
- [key: string]: unknown;
398
- };
399
- /** @description The remote provider preferences of the preference. */
400
- remoteProviderPreferences: {
401
- [key: string]: unknown;
402
- };
1121
+ loadTestPrefs?: {
1122
+ /** @description Concurrent requests */
1123
+ c?: number;
1124
+ /** @description Queries per second */
1125
+ qps?: number;
1126
+ /** @description Duration */
1127
+ t?: string;
1128
+ /** @description Load generator */
1129
+ gen?: string;
403
1130
  };
1131
+ /** @description The anonymous usage stats of the preference. */
1132
+ anonymousUsageStats: boolean;
1133
+ /** @description The anonymous perf results of the preference. */
1134
+ anonymousPerfResults: boolean;
404
1135
  /**
405
1136
  * Format: date-time
406
- * @description Timestamp when user accepted terms and conditions
407
- */
408
- acceptedTermsAt?: string;
409
- /**
410
- * Format: date-time
411
- * @description Timestamp of user's first login
412
- */
413
- firstLoginTime?: string;
414
- /**
415
- * Format: date-time
416
- * @description Timestamp of user's most recent login
417
- */
418
- lastLoginTime: string;
419
- /**
420
- * Format: date-time
421
- * @description Timestamp when the user record was created
422
- */
423
- createdAt: string;
424
- /**
425
- * Format: date-time
426
- * @description Timestamp when the user record was last updated
1137
+ * @description Timestamp of when the resource was last updated.
427
1138
  */
428
1139
  updatedAt: string;
429
- /** @description Various online profiles associated with the user account */
430
- socials?: {
431
- /** @description The site of the social. */
432
- site: string;
433
- /**
434
- * Format: uri
435
- * @description The link of the social.
436
- */
437
- link: string;
438
- }[];
439
- /**
440
- * Format: date-time
441
- * @description Timestamp when the user record was soft-deleted (null if not deleted)
442
- */
443
- deletedAt: string | null;
444
- /**
445
- * @description List of global roles assigned to the user
446
- * @example [
447
- * "admin",
448
- * "meshmap"
449
- * ]
450
- */
451
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
452
- /** @description Teams the user belongs to with role information */
453
- teams?: {
454
- /** @description Team memberships for the user with their assigned roles. */
455
- teamsWithRoles?: Record<string, never>[];
456
- /** @description Total number of team memberships returned for the user. */
457
- totalCount?: number;
458
- };
459
- /** @description Organizations the user belongs to with role information */
460
- organizations?: {
461
- /** @description Organization memberships for the user with their assigned roles. */
462
- organizationsWithRoles?: Record<string, never>[];
463
- /** @description Total number of organization memberships returned for the user. */
464
- totalCount?: number;
465
- };
466
- }[];
467
- };
468
- /** @description Paginated list of public user records */
469
- UsersPageForNonAdmin: {
470
- /** @description Current page number of the result set. */
471
- page?: number;
472
- /** @description Number of items per page. */
473
- pageSize?: number;
474
- /** @description Total number of items available. */
475
- totalCount?: number;
476
- /** @description The data of the userspagefornonadmin. */
477
- data?: {
1140
+ /** @description The dashboard preferences of the preference. */
1141
+ dashboardPreferences: { [key: string]: unknown };
478
1142
  /**
479
1143
  * Format: uuid
480
- * @description Unique identifier for the user
481
- */
482
- id: string;
483
- /** @description User identifier (username or external ID) */
484
- userId: string;
485
- /**
486
- * @description Authentication provider (e.g., Google, Github)
487
- * @example [
488
- * "local",
489
- * "github",
490
- * "google",
491
- * "twitter"
492
- * ]
493
- */
494
- provider: string;
495
- /**
496
- * Format: email
497
- * @description User's email address
1144
+ * @description ID of the associated selectedOrganization.
498
1145
  */
499
- email: string;
500
- /** @description User's first name */
501
- firstName: string;
502
- /** @description User's last name */
503
- lastName: string;
1146
+ selectedOrganizationId: string;
1147
+ /** @description The selected workspace for organizations of the preference. */
1148
+ selectedWorkspaceForOrganizations: { [key: string]: string };
1149
+ /** @description The users extension preferences of the preference. */
1150
+ usersExtensionPreferences: { [key: string]: unknown };
1151
+ /** @description The remote provider preferences of the preference. */
1152
+ remoteProviderPreferences: { [key: string]: unknown };
1153
+ };
1154
+ /**
1155
+ * Format: date-time
1156
+ * @description Timestamp when user accepted terms and conditions
1157
+ */
1158
+ acceptedTermsAt?: string;
1159
+ /**
1160
+ * Format: date-time
1161
+ * @description Timestamp of user's first login
1162
+ */
1163
+ firstLoginTime?: string;
1164
+ /**
1165
+ * Format: date-time
1166
+ * @description Timestamp of user's most recent login
1167
+ */
1168
+ lastLoginTime: string;
1169
+ /**
1170
+ * Format: date-time
1171
+ * @description Timestamp when the user record was created
1172
+ */
1173
+ createdAt: string;
1174
+ /**
1175
+ * Format: date-time
1176
+ * @description Timestamp when the user record was last updated
1177
+ */
1178
+ updatedAt: string;
1179
+ /** @description Various online profiles associated with the user account */
1180
+ socials?: {
1181
+ /** @description The site of the social. */
1182
+ site: string;
504
1183
  /**
505
1184
  * Format: uri
506
- * @description URL to user's avatar image
507
- */
508
- avatarUrl?: string;
509
- /**
510
- * @description User account status
511
- * @enum {string}
512
- */
513
- status: "active" | "inactive" | "pending" | "anonymous";
514
- /**
515
- * @description User's biography or description
516
- * @default
517
- */
518
- bio: string;
519
- /** @description User's country information stored as JSONB */
520
- country?: {
521
- [key: string]: unknown;
522
- };
523
- /** @description User's region information stored as JSONB */
524
- region?: {
525
- [key: string]: unknown;
526
- };
527
- /** @description User preferences stored as JSONB */
528
- preferences?: {
529
- /** @description The mesh adapters of the preference. */
530
- meshAdapters?: Record<string, never>[];
531
- grafana?: {
532
- /** @description Grafana URL for the user configuration. */
533
- grafanaUrl?: string;
534
- /** @description Grafana API key for the user configuration. */
535
- grafanaApiKey?: string;
536
- /** @description Selected Grafana board configurations for the user. */
537
- selectedBoardsConfigs?: {
538
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
539
- board?: Record<string, never>;
540
- /** @description Panels selected for the Grafana board configuration. */
541
- panels?: Record<string, never>[];
542
- /** @description Template variables applied to the selected Grafana board configuration. */
543
- templateVars?: string[];
544
- }[];
545
- };
546
- prometheus?: {
547
- /** @description The prometheus URL of the prometheus. */
548
- prometheusUrl?: string;
549
- /** @description The selected prometheus boards configs of the prometheus. */
550
- selectedPrometheusBoardsConfigs?: {
551
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
552
- board?: Record<string, never>;
553
- /** @description Panels selected for the Grafana board configuration. */
554
- panels?: Record<string, never>[];
555
- /** @description Template variables applied to the selected Grafana board configuration. */
556
- templateVars?: string[];
557
- }[];
558
- };
559
- loadTestPrefs?: {
560
- /** @description Concurrent requests */
561
- c?: number;
562
- /** @description Queries per second */
563
- qps?: number;
564
- /** @description Duration */
565
- t?: string;
566
- /** @description Load generator */
567
- gen?: string;
568
- };
569
- /** @description The anonymous usage stats of the preference. */
570
- anonymousUsageStats: boolean;
571
- /** @description The anonymous perf results of the preference. */
572
- anonymousPerfResults: boolean;
573
- /**
574
- * Format: date-time
575
- * @description Timestamp of when the resource was last updated.
576
- */
577
- updatedAt: string;
578
- /** @description The dashboard preferences of the preference. */
579
- dashboardPreferences: {
580
- [key: string]: unknown;
581
- };
582
- /**
583
- * Format: uuid
584
- * @description ID of the associated selectedOrganization.
585
- */
586
- selectedOrganizationId: string;
587
- /** @description The selected workspace for organizations of the preference. */
588
- selectedWorkspaceForOrganizations: {
589
- [key: string]: string;
590
- };
591
- /** @description The users extension preferences of the preference. */
592
- usersExtensionPreferences: {
593
- [key: string]: unknown;
594
- };
595
- /** @description The remote provider preferences of the preference. */
596
- remoteProviderPreferences: {
597
- [key: string]: unknown;
598
- };
599
- };
600
- /**
601
- * Format: date-time
602
- * @description Timestamp when user accepted terms and conditions
603
- */
604
- acceptedTermsAt?: string;
605
- /**
606
- * Format: date-time
607
- * @description Timestamp of user's first login
608
- */
609
- firstLoginTime?: string;
610
- /**
611
- * Format: date-time
612
- * @description Timestamp of user's most recent login
613
- */
614
- lastLoginTime: string;
615
- /**
616
- * Format: date-time
617
- * @description Timestamp when the user record was created
618
- */
619
- createdAt: string;
620
- /**
621
- * Format: date-time
622
- * @description Timestamp when the user record was last updated
623
- */
624
- updatedAt: string;
625
- /** @description Various online profiles associated with the user account */
626
- socials?: {
627
- /** @description The site of the social. */
628
- site: string;
629
- /**
630
- * Format: uri
631
- * @description The link of the social.
632
- */
633
- link: string;
634
- }[];
635
- /**
636
- * Format: date-time
637
- * @description Timestamp when the user record was soft-deleted (null if not deleted)
638
- */
639
- deletedAt: string | null;
640
- /**
641
- * @description List of global roles assigned to the user
642
- * @example [
643
- * "admin",
644
- * "meshmap"
645
- * ]
1185
+ * @description The link of the social.
646
1186
  */
647
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
648
- /** @description Teams the user belongs to with role information */
649
- teams?: {
650
- /** @description Team memberships for the user with their assigned roles. */
651
- teamsWithRoles?: Record<string, never>[];
652
- /** @description Total number of team memberships returned for the user. */
653
- totalCount?: number;
654
- };
655
- /** @description Organizations the user belongs to with role information */
656
- organizations?: {
657
- /** @description Organization memberships for the user with their assigned roles. */
658
- organizationsWithRoles?: Record<string, never>[];
659
- /** @description Total number of organization memberships returned for the user. */
660
- totalCount?: number;
661
- };
1187
+ link: string;
1188
+ }[];
1189
+ /**
1190
+ * Format: date-time
1191
+ * @description Timestamp when the user record was soft-deleted (null if not deleted)
1192
+ */
1193
+ deletedAt: string | null;
1194
+ /**
1195
+ * @description List of global roles assigned to the user
1196
+ * @example [
1197
+ * "admin",
1198
+ * "meshmap"
1199
+ * ]
1200
+ */
1201
+ roleNames?: (
1202
+ | "admin"
1203
+ | "meshmap"
1204
+ | "curator"
1205
+ | "team admin"
1206
+ | "workspace admin"
1207
+ | "workspace manager"
1208
+ | "organization admin"
1209
+ | "user"
1210
+ )[];
1211
+ /** @description Teams the user belongs to with role information */
1212
+ teams?: {
1213
+ /** @description Team memberships for the user with their assigned roles. */
1214
+ teamsWithRoles?: { [key: string]: unknown }[];
1215
+ /** @description Total number of team memberships returned for the user. */
1216
+ totalCount?: number;
1217
+ };
1218
+ /** @description Organizations the user belongs to with role information */
1219
+ organizations?: {
1220
+ /** @description Organization memberships for the user with their assigned roles. */
1221
+ organizationsWithRoles?: { [key: string]: unknown }[];
1222
+ /** @description Total number of organization memberships returned for the user. */
1223
+ totalCount?: number;
1224
+ };
662
1225
  }[];
1226
+ };
1227
+ };
1228
+ };
1229
+ /** Invalid request body or request param */
1230
+ 400: {
1231
+ content: {
1232
+ "text/plain": string;
1233
+ };
1234
+ };
1235
+ /** Expired JWT token used or insufficient privilege */
1236
+ 401: {
1237
+ content: {
1238
+ "text/plain": string;
663
1239
  };
664
- Preference: {
665
- /** @description The mesh adapters of the preference. */
666
- meshAdapters?: Record<string, never>[];
667
- grafana?: {
1240
+ };
1241
+ /** Internal server error */
1242
+ 500: {
1243
+ content: {
1244
+ "text/plain": string;
1245
+ };
1246
+ };
1247
+ };
1248
+ };
1249
+ getUserProfileById: {
1250
+ parameters: {
1251
+ path: {
1252
+ /** User ID */
1253
+ id: string;
1254
+ };
1255
+ };
1256
+ responses: {
1257
+ /** User profile for the requested ID */
1258
+ 200: {
1259
+ content: {
1260
+ "application/json": {
1261
+ /**
1262
+ * Format: uuid
1263
+ * @description Unique identifier for the user
1264
+ */
1265
+ id: string;
1266
+ /** @description User identifier (username or external ID) */
1267
+ userId: string;
1268
+ /**
1269
+ * @description Authentication provider (e.g., Google, Github)
1270
+ * @example [
1271
+ * "local",
1272
+ * "github",
1273
+ * "google",
1274
+ * "twitter"
1275
+ * ]
1276
+ */
1277
+ provider: string;
1278
+ /**
1279
+ * Format: email
1280
+ * @description User's email address
1281
+ */
1282
+ email: string;
1283
+ /** @description User's first name */
1284
+ firstName: string;
1285
+ /** @description User's last name */
1286
+ lastName: string;
1287
+ /**
1288
+ * Format: uri
1289
+ * @description URL to user's avatar image
1290
+ */
1291
+ avatarUrl?: string;
1292
+ /**
1293
+ * @description User account status
1294
+ * @enum {string}
1295
+ */
1296
+ status: "active" | "inactive" | "pending" | "anonymous";
1297
+ /**
1298
+ * @description User's biography or description
1299
+ * @default
1300
+ */
1301
+ bio?: string;
1302
+ /** @description User's country information stored as JSONB */
1303
+ country?: { [key: string]: unknown };
1304
+ /** @description User's region information stored as JSONB */
1305
+ region?: { [key: string]: unknown };
1306
+ /** @description User preferences stored as JSONB */
1307
+ preferences?: {
1308
+ /** @description The mesh adapters of the preference. */
1309
+ meshAdapters?: { [key: string]: unknown }[];
1310
+ grafana?: {
668
1311
  /** @description Grafana URL for the user configuration. */
669
1312
  grafanaUrl?: string;
670
1313
  /** @description Grafana API key for the user configuration. */
671
1314
  grafanaApiKey?: string;
672
1315
  /** @description Selected Grafana board configurations for the user. */
673
1316
  selectedBoardsConfigs?: {
674
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
675
- board?: Record<string, never>;
676
- /** @description Panels selected for the Grafana board configuration. */
677
- panels?: Record<string, never>[];
678
- /** @description Template variables applied to the selected Grafana board configuration. */
679
- templateVars?: string[];
1317
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
1318
+ board?: { [key: string]: unknown };
1319
+ /** @description Panels selected for the Grafana board configuration. */
1320
+ panels?: { [key: string]: unknown }[];
1321
+ /** @description Template variables applied to the selected Grafana board configuration. */
1322
+ templateVars?: string[];
680
1323
  }[];
681
- };
682
- prometheus?: {
1324
+ };
1325
+ prometheus?: {
683
1326
  /** @description The prometheus URL of the prometheus. */
684
1327
  prometheusUrl?: string;
685
1328
  /** @description The selected prometheus boards configs of the prometheus. */
686
1329
  selectedPrometheusBoardsConfigs?: {
687
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
688
- board?: Record<string, never>;
689
- /** @description Panels selected for the Grafana board configuration. */
690
- panels?: Record<string, never>[];
691
- /** @description Template variables applied to the selected Grafana board configuration. */
692
- templateVars?: string[];
1330
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
1331
+ board?: { [key: string]: unknown };
1332
+ /** @description Panels selected for the Grafana board configuration. */
1333
+ panels?: { [key: string]: unknown }[];
1334
+ /** @description Template variables applied to the selected Grafana board configuration. */
1335
+ templateVars?: string[];
693
1336
  }[];
694
- };
695
- loadTestPrefs?: {
1337
+ };
1338
+ loadTestPrefs?: {
696
1339
  /** @description Concurrent requests */
697
1340
  c?: number;
698
1341
  /** @description Queries per second */
@@ -701,1146 +1344,334 @@ export interface components {
701
1344
  t?: string;
702
1345
  /** @description Load generator */
703
1346
  gen?: string;
1347
+ };
1348
+ /** @description The anonymous usage stats of the preference. */
1349
+ anonymousUsageStats: boolean;
1350
+ /** @description The anonymous perf results of the preference. */
1351
+ anonymousPerfResults: boolean;
1352
+ /**
1353
+ * Format: date-time
1354
+ * @description Timestamp of when the resource was last updated.
1355
+ */
1356
+ updatedAt: string;
1357
+ /** @description The dashboard preferences of the preference. */
1358
+ dashboardPreferences: { [key: string]: unknown };
1359
+ /**
1360
+ * Format: uuid
1361
+ * @description ID of the associated selectedOrganization.
1362
+ */
1363
+ selectedOrganizationId: string;
1364
+ /** @description The selected workspace for organizations of the preference. */
1365
+ selectedWorkspaceForOrganizations: { [key: string]: string };
1366
+ /** @description The users extension preferences of the preference. */
1367
+ usersExtensionPreferences: { [key: string]: unknown };
1368
+ /** @description The remote provider preferences of the preference. */
1369
+ remoteProviderPreferences: { [key: string]: unknown };
704
1370
  };
705
- /** @description The anonymous usage stats of the preference. */
706
- anonymousUsageStats: boolean;
707
- /** @description The anonymous perf results of the preference. */
708
- anonymousPerfResults: boolean;
709
1371
  /**
710
1372
  * Format: date-time
711
- * @description Timestamp of when the resource was last updated.
1373
+ * @description Timestamp when user accepted terms and conditions
712
1374
  */
713
- updatedAt: string;
714
- /** @description The dashboard preferences of the preference. */
715
- dashboardPreferences: {
716
- [key: string]: unknown;
717
- };
1375
+ acceptedTermsAt?: string;
718
1376
  /**
719
- * Format: uuid
720
- * @description ID of the associated selectedOrganization.
1377
+ * Format: date-time
1378
+ * @description Timestamp of user's first login
721
1379
  */
722
- selectedOrganizationId: string;
723
- /** @description The selected workspace for organizations of the preference. */
724
- selectedWorkspaceForOrganizations: {
725
- [key: string]: string;
726
- };
727
- /** @description The users extension preferences of the preference. */
728
- usersExtensionPreferences: {
729
- [key: string]: unknown;
730
- };
731
- /** @description The remote provider preferences of the preference. */
732
- remoteProviderPreferences: {
733
- [key: string]: unknown;
734
- };
735
- };
736
- /** @description Placeholder for Adapter struct definition. */
737
- Adapter: Record<string, never>;
738
- Grafana: {
739
- /** @description Grafana URL for the user configuration. */
740
- grafanaUrl?: string;
741
- /** @description Grafana API key for the user configuration. */
742
- grafanaApiKey?: string;
743
- /** @description Selected Grafana board configurations for the user. */
744
- selectedBoardsConfigs?: {
745
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
746
- board?: Record<string, never>;
747
- /** @description Panels selected for the Grafana board configuration. */
748
- panels?: Record<string, never>[];
749
- /** @description Template variables applied to the selected Grafana board configuration. */
750
- templateVars?: string[];
751
- }[];
752
- };
753
- SelectedGrafanaConfig: {
754
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
755
- board?: Record<string, never>;
756
- /** @description Panels selected for the Grafana board configuration. */
757
- panels?: Record<string, never>[];
758
- /** @description Template variables applied to the selected Grafana board configuration. */
759
- templateVars?: string[];
760
- };
761
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
762
- GrafanaBoard: Record<string, never>;
763
- /** @description Grafana panel structure imported from github.com/grafana-tools/sdk */
764
- Panel: Record<string, never>;
765
- Prometheus: {
766
- /** @description The prometheus URL of the prometheus. */
767
- prometheusUrl?: string;
768
- /** @description The selected prometheus boards configs of the prometheus. */
769
- selectedPrometheusBoardsConfigs?: {
770
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
771
- board?: Record<string, never>;
772
- /** @description Panels selected for the Grafana board configuration. */
773
- panels?: Record<string, never>[];
774
- /** @description Template variables applied to the selected Grafana board configuration. */
775
- templateVars?: string[];
1380
+ firstLoginTime?: string;
1381
+ /**
1382
+ * Format: date-time
1383
+ * @description Timestamp of user's most recent login
1384
+ */
1385
+ lastLoginTime: string;
1386
+ /**
1387
+ * Format: date-time
1388
+ * @description Timestamp when the user record was created
1389
+ */
1390
+ createdAt: string;
1391
+ /**
1392
+ * Format: date-time
1393
+ * @description Timestamp when the user record was last updated
1394
+ */
1395
+ updatedAt: string;
1396
+ /** @description Various online profiles associated with the user account */
1397
+ socials?: {
1398
+ /** @description The site of the social. */
1399
+ site: string;
1400
+ /**
1401
+ * Format: uri
1402
+ * @description The link of the social.
1403
+ */
1404
+ link: string;
776
1405
  }[];
777
- };
778
- LoadTestPreferences: {
779
- /** @description Concurrent requests */
780
- c?: number;
781
- /** @description Queries per second */
782
- qps?: number;
783
- /** @description Duration */
784
- t?: string;
785
- /** @description Load generator */
786
- gen?: string;
787
- };
788
- /** @description Various online profiles associated with the user account, like GitHub, LinkedIn, X, and so on. */
789
- Social: {
790
- /** @description The site of the social. */
791
- site: string;
792
1406
  /**
793
- * Format: uri
794
- * @description The link of the social.
1407
+ * Format: date-time
1408
+ * @description Timestamp when the user record was soft-deleted (null if not deleted)
795
1409
  */
796
- link: string;
797
- };
798
- };
799
- responses: {
800
- /** @description Invalid request body or request param */
801
- 400: {
802
- headers: {
803
- [name: string]: unknown;
804
- };
805
- content: {
806
- "text/plain": string;
807
- };
808
- };
809
- /** @description Expired JWT token used or insufficient privilege */
810
- 401: {
811
- headers: {
812
- [name: string]: unknown;
813
- };
814
- content: {
815
- "text/plain": string;
816
- };
817
- };
818
- /** @description Result not found */
819
- 404: {
820
- headers: {
821
- [name: string]: unknown;
1410
+ deletedAt: string | null;
1411
+ /**
1412
+ * @description List of global roles assigned to the user
1413
+ * @example [
1414
+ * "admin",
1415
+ * "meshmap"
1416
+ * ]
1417
+ */
1418
+ roleNames?: (
1419
+ | "admin"
1420
+ | "meshmap"
1421
+ | "curator"
1422
+ | "team admin"
1423
+ | "workspace admin"
1424
+ | "workspace manager"
1425
+ | "organization admin"
1426
+ | "user"
1427
+ )[];
1428
+ /** @description Teams the user belongs to with role information */
1429
+ teams?: {
1430
+ /** @description Team memberships for the user with their assigned roles. */
1431
+ teamsWithRoles?: { [key: string]: unknown }[];
1432
+ /** @description Total number of team memberships returned for the user. */
1433
+ totalCount?: number;
822
1434
  };
823
- content: {
824
- "text/plain": string;
1435
+ /** @description Organizations the user belongs to with role information */
1436
+ organizations?: {
1437
+ /** @description Organization memberships for the user with their assigned roles. */
1438
+ organizationsWithRoles?: { [key: string]: unknown }[];
1439
+ /** @description Total number of organization memberships returned for the user. */
1440
+ totalCount?: number;
825
1441
  };
1442
+ };
826
1443
  };
827
- /** @description Internal server error */
828
- 500: {
829
- headers: {
830
- [name: string]: unknown;
831
- };
832
- content: {
833
- "text/plain": string;
834
- };
1444
+ };
1445
+ /** Invalid request body or request param */
1446
+ 400: {
1447
+ content: {
1448
+ "text/plain": string;
835
1449
  };
836
- };
837
- parameters: {
838
- /** @description User ID */
839
- id: string;
840
- /** @description Organization ID */
841
- orgId: string;
842
- /** @description Get responses by page */
843
- page: string;
844
- /** @description Get responses by page size */
845
- pageSize: string;
846
- /** @description Get responses that match search param value */
847
- search: string;
848
- /** @description Get ordered responses */
849
- order: string;
850
- /** @description Get filtered reponses */
851
- filter: string;
852
- /** @description Optional team filter when listing organization users */
853
- teamId: string;
854
- };
855
- requestBodies: never;
856
- headers: never;
857
- pathItems: never;
858
- }
859
- export type $defs = Record<string, never>;
860
- export interface operations {
861
- getUsersForOrg: {
862
- parameters: {
863
- query?: {
864
- /** @description Get responses by page */
865
- page?: string;
866
- /** @description Get responses by page size */
867
- pageSize?: string;
868
- /** @description Get responses that match search param value */
869
- search?: string;
870
- /** @description Get ordered responses */
871
- order?: string;
872
- /** @description Get filtered reponses */
873
- filter?: string;
874
- /** @description Optional team filter when listing organization users */
875
- teamId?: string;
876
- };
877
- header?: never;
878
- path: {
879
- /** @description Organization ID */
880
- orgId: string;
881
- };
882
- cookie?: never;
883
- };
884
- requestBody?: never;
885
- responses: {
886
- /** @description Paginated list of organization users */
887
- 200: {
888
- headers: {
889
- [name: string]: unknown;
890
- };
891
- content: {
892
- "application/json": {
893
- /** @description Current page number of the result set. */
894
- page?: number;
895
- /** @description Number of items per page. */
896
- pageSize?: number;
897
- /** @description Total number of items available. */
898
- totalCount?: number;
899
- /** @description The data of the userspageforadmin. */
900
- data?: {
901
- /**
902
- * Format: uuid
903
- * @description Unique identifier for the user
904
- */
905
- id: string;
906
- /** @description User identifier (username or external ID) */
907
- userId: string;
908
- /**
909
- * @description Authentication provider (e.g., Google, Github)
910
- * @example [
911
- * "local",
912
- * "github",
913
- * "google",
914
- * "twitter"
915
- * ]
916
- */
917
- provider: string;
918
- /**
919
- * Format: email
920
- * @description User's email address
921
- */
922
- email: string;
923
- /** @description User's first name */
924
- firstName: string;
925
- /** @description User's last name */
926
- lastName: string;
927
- /**
928
- * Format: uri
929
- * @description URL to user's avatar image
930
- */
931
- avatarUrl?: string;
932
- /**
933
- * @description User account status
934
- * @enum {string}
935
- */
936
- status: "active" | "inactive" | "pending" | "anonymous";
937
- /**
938
- * @description User's biography or description
939
- * @default
940
- */
941
- bio: string;
942
- /** @description User's country information stored as JSONB */
943
- country?: {
944
- [key: string]: unknown;
945
- };
946
- /** @description User's region information stored as JSONB */
947
- region?: {
948
- [key: string]: unknown;
949
- };
950
- /** @description User preferences stored as JSONB */
951
- preferences?: {
952
- /** @description The mesh adapters of the preference. */
953
- meshAdapters?: Record<string, never>[];
954
- grafana?: {
955
- /** @description Grafana URL for the user configuration. */
956
- grafanaUrl?: string;
957
- /** @description Grafana API key for the user configuration. */
958
- grafanaApiKey?: string;
959
- /** @description Selected Grafana board configurations for the user. */
960
- selectedBoardsConfigs?: {
961
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
962
- board?: Record<string, never>;
963
- /** @description Panels selected for the Grafana board configuration. */
964
- panels?: Record<string, never>[];
965
- /** @description Template variables applied to the selected Grafana board configuration. */
966
- templateVars?: string[];
967
- }[];
968
- };
969
- prometheus?: {
970
- /** @description The prometheus URL of the prometheus. */
971
- prometheusUrl?: string;
972
- /** @description The selected prometheus boards configs of the prometheus. */
973
- selectedPrometheusBoardsConfigs?: {
974
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
975
- board?: Record<string, never>;
976
- /** @description Panels selected for the Grafana board configuration. */
977
- panels?: Record<string, never>[];
978
- /** @description Template variables applied to the selected Grafana board configuration. */
979
- templateVars?: string[];
980
- }[];
981
- };
982
- loadTestPrefs?: {
983
- /** @description Concurrent requests */
984
- c?: number;
985
- /** @description Queries per second */
986
- qps?: number;
987
- /** @description Duration */
988
- t?: string;
989
- /** @description Load generator */
990
- gen?: string;
991
- };
992
- /** @description The anonymous usage stats of the preference. */
993
- anonymousUsageStats: boolean;
994
- /** @description The anonymous perf results of the preference. */
995
- anonymousPerfResults: boolean;
996
- /**
997
- * Format: date-time
998
- * @description Timestamp of when the resource was last updated.
999
- */
1000
- updatedAt: string;
1001
- /** @description The dashboard preferences of the preference. */
1002
- dashboardPreferences: {
1003
- [key: string]: unknown;
1004
- };
1005
- /**
1006
- * Format: uuid
1007
- * @description ID of the associated selectedOrganization.
1008
- */
1009
- selectedOrganizationId: string;
1010
- /** @description The selected workspace for organizations of the preference. */
1011
- selectedWorkspaceForOrganizations: {
1012
- [key: string]: string;
1013
- };
1014
- /** @description The users extension preferences of the preference. */
1015
- usersExtensionPreferences: {
1016
- [key: string]: unknown;
1017
- };
1018
- /** @description The remote provider preferences of the preference. */
1019
- remoteProviderPreferences: {
1020
- [key: string]: unknown;
1021
- };
1022
- };
1023
- /**
1024
- * Format: date-time
1025
- * @description Timestamp when user accepted terms and conditions
1026
- */
1027
- acceptedTermsAt?: string;
1028
- /**
1029
- * Format: date-time
1030
- * @description Timestamp of user's first login
1031
- */
1032
- firstLoginTime?: string;
1033
- /**
1034
- * Format: date-time
1035
- * @description Timestamp of user's most recent login
1036
- */
1037
- lastLoginTime: string;
1038
- /**
1039
- * Format: date-time
1040
- * @description Timestamp when the user record was created
1041
- */
1042
- createdAt: string;
1043
- /**
1044
- * Format: date-time
1045
- * @description Timestamp when the user record was last updated
1046
- */
1047
- updatedAt: string;
1048
- /** @description Various online profiles associated with the user account */
1049
- socials?: {
1050
- /** @description The site of the social. */
1051
- site: string;
1052
- /**
1053
- * Format: uri
1054
- * @description The link of the social.
1055
- */
1056
- link: string;
1057
- }[];
1058
- /**
1059
- * Format: date-time
1060
- * @description Timestamp when the user record was soft-deleted (null if not deleted)
1061
- */
1062
- deletedAt: string | null;
1063
- /**
1064
- * @description List of global roles assigned to the user
1065
- * @example [
1066
- * "admin",
1067
- * "meshmap"
1068
- * ]
1069
- */
1070
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
1071
- /** @description Teams the user belongs to with role information */
1072
- teams?: {
1073
- /** @description Team memberships for the user with their assigned roles. */
1074
- teamsWithRoles?: Record<string, never>[];
1075
- /** @description Total number of team memberships returned for the user. */
1076
- totalCount?: number;
1077
- };
1078
- /** @description Organizations the user belongs to with role information */
1079
- organizations?: {
1080
- /** @description Organization memberships for the user with their assigned roles. */
1081
- organizationsWithRoles?: Record<string, never>[];
1082
- /** @description Total number of organization memberships returned for the user. */
1083
- totalCount?: number;
1084
- };
1085
- }[];
1086
- };
1087
- };
1088
- };
1089
- /** @description Invalid request body or request param */
1090
- 400: {
1091
- headers: {
1092
- [name: string]: unknown;
1093
- };
1094
- content: {
1095
- "text/plain": string;
1096
- };
1097
- };
1098
- /** @description Expired JWT token used or insufficient privilege */
1099
- 401: {
1100
- headers: {
1101
- [name: string]: unknown;
1102
- };
1103
- content: {
1104
- "text/plain": string;
1105
- };
1106
- };
1107
- /** @description Result not found */
1108
- 404: {
1109
- headers: {
1110
- [name: string]: unknown;
1111
- };
1112
- content: {
1113
- "text/plain": string;
1114
- };
1115
- };
1116
- /** @description Internal server error */
1117
- 500: {
1118
- headers: {
1119
- [name: string]: unknown;
1120
- };
1121
- content: {
1122
- "text/plain": string;
1123
- };
1124
- };
1450
+ };
1451
+ /** Expired JWT token used or insufficient privilege */
1452
+ 401: {
1453
+ content: {
1454
+ "text/plain": string;
1125
1455
  };
1126
- };
1127
- getUsers: {
1128
- parameters: {
1129
- query?: {
1130
- /** @description Get responses by page */
1131
- page?: string;
1132
- /** @description Get responses by page size */
1133
- pageSize?: string;
1134
- /** @description Get responses that match search param value */
1135
- search?: string;
1136
- /** @description Get ordered responses */
1137
- order?: string;
1138
- /** @description Get filtered reponses */
1139
- filter?: string;
1140
- };
1141
- header?: never;
1142
- path?: never;
1143
- cookie?: never;
1456
+ };
1457
+ /** Result not found */
1458
+ 404: {
1459
+ content: {
1460
+ "text/plain": string;
1144
1461
  };
1145
- requestBody?: never;
1146
- responses: {
1147
- /** @description Paginated list of public users */
1148
- 200: {
1149
- headers: {
1150
- [name: string]: unknown;
1151
- };
1152
- content: {
1153
- "application/json": {
1154
- /** @description Current page number of the result set. */
1155
- page?: number;
1156
- /** @description Number of items per page. */
1157
- pageSize?: number;
1158
- /** @description Total number of items available. */
1159
- totalCount?: number;
1160
- /** @description The data of the userspagefornonadmin. */
1161
- data?: {
1162
- /**
1163
- * Format: uuid
1164
- * @description Unique identifier for the user
1165
- */
1166
- id: string;
1167
- /** @description User identifier (username or external ID) */
1168
- userId: string;
1169
- /**
1170
- * @description Authentication provider (e.g., Google, Github)
1171
- * @example [
1172
- * "local",
1173
- * "github",
1174
- * "google",
1175
- * "twitter"
1176
- * ]
1177
- */
1178
- provider: string;
1179
- /**
1180
- * Format: email
1181
- * @description User's email address
1182
- */
1183
- email: string;
1184
- /** @description User's first name */
1185
- firstName: string;
1186
- /** @description User's last name */
1187
- lastName: string;
1188
- /**
1189
- * Format: uri
1190
- * @description URL to user's avatar image
1191
- */
1192
- avatarUrl?: string;
1193
- /**
1194
- * @description User account status
1195
- * @enum {string}
1196
- */
1197
- status: "active" | "inactive" | "pending" | "anonymous";
1198
- /**
1199
- * @description User's biography or description
1200
- * @default
1201
- */
1202
- bio: string;
1203
- /** @description User's country information stored as JSONB */
1204
- country?: {
1205
- [key: string]: unknown;
1206
- };
1207
- /** @description User's region information stored as JSONB */
1208
- region?: {
1209
- [key: string]: unknown;
1210
- };
1211
- /** @description User preferences stored as JSONB */
1212
- preferences?: {
1213
- /** @description The mesh adapters of the preference. */
1214
- meshAdapters?: Record<string, never>[];
1215
- grafana?: {
1216
- /** @description Grafana URL for the user configuration. */
1217
- grafanaUrl?: string;
1218
- /** @description Grafana API key for the user configuration. */
1219
- grafanaApiKey?: string;
1220
- /** @description Selected Grafana board configurations for the user. */
1221
- selectedBoardsConfigs?: {
1222
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
1223
- board?: Record<string, never>;
1224
- /** @description Panels selected for the Grafana board configuration. */
1225
- panels?: Record<string, never>[];
1226
- /** @description Template variables applied to the selected Grafana board configuration. */
1227
- templateVars?: string[];
1228
- }[];
1229
- };
1230
- prometheus?: {
1231
- /** @description The prometheus URL of the prometheus. */
1232
- prometheusUrl?: string;
1233
- /** @description The selected prometheus boards configs of the prometheus. */
1234
- selectedPrometheusBoardsConfigs?: {
1235
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
1236
- board?: Record<string, never>;
1237
- /** @description Panels selected for the Grafana board configuration. */
1238
- panels?: Record<string, never>[];
1239
- /** @description Template variables applied to the selected Grafana board configuration. */
1240
- templateVars?: string[];
1241
- }[];
1242
- };
1243
- loadTestPrefs?: {
1244
- /** @description Concurrent requests */
1245
- c?: number;
1246
- /** @description Queries per second */
1247
- qps?: number;
1248
- /** @description Duration */
1249
- t?: string;
1250
- /** @description Load generator */
1251
- gen?: string;
1252
- };
1253
- /** @description The anonymous usage stats of the preference. */
1254
- anonymousUsageStats: boolean;
1255
- /** @description The anonymous perf results of the preference. */
1256
- anonymousPerfResults: boolean;
1257
- /**
1258
- * Format: date-time
1259
- * @description Timestamp of when the resource was last updated.
1260
- */
1261
- updatedAt: string;
1262
- /** @description The dashboard preferences of the preference. */
1263
- dashboardPreferences: {
1264
- [key: string]: unknown;
1265
- };
1266
- /**
1267
- * Format: uuid
1268
- * @description ID of the associated selectedOrganization.
1269
- */
1270
- selectedOrganizationId: string;
1271
- /** @description The selected workspace for organizations of the preference. */
1272
- selectedWorkspaceForOrganizations: {
1273
- [key: string]: string;
1274
- };
1275
- /** @description The users extension preferences of the preference. */
1276
- usersExtensionPreferences: {
1277
- [key: string]: unknown;
1278
- };
1279
- /** @description The remote provider preferences of the preference. */
1280
- remoteProviderPreferences: {
1281
- [key: string]: unknown;
1282
- };
1283
- };
1284
- /**
1285
- * Format: date-time
1286
- * @description Timestamp when user accepted terms and conditions
1287
- */
1288
- acceptedTermsAt?: string;
1289
- /**
1290
- * Format: date-time
1291
- * @description Timestamp of user's first login
1292
- */
1293
- firstLoginTime?: string;
1294
- /**
1295
- * Format: date-time
1296
- * @description Timestamp of user's most recent login
1297
- */
1298
- lastLoginTime: string;
1299
- /**
1300
- * Format: date-time
1301
- * @description Timestamp when the user record was created
1302
- */
1303
- createdAt: string;
1304
- /**
1305
- * Format: date-time
1306
- * @description Timestamp when the user record was last updated
1307
- */
1308
- updatedAt: string;
1309
- /** @description Various online profiles associated with the user account */
1310
- socials?: {
1311
- /** @description The site of the social. */
1312
- site: string;
1313
- /**
1314
- * Format: uri
1315
- * @description The link of the social.
1316
- */
1317
- link: string;
1318
- }[];
1319
- /**
1320
- * Format: date-time
1321
- * @description Timestamp when the user record was soft-deleted (null if not deleted)
1322
- */
1323
- deletedAt: string | null;
1324
- /**
1325
- * @description List of global roles assigned to the user
1326
- * @example [
1327
- * "admin",
1328
- * "meshmap"
1329
- * ]
1330
- */
1331
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
1332
- /** @description Teams the user belongs to with role information */
1333
- teams?: {
1334
- /** @description Team memberships for the user with their assigned roles. */
1335
- teamsWithRoles?: Record<string, never>[];
1336
- /** @description Total number of team memberships returned for the user. */
1337
- totalCount?: number;
1338
- };
1339
- /** @description Organizations the user belongs to with role information */
1340
- organizations?: {
1341
- /** @description Organization memberships for the user with their assigned roles. */
1342
- organizationsWithRoles?: Record<string, never>[];
1343
- /** @description Total number of organization memberships returned for the user. */
1344
- totalCount?: number;
1345
- };
1346
- }[];
1347
- };
1348
- };
1349
- };
1350
- /** @description Invalid request body or request param */
1351
- 400: {
1352
- headers: {
1353
- [name: string]: unknown;
1354
- };
1355
- content: {
1356
- "text/plain": string;
1357
- };
1358
- };
1359
- /** @description Expired JWT token used or insufficient privilege */
1360
- 401: {
1361
- headers: {
1362
- [name: string]: unknown;
1363
- };
1364
- content: {
1365
- "text/plain": string;
1366
- };
1367
- };
1368
- /** @description Internal server error */
1369
- 500: {
1370
- headers: {
1371
- [name: string]: unknown;
1372
- };
1373
- content: {
1374
- "text/plain": string;
1375
- };
1376
- };
1462
+ };
1463
+ /** Internal server error */
1464
+ 500: {
1465
+ content: {
1466
+ "text/plain": string;
1377
1467
  };
1468
+ };
1378
1469
  };
1379
- getUserProfileById: {
1380
- parameters: {
1381
- query?: never;
1382
- header?: never;
1383
- path: {
1384
- /** @description User ID */
1385
- id: string;
1386
- };
1387
- cookie?: never;
1388
- };
1389
- requestBody?: never;
1390
- responses: {
1391
- /** @description User profile for the requested ID */
1392
- 200: {
1393
- headers: {
1394
- [name: string]: unknown;
1395
- };
1396
- content: {
1397
- "application/json": {
1398
- /**
1399
- * Format: uuid
1400
- * @description Unique identifier for the user
1401
- */
1402
- id: string;
1403
- /** @description User identifier (username or external ID) */
1404
- userId: string;
1405
- /**
1406
- * @description Authentication provider (e.g., Google, Github)
1407
- * @example [
1408
- * "local",
1409
- * "github",
1410
- * "google",
1411
- * "twitter"
1412
- * ]
1413
- */
1414
- provider: string;
1415
- /**
1416
- * Format: email
1417
- * @description User's email address
1418
- */
1419
- email: string;
1420
- /** @description User's first name */
1421
- firstName: string;
1422
- /** @description User's last name */
1423
- lastName: string;
1424
- /**
1425
- * Format: uri
1426
- * @description URL to user's avatar image
1427
- */
1428
- avatarUrl?: string;
1429
- /**
1430
- * @description User account status
1431
- * @enum {string}
1432
- */
1433
- status: "active" | "inactive" | "pending" | "anonymous";
1434
- /**
1435
- * @description User's biography or description
1436
- * @default
1437
- */
1438
- bio: string;
1439
- /** @description User's country information stored as JSONB */
1440
- country?: {
1441
- [key: string]: unknown;
1442
- };
1443
- /** @description User's region information stored as JSONB */
1444
- region?: {
1445
- [key: string]: unknown;
1446
- };
1447
- /** @description User preferences stored as JSONB */
1448
- preferences?: {
1449
- /** @description The mesh adapters of the preference. */
1450
- meshAdapters?: Record<string, never>[];
1451
- grafana?: {
1452
- /** @description Grafana URL for the user configuration. */
1453
- grafanaUrl?: string;
1454
- /** @description Grafana API key for the user configuration. */
1455
- grafanaApiKey?: string;
1456
- /** @description Selected Grafana board configurations for the user. */
1457
- selectedBoardsConfigs?: {
1458
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
1459
- board?: Record<string, never>;
1460
- /** @description Panels selected for the Grafana board configuration. */
1461
- panels?: Record<string, never>[];
1462
- /** @description Template variables applied to the selected Grafana board configuration. */
1463
- templateVars?: string[];
1464
- }[];
1465
- };
1466
- prometheus?: {
1467
- /** @description The prometheus URL of the prometheus. */
1468
- prometheusUrl?: string;
1469
- /** @description The selected prometheus boards configs of the prometheus. */
1470
- selectedPrometheusBoardsConfigs?: {
1471
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
1472
- board?: Record<string, never>;
1473
- /** @description Panels selected for the Grafana board configuration. */
1474
- panels?: Record<string, never>[];
1475
- /** @description Template variables applied to the selected Grafana board configuration. */
1476
- templateVars?: string[];
1477
- }[];
1478
- };
1479
- loadTestPrefs?: {
1480
- /** @description Concurrent requests */
1481
- c?: number;
1482
- /** @description Queries per second */
1483
- qps?: number;
1484
- /** @description Duration */
1485
- t?: string;
1486
- /** @description Load generator */
1487
- gen?: string;
1488
- };
1489
- /** @description The anonymous usage stats of the preference. */
1490
- anonymousUsageStats: boolean;
1491
- /** @description The anonymous perf results of the preference. */
1492
- anonymousPerfResults: boolean;
1493
- /**
1494
- * Format: date-time
1495
- * @description Timestamp of when the resource was last updated.
1496
- */
1497
- updatedAt: string;
1498
- /** @description The dashboard preferences of the preference. */
1499
- dashboardPreferences: {
1500
- [key: string]: unknown;
1501
- };
1502
- /**
1503
- * Format: uuid
1504
- * @description ID of the associated selectedOrganization.
1505
- */
1506
- selectedOrganizationId: string;
1507
- /** @description The selected workspace for organizations of the preference. */
1508
- selectedWorkspaceForOrganizations: {
1509
- [key: string]: string;
1510
- };
1511
- /** @description The users extension preferences of the preference. */
1512
- usersExtensionPreferences: {
1513
- [key: string]: unknown;
1514
- };
1515
- /** @description The remote provider preferences of the preference. */
1516
- remoteProviderPreferences: {
1517
- [key: string]: unknown;
1518
- };
1519
- };
1520
- /**
1521
- * Format: date-time
1522
- * @description Timestamp when user accepted terms and conditions
1523
- */
1524
- acceptedTermsAt?: string;
1525
- /**
1526
- * Format: date-time
1527
- * @description Timestamp of user's first login
1528
- */
1529
- firstLoginTime?: string;
1530
- /**
1531
- * Format: date-time
1532
- * @description Timestamp of user's most recent login
1533
- */
1534
- lastLoginTime: string;
1535
- /**
1536
- * Format: date-time
1537
- * @description Timestamp when the user record was created
1538
- */
1539
- createdAt: string;
1540
- /**
1541
- * Format: date-time
1542
- * @description Timestamp when the user record was last updated
1543
- */
1544
- updatedAt: string;
1545
- /** @description Various online profiles associated with the user account */
1546
- socials?: {
1547
- /** @description The site of the social. */
1548
- site: string;
1549
- /**
1550
- * Format: uri
1551
- * @description The link of the social.
1552
- */
1553
- link: string;
1554
- }[];
1555
- /**
1556
- * Format: date-time
1557
- * @description Timestamp when the user record was soft-deleted (null if not deleted)
1558
- */
1559
- deletedAt: string | null;
1560
- /**
1561
- * @description List of global roles assigned to the user
1562
- * @example [
1563
- * "admin",
1564
- * "meshmap"
1565
- * ]
1566
- */
1567
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
1568
- /** @description Teams the user belongs to with role information */
1569
- teams?: {
1570
- /** @description Team memberships for the user with their assigned roles. */
1571
- teamsWithRoles?: Record<string, never>[];
1572
- /** @description Total number of team memberships returned for the user. */
1573
- totalCount?: number;
1574
- };
1575
- /** @description Organizations the user belongs to with role information */
1576
- organizations?: {
1577
- /** @description Organization memberships for the user with their assigned roles. */
1578
- organizationsWithRoles?: Record<string, never>[];
1579
- /** @description Total number of organization memberships returned for the user. */
1580
- totalCount?: number;
1581
- };
1582
- };
1583
- };
1584
- };
1585
- /** @description Invalid request body or request param */
1586
- 400: {
1587
- headers: {
1588
- [name: string]: unknown;
1589
- };
1590
- content: {
1591
- "text/plain": string;
1592
- };
1593
- };
1594
- /** @description Expired JWT token used or insufficient privilege */
1595
- 401: {
1596
- headers: {
1597
- [name: string]: unknown;
1598
- };
1599
- content: {
1600
- "text/plain": string;
1601
- };
1470
+ };
1471
+ getUser: {
1472
+ responses: {
1473
+ /** Current user profile and role context */
1474
+ 200: {
1475
+ content: {
1476
+ "application/json": {
1477
+ /**
1478
+ * Format: uuid
1479
+ * @description Unique identifier for the user
1480
+ */
1481
+ id: string;
1482
+ /** @description User identifier (username or external ID) */
1483
+ userId: string;
1484
+ /**
1485
+ * @description Authentication provider (e.g., Google, Github)
1486
+ * @example [
1487
+ * "local",
1488
+ * "github",
1489
+ * "google",
1490
+ * "twitter"
1491
+ * ]
1492
+ */
1493
+ provider: string;
1494
+ /**
1495
+ * Format: email
1496
+ * @description User's email address
1497
+ */
1498
+ email: string;
1499
+ /** @description User's first name */
1500
+ firstName: string;
1501
+ /** @description User's last name */
1502
+ lastName: string;
1503
+ /**
1504
+ * Format: uri
1505
+ * @description URL to user's avatar image
1506
+ */
1507
+ avatarUrl?: string;
1508
+ /**
1509
+ * @description User account status
1510
+ * @enum {string}
1511
+ */
1512
+ status: "active" | "inactive" | "pending" | "anonymous";
1513
+ /**
1514
+ * @description User's biography or description
1515
+ * @default
1516
+ */
1517
+ bio?: string;
1518
+ /** @description User's country information stored as JSONB */
1519
+ country?: { [key: string]: unknown };
1520
+ /** @description User's region information stored as JSONB */
1521
+ region?: { [key: string]: unknown };
1522
+ /** @description User preferences stored as JSONB */
1523
+ preferences?: {
1524
+ /** @description The mesh adapters of the preference. */
1525
+ meshAdapters?: { [key: string]: unknown }[];
1526
+ grafana?: {
1527
+ /** @description Grafana URL for the user configuration. */
1528
+ grafanaUrl?: string;
1529
+ /** @description Grafana API key for the user configuration. */
1530
+ grafanaApiKey?: string;
1531
+ /** @description Selected Grafana board configurations for the user. */
1532
+ selectedBoardsConfigs?: {
1533
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
1534
+ board?: { [key: string]: unknown };
1535
+ /** @description Panels selected for the Grafana board configuration. */
1536
+ panels?: { [key: string]: unknown }[];
1537
+ /** @description Template variables applied to the selected Grafana board configuration. */
1538
+ templateVars?: string[];
1539
+ }[];
1540
+ };
1541
+ prometheus?: {
1542
+ /** @description The prometheus URL of the prometheus. */
1543
+ prometheusUrl?: string;
1544
+ /** @description The selected prometheus boards configs of the prometheus. */
1545
+ selectedPrometheusBoardsConfigs?: {
1546
+ /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
1547
+ board?: { [key: string]: unknown };
1548
+ /** @description Panels selected for the Grafana board configuration. */
1549
+ panels?: { [key: string]: unknown }[];
1550
+ /** @description Template variables applied to the selected Grafana board configuration. */
1551
+ templateVars?: string[];
1552
+ }[];
1553
+ };
1554
+ loadTestPrefs?: {
1555
+ /** @description Concurrent requests */
1556
+ c?: number;
1557
+ /** @description Queries per second */
1558
+ qps?: number;
1559
+ /** @description Duration */
1560
+ t?: string;
1561
+ /** @description Load generator */
1562
+ gen?: string;
1563
+ };
1564
+ /** @description The anonymous usage stats of the preference. */
1565
+ anonymousUsageStats: boolean;
1566
+ /** @description The anonymous perf results of the preference. */
1567
+ anonymousPerfResults: boolean;
1568
+ /**
1569
+ * Format: date-time
1570
+ * @description Timestamp of when the resource was last updated.
1571
+ */
1572
+ updatedAt: string;
1573
+ /** @description The dashboard preferences of the preference. */
1574
+ dashboardPreferences: { [key: string]: unknown };
1575
+ /**
1576
+ * Format: uuid
1577
+ * @description ID of the associated selectedOrganization.
1578
+ */
1579
+ selectedOrganizationId: string;
1580
+ /** @description The selected workspace for organizations of the preference. */
1581
+ selectedWorkspaceForOrganizations: { [key: string]: string };
1582
+ /** @description The users extension preferences of the preference. */
1583
+ usersExtensionPreferences: { [key: string]: unknown };
1584
+ /** @description The remote provider preferences of the preference. */
1585
+ remoteProviderPreferences: { [key: string]: unknown };
1602
1586
  };
1603
- /** @description Result not found */
1604
- 404: {
1605
- headers: {
1606
- [name: string]: unknown;
1607
- };
1608
- content: {
1609
- "text/plain": string;
1610
- };
1587
+ /**
1588
+ * Format: date-time
1589
+ * @description Timestamp when user accepted terms and conditions
1590
+ */
1591
+ acceptedTermsAt?: string;
1592
+ /**
1593
+ * Format: date-time
1594
+ * @description Timestamp of user's first login
1595
+ */
1596
+ firstLoginTime?: string;
1597
+ /**
1598
+ * Format: date-time
1599
+ * @description Timestamp of user's most recent login
1600
+ */
1601
+ lastLoginTime: string;
1602
+ /**
1603
+ * Format: date-time
1604
+ * @description Timestamp when the user record was created
1605
+ */
1606
+ createdAt: string;
1607
+ /**
1608
+ * Format: date-time
1609
+ * @description Timestamp when the user record was last updated
1610
+ */
1611
+ updatedAt: string;
1612
+ /** @description Various online profiles associated with the user account */
1613
+ socials?: {
1614
+ /** @description The site of the social. */
1615
+ site: string;
1616
+ /**
1617
+ * Format: uri
1618
+ * @description The link of the social.
1619
+ */
1620
+ link: string;
1621
+ }[];
1622
+ /**
1623
+ * Format: date-time
1624
+ * @description Timestamp when the user record was soft-deleted (null if not deleted)
1625
+ */
1626
+ deletedAt: string | null;
1627
+ /**
1628
+ * @description List of global roles assigned to the user
1629
+ * @example [
1630
+ * "admin",
1631
+ * "meshmap"
1632
+ * ]
1633
+ */
1634
+ roleNames?: (
1635
+ | "admin"
1636
+ | "meshmap"
1637
+ | "curator"
1638
+ | "team admin"
1639
+ | "workspace admin"
1640
+ | "workspace manager"
1641
+ | "organization admin"
1642
+ | "user"
1643
+ )[];
1644
+ /** @description Teams the user belongs to with role information */
1645
+ teams?: {
1646
+ /** @description Team memberships for the user with their assigned roles. */
1647
+ teamsWithRoles?: { [key: string]: unknown }[];
1648
+ /** @description Total number of team memberships returned for the user. */
1649
+ totalCount?: number;
1611
1650
  };
1612
- /** @description Internal server error */
1613
- 500: {
1614
- headers: {
1615
- [name: string]: unknown;
1616
- };
1617
- content: {
1618
- "text/plain": string;
1619
- };
1651
+ /** @description Organizations the user belongs to with role information */
1652
+ organizations?: {
1653
+ /** @description Organization memberships for the user with their assigned roles. */
1654
+ organizationsWithRoles?: { [key: string]: unknown }[];
1655
+ /** @description Total number of organization memberships returned for the user. */
1656
+ totalCount?: number;
1620
1657
  };
1658
+ };
1621
1659
  };
1622
- };
1623
- getUser: {
1624
- parameters: {
1625
- query?: never;
1626
- header?: never;
1627
- path?: never;
1628
- cookie?: never;
1660
+ };
1661
+ /** Expired JWT token used or insufficient privilege */
1662
+ 401: {
1663
+ content: {
1664
+ "text/plain": string;
1629
1665
  };
1630
- requestBody?: never;
1631
- responses: {
1632
- /** @description Current user profile and role context */
1633
- 200: {
1634
- headers: {
1635
- [name: string]: unknown;
1636
- };
1637
- content: {
1638
- "application/json": {
1639
- /**
1640
- * Format: uuid
1641
- * @description Unique identifier for the user
1642
- */
1643
- id: string;
1644
- /** @description User identifier (username or external ID) */
1645
- userId: string;
1646
- /**
1647
- * @description Authentication provider (e.g., Google, Github)
1648
- * @example [
1649
- * "local",
1650
- * "github",
1651
- * "google",
1652
- * "twitter"
1653
- * ]
1654
- */
1655
- provider: string;
1656
- /**
1657
- * Format: email
1658
- * @description User's email address
1659
- */
1660
- email: string;
1661
- /** @description User's first name */
1662
- firstName: string;
1663
- /** @description User's last name */
1664
- lastName: string;
1665
- /**
1666
- * Format: uri
1667
- * @description URL to user's avatar image
1668
- */
1669
- avatarUrl?: string;
1670
- /**
1671
- * @description User account status
1672
- * @enum {string}
1673
- */
1674
- status: "active" | "inactive" | "pending" | "anonymous";
1675
- /**
1676
- * @description User's biography or description
1677
- * @default
1678
- */
1679
- bio: string;
1680
- /** @description User's country information stored as JSONB */
1681
- country?: {
1682
- [key: string]: unknown;
1683
- };
1684
- /** @description User's region information stored as JSONB */
1685
- region?: {
1686
- [key: string]: unknown;
1687
- };
1688
- /** @description User preferences stored as JSONB */
1689
- preferences?: {
1690
- /** @description The mesh adapters of the preference. */
1691
- meshAdapters?: Record<string, never>[];
1692
- grafana?: {
1693
- /** @description Grafana URL for the user configuration. */
1694
- grafanaUrl?: string;
1695
- /** @description Grafana API key for the user configuration. */
1696
- grafanaApiKey?: string;
1697
- /** @description Selected Grafana board configurations for the user. */
1698
- selectedBoardsConfigs?: {
1699
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
1700
- board?: Record<string, never>;
1701
- /** @description Panels selected for the Grafana board configuration. */
1702
- panels?: Record<string, never>[];
1703
- /** @description Template variables applied to the selected Grafana board configuration. */
1704
- templateVars?: string[];
1705
- }[];
1706
- };
1707
- prometheus?: {
1708
- /** @description The prometheus URL of the prometheus. */
1709
- prometheusUrl?: string;
1710
- /** @description The selected prometheus boards configs of the prometheus. */
1711
- selectedPrometheusBoardsConfigs?: {
1712
- /** @description Placeholder for GrafanaBoard definition (define fields as needed) */
1713
- board?: Record<string, never>;
1714
- /** @description Panels selected for the Grafana board configuration. */
1715
- panels?: Record<string, never>[];
1716
- /** @description Template variables applied to the selected Grafana board configuration. */
1717
- templateVars?: string[];
1718
- }[];
1719
- };
1720
- loadTestPrefs?: {
1721
- /** @description Concurrent requests */
1722
- c?: number;
1723
- /** @description Queries per second */
1724
- qps?: number;
1725
- /** @description Duration */
1726
- t?: string;
1727
- /** @description Load generator */
1728
- gen?: string;
1729
- };
1730
- /** @description The anonymous usage stats of the preference. */
1731
- anonymousUsageStats: boolean;
1732
- /** @description The anonymous perf results of the preference. */
1733
- anonymousPerfResults: boolean;
1734
- /**
1735
- * Format: date-time
1736
- * @description Timestamp of when the resource was last updated.
1737
- */
1738
- updatedAt: string;
1739
- /** @description The dashboard preferences of the preference. */
1740
- dashboardPreferences: {
1741
- [key: string]: unknown;
1742
- };
1743
- /**
1744
- * Format: uuid
1745
- * @description ID of the associated selectedOrganization.
1746
- */
1747
- selectedOrganizationId: string;
1748
- /** @description The selected workspace for organizations of the preference. */
1749
- selectedWorkspaceForOrganizations: {
1750
- [key: string]: string;
1751
- };
1752
- /** @description The users extension preferences of the preference. */
1753
- usersExtensionPreferences: {
1754
- [key: string]: unknown;
1755
- };
1756
- /** @description The remote provider preferences of the preference. */
1757
- remoteProviderPreferences: {
1758
- [key: string]: unknown;
1759
- };
1760
- };
1761
- /**
1762
- * Format: date-time
1763
- * @description Timestamp when user accepted terms and conditions
1764
- */
1765
- acceptedTermsAt?: string;
1766
- /**
1767
- * Format: date-time
1768
- * @description Timestamp of user's first login
1769
- */
1770
- firstLoginTime?: string;
1771
- /**
1772
- * Format: date-time
1773
- * @description Timestamp of user's most recent login
1774
- */
1775
- lastLoginTime: string;
1776
- /**
1777
- * Format: date-time
1778
- * @description Timestamp when the user record was created
1779
- */
1780
- createdAt: string;
1781
- /**
1782
- * Format: date-time
1783
- * @description Timestamp when the user record was last updated
1784
- */
1785
- updatedAt: string;
1786
- /** @description Various online profiles associated with the user account */
1787
- socials?: {
1788
- /** @description The site of the social. */
1789
- site: string;
1790
- /**
1791
- * Format: uri
1792
- * @description The link of the social.
1793
- */
1794
- link: string;
1795
- }[];
1796
- /**
1797
- * Format: date-time
1798
- * @description Timestamp when the user record was soft-deleted (null if not deleted)
1799
- */
1800
- deletedAt: string | null;
1801
- /**
1802
- * @description List of global roles assigned to the user
1803
- * @example [
1804
- * "admin",
1805
- * "meshmap"
1806
- * ]
1807
- */
1808
- roleNames?: ("admin" | "meshmap" | "curator" | "team admin" | "workspace admin" | "workspace manager" | "organization admin" | "user")[];
1809
- /** @description Teams the user belongs to with role information */
1810
- teams?: {
1811
- /** @description Team memberships for the user with their assigned roles. */
1812
- teamsWithRoles?: Record<string, never>[];
1813
- /** @description Total number of team memberships returned for the user. */
1814
- totalCount?: number;
1815
- };
1816
- /** @description Organizations the user belongs to with role information */
1817
- organizations?: {
1818
- /** @description Organization memberships for the user with their assigned roles. */
1819
- organizationsWithRoles?: Record<string, never>[];
1820
- /** @description Total number of organization memberships returned for the user. */
1821
- totalCount?: number;
1822
- };
1823
- };
1824
- };
1825
- };
1826
- /** @description Expired JWT token used or insufficient privilege */
1827
- 401: {
1828
- headers: {
1829
- [name: string]: unknown;
1830
- };
1831
- content: {
1832
- "text/plain": string;
1833
- };
1834
- };
1835
- /** @description Internal server error */
1836
- 500: {
1837
- headers: {
1838
- [name: string]: unknown;
1839
- };
1840
- content: {
1841
- "text/plain": string;
1842
- };
1843
- };
1666
+ };
1667
+ /** Internal server error */
1668
+ 500: {
1669
+ content: {
1670
+ "text/plain": string;
1844
1671
  };
1672
+ };
1845
1673
  };
1674
+ };
1846
1675
  }
1676
+
1677
+ export interface external {}