@meshery/schemas 1.2.15 → 1.2.16

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 (147) hide show
  1. package/dist/constructs/v1alpha1/capability/Capability.d.ts +114 -0
  2. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +2 -0
  3. package/dist/constructs/v1alpha1/core/Core.d.ts +832 -0
  4. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +2 -0
  5. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +53 -0
  6. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +2 -0
  7. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1937 -0
  8. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +2 -0
  9. package/dist/constructs/v1beta1/academy/Academy.d.ts +6417 -0
  10. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +2 -0
  11. package/dist/constructs/v1beta1/badge/Badge.d.ts +546 -0
  12. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +2 -0
  13. package/dist/constructs/v1beta1/capability/Capability.d.ts +114 -0
  14. package/dist/constructs/v1beta1/capability/CapabilitySchema.d.ts +2 -0
  15. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +53 -0
  16. package/dist/constructs/v1beta1/catalog/CatalogSchema.d.ts +2 -0
  17. package/dist/constructs/v1beta1/category/Category.d.ts +46 -0
  18. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +2 -0
  19. package/dist/constructs/v1beta1/component/Component.d.ts +869 -0
  20. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +2 -0
  21. package/dist/constructs/v1beta1/connection/Connection.d.ts +1300 -0
  22. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +2 -0
  23. package/dist/constructs/v1beta1/core/Core.d.ts +832 -0
  24. package/dist/constructs/v1beta1/core/CoreSchema.d.ts +2 -0
  25. package/dist/constructs/v1beta1/credential/Credential.d.ts +530 -0
  26. package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +2 -0
  27. package/dist/constructs/v1beta1/environment/Environment.d.ts +759 -0
  28. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +2 -0
  29. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6338 -0
  30. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +2 -0
  31. package/dist/constructs/v1beta1/event/Event.d.ts +570 -0
  32. package/dist/constructs/v1beta1/event/EventSchema.d.ts +2 -0
  33. package/dist/constructs/v1beta1/feature/Feature.d.ts +308 -0
  34. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +2 -0
  35. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +983 -0
  36. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +2 -0
  37. package/dist/constructs/v1beta1/key/Key.d.ts +514 -0
  38. package/dist/constructs/v1beta1/key/KeySchema.d.ts +2 -0
  39. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +642 -0
  40. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +2 -0
  41. package/dist/constructs/v1beta1/model/Model.d.ts +659 -0
  42. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +2 -0
  43. package/dist/constructs/v1beta1/organization/Organization.d.ts +1598 -0
  44. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +2 -0
  45. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +18407 -0
  46. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +2 -0
  47. package/dist/constructs/v1beta1/plan/Plan.d.ts +149 -0
  48. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +2 -0
  49. package/dist/constructs/v1beta1/relationship/Relationship.d.ts +1921 -0
  50. package/dist/constructs/v1beta1/relationship/RelationshipSchema.d.ts +2 -0
  51. package/dist/constructs/v1beta1/role/Role.d.ts +745 -0
  52. package/dist/constructs/v1beta1/role/RoleSchema.d.ts +2 -0
  53. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +374 -0
  54. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +2 -0
  55. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +68 -0
  56. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +2 -0
  57. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +752 -0
  58. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +2 -0
  59. package/dist/constructs/v1beta1/support/Support.d.ts +91 -0
  60. package/dist/constructs/v1beta1/support/SupportSchema.d.ts +2 -0
  61. package/dist/constructs/v1beta1/team/Team.d.ts +846 -0
  62. package/dist/constructs/v1beta1/team/TeamSchema.d.ts +2 -0
  63. package/dist/constructs/v1beta1/token/Token.d.ts +539 -0
  64. package/dist/constructs/v1beta1/token/TokenSchema.d.ts +2 -0
  65. package/dist/constructs/v1beta1/user/User.d.ts +1677 -0
  66. package/dist/constructs/v1beta1/user/UserSchema.d.ts +2 -0
  67. package/dist/constructs/v1beta1/view/View.d.ts +759 -0
  68. package/dist/constructs/v1beta1/view/ViewSchema.d.ts +2 -0
  69. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4947 -0
  70. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +2 -0
  71. package/dist/constructs/v1beta2/academy/Academy.d.ts +7762 -0
  72. package/dist/constructs/v1beta2/academy/AcademySchema.d.ts +2 -0
  73. package/dist/constructs/v1beta2/badge/Badge.d.ts +563 -0
  74. package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +2 -0
  75. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +53 -0
  76. package/dist/constructs/v1beta2/catalog/CatalogSchema.d.ts +2 -0
  77. package/dist/constructs/v1beta2/component/Component.d.ts +887 -0
  78. package/dist/constructs/v1beta2/component/ComponentSchema.d.ts +2 -0
  79. package/dist/constructs/v1beta2/connection/Connection.d.ts +1330 -0
  80. package/dist/constructs/v1beta2/connection/ConnectionSchema.d.ts +2 -0
  81. package/dist/constructs/v1beta2/core/Core.d.ts +866 -0
  82. package/dist/constructs/v1beta2/core/CoreSchema.d.ts +2 -0
  83. package/dist/constructs/v1beta2/credential/Credential.d.ts +519 -0
  84. package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +2 -0
  85. package/dist/constructs/v1beta2/design/Design.d.ts +19039 -0
  86. package/dist/constructs/v1beta2/design/DesignSchema.d.ts +2 -0
  87. package/dist/constructs/v1beta2/event/Event.d.ts +626 -0
  88. package/dist/constructs/v1beta2/event/EventSchema.d.ts +2 -0
  89. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1052 -0
  90. package/dist/constructs/v1beta2/invitation/InvitationSchema.d.ts +2 -0
  91. package/dist/constructs/v1beta2/key/Key.d.ts +524 -0
  92. package/dist/constructs/v1beta2/key/KeySchema.d.ts +2 -0
  93. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +652 -0
  94. package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +2 -0
  95. package/dist/constructs/v1beta2/model/Model.d.ts +697 -0
  96. package/dist/constructs/v1beta2/model/ModelSchema.d.ts +2 -0
  97. package/dist/constructs/v1beta2/organization/Organization.d.ts +1915 -0
  98. package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +2 -0
  99. package/dist/constructs/v1beta2/plan/Plan.d.ts +162 -0
  100. package/dist/constructs/v1beta2/plan/PlanSchema.d.ts +2 -0
  101. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2134 -0
  102. package/dist/constructs/v1beta2/relationship/RelationshipSchema.d.ts +2 -0
  103. package/dist/constructs/v1beta2/role/Role.d.ts +752 -0
  104. package/dist/constructs/v1beta2/role/RoleSchema.d.ts +2 -0
  105. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +431 -0
  106. package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +2 -0
  107. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +785 -0
  108. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.d.ts +2 -0
  109. package/dist/constructs/v1beta2/team/Team.d.ts +960 -0
  110. package/dist/constructs/v1beta2/team/TeamSchema.d.ts +2 -0
  111. package/dist/constructs/v1beta2/token/Token.d.ts +544 -0
  112. package/dist/constructs/v1beta2/token/TokenSchema.d.ts +2 -0
  113. package/dist/constructs/v1beta2/user/User.d.ts +1677 -0
  114. package/dist/constructs/v1beta2/user/UserSchema.d.ts +2 -0
  115. package/dist/constructs/v1beta2/view/View.d.ts +767 -0
  116. package/dist/constructs/v1beta2/view/ViewSchema.d.ts +2 -0
  117. package/dist/constructs/v1beta3/academy/Academy.d.ts +7762 -0
  118. package/dist/constructs/v1beta3/academy/AcademySchema.d.ts +2 -0
  119. package/dist/constructs/v1beta3/component/Component.d.ts +892 -0
  120. package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +2 -0
  121. package/dist/constructs/v1beta3/connection/Connection.d.ts +1414 -0
  122. package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +2 -0
  123. package/dist/constructs/v1beta3/design/Design.d.ts +5704 -0
  124. package/dist/constructs/v1beta3/design/DesignSchema.d.ts +2 -0
  125. package/dist/constructs/v1beta3/environment/Environment.d.ts +785 -0
  126. package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +2 -0
  127. package/dist/constructs/v1beta3/event/Event.d.ts +720 -0
  128. package/dist/constructs/v1beta3/event/EventSchema.d.ts +2 -0
  129. package/dist/constructs/v1beta3/filter/Filter.d.ts +1452 -0
  130. package/dist/constructs/v1beta3/filter/FilterSchema.d.ts +2 -0
  131. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1060 -0
  132. package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +2 -0
  133. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +813 -0
  134. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.d.ts +2 -0
  135. package/dist/constructs/v1beta3/plan/Plan.d.ts +199 -0
  136. package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +2 -0
  137. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2134 -0
  138. package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +2 -0
  139. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +915 -0
  140. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +2 -0
  141. package/dist/constructs/v1beta3/token/Token.d.ts +544 -0
  142. package/dist/constructs/v1beta3/token/TokenSchema.d.ts +2 -0
  143. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5086 -0
  144. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +2 -0
  145. package/dist/index.js +1 -1
  146. package/dist/index.mjs +1 -1
  147. package/package.json +2 -2
