@meshery/schemas 1.0.8 → 1.1.0

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