@meshery/schemas 0.8.128 → 0.8.129

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 (137) hide show
  1. package/dist/{Core-vaTzd8cz.d.mts → Core-BiYtFM4v.d.mts} +1 -1
  2. package/dist/{Core-vaTzd8cz.d.ts → Core-BiYtFM4v.d.ts} +1 -1
  3. package/dist/cloudApi.d.mts +13676 -3825
  4. package/dist/cloudApi.d.ts +13676 -3825
  5. package/dist/cloudApi.js +1 -1
  6. package/dist/cloudApi.mjs +1 -1
  7. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +1 -159
  8. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +1 -159
  9. package/dist/constructs/v1alpha1/core/Core.d.mts +1 -1
  10. package/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
  11. package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1 -1652
  12. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1 -1652
  13. package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
  14. package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
  15. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +1 -84
  16. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +1 -84
  17. package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +32 -128
  18. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +32 -128
  19. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +1 -6983
  20. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +1 -6983
  21. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +15 -15
  22. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +15 -15
  23. package/dist/constructs/v1beta1/academy/Academy.d.mts +749 -319
  24. package/dist/constructs/v1beta1/academy/Academy.d.ts +749 -319
  25. package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +1 -11842
  26. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +1 -11842
  27. package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
  28. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
  29. package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +1 -522
  30. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +1 -522
  31. package/dist/constructs/v1beta1/category/CategorySchema.d.mts +1 -64
  32. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +1 -64
  33. package/dist/constructs/v1beta1/component/Component.d.mts +6 -12
  34. package/dist/constructs/v1beta1/component/Component.d.ts +6 -12
  35. package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1 -1781
  36. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1 -1781
  37. package/dist/constructs/v1beta1/component/ComponentSchema.js +3 -3
  38. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +3 -3
  39. package/dist/constructs/v1beta1/connection/Connection.d.mts +12 -12
  40. package/dist/constructs/v1beta1/connection/Connection.d.ts +12 -12
  41. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +1 -2978
  42. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +1 -2978
  43. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  44. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  45. package/dist/constructs/v1beta1/credential/Credential.d.mts +517 -0
  46. package/dist/constructs/v1beta1/credential/Credential.d.ts +517 -0
  47. package/dist/constructs/v1beta1/credential/Credential.js +1 -0
  48. package/dist/constructs/v1beta1/credential/Credential.mjs +0 -0
  49. package/dist/constructs/v1beta1/credential/CredentialSchema.d.mts +7 -0
  50. package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +7 -0
  51. package/dist/constructs/v1beta1/credential/CredentialSchema.js +9 -0
  52. package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +9 -0
  53. package/dist/constructs/v1beta1/environment/Environment.d.mts +4 -4
  54. package/dist/constructs/v1beta1/environment/Environment.d.ts +4 -4
  55. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +1 -958
  56. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +1 -958
  57. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
  58. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
  59. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +68 -212
  60. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +68 -212
  61. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +1 -16516
  62. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +1 -16516
  63. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +25 -25
  64. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +25 -25
  65. package/dist/constructs/v1beta1/event/EventSchema.d.mts +1 -364
  66. package/dist/constructs/v1beta1/event/EventSchema.d.ts +1 -364
  67. package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +1 -776
  68. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +1 -776
  69. package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -1
  70. package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -1
  71. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1 -1655
  72. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1 -1655
  73. package/dist/constructs/v1beta1/key/KeySchema.d.mts +1 -1229
  74. package/dist/constructs/v1beta1/key/KeySchema.d.ts +1 -1229
  75. package/dist/constructs/v1beta1/key/KeySchema.js +1 -1
  76. package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -1
  77. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1 -1553
  78. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1 -1553
  79. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -1
  80. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -1
  81. package/dist/constructs/v1beta1/model/Model.d.mts +7 -13
  82. package/dist/constructs/v1beta1/model/Model.d.ts +7 -13
  83. package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1 -1311
  84. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1 -1311
  85. package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
  86. package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
  87. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +1 -1498
  88. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +1 -1498
  89. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +7481 -212
  90. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +7481 -212
  91. package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +1 -16713
  92. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +1 -16713
  93. package/dist/constructs/v1beta1/pattern/PatternSchema.js +265 -25
  94. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +265 -25
  95. package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +1 -326
  96. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +1 -326
  97. package/dist/constructs/v1beta1/role/Role.d.mts +614 -0
  98. package/dist/constructs/v1beta1/role/Role.d.ts +614 -0
  99. package/dist/constructs/v1beta1/role/Role.js +1 -0
  100. package/dist/constructs/v1beta1/role/Role.mjs +0 -0
  101. package/dist/constructs/v1beta1/role/RoleSchema.d.mts +7 -0
  102. package/dist/constructs/v1beta1/role/RoleSchema.d.ts +7 -0
  103. package/dist/constructs/v1beta1/role/RoleSchema.js +2 -0
  104. package/dist/constructs/v1beta1/role/RoleSchema.mjs +2 -0
  105. package/dist/constructs/v1beta1/schedule/Schedule.d.mts +371 -0
  106. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +371 -0
  107. package/dist/constructs/v1beta1/schedule/Schedule.js +1 -0
  108. package/dist/constructs/v1beta1/schedule/Schedule.mjs +0 -0
  109. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.mts +7 -0
  110. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +7 -0
  111. package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +13 -0
  112. package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +13 -0
  113. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +1 -37
  114. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +1 -37
  115. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1 -1645
  116. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1 -1645
  117. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +1 -1
  118. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +1 -1
  119. package/dist/constructs/v1beta1/team/Team.d.mts +46 -16
  120. package/dist/constructs/v1beta1/team/Team.d.ts +46 -16
  121. package/dist/constructs/v1beta1/team/TeamSchema.d.mts +1 -2022
  122. package/dist/constructs/v1beta1/team/TeamSchema.d.ts +1 -2022
  123. package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
  124. package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
  125. package/dist/constructs/v1beta1/user/UserSchema.d.mts +1 -1116
  126. package/dist/constructs/v1beta1/user/UserSchema.d.ts +1 -1116
  127. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +1 -964
  128. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +1 -964
  129. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +1 -1
  130. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +1 -1
  131. package/dist/index.d.mts +1 -1
  132. package/dist/index.d.ts +1 -1
  133. package/dist/index.js +283 -43
  134. package/dist/index.mjs +283 -43
  135. package/dist/mesheryApi.d.mts +268 -244
  136. package/dist/mesheryApi.d.ts +268 -244
  137. package/package.json +1 -1
