@meshery/schemas 1.2.22 → 1.2.23
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.
- package/dist/cloudApi.d.mts +1719 -1518
- package/dist/cloudApi.d.ts +1719 -1518
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha1/capability/Capability.d.ts +111 -106
- package/dist/constructs/v1alpha1/core/Core.d.ts +734 -822
- package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +40 -45
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1716 -1829
- package/dist/constructs/v1beta1/academy/Academy.d.ts +6648 -6029
- package/dist/constructs/v1beta1/badge/Badge.d.ts +600 -439
- package/dist/constructs/v1beta1/capability/Capability.d.ts +111 -106
- package/dist/constructs/v1beta1/catalog/Catalog.d.ts +40 -45
- package/dist/constructs/v1beta1/category/Category.d.ts +26 -38
- package/dist/constructs/v1beta1/component/Component.d.ts +729 -833
- package/dist/constructs/v1beta1/connection/Connection.d.ts +1357 -1170
- package/dist/constructs/v1beta1/core/Core.d.ts +734 -822
- package/dist/constructs/v1beta1/credential/Credential.d.ts +593 -458
- package/dist/constructs/v1beta1/environment/Environment.d.ts +835 -666
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5508 -6030
- package/dist/constructs/v1beta1/event/Event.d.ts +898 -527
- package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -249
- package/dist/constructs/v1beta1/invitation/Invitation.d.ts +1244 -877
- package/dist/constructs/v1beta1/key/Key.d.ts +589 -444
- package/dist/constructs/v1beta1/keychain/Keychain.d.ts +796 -575
- package/dist/constructs/v1beta1/model/Model.d.ts +572 -598
- package/dist/constructs/v1beta1/organization/Organization.d.ts +1829 -1410
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17093 -17910
- package/dist/constructs/v1beta1/plan/Plan.d.ts +159 -115
- package/dist/constructs/v1beta1/role/Role.d.ts +933 -688
- package/dist/constructs/v1beta1/schedule/Schedule.d.ts +425 -315
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +18 -61
- package/dist/constructs/v1beta1/subscription/Subscription.d.ts +839 -674
- package/dist/constructs/v1beta1/support/Support.d.ts +115 -74
- package/dist/constructs/v1beta1/system/System.d.ts +434 -0
- package/dist/constructs/v1beta1/system/System.js +1 -0
- package/dist/constructs/v1beta1/system/System.mjs +0 -0
- package/dist/constructs/v1beta1/system/SystemSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/system/SystemSchema.js +2 -0
- package/dist/constructs/v1beta1/system/SystemSchema.mjs +2 -0
- package/dist/constructs/v1beta1/team/Team.d.ts +1028 -762
- package/dist/constructs/v1beta1/token/Token.d.ts +612 -475
- package/dist/constructs/v1beta1/user/User.d.ts +1723 -1554
- package/dist/constructs/v1beta1/view/View.d.ts +833 -664
- package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4900 -4695
- package/dist/constructs/v1beta2/academy/Academy.d.ts +7840 -7222
- package/dist/constructs/v1beta2/badge/Badge.d.ts +610 -453
- package/dist/constructs/v1beta2/catalog/Catalog.d.ts +40 -45
- package/dist/constructs/v1beta2/component/Component.d.ts +747 -851
- package/dist/constructs/v1beta2/connection/Connection.d.ts +1376 -1189
- package/dist/constructs/v1beta2/core/Core.d.ts +768 -856
- package/dist/constructs/v1beta2/credential/Credential.d.ts +572 -437
- package/dist/constructs/v1beta2/design/Design.d.ts +17682 -18467
- package/dist/constructs/v1beta2/event/Event.d.ts +946 -575
- package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1268 -901
- package/dist/constructs/v1beta2/key/Key.d.ts +599 -454
- package/dist/constructs/v1beta2/keychain/Keychain.d.ts +806 -585
- package/dist/constructs/v1beta2/model/Model.d.ts +610 -636
- package/dist/constructs/v1beta2/organization/Organization.d.ts +2135 -1724
- package/dist/constructs/v1beta2/plan/Plan.d.ts +169 -128
- package/dist/constructs/v1beta2/relationship/Relationship.d.ts +1842 -2011
- package/dist/constructs/v1beta2/role/Role.d.ts +940 -695
- package/dist/constructs/v1beta2/schedule/Schedule.d.ts +466 -356
- package/dist/constructs/v1beta2/subscription/Subscription.d.ts +866 -701
- package/dist/constructs/v1beta2/team/Team.d.ts +1118 -852
- package/dist/constructs/v1beta2/token/Token.d.ts +616 -479
- package/dist/constructs/v1beta2/user/User.d.ts +1723 -1554
- package/dist/constructs/v1beta2/view/View.d.ts +838 -669
- package/dist/constructs/v1beta3/academy/Academy.d.ts +7836 -7218
- package/dist/constructs/v1beta3/component/Component.d.ts +753 -857
- package/dist/constructs/v1beta3/connection/Connection.d.ts +1447 -1260
- package/dist/constructs/v1beta3/design/Design.d.ts +5727 -5305
- package/dist/constructs/v1beta3/environment/Environment.d.ts +858 -689
- package/dist/constructs/v1beta3/event/Event.d.ts +1041 -666
- package/dist/constructs/v1beta3/filter/Filter.d.ts +1437 -1299
- package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1277 -910
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +850 -690
- package/dist/constructs/v1beta3/plan/Plan.d.ts +197 -156
- package/dist/constructs/v1beta3/relationship/Relationship.d.ts +1842 -2011
- package/dist/constructs/v1beta3/subscription/Subscription.d.ts +969 -804
- package/dist/constructs/v1beta3/token/Token.d.ts +616 -479
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5030 -4822
- package/dist/index.d.mts +5480 -5022
- package/dist/index.d.ts +5480 -5022
- package/dist/mesheryApi.d.mts +1314 -522
- package/dist/mesheryApi.d.ts +1314 -522
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -2
|
@@ -4,889 +4,176 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export interface paths {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
}[];
|
|
7
|
+
"/api/identity/orgs/{orgId}/users": {
|
|
8
|
+
parameters: {
|
|
9
|
+
query?: never;
|
|
10
|
+
header?: never;
|
|
11
|
+
path?: never;
|
|
12
|
+
cookie?: never;
|
|
103
13
|
};
|
|
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;
|
|
166
14
|
/**
|
|
167
|
-
*
|
|
168
|
-
* @description
|
|
15
|
+
* Get organization users
|
|
16
|
+
* @description Returns organization users, optionally filtered by team membership.
|
|
169
17
|
*/
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
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
|
-
};
|
|
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;
|
|
208
26
|
};
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
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 };
|
|
27
|
+
"/api/users": {
|
|
28
|
+
parameters: {
|
|
29
|
+
query?: never;
|
|
30
|
+
header?: never;
|
|
31
|
+
path?: never;
|
|
32
|
+
cookie?: never;
|
|
328
33
|
};
|
|
329
34
|
/**
|
|
330
|
-
*
|
|
331
|
-
* @description
|
|
332
|
-
*/
|
|
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
|
|
35
|
+
* Get public users
|
|
36
|
+
* @description Returns publicly viewable user records.
|
|
347
37
|
*/
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
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;
|
|
399
|
-
};
|
|
400
|
-
}[];
|
|
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;
|
|
401
46
|
};
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
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;
|
|
47
|
+
"/api/identity/users/profile/{id}": {
|
|
48
|
+
parameters: {
|
|
49
|
+
query?: never;
|
|
50
|
+
header?: never;
|
|
51
|
+
path?: never;
|
|
52
|
+
cookie?: never;
|
|
585
53
|
};
|
|
586
|
-
/**
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
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;
|
|
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;
|
|
710
63
|
};
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
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
|
-
};
|
|
64
|
+
"/api/identity/users/profile": {
|
|
65
|
+
parameters: {
|
|
66
|
+
query?: never;
|
|
67
|
+
header?: never;
|
|
68
|
+
path?: never;
|
|
69
|
+
cookie?: never;
|
|
70
|
+
};
|
|
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;
|
|
746
80
|
};
|
|
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
|
-
};
|
|
766
81
|
}
|
|
767
|
-
|
|
768
|
-
export interface
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
/** @description
|
|
797
|
-
|
|
798
|
-
/**
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
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?: {
|
|
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?: {
|
|
851
138
|
/** @description The mesh adapters of the preference. */
|
|
852
|
-
meshAdapters?:
|
|
139
|
+
meshAdapters?: Record<string, never>[];
|
|
853
140
|
grafana?: {
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
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
|
+
}[];
|
|
867
154
|
};
|
|
868
155
|
prometheus?: {
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
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
|
+
}[];
|
|
880
167
|
};
|
|
881
168
|
loadTestPrefs?: {
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
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;
|
|
890
177
|
};
|
|
891
178
|
/** @description The anonymous usage stats of the preference. */
|
|
892
179
|
anonymousUsageStats: boolean;
|
|
@@ -898,46 +185,54 @@ export interface operations {
|
|
|
898
185
|
*/
|
|
899
186
|
updatedAt: string;
|
|
900
187
|
/** @description The dashboard preferences of the preference. */
|
|
901
|
-
dashboardPreferences: {
|
|
188
|
+
dashboardPreferences: {
|
|
189
|
+
[key: string]: unknown;
|
|
190
|
+
};
|
|
902
191
|
/**
|
|
903
192
|
* Format: uuid
|
|
904
193
|
* @description ID of the associated selectedOrganization.
|
|
905
194
|
*/
|
|
906
195
|
selectedOrganizationId: string;
|
|
907
196
|
/** @description The selected workspace for organizations of the preference. */
|
|
908
|
-
selectedWorkspaceForOrganizations: {
|
|
197
|
+
selectedWorkspaceForOrganizations: {
|
|
198
|
+
[key: string]: string;
|
|
199
|
+
};
|
|
909
200
|
/** @description The users extension preferences of the preference. */
|
|
910
|
-
usersExtensionPreferences: {
|
|
201
|
+
usersExtensionPreferences: {
|
|
202
|
+
[key: string]: unknown;
|
|
203
|
+
};
|
|
911
204
|
/** @description The remote provider preferences of the preference. */
|
|
912
|
-
remoteProviderPreferences: {
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
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?: {
|
|
941
236
|
/** @description The site of the social. */
|
|
942
237
|
site: string;
|
|
943
238
|
/**
|
|
@@ -945,397 +240,459 @@ export interface operations {
|
|
|
945
240
|
* @description The link of the social.
|
|
946
241
|
*/
|
|
947
242
|
link: string;
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
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?: {
|
|
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?: {
|
|
973
259
|
/** @description Team memberships for the user with their assigned roles. */
|
|
974
|
-
teamsWithRoles?:
|
|
260
|
+
teamsWithRoles?: Record<string, never>[];
|
|
975
261
|
/** @description Total number of team memberships returned for the user. */
|
|
976
262
|
totalCount?: number;
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
263
|
+
};
|
|
264
|
+
/** @description Organizations the user belongs to with role information */
|
|
265
|
+
organizations?: {
|
|
980
266
|
/** @description Organization memberships for the user with their assigned roles. */
|
|
981
|
-
organizationsWithRoles?:
|
|
267
|
+
organizationsWithRoles?: Record<string, never>[];
|
|
982
268
|
/** @description Total number of organization memberships returned for the user. */
|
|
983
269
|
totalCount?: number;
|
|
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;
|
|
999
|
-
};
|
|
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;
|
|
270
|
+
};
|
|
1011
271
|
};
|
|
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": {
|
|
272
|
+
/** @description Paginated list of users with organization and team role context */
|
|
273
|
+
UsersPageForAdmin: {
|
|
1036
274
|
/** @description Current page number of the result set. */
|
|
1037
275
|
page?: number;
|
|
1038
276
|
/** @description Number of items per page. */
|
|
1039
277
|
pageSize?: number;
|
|
1040
278
|
/** @description Total number of items available. */
|
|
1041
279
|
totalCount?: number;
|
|
1042
|
-
/** @description The data of the
|
|
280
|
+
/** @description The data of the userspageforadmin. */
|
|
1043
281
|
data?: {
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
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
|
-
}[];
|
|
1107
|
-
};
|
|
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
|
-
}[];
|
|
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;
|
|
1120
326
|
};
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
327
|
+
/** @description User's region information stored as JSONB */
|
|
328
|
+
region?: {
|
|
329
|
+
[key: string]: unknown;
|
|
330
|
+
};
|
|
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
|
+
};
|
|
1130
403
|
};
|
|
1131
|
-
/** @description The anonymous usage stats of the preference. */
|
|
1132
|
-
anonymousUsageStats: boolean;
|
|
1133
|
-
/** @description The anonymous perf results of the preference. */
|
|
1134
|
-
anonymousPerfResults: boolean;
|
|
1135
404
|
/**
|
|
1136
405
|
* Format: date-time
|
|
1137
|
-
* @description Timestamp
|
|
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
|
|
1138
427
|
*/
|
|
1139
428
|
updatedAt: string;
|
|
1140
|
-
/** @description
|
|
1141
|
-
|
|
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?: {
|
|
1142
478
|
/**
|
|
1143
479
|
* Format: uuid
|
|
1144
|
-
* @description
|
|
480
|
+
* @description Unique identifier for the user
|
|
1145
481
|
*/
|
|
1146
|
-
|
|
1147
|
-
/** @description
|
|
1148
|
-
|
|
1149
|
-
/**
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
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;
|
|
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
|
|
498
|
+
*/
|
|
499
|
+
email: string;
|
|
500
|
+
/** @description User's first name */
|
|
501
|
+
firstName: string;
|
|
502
|
+
/** @description User's last name */
|
|
503
|
+
lastName: string;
|
|
1183
504
|
/**
|
|
1184
505
|
* Format: uri
|
|
1185
|
-
* @description
|
|
506
|
+
* @description URL to user's avatar image
|
|
1186
507
|
*/
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
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
|
+
* ]
|
|
646
|
+
*/
|
|
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
|
+
};
|
|
1225
662
|
}[];
|
|
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;
|
|
1239
|
-
};
|
|
1240
|
-
};
|
|
1241
|
-
/** Internal server error */
|
|
1242
|
-
500: {
|
|
1243
|
-
content: {
|
|
1244
|
-
"text/plain": string;
|
|
1245
663
|
};
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
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?: {
|
|
664
|
+
Preference: {
|
|
665
|
+
/** @description The mesh adapters of the preference. */
|
|
666
|
+
meshAdapters?: Record<string, never>[];
|
|
667
|
+
grafana?: {
|
|
1311
668
|
/** @description Grafana URL for the user configuration. */
|
|
1312
669
|
grafanaUrl?: string;
|
|
1313
670
|
/** @description Grafana API key for the user configuration. */
|
|
1314
671
|
grafanaApiKey?: string;
|
|
1315
672
|
/** @description Selected Grafana board configurations for the user. */
|
|
1316
673
|
selectedBoardsConfigs?: {
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
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[];
|
|
1323
680
|
}[];
|
|
1324
|
-
|
|
1325
|
-
|
|
681
|
+
};
|
|
682
|
+
prometheus?: {
|
|
1326
683
|
/** @description The prometheus URL of the prometheus. */
|
|
1327
684
|
prometheusUrl?: string;
|
|
1328
685
|
/** @description The selected prometheus boards configs of the prometheus. */
|
|
1329
686
|
selectedPrometheusBoardsConfigs?: {
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
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[];
|
|
1336
693
|
}[];
|
|
1337
|
-
|
|
1338
|
-
|
|
694
|
+
};
|
|
695
|
+
loadTestPrefs?: {
|
|
1339
696
|
/** @description Concurrent requests */
|
|
1340
697
|
c?: number;
|
|
1341
698
|
/** @description Queries per second */
|
|
@@ -1344,334 +701,1146 @@ export interface operations {
|
|
|
1344
701
|
t?: string;
|
|
1345
702
|
/** @description Load generator */
|
|
1346
703
|
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 };
|
|
1370
704
|
};
|
|
705
|
+
/** @description The anonymous usage stats of the preference. */
|
|
706
|
+
anonymousUsageStats: boolean;
|
|
707
|
+
/** @description The anonymous perf results of the preference. */
|
|
708
|
+
anonymousPerfResults: boolean;
|
|
1371
709
|
/**
|
|
1372
710
|
* Format: date-time
|
|
1373
|
-
* @description Timestamp when
|
|
1374
|
-
*/
|
|
1375
|
-
acceptedTermsAt?: string;
|
|
1376
|
-
/**
|
|
1377
|
-
* Format: date-time
|
|
1378
|
-
* @description Timestamp of user's first login
|
|
1379
|
-
*/
|
|
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
|
|
711
|
+
* @description Timestamp of when the resource was last updated.
|
|
1394
712
|
*/
|
|
1395
713
|
updatedAt: string;
|
|
1396
|
-
/** @description
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
/**
|
|
1401
|
-
* Format: uri
|
|
1402
|
-
* @description The link of the social.
|
|
1403
|
-
*/
|
|
1404
|
-
link: string;
|
|
1405
|
-
}[];
|
|
1406
|
-
/**
|
|
1407
|
-
* Format: date-time
|
|
1408
|
-
* @description Timestamp when the user record was soft-deleted (null if not deleted)
|
|
1409
|
-
*/
|
|
1410
|
-
deletedAt: string | null;
|
|
714
|
+
/** @description The dashboard preferences of the preference. */
|
|
715
|
+
dashboardPreferences: {
|
|
716
|
+
[key: string]: unknown;
|
|
717
|
+
};
|
|
1411
718
|
/**
|
|
1412
|
-
*
|
|
1413
|
-
* @
|
|
1414
|
-
* "admin",
|
|
1415
|
-
* "meshmap"
|
|
1416
|
-
* ]
|
|
719
|
+
* Format: uuid
|
|
720
|
+
* @description ID of the associated selectedOrganization.
|
|
1417
721
|
*/
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
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;
|
|
722
|
+
selectedOrganizationId: string;
|
|
723
|
+
/** @description The selected workspace for organizations of the preference. */
|
|
724
|
+
selectedWorkspaceForOrganizations: {
|
|
725
|
+
[key: string]: string;
|
|
1434
726
|
};
|
|
1435
|
-
/** @description
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
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;
|
|
1441
734
|
};
|
|
1442
|
-
};
|
|
1443
735
|
};
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
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
|
+
}[];
|
|
1449
752
|
};
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
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[];
|
|
1455
760
|
};
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
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[];
|
|
776
|
+
}[];
|
|
1461
777
|
};
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
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;
|
|
1467
787
|
};
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
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;
|
|
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;
|
|
1503
792
|
/**
|
|
1504
793
|
* Format: uri
|
|
1505
|
-
* @description
|
|
1506
|
-
*/
|
|
1507
|
-
avatarUrl?: string;
|
|
1508
|
-
/**
|
|
1509
|
-
* @description User account status
|
|
1510
|
-
* @enum {string}
|
|
794
|
+
* @description The link of the social.
|
|
1511
795
|
*/
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
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 };
|
|
796
|
+
link: string;
|
|
797
|
+
};
|
|
798
|
+
};
|
|
799
|
+
responses: {
|
|
800
|
+
/** @description Invalid request body or request param */
|
|
801
|
+
400: {
|
|
802
|
+
headers: {
|
|
803
|
+
[name: string]: unknown;
|
|
1586
804
|
};
|
|
1587
|
-
|
|
1588
|
-
|
|
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;
|
|
805
|
+
content: {
|
|
806
|
+
"text/plain": string;
|
|
1650
807
|
};
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
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;
|
|
1657
816
|
};
|
|
1658
|
-
};
|
|
1659
817
|
};
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
818
|
+
/** @description Result not found */
|
|
819
|
+
404: {
|
|
820
|
+
headers: {
|
|
821
|
+
[name: string]: unknown;
|
|
822
|
+
};
|
|
823
|
+
content: {
|
|
824
|
+
"text/plain": string;
|
|
825
|
+
};
|
|
1665
826
|
};
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
827
|
+
/** @description Internal server error */
|
|
828
|
+
500: {
|
|
829
|
+
headers: {
|
|
830
|
+
[name: string]: unknown;
|
|
831
|
+
};
|
|
832
|
+
content: {
|
|
833
|
+
"text/plain": string;
|
|
834
|
+
};
|
|
835
|
+
};
|
|
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
|
+
};
|
|
1125
|
+
};
|
|
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;
|
|
1144
|
+
};
|
|
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
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
};
|
|
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
|
+
};
|
|
1602
|
+
};
|
|
1603
|
+
/** @description Result not found */
|
|
1604
|
+
404: {
|
|
1605
|
+
headers: {
|
|
1606
|
+
[name: string]: unknown;
|
|
1607
|
+
};
|
|
1608
|
+
content: {
|
|
1609
|
+
"text/plain": string;
|
|
1610
|
+
};
|
|
1611
|
+
};
|
|
1612
|
+
/** @description Internal server error */
|
|
1613
|
+
500: {
|
|
1614
|
+
headers: {
|
|
1615
|
+
[name: string]: unknown;
|
|
1616
|
+
};
|
|
1617
|
+
content: {
|
|
1618
|
+
"text/plain": string;
|
|
1619
|
+
};
|
|
1620
|
+
};
|
|
1621
|
+
};
|
|
1622
|
+
};
|
|
1623
|
+
getUser: {
|
|
1624
|
+
parameters: {
|
|
1625
|
+
query?: never;
|
|
1626
|
+
header?: never;
|
|
1627
|
+
path?: never;
|
|
1628
|
+
cookie?: never;
|
|
1629
|
+
};
|
|
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
|
+
};
|
|
1671
1844
|
};
|
|
1672
|
-
};
|
|
1673
1845
|
};
|
|
1674
|
-
};
|
|
1675
1846
|
}
|
|
1676
|
-
|
|
1677
|
-
export interface external {}
|