@@ -0,0 +1,2 @@
1
+ declare const AcademySchema: Record<string, unknown>;
2
+ export default AcademySchema;
@@ -0,0 +1,563 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {
7
+ "/api/organizations/badges/{badgeId}": {
8
+ get: operations["getBadgeById"];
9
+ delete: operations["deleteBadgeById"];
10
+ };
11
+ "/api/organizations/badges": {
12
+ post: operations["createOrUpdateBadge"];
13
+ };
14
+ "/api/identity/badges": {
15
+ get: operations["getAvailableBadges"];
16
+ };
17
+ "/api/identity/users/badges": {
18
+ put: operations["assignBadges"];
19
+ };
20
+ }
21
+
22
+ export interface components {
23
+ schemas: {
24
+ /** @description Payload for creating or updating a badge. */
25
+ BadgePayload: {
26
+ /**
27
+ * Format: uuid
28
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
29
+ */
30
+ id?: string;
31
+ /**
32
+ * Format: uuid
33
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
34
+ */
35
+ orgId: string;
36
+ /**
37
+ * @description Unique identifier for the badge, typically slug-style (auto generated).
38
+ * @example Kubernetes-Expert
39
+ */
40
+ label: string;
41
+ /**
42
+ * @description Concise descriptor for the badge or certificate.
43
+ * @example Kubernetes Expert
44
+ */
45
+ name: string;
46
+ /**
47
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
48
+ * @example Awarded for mastering Kubernetes concepts and practices.
49
+ */
50
+ description: string;
51
+ /**
52
+ * Format: uri
53
+ * @description URL to the badge image.
54
+ * @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
55
+ */
56
+ imageUrl: string;
57
+ };
58
+ /** @description Badge entity — a named recognition issued within an organization. */
59
+ Badge: {
60
+ /**
61
+ * Format: uuid
62
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
63
+ */
64
+ id: string;
65
+ /**
66
+ * Format: uuid
67
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
68
+ */
69
+ orgId: string;
70
+ /**
71
+ * @description Unique identifier for the badge, typically slug-style (auto generated).
72
+ * @example Kubernetes-Expert
73
+ */
74
+ label: string;
75
+ /**
76
+ * @description Concise descriptor for the badge or certificate.
77
+ * @example Kubernetes Expert
78
+ */
79
+ name: string;
80
+ /**
81
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
82
+ * @example Awarded for mastering Kubernetes concepts and practices.
83
+ */
84
+ description: string;
85
+ /**
86
+ * Format: uri
87
+ * @description URL to the badge image.
88
+ * @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
89
+ */
90
+ imageUrl: string;
91
+ /**
92
+ * Format: date-time
93
+ * @description Timestamp when the badge was created.
94
+ */
95
+ createdAt: string;
96
+ /**
97
+ * Format: date-time
98
+ * @description Timestamp when the badge was last updated.
99
+ */
100
+ updatedAt: string;
101
+ /**
102
+ * Format: date-time
103
+ * @description Timestamp when the badge was soft-deleted, if applicable.
104
+ */
105
+ deletedAt: string;
106
+ };
107
+ /** @description Map of badges available in an organization, keyed by badge label. */
108
+ BadgesPage: {
109
+ /** @description Available badges, keyed by badge label. */
110
+ badges?: {
111
+ [key: string]: {
112
+ /**
113
+ * Format: uuid
114
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
115
+ */
116
+ id: string;
117
+ /**
118
+ * Format: uuid
119
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
120
+ */
121
+ orgId: string;
122
+ /**
123
+ * @description Unique identifier for the badge, typically slug-style (auto generated).
124
+ * @example Kubernetes-Expert
125
+ */
126
+ label: string;
127
+ /**
128
+ * @description Concise descriptor for the badge or certificate.
129
+ * @example Kubernetes Expert
130
+ */
131
+ name: string;
132
+ /**
133
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
134
+ * @example Awarded for mastering Kubernetes concepts and practices.
135
+ */
136
+ description: string;
137
+ /**
138
+ * Format: uri
139
+ * @description URL to the badge image.
140
+ * @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
141
+ */
142
+ imageUrl: string;
143
+ /**
144
+ * Format: date-time
145
+ * @description Timestamp when the badge was created.
146
+ */
147
+ createdAt: string;
148
+ /**
149
+ * Format: date-time
150
+ * @description Timestamp when the badge was last updated.
151
+ */
152
+ updatedAt: string;
153
+ /**
154
+ * Format: date-time
155
+ * @description Timestamp when the badge was soft-deleted, if applicable.
156
+ */
157
+ deletedAt: string;
158
+ };
159
+ };
160
+ };
161
+ /** @description Payload for assigning a set of badges to a user. */
162
+ BadgeAssignmentPayload: {
163
+ /** @description Labels of the badges being assigned to the user. */
164
+ badges: string[];
165
+ /**
166
+ * Format: uuid
167
+ * @description ID of the user to receive the badges.
168
+ */
169
+ userId: string;
170
+ /** @description When true, send a notification to the user about the new badge assignment. */
171
+ notify?: boolean;
172
+ };
173
+ };
174
+ responses: {
175
+ /** Invalid request body or request param */
176
+ 400: {
177
+ content: {
178
+ "text/plain": string;
179
+ };
180
+ };
181
+ /** Expired JWT token used or insufficient privilege */
182
+ 401: {
183
+ content: {
184
+ "text/plain": string;
185
+ };
186
+ };
187
+ /** Result not found */
188
+ 404: {
189
+ content: {
190
+ "text/plain": string;
191
+ };
192
+ };
193
+ /** Internal server error */
194
+ 500: {
195
+ content: {
196
+ "text/plain": string;
197
+ };
198
+ };
199
+ };
200
+ parameters: {
201
+ /** @description Badge ID */
202
+ badgeId: string;
203
+ /** @description Organization ID to scope the badge listing to. */
204
+ orgIdQuery: string;
205
+ };
206
+ }
207
+
208
+ export interface operations {
209
+ getBadgeById: {
210
+ parameters: {
211
+ path: {
212
+ /** Badge ID */
213
+ badgeId: string;
214
+ };
215
+ };
216
+ responses: {
217
+ /** Badge response */
218
+ 200: {
219
+ content: {
220
+ "application/json": {
221
+ /**
222
+ * Format: uuid
223
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
224
+ */
225
+ id: string;
226
+ /**
227
+ * Format: uuid
228
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
229
+ */
230
+ orgId: string;
231
+ /**
232
+ * @description Unique identifier for the badge, typically slug-style (auto generated).
233
+ * @example Kubernetes-Expert
234
+ */
235
+ label: string;
236
+ /**
237
+ * @description Concise descriptor for the badge or certificate.
238
+ * @example Kubernetes Expert
239
+ */
240
+ name: string;
241
+ /**
242
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
243
+ * @example Awarded for mastering Kubernetes concepts and practices.
244
+ */
245
+ description: string;
246
+ /**
247
+ * Format: uri
248
+ * @description URL to the badge image.
249
+ * @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
250
+ */
251
+ imageUrl: string;
252
+ /**
253
+ * Format: date-time
254
+ * @description Timestamp when the badge was created.
255
+ */
256
+ createdAt: string;
257
+ /**
258
+ * Format: date-time
259
+ * @description Timestamp when the badge was last updated.
260
+ */
261
+ updatedAt: string;
262
+ /**
263
+ * Format: date-time
264
+ * @description Timestamp when the badge was soft-deleted, if applicable.
265
+ */
266
+ deletedAt: string;
267
+ };
268
+ };
269
+ };
270
+ /** Expired JWT token used or insufficient privilege */
271
+ 401: {
272
+ content: {
273
+ "text/plain": string;
274
+ };
275
+ };
276
+ /** Result not found */
277
+ 404: {
278
+ content: {
279
+ "text/plain": string;
280
+ };
281
+ };
282
+ /** Internal server error */
283
+ 500: {
284
+ content: {
285
+ "text/plain": string;
286
+ };
287
+ };
288
+ };
289
+ };
290
+ deleteBadgeById: {
291
+ parameters: {
292
+ path: {
293
+ /** Badge ID */
294
+ badgeId: string;
295
+ };
296
+ };
297
+ responses: {
298
+ /** Badge deleted */
299
+ 204: never;
300
+ /** Expired JWT token used or insufficient privilege */
301
+ 401: {
302
+ content: {
303
+ "text/plain": string;
304
+ };
305
+ };
306
+ /** Result not found */
307
+ 404: {
308
+ content: {
309
+ "text/plain": string;
310
+ };
311
+ };
312
+ /** Internal server error */
313
+ 500: {
314
+ content: {
315
+ "text/plain": string;
316
+ };
317
+ };
318
+ };
319
+ };
320
+ createOrUpdateBadge: {
321
+ responses: {
322
+ /** Badge upserted */
323
+ 200: {
324
+ content: {
325
+ "application/json": {
326
+ /**
327
+ * Format: uuid
328
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
329
+ */
330
+ id: string;
331
+ /**
332
+ * Format: uuid
333
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
334
+ */
335
+ orgId: string;
336
+ /**
337
+ * @description Unique identifier for the badge, typically slug-style (auto generated).
338
+ * @example Kubernetes-Expert
339
+ */
340
+ label: string;
341
+ /**
342
+ * @description Concise descriptor for the badge or certificate.
343
+ * @example Kubernetes Expert
344
+ */
345
+ name: string;
346
+ /**
347
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
348
+ * @example Awarded for mastering Kubernetes concepts and practices.
349
+ */
350
+ description: string;
351
+ /**
352
+ * Format: uri
353
+ * @description URL to the badge image.
354
+ * @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
355
+ */
356
+ imageUrl: string;
357
+ /**
358
+ * Format: date-time
359
+ * @description Timestamp when the badge was created.
360
+ */
361
+ createdAt: string;
362
+ /**
363
+ * Format: date-time
364
+ * @description Timestamp when the badge was last updated.
365
+ */
366
+ updatedAt: string;
367
+ /**
368
+ * Format: date-time
369
+ * @description Timestamp when the badge was soft-deleted, if applicable.
370
+ */
371
+ deletedAt: string;
372
+ };
373
+ };
374
+ };
375
+ /** Invalid request body or request param */
376
+ 400: {
377
+ content: {
378
+ "text/plain": string;
379
+ };
380
+ };
381
+ /** Expired JWT token used or insufficient privilege */
382
+ 401: {
383
+ content: {
384
+ "text/plain": string;
385
+ };
386
+ };
387
+ /** Internal server error */
388
+ 500: {
389
+ content: {
390
+ "text/plain": string;
391
+ };
392
+ };
393
+ };
394
+ requestBody: {
395
+ content: {
396
+ "application/json": {
397
+ /**
398
+ * Format: uuid
399
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
400
+ */
401
+ id?: string;
402
+ /**
403
+ * Format: uuid
404
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
405
+ */
406
+ orgId: string;
407
+ /**
408
+ * @description Unique identifier for the badge, typically slug-style (auto generated).
409
+ * @example Kubernetes-Expert
410
+ */
411
+ label: string;
412
+ /**
413
+ * @description Concise descriptor for the badge or certificate.
414
+ * @example Kubernetes Expert
415
+ */
416
+ name: string;
417
+ /**
418
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
419
+ * @example Awarded for mastering Kubernetes concepts and practices.
420
+ */
421
+ description: string;
422
+ /**
423
+ * Format: uri
424
+ * @description URL to the badge image.
425
+ * @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
426
+ */
427
+ imageUrl: string;
428
+ };
429
+ };
430
+ };
431
+ };
432
+ getAvailableBadges: {
433
+ parameters: {
434
+ query: {
435
+ /** Organization ID to scope the badge listing to. */
436
+ orgId?: string;
437
+ };
438
+ };
439
+ responses: {
440
+ /** Available badges */
441
+ 200: {
442
+ content: {
443
+ "application/json": {
444
+ /** @description Available badges, keyed by badge label. */
445
+ badges?: {
446
+ [key: string]: {
447
+ /**
448
+ * Format: uuid
449
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
450
+ */
451
+ id: string;
452
+ /**
453
+ * Format: uuid
454
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
455
+ */
456
+ orgId: string;
457
+ /**
458
+ * @description Unique identifier for the badge, typically slug-style (auto generated).
459
+ * @example Kubernetes-Expert
460
+ */
461
+ label: string;
462
+ /**
463
+ * @description Concise descriptor for the badge or certificate.
464
+ * @example Kubernetes Expert
465
+ */
466
+ name: string;
467
+ /**
468
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
469
+ * @example Awarded for mastering Kubernetes concepts and practices.
470
+ */
471
+ description: string;
472
+ /**
473
+ * Format: uri
474
+ * @description URL to the badge image.
475
+ * @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
476
+ */
477
+ imageUrl: string;
478
+ /**
479
+ * Format: date-time
480
+ * @description Timestamp when the badge was created.
481
+ */
482
+ createdAt: string;
483
+ /**
484
+ * Format: date-time
485
+ * @description Timestamp when the badge was last updated.
486
+ */
487
+ updatedAt: string;
488
+ /**
489
+ * Format: date-time
490
+ * @description Timestamp when the badge was soft-deleted, if applicable.
491
+ */
492
+ deletedAt: string;
493
+ };
494
+ };
495
+ };
496
+ };
497
+ };
498
+ /** Invalid request body or request param */
499
+ 400: {
500
+ content: {
501
+ "text/plain": string;
502
+ };
503
+ };
504
+ /** Expired JWT token used or insufficient privilege */
505
+ 401: {
506
+ content: {
507
+ "text/plain": string;
508
+ };
509
+ };
510
+ /** Internal server error */
511
+ 500: {
512
+ content: {
513
+ "text/plain": string;
514
+ };
515
+ };
516
+ };
517
+ };
518
+ assignBadges: {
519
+ responses: {
520
+ /** Badge assignment result */
521
+ 200: {
522
+ content: {
523
+ "application/json": { [key: string]: unknown };
524
+ };
525
+ };
526
+ /** Invalid request body or request param */
527
+ 400: {
528
+ content: {
529
+ "text/plain": string;
530
+ };
531
+ };
532
+ /** Expired JWT token used or insufficient privilege */
533
+ 401: {
534
+ content: {
535
+ "text/plain": string;
536
+ };
537
+ };
538
+ /** Internal server error */
539
+ 500: {
540
+ content: {
541
+ "text/plain": string;
542
+ };
543
+ };
544
+ };
545
+ requestBody: {
546
+ content: {
547
+ "application/json": {
548
+ /** @description Labels of the badges being assigned to the user. */
549
+ badges: string[];
550
+ /**
551
+ * Format: uuid
552
+ * @description ID of the user to receive the badges.
553
+ */
554
+ userId: string;
555
+ /** @description When true, send a notification to the user about the new badge assignment. */
556
+ notify?: boolean;
557
+ };
558
+ };
559
+ };
560
+ };
561
+ }
562
+
563
+ export interface external {}
@@ -0,0 +1,2 @@
1
+ declare const BadgeSchema: Record<string, unknown>;
2
+ export default BadgeSchema;
@@ -0,0 +1,53 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {}
7
+
8
+ export interface components {
9
+ schemas: {
10
+ CatalogData: {
11
+ /** @description Tracks the specific content version that has been made available in the Catalog. */
12
+ publishedVersion?: string;
13
+ /** @description Published content is classifed by its support level. Content classes help you understand the origin and expected support level for each piece of content. It is important to note that the level of support may vary within each class, and you should exercise discretion when using community-contributed content. Content produced and fully supported by Meshery maintainers. This represents the highest level of support and is considered the most reliable. Content produced by partners and verified by Meshery maintainers. While not directly maintained by Meshery, it has undergone a verification process to ensure quality and compatibility. Content produced and supported by the respective project or organization responsible for the specific technology. This class offers a level of support from the project maintainers themselves. Content produced and shared by Meshery users. This includes a wide range of content, such as performance profiles, test results, filters, patterns, and applications. Community content may have varying levels of support and reliability. */
14
+ class?: string;
15
+ /**
16
+ * Model
17
+ * @description One or more models associated with this catalog item. For designs, a list of one or more models implicated by components within the design. For models, this is self-referential.
18
+ */
19
+ compatibility: "kubernetes"[];
20
+ /**
21
+ * Caveats and Considerations
22
+ * @description Specific stipulations to consider and known behaviors to be aware of when using this design.
23
+ */
24
+ patternCaveats: string;
25
+ /**
26
+ * Description
27
+ * @description Purpose of the design along with its intended and unintended uses.
28
+ */
29
+ patternInfo: string;
30
+ /**
31
+ * Type
32
+ * @description Categorization of the type of design or operational flow depicted in this design.
33
+ * @default Deployment
34
+ * @enum {string}
35
+ */
36
+ type:
37
+ | "Deployment"
38
+ | "Observability"
39
+ | "Resiliency"
40
+ | "Scaling"
41
+ | "Security"
42
+ | "Traffic-management"
43
+ | "Troubleshooting"
44
+ | "Workloads";
45
+ /** @description Contains reference to the dark and light mode snapshots of the design. */
46
+ snapshotURL?: string[];
47
+ };
48
+ };
49
+ }
50
+
51
+ export interface operations {}
52
+
53
+ export interface external {}
@@ -0,0 +1,2 @@
1
+ declare const CatalogSchema: Record<string, unknown>;
2
+ export default CatalogSchema;