@@ -2,1121 +2,6 @@
2
2
  * This file was automatically generated from OpenAPI schema.
3
3
  * Do not manually modify this file.
4
4
  */
5
- declare const UserSchema: {
6
- readonly openapi: "3.0.3";
7
- readonly info: {
8
- readonly title: "User";
9
- readonly description: "OpenAPI schema for user management in Meshery Cloud.";
10
- readonly version: "v1beta1";
11
- readonly contact: {
12
- readonly name: "Meshery Maintainers";
13
- readonly email: "maintainers@meshery.io";
14
- readonly url: "https://meshery.io";
15
- };
16
- readonly license: {
17
- readonly name: "Apache 2.0";
18
- readonly url: "https://www.apache.org/licenses/LICENSE-2.0.html";
19
- };
20
- };
21
- readonly paths: {};
22
- readonly components: {
23
- readonly schemas: {
24
- readonly User: {
25
- readonly type: "object";
26
- readonly description: "Represents a user in Layer5 Cloud (Meshery)";
27
- readonly required: readonly ["id", "user_id", "provider", "email", "first_name", "last_name", "status", "created_at", "updated_at", "last_login_time", "deleted_at"];
28
- readonly properties: {
29
- readonly id: {
30
- readonly description: "Unique identifier for the user";
31
- readonly "x-go-name": "ID";
32
- readonly "x-oapi-codegen-extra-tags": {
33
- readonly db: "id";
34
- readonly json: "id";
35
- readonly yaml: "id";
36
- };
37
- readonly type: "string";
38
- readonly format: "uuid";
39
- readonly "x-go-type": "uuid.UUID";
40
- readonly "x-go-type-import": {
41
- readonly path: "github.com/gofrs/uuid";
42
- };
43
- };
44
- readonly user_id: {
45
- readonly type: "string";
46
- readonly maxLength: 200;
47
- readonly description: "User identifier (username or external ID)";
48
- readonly "x-oapi-codegen-extra-tags": {
49
- readonly db: "user_id";
50
- readonly json: "user_id";
51
- readonly yaml: "user_id";
52
- };
53
- };
54
- readonly provider: {
55
- readonly type: "string";
56
- readonly maxLength: 100;
57
- readonly description: "Authentication provider (e.g., Layer5 Cloud, Twitter, Facebook, Github)";
58
- readonly example: readonly ["local", "github", "google", "twitter"];
59
- readonly "x-oapi-codegen-extra-tags": {
60
- readonly db: "provider";
61
- readonly json: "provider";
62
- readonly yaml: "provider";
63
- };
64
- };
65
- readonly email: {
66
- readonly type: "string";
67
- readonly format: "email";
68
- readonly maxLength: 300;
69
- readonly description: "User's email address";
70
- readonly "x-oapi-codegen-extra-tags": {
71
- readonly db: "email";
72
- readonly json: "email";
73
- readonly yaml: "email";
74
- };
75
- };
76
- readonly first_name: {
77
- readonly type: "string";
78
- readonly maxLength: 200;
79
- readonly description: "User's first name";
80
- readonly "x-oapi-codegen-extra-tags": {
81
- readonly db: "first_name";
82
- readonly json: "first_name";
83
- readonly yaml: "first_name";
84
- };
85
- };
86
- readonly last_name: {
87
- readonly type: "string";
88
- readonly maxLength: 300;
89
- readonly description: "User's last name";
90
- readonly "x-oapi-codegen-extra-tags": {
91
- readonly db: "last_name";
92
- readonly json: "last_name";
93
- readonly yaml: "last_name";
94
- };
95
- };
96
- readonly avatar_url: {
97
- readonly type: "string";
98
- readonly format: "uri";
99
- readonly maxLength: 500;
100
- readonly description: "URL to user's avatar image";
101
- readonly "x-oapi-codegen-extra-tags": {
102
- readonly db: "avatar_url";
103
- readonly json: "avatar_url";
104
- readonly yaml: "avatar_url";
105
- };
106
- };
107
- readonly status: {
108
- readonly type: "string";
109
- readonly maxLength: 100;
110
- readonly enum: readonly ["active", "inactive", "pending", "anonymous"];
111
- readonly description: "User account status";
112
- readonly "x-oapi-codegen-extra-tags": {
113
- readonly db: "status";
114
- readonly json: "status";
115
- readonly yaml: "status";
116
- };
117
- };
118
- readonly bio: {
119
- readonly type: "string";
120
- readonly maxLength: 1000;
121
- readonly default: "";
122
- readonly description: "User's biography or description";
123
- readonly "x-oapi-codegen-extra-tags": {
124
- readonly db: "bio";
125
- readonly json: "bio";
126
- readonly yaml: "bio";
127
- };
128
- };
129
- readonly country: {
130
- readonly type: "object";
131
- readonly description: "User's country information stored as JSONB";
132
- readonly additionalProperties: true;
133
- readonly "x-go-type": "core.Map";
134
- readonly "x-oapi-codegen-extra-tags": {
135
- readonly db: "country";
136
- readonly json: "country";
137
- readonly yaml: "country";
138
- };
139
- };
140
- readonly region: {
141
- readonly type: "object";
142
- readonly description: "User's region information stored as JSONB";
143
- readonly additionalProperties: true;
144
- readonly "x-go-type": "core.Map";
145
- readonly "x-oapi-codegen-extra-tags": {
146
- readonly db: "region";
147
- readonly json: "region";
148
- readonly yaml: "region";
149
- };
150
- };
151
- readonly preferences: {
152
- readonly "x-go-type": "Preference";
153
- readonly description: "User preferences stored as JSONB";
154
- readonly "x-oapi-codegen-extra-tags": {
155
- readonly db: "preferences";
156
- readonly json: "preferences";
157
- readonly yaml: "preferences";
158
- };
159
- readonly type: "object";
160
- readonly required: readonly ["anonymousUsageStats", "anonymousPerfResults", "updatedAt", "dashboardPreferences", "selectedOrganizationID", "selectedWorkspaceForOrganizations", "usersExtensionPreferences", "RemoteProviderPreferences"];
161
- readonly properties: {
162
- readonly meshAdapters: {
163
- readonly type: "array";
164
- readonly items: {
165
- readonly "x-go-type": "Adapter";
166
- readonly type: "object";
167
- readonly description: "Placeholder for Adapter struct definition.";
168
- };
169
- };
170
- readonly grafana: {
171
- readonly "x-go-type": "Grafana";
172
- readonly type: "object";
173
- readonly properties: {
174
- readonly grafanaURL: {
175
- readonly type: "string";
176
- };
177
- readonly grafanaAPIKey: {
178
- readonly type: "string";
179
- };
180
- readonly selectedBoardsConfigs: {
181
- readonly type: "array";
182
- readonly items: {
183
- readonly type: "object";
184
- readonly properties: {
185
- readonly board: {
186
- readonly type: "object";
187
- readonly description: "Placeholder for GrafanaBoard definition (define fields as needed)";
188
- };
189
- readonly panels: {
190
- readonly type: "array";
191
- readonly items: {
192
- readonly type: "object";
193
- readonly description: "Grafana panel structure imported from github.com/grafana-tools/sdk";
194
- };
195
- };
196
- readonly templateVars: {
197
- readonly type: "array";
198
- readonly items: {
199
- readonly type: "string";
200
- };
201
- };
202
- };
203
- };
204
- };
205
- };
206
- };
207
- readonly prometheus: {
208
- readonly "x-go-type": "Prometheus";
209
- readonly type: "object";
210
- readonly properties: {
211
- readonly prometheusURL: {
212
- readonly type: "string";
213
- };
214
- readonly selectedPrometheusBoardsConfigs: {
215
- readonly type: "array";
216
- readonly items: {
217
- readonly type: "object";
218
- readonly properties: {
219
- readonly board: {
220
- readonly type: "object";
221
- readonly description: "Placeholder for GrafanaBoard definition (define fields as needed)";
222
- };
223
- readonly panels: {
224
- readonly type: "array";
225
- readonly items: {
226
- readonly type: "object";
227
- readonly description: "Grafana panel structure imported from github.com/grafana-tools/sdk";
228
- };
229
- };
230
- readonly templateVars: {
231
- readonly type: "array";
232
- readonly items: {
233
- readonly type: "string";
234
- };
235
- };
236
- };
237
- };
238
- };
239
- };
240
- };
241
- readonly loadTestPrefs: {
242
- readonly "x-go-type": "LoadTestPreferences";
243
- readonly type: "object";
244
- readonly properties: {
245
- readonly c: {
246
- readonly type: "integer";
247
- readonly description: "Concurrent requests";
248
- };
249
- readonly qps: {
250
- readonly type: "integer";
251
- readonly description: "Queries per second";
252
- };
253
- readonly t: {
254
- readonly type: "string";
255
- readonly description: "Duration";
256
- };
257
- readonly gen: {
258
- readonly type: "string";
259
- readonly description: "Load generator";
260
- };
261
- };
262
- };
263
- readonly anonymousUsageStats: {
264
- readonly type: "boolean";
265
- };
266
- readonly anonymousPerfResults: {
267
- readonly type: "boolean";
268
- };
269
- readonly updated_at: {
270
- readonly type: "string";
271
- readonly format: "date-time";
272
- };
273
- readonly dashboardPreferences: {
274
- readonly type: "object";
275
- readonly additionalProperties: true;
276
- };
277
- readonly selectedOrganizationID: {
278
- readonly type: "string";
279
- };
280
- readonly selectedWorkspaceForOrganizations: {
281
- readonly type: "object";
282
- readonly additionalProperties: {
283
- readonly type: "string";
284
- };
285
- };
286
- readonly usersExtensionPreferences: {
287
- readonly type: "object";
288
- readonly additionalProperties: true;
289
- };
290
- readonly remoteProviderPreferences: {
291
- readonly type: "object";
292
- readonly additionalProperties: true;
293
- };
294
- };
295
- };
296
- readonly accepted_terms_at: {
297
- readonly description: "Timestamp when user accepted terms and conditions";
298
- readonly "x-oapi-codegen-extra-tags": {
299
- readonly db: "accepted_terms_at";
300
- readonly json: "accepted_terms_at";
301
- readonly yaml: "accepted_terms_at";
302
- };
303
- readonly type: "string";
304
- readonly format: "date-time";
305
- readonly "x-go-type-skip-optional-pointer": true;
306
- };
307
- readonly first_login_time: {
308
- readonly description: "Timestamp of user's first login";
309
- readonly "x-oapi-codegen-extra-tags": {
310
- readonly db: "first_login_time";
311
- readonly json: "first_login_time";
312
- readonly yaml: "first_login_time";
313
- };
314
- readonly type: "string";
315
- readonly format: "date-time";
316
- readonly "x-go-type-skip-optional-pointer": true;
317
- };
318
- readonly last_login_time: {
319
- readonly description: "Timestamp of user's most recent login";
320
- readonly "x-oapi-codegen-extra-tags": {
321
- readonly db: "last_login_time";
322
- readonly json: "last_login_time";
323
- readonly yaml: "last_login_time";
324
- };
325
- readonly type: "string";
326
- readonly format: "date-time";
327
- readonly "x-go-type-skip-optional-pointer": true;
328
- };
329
- readonly created_at: {
330
- readonly description: "Timestamp when the user record was created";
331
- readonly "x-oapi-codegen-extra-tags": {
332
- readonly db: "created_at";
333
- readonly json: "created_at";
334
- readonly yaml: "created_at";
335
- };
336
- readonly type: "string";
337
- readonly format: "date-time";
338
- readonly "x-go-type-skip-optional-pointer": true;
339
- };
340
- readonly updated_at: {
341
- readonly description: "Timestamp when the user record was last updated";
342
- readonly "x-oapi-codegen-extra-tags": {
343
- readonly db: "updated_at";
344
- readonly json: "updated_at";
345
- readonly yaml: "updated_at";
346
- };
347
- readonly type: "string";
348
- readonly format: "date-time";
349
- readonly "x-go-type-skip-optional-pointer": true;
350
- };
351
- readonly socials: {
352
- readonly type: "array";
353
- readonly description: "Various online profiles associated with the user account";
354
- readonly "x-go-type": "UserSocials";
355
- readonly items: {
356
- readonly "x-go-type": "Social";
357
- readonly description: "Various online profiles associated with the user account, like GitHub, LinkedIn, X, and so on.";
358
- readonly type: "object";
359
- readonly properties: {
360
- readonly site: {
361
- readonly type: "string";
362
- readonly maxLength: 50;
363
- };
364
- readonly link: {
365
- readonly type: "string";
366
- readonly format: "uri";
367
- };
368
- };
369
- readonly required: readonly ["site", "link"];
370
- };
371
- readonly "x-oapi-codegen-extra-tags": {
372
- readonly db: "socials";
373
- readonly json: "socials";
374
- readonly yaml: "socials";
375
- };
376
- };
377
- readonly deleted_at: {
378
- readonly type: "string";
379
- readonly format: "date-time";
380
- readonly nullable: true;
381
- readonly description: "Timestamp when the user record was soft-deleted (null if not deleted)";
382
- readonly "x-go-type": "core.NullTime";
383
- readonly "x-oapi-codegen-extra-tags": {
384
- readonly db: "deleted_at";
385
- readonly json: "deleted_at";
386
- readonly yaml: "deleted_at";
387
- };
388
- };
389
- };
390
- readonly additionalProperties: false;
391
- };
392
- readonly GetUserResponse: {
393
- readonly description: "Response schema for getting user information, includes user data with roles, teams, and organizations";
394
- readonly allOf: readonly [{
395
- readonly type: "object";
396
- readonly description: "Represents a user in Layer5 Cloud (Meshery)";
397
- readonly required: readonly ["id", "user_id", "provider", "email", "first_name", "last_name", "status", "created_at", "updated_at", "last_login_time", "deleted_at"];
398
- readonly properties: {
399
- readonly id: {
400
- readonly description: "Unique identifier for the user";
401
- readonly "x-go-name": "ID";
402
- readonly "x-oapi-codegen-extra-tags": {
403
- readonly db: "id";
404
- readonly json: "id";
405
- readonly yaml: "id";
406
- };
407
- readonly type: "string";
408
- readonly format: "uuid";
409
- readonly "x-go-type": "uuid.UUID";
410
- readonly "x-go-type-import": {
411
- readonly path: "github.com/gofrs/uuid";
412
- };
413
- };
414
- readonly user_id: {
415
- readonly type: "string";
416
- readonly maxLength: 200;
417
- readonly description: "User identifier (username or external ID)";
418
- readonly "x-oapi-codegen-extra-tags": {
419
- readonly db: "user_id";
420
- readonly json: "user_id";
421
- readonly yaml: "user_id";
422
- };
423
- };
424
- readonly provider: {
425
- readonly type: "string";
426
- readonly maxLength: 100;
427
- readonly description: "Authentication provider (e.g., Layer5 Cloud, Twitter, Facebook, Github)";
428
- readonly example: readonly ["local", "github", "google", "twitter"];
429
- readonly "x-oapi-codegen-extra-tags": {
430
- readonly db: "provider";
431
- readonly json: "provider";
432
- readonly yaml: "provider";
433
- };
434
- };
435
- readonly email: {
436
- readonly type: "string";
437
- readonly format: "email";
438
- readonly maxLength: 300;
439
- readonly description: "User's email address";
440
- readonly "x-oapi-codegen-extra-tags": {
441
- readonly db: "email";
442
- readonly json: "email";
443
- readonly yaml: "email";
444
- };
445
- };
446
- readonly first_name: {
447
- readonly type: "string";
448
- readonly maxLength: 200;
449
- readonly description: "User's first name";
450
- readonly "x-oapi-codegen-extra-tags": {
451
- readonly db: "first_name";
452
- readonly json: "first_name";
453
- readonly yaml: "first_name";
454
- };
455
- };
456
- readonly last_name: {
457
- readonly type: "string";
458
- readonly maxLength: 300;
459
- readonly description: "User's last name";
460
- readonly "x-oapi-codegen-extra-tags": {
461
- readonly db: "last_name";
462
- readonly json: "last_name";
463
- readonly yaml: "last_name";
464
- };
465
- };
466
- readonly avatar_url: {
467
- readonly type: "string";
468
- readonly format: "uri";
469
- readonly maxLength: 500;
470
- readonly description: "URL to user's avatar image";
471
- readonly "x-oapi-codegen-extra-tags": {
472
- readonly db: "avatar_url";
473
- readonly json: "avatar_url";
474
- readonly yaml: "avatar_url";
475
- };
476
- };
477
- readonly status: {
478
- readonly type: "string";
479
- readonly maxLength: 100;
480
- readonly enum: readonly ["active", "inactive", "pending", "anonymous"];
481
- readonly description: "User account status";
482
- readonly "x-oapi-codegen-extra-tags": {
483
- readonly db: "status";
484
- readonly json: "status";
485
- readonly yaml: "status";
486
- };
487
- };
488
- readonly bio: {
489
- readonly type: "string";
490
- readonly maxLength: 1000;
491
- readonly default: "";
492
- readonly description: "User's biography or description";
493
- readonly "x-oapi-codegen-extra-tags": {
494
- readonly db: "bio";
495
- readonly json: "bio";
496
- readonly yaml: "bio";
497
- };
498
- };
499
- readonly country: {
500
- readonly type: "object";
501
- readonly description: "User's country information stored as JSONB";
502
- readonly additionalProperties: true;
503
- readonly "x-go-type": "core.Map";
504
- readonly "x-oapi-codegen-extra-tags": {
505
- readonly db: "country";
506
- readonly json: "country";
507
- readonly yaml: "country";
508
- };
509
- };
510
- readonly region: {
511
- readonly type: "object";
512
- readonly description: "User's region information stored as JSONB";
513
- readonly additionalProperties: true;
514
- readonly "x-go-type": "core.Map";
515
- readonly "x-oapi-codegen-extra-tags": {
516
- readonly db: "region";
517
- readonly json: "region";
518
- readonly yaml: "region";
519
- };
520
- };
521
- readonly preferences: {
522
- readonly "x-go-type": "Preference";
523
- readonly description: "User preferences stored as JSONB";
524
- readonly "x-oapi-codegen-extra-tags": {
525
- readonly db: "preferences";
526
- readonly json: "preferences";
527
- readonly yaml: "preferences";
528
- };
529
- readonly type: "object";
530
- readonly required: readonly ["anonymousUsageStats", "anonymousPerfResults", "updatedAt", "dashboardPreferences", "selectedOrganizationID", "selectedWorkspaceForOrganizations", "usersExtensionPreferences", "RemoteProviderPreferences"];
531
- readonly properties: {
532
- readonly meshAdapters: {
533
- readonly type: "array";
534
- readonly items: {
535
- readonly "x-go-type": "Adapter";
536
- readonly type: "object";
537
- readonly description: "Placeholder for Adapter struct definition.";
538
- };
539
- };
540
- readonly grafana: {
541
- readonly "x-go-type": "Grafana";
542
- readonly type: "object";
543
- readonly properties: {
544
- readonly grafanaURL: {
545
- readonly type: "string";
546
- };
547
- readonly grafanaAPIKey: {
548
- readonly type: "string";
549
- };
550
- readonly selectedBoardsConfigs: {
551
- readonly type: "array";
552
- readonly items: {
553
- readonly type: "object";
554
- readonly properties: {
555
- readonly board: {
556
- readonly type: "object";
557
- readonly description: "Placeholder for GrafanaBoard definition (define fields as needed)";
558
- };
559
- readonly panels: {
560
- readonly type: "array";
561
- readonly items: {
562
- readonly type: "object";
563
- readonly description: "Grafana panel structure imported from github.com/grafana-tools/sdk";
564
- };
565
- };
566
- readonly templateVars: {
567
- readonly type: "array";
568
- readonly items: {
569
- readonly type: "string";
570
- };
571
- };
572
- };
573
- };
574
- };
575
- };
576
- };
577
- readonly prometheus: {
578
- readonly "x-go-type": "Prometheus";
579
- readonly type: "object";
580
- readonly properties: {
581
- readonly prometheusURL: {
582
- readonly type: "string";
583
- };
584
- readonly selectedPrometheusBoardsConfigs: {
585
- readonly type: "array";
586
- readonly items: {
587
- readonly type: "object";
588
- readonly properties: {
589
- readonly board: {
590
- readonly type: "object";
591
- readonly description: "Placeholder for GrafanaBoard definition (define fields as needed)";
592
- };
593
- readonly panels: {
594
- readonly type: "array";
595
- readonly items: {
596
- readonly type: "object";
597
- readonly description: "Grafana panel structure imported from github.com/grafana-tools/sdk";
598
- };
599
- };
600
- readonly templateVars: {
601
- readonly type: "array";
602
- readonly items: {
603
- readonly type: "string";
604
- };
605
- };
606
- };
607
- };
608
- };
609
- };
610
- };
611
- readonly loadTestPrefs: {
612
- readonly "x-go-type": "LoadTestPreferences";
613
- readonly type: "object";
614
- readonly properties: {
615
- readonly c: {
616
- readonly type: "integer";
617
- readonly description: "Concurrent requests";
618
- };
619
- readonly qps: {
620
- readonly type: "integer";
621
- readonly description: "Queries per second";
622
- };
623
- readonly t: {
624
- readonly type: "string";
625
- readonly description: "Duration";
626
- };
627
- readonly gen: {
628
- readonly type: "string";
629
- readonly description: "Load generator";
630
- };
631
- };
632
- };
633
- readonly anonymousUsageStats: {
634
- readonly type: "boolean";
635
- };
636
- readonly anonymousPerfResults: {
637
- readonly type: "boolean";
638
- };
639
- readonly updated_at: {
640
- readonly type: "string";
641
- readonly format: "date-time";
642
- };
643
- readonly dashboardPreferences: {
644
- readonly type: "object";
645
- readonly additionalProperties: true;
646
- };
647
- readonly selectedOrganizationID: {
648
- readonly type: "string";
649
- };
650
- readonly selectedWorkspaceForOrganizations: {
651
- readonly type: "object";
652
- readonly additionalProperties: {
653
- readonly type: "string";
654
- };
655
- };
656
- readonly usersExtensionPreferences: {
657
- readonly type: "object";
658
- readonly additionalProperties: true;
659
- };
660
- readonly remoteProviderPreferences: {
661
- readonly type: "object";
662
- readonly additionalProperties: true;
663
- };
664
- };
665
- };
666
- readonly accepted_terms_at: {
667
- readonly description: "Timestamp when user accepted terms and conditions";
668
- readonly "x-oapi-codegen-extra-tags": {
669
- readonly db: "accepted_terms_at";
670
- readonly json: "accepted_terms_at";
671
- readonly yaml: "accepted_terms_at";
672
- };
673
- readonly type: "string";
674
- readonly format: "date-time";
675
- readonly "x-go-type-skip-optional-pointer": true;
676
- };
677
- readonly first_login_time: {
678
- readonly description: "Timestamp of user's first login";
679
- readonly "x-oapi-codegen-extra-tags": {
680
- readonly db: "first_login_time";
681
- readonly json: "first_login_time";
682
- readonly yaml: "first_login_time";
683
- };
684
- readonly type: "string";
685
- readonly format: "date-time";
686
- readonly "x-go-type-skip-optional-pointer": true;
687
- };
688
- readonly last_login_time: {
689
- readonly description: "Timestamp of user's most recent login";
690
- readonly "x-oapi-codegen-extra-tags": {
691
- readonly db: "last_login_time";
692
- readonly json: "last_login_time";
693
- readonly yaml: "last_login_time";
694
- };
695
- readonly type: "string";
696
- readonly format: "date-time";
697
- readonly "x-go-type-skip-optional-pointer": true;
698
- };
699
- readonly created_at: {
700
- readonly description: "Timestamp when the user record was created";
701
- readonly "x-oapi-codegen-extra-tags": {
702
- readonly db: "created_at";
703
- readonly json: "created_at";
704
- readonly yaml: "created_at";
705
- };
706
- readonly type: "string";
707
- readonly format: "date-time";
708
- readonly "x-go-type-skip-optional-pointer": true;
709
- };
710
- readonly updated_at: {
711
- readonly description: "Timestamp when the user record was last updated";
712
- readonly "x-oapi-codegen-extra-tags": {
713
- readonly db: "updated_at";
714
- readonly json: "updated_at";
715
- readonly yaml: "updated_at";
716
- };
717
- readonly type: "string";
718
- readonly format: "date-time";
719
- readonly "x-go-type-skip-optional-pointer": true;
720
- };
721
- readonly socials: {
722
- readonly type: "array";
723
- readonly description: "Various online profiles associated with the user account";
724
- readonly "x-go-type": "UserSocials";
725
- readonly items: {
726
- readonly "x-go-type": "Social";
727
- readonly description: "Various online profiles associated with the user account, like GitHub, LinkedIn, X, and so on.";
728
- readonly type: "object";
729
- readonly properties: {
730
- readonly site: {
731
- readonly type: "string";
732
- readonly maxLength: 50;
733
- };
734
- readonly link: {
735
- readonly type: "string";
736
- readonly format: "uri";
737
- };
738
- };
739
- readonly required: readonly ["site", "link"];
740
- };
741
- readonly "x-oapi-codegen-extra-tags": {
742
- readonly db: "socials";
743
- readonly json: "socials";
744
- readonly yaml: "socials";
745
- };
746
- };
747
- readonly deleted_at: {
748
- readonly type: "string";
749
- readonly format: "date-time";
750
- readonly nullable: true;
751
- readonly description: "Timestamp when the user record was soft-deleted (null if not deleted)";
752
- readonly "x-go-type": "core.NullTime";
753
- readonly "x-oapi-codegen-extra-tags": {
754
- readonly db: "deleted_at";
755
- readonly json: "deleted_at";
756
- readonly yaml: "deleted_at";
757
- };
758
- };
759
- };
760
- readonly additionalProperties: false;
761
- }, {
762
- readonly type: "object";
763
- readonly properties: {
764
- readonly role_names: {
765
- readonly type: "array";
766
- readonly items: {
767
- readonly type: "string";
768
- readonly enum: readonly ["admin", "meshmap", "curator", "team admin", "workspace admin", "workspace manager", "organization admin", "user"];
769
- };
770
- readonly description: "List of global roles assigned to the user";
771
- readonly example: readonly [readonly ["admin", "meshmap"], readonly ["user"]];
772
- readonly "x-oapi-codegen-extra-tags": {
773
- readonly db: "role_names";
774
- readonly json: "role_names";
775
- readonly yaml: "role_names";
776
- };
777
- };
778
- readonly teams: {
779
- readonly type: "object";
780
- readonly description: "Teams the user belongs to with role information";
781
- readonly "x-oapi-codegen-extra-tags": {
782
- readonly db: "teams";
783
- readonly json: "teams";
784
- readonly yaml: "teams";
785
- };
786
- readonly properties: {
787
- readonly teams_with_roles: {
788
- readonly type: "array";
789
- readonly items: {
790
- readonly type: "object";
791
- };
792
- readonly "x-oapi-codegen-extra-tags": {
793
- readonly db: "teams_with_roles";
794
- readonly json: "teams_with_roles";
795
- readonly yaml: "teams_with_roles";
796
- };
797
- };
798
- readonly total_count: {
799
- readonly type: "integer";
800
- readonly "x-oapi-codegen-extra-tags": {
801
- readonly db: "total_count";
802
- readonly json: "total_count";
803
- readonly yaml: "total_count";
804
- };
805
- };
806
- };
807
- };
808
- readonly organizations: {
809
- readonly type: "object";
810
- readonly description: "Organizations the user belongs to with role information";
811
- readonly "x-oapi-codegen-extra-tags": {
812
- readonly db: "organizations";
813
- readonly json: "organizations";
814
- readonly yaml: "organizations";
815
- };
816
- readonly properties: {
817
- readonly organizations_with_roles: {
818
- readonly type: "array";
819
- readonly items: {
820
- readonly type: "object";
821
- };
822
- readonly "x-oapi-codegen-extra-tags": {
823
- readonly db: "organizations_with_roles";
824
- readonly json: "organizations_with_roles";
825
- readonly yaml: "organizations_with_roles";
826
- };
827
- };
828
- readonly total_count: {
829
- readonly type: "integer";
830
- readonly "x-oapi-codegen-extra-tags": {
831
- readonly db: "total_count";
832
- readonly json: "total_count";
833
- readonly yaml: "total_count";
834
- };
835
- };
836
- };
837
- };
838
- };
839
- }];
840
- };
841
- readonly Preference: {
842
- readonly type: "object";
843
- readonly required: readonly ["anonymousUsageStats", "anonymousPerfResults", "updatedAt", "dashboardPreferences", "selectedOrganizationID", "selectedWorkspaceForOrganizations", "usersExtensionPreferences", "RemoteProviderPreferences"];
844
- readonly properties: {
845
- readonly meshAdapters: {
846
- readonly type: "array";
847
- readonly items: {
848
- readonly "x-go-type": "Adapter";
849
- readonly type: "object";
850
- readonly description: "Placeholder for Adapter struct definition.";
851
- };
852
- };
853
- readonly grafana: {
854
- readonly "x-go-type": "Grafana";
855
- readonly type: "object";
856
- readonly properties: {
857
- readonly grafanaURL: {
858
- readonly type: "string";
859
- };
860
- readonly grafanaAPIKey: {
861
- readonly type: "string";
862
- };
863
- readonly selectedBoardsConfigs: {
864
- readonly type: "array";
865
- readonly items: {
866
- readonly type: "object";
867
- readonly properties: {
868
- readonly board: {
869
- readonly type: "object";
870
- readonly description: "Placeholder for GrafanaBoard definition (define fields as needed)";
871
- };
872
- readonly panels: {
873
- readonly type: "array";
874
- readonly items: {
875
- readonly type: "object";
876
- readonly description: "Grafana panel structure imported from github.com/grafana-tools/sdk";
877
- };
878
- };
879
- readonly templateVars: {
880
- readonly type: "array";
881
- readonly items: {
882
- readonly type: "string";
883
- };
884
- };
885
- };
886
- };
887
- };
888
- };
889
- };
890
- readonly prometheus: {
891
- readonly "x-go-type": "Prometheus";
892
- readonly type: "object";
893
- readonly properties: {
894
- readonly prometheusURL: {
895
- readonly type: "string";
896
- };
897
- readonly selectedPrometheusBoardsConfigs: {
898
- readonly type: "array";
899
- readonly items: {
900
- readonly type: "object";
901
- readonly properties: {
902
- readonly board: {
903
- readonly type: "object";
904
- readonly description: "Placeholder for GrafanaBoard definition (define fields as needed)";
905
- };
906
- readonly panels: {
907
- readonly type: "array";
908
- readonly items: {
909
- readonly type: "object";
910
- readonly description: "Grafana panel structure imported from github.com/grafana-tools/sdk";
911
- };
912
- };
913
- readonly templateVars: {
914
- readonly type: "array";
915
- readonly items: {
916
- readonly type: "string";
917
- };
918
- };
919
- };
920
- };
921
- };
922
- };
923
- };
924
- readonly loadTestPrefs: {
925
- readonly "x-go-type": "LoadTestPreferences";
926
- readonly type: "object";
927
- readonly properties: {
928
- readonly c: {
929
- readonly type: "integer";
930
- readonly description: "Concurrent requests";
931
- };
932
- readonly qps: {
933
- readonly type: "integer";
934
- readonly description: "Queries per second";
935
- };
936
- readonly t: {
937
- readonly type: "string";
938
- readonly description: "Duration";
939
- };
940
- readonly gen: {
941
- readonly type: "string";
942
- readonly description: "Load generator";
943
- };
944
- };
945
- };
946
- readonly anonymousUsageStats: {
947
- readonly type: "boolean";
948
- };
949
- readonly anonymousPerfResults: {
950
- readonly type: "boolean";
951
- };
952
- readonly updated_at: {
953
- readonly type: "string";
954
- readonly format: "date-time";
955
- };
956
- readonly dashboardPreferences: {
957
- readonly type: "object";
958
- readonly additionalProperties: true;
959
- };
960
- readonly selectedOrganizationID: {
961
- readonly type: "string";
962
- };
963
- readonly selectedWorkspaceForOrganizations: {
964
- readonly type: "object";
965
- readonly additionalProperties: {
966
- readonly type: "string";
967
- };
968
- };
969
- readonly usersExtensionPreferences: {
970
- readonly type: "object";
971
- readonly additionalProperties: true;
972
- };
973
- readonly remoteProviderPreferences: {
974
- readonly type: "object";
975
- readonly additionalProperties: true;
976
- };
977
- };
978
- };
979
- readonly Adapter: {
980
- readonly type: "object";
981
- readonly description: "Placeholder for Adapter struct definition.";
982
- };
983
- readonly Grafana: {
984
- readonly type: "object";
985
- readonly properties: {
986
- readonly grafanaURL: {
987
- readonly type: "string";
988
- };
989
- readonly grafanaAPIKey: {
990
- readonly type: "string";
991
- };
992
- readonly selectedBoardsConfigs: {
993
- readonly type: "array";
994
- readonly items: {
995
- readonly type: "object";
996
- readonly properties: {
997
- readonly board: {
998
- readonly type: "object";
999
- readonly description: "Placeholder for GrafanaBoard definition (define fields as needed)";
1000
- };
1001
- readonly panels: {
1002
- readonly type: "array";
1003
- readonly items: {
1004
- readonly type: "object";
1005
- readonly description: "Grafana panel structure imported from github.com/grafana-tools/sdk";
1006
- };
1007
- };
1008
- readonly templateVars: {
1009
- readonly type: "array";
1010
- readonly items: {
1011
- readonly type: "string";
1012
- };
1013
- };
1014
- };
1015
- };
1016
- };
1017
- };
1018
- };
1019
- readonly SelectedGrafanaConfig: {
1020
- readonly type: "object";
1021
- readonly properties: {
1022
- readonly board: {
1023
- readonly type: "object";
1024
- readonly description: "Placeholder for GrafanaBoard definition (define fields as needed)";
1025
- };
1026
- readonly panels: {
1027
- readonly type: "array";
1028
- readonly items: {
1029
- readonly type: "object";
1030
- readonly description: "Grafana panel structure imported from github.com/grafana-tools/sdk";
1031
- };
1032
- };
1033
- readonly templateVars: {
1034
- readonly type: "array";
1035
- readonly items: {
1036
- readonly type: "string";
1037
- };
1038
- };
1039
- };
1040
- };
1041
- readonly GrafanaBoard: {
1042
- readonly type: "object";
1043
- readonly description: "Placeholder for GrafanaBoard definition (define fields as needed)";
1044
- };
1045
- readonly Panel: {
1046
- readonly type: "object";
1047
- readonly description: "Grafana panel structure imported from github.com/grafana-tools/sdk";
1048
- };
1049
- readonly Prometheus: {
1050
- readonly type: "object";
1051
- readonly properties: {
1052
- readonly prometheusURL: {
1053
- readonly type: "string";
1054
- };
1055
- readonly selectedPrometheusBoardsConfigs: {
1056
- readonly type: "array";
1057
- readonly items: {
1058
- readonly type: "object";
1059
- readonly properties: {
1060
- readonly board: {
1061
- readonly type: "object";
1062
- readonly description: "Placeholder for GrafanaBoard definition (define fields as needed)";
1063
- };
1064
- readonly panels: {
1065
- readonly type: "array";
1066
- readonly items: {
1067
- readonly type: "object";
1068
- readonly description: "Grafana panel structure imported from github.com/grafana-tools/sdk";
1069
- };
1070
- };
1071
- readonly templateVars: {
1072
- readonly type: "array";
1073
- readonly items: {
1074
- readonly type: "string";
1075
- };
1076
- };
1077
- };
1078
- };
1079
- };
1080
- };
1081
- };
1082
- readonly LoadTestPreferences: {
1083
- readonly type: "object";
1084
- readonly properties: {
1085
- readonly c: {
1086
- readonly type: "integer";
1087
- readonly description: "Concurrent requests";
1088
- };
1089
- readonly qps: {
1090
- readonly type: "integer";
1091
- readonly description: "Queries per second";
1092
- };
1093
- readonly t: {
1094
- readonly type: "string";
1095
- readonly description: "Duration";
1096
- };
1097
- readonly gen: {
1098
- readonly type: "string";
1099
- readonly description: "Load generator";
1100
- };
1101
- };
1102
- };
1103
- readonly Social: {
1104
- readonly description: "Various online profiles associated with the user account, like GitHub, LinkedIn, X, and so on.";
1105
- readonly type: "object";
1106
- readonly properties: {
1107
- readonly site: {
1108
- readonly type: "string";
1109
- readonly maxLength: 50;
1110
- };
1111
- readonly link: {
1112
- readonly type: "string";
1113
- readonly format: "uri";
1114
- };
1115
- };
1116
- readonly required: readonly ["site", "link"];
1117
- };
1118
- };
1119
- };
1120
- };
5
+ declare const UserSchema: Record<string, unknown>;
1121
6
 
1122
7
  export { UserSchema as default };