@meshery/schemas 1.2.22 → 1.3.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 (88) hide show
  1. package/dist/cloudApi.d.mts +1719 -1518
  2. package/dist/cloudApi.d.ts +1719 -1518
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1alpha1/capability/Capability.d.ts +111 -106
  6. package/dist/constructs/v1alpha1/core/Core.d.ts +734 -822
  7. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +40 -45
  8. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1716 -1829
  9. package/dist/constructs/v1beta1/academy/Academy.d.ts +6648 -6029
  10. package/dist/constructs/v1beta1/badge/Badge.d.ts +600 -439
  11. package/dist/constructs/v1beta1/capability/Capability.d.ts +111 -106
  12. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +40 -45
  13. package/dist/constructs/v1beta1/category/Category.d.ts +26 -38
  14. package/dist/constructs/v1beta1/component/Component.d.ts +729 -833
  15. package/dist/constructs/v1beta1/connection/Connection.d.ts +1357 -1170
  16. package/dist/constructs/v1beta1/core/Core.d.ts +734 -822
  17. package/dist/constructs/v1beta1/credential/Credential.d.ts +593 -458
  18. package/dist/constructs/v1beta1/environment/Environment.d.ts +835 -666
  19. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5508 -6030
  20. package/dist/constructs/v1beta1/event/Event.d.ts +898 -527
  21. package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -249
  22. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +1244 -877
  23. package/dist/constructs/v1beta1/key/Key.d.ts +589 -444
  24. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +796 -575
  25. package/dist/constructs/v1beta1/model/Model.d.ts +572 -598
  26. package/dist/constructs/v1beta1/organization/Organization.d.ts +1829 -1410
  27. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17093 -17910
  28. package/dist/constructs/v1beta1/plan/Plan.d.ts +159 -115
  29. package/dist/constructs/v1beta1/role/Role.d.ts +933 -688
  30. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +425 -315
  31. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +18 -61
  32. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +839 -674
  33. package/dist/constructs/v1beta1/support/Support.d.ts +115 -74
  34. package/dist/constructs/v1beta1/system/System.d.ts +434 -0
  35. package/dist/constructs/v1beta1/system/System.js +1 -0
  36. package/dist/constructs/v1beta1/system/System.mjs +0 -0
  37. package/dist/constructs/v1beta1/system/SystemSchema.d.ts +2 -0
  38. package/dist/constructs/v1beta1/system/SystemSchema.js +2 -0
  39. package/dist/constructs/v1beta1/system/SystemSchema.mjs +2 -0
  40. package/dist/constructs/v1beta1/team/Team.d.ts +1028 -762
  41. package/dist/constructs/v1beta1/token/Token.d.ts +612 -475
  42. package/dist/constructs/v1beta1/user/User.d.ts +1723 -1554
  43. package/dist/constructs/v1beta1/view/View.d.ts +833 -664
  44. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4900 -4695
  45. package/dist/constructs/v1beta2/academy/Academy.d.ts +7840 -7222
  46. package/dist/constructs/v1beta2/badge/Badge.d.ts +610 -453
  47. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +40 -45
  48. package/dist/constructs/v1beta2/component/Component.d.ts +747 -851
  49. package/dist/constructs/v1beta2/connection/Connection.d.ts +1376 -1189
  50. package/dist/constructs/v1beta2/core/Core.d.ts +768 -856
  51. package/dist/constructs/v1beta2/credential/Credential.d.ts +572 -437
  52. package/dist/constructs/v1beta2/design/Design.d.ts +17682 -18467
  53. package/dist/constructs/v1beta2/event/Event.d.ts +946 -575
  54. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1268 -901
  55. package/dist/constructs/v1beta2/key/Key.d.ts +599 -454
  56. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +806 -585
  57. package/dist/constructs/v1beta2/model/Model.d.ts +610 -636
  58. package/dist/constructs/v1beta2/organization/Organization.d.ts +2135 -1724
  59. package/dist/constructs/v1beta2/plan/Plan.d.ts +169 -128
  60. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +1842 -2011
  61. package/dist/constructs/v1beta2/role/Role.d.ts +940 -695
  62. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +466 -356
  63. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +866 -701
  64. package/dist/constructs/v1beta2/team/Team.d.ts +1118 -852
  65. package/dist/constructs/v1beta2/token/Token.d.ts +616 -479
  66. package/dist/constructs/v1beta2/user/User.d.ts +1723 -1554
  67. package/dist/constructs/v1beta2/view/View.d.ts +838 -669
  68. package/dist/constructs/v1beta3/academy/Academy.d.ts +7836 -7218
  69. package/dist/constructs/v1beta3/component/Component.d.ts +753 -857
  70. package/dist/constructs/v1beta3/connection/Connection.d.ts +1447 -1260
  71. package/dist/constructs/v1beta3/design/Design.d.ts +5727 -5305
  72. package/dist/constructs/v1beta3/environment/Environment.d.ts +858 -689
  73. package/dist/constructs/v1beta3/event/Event.d.ts +1041 -666
  74. package/dist/constructs/v1beta3/filter/Filter.d.ts +1437 -1299
  75. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1277 -910
  76. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +850 -690
  77. package/dist/constructs/v1beta3/plan/Plan.d.ts +197 -156
  78. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +1842 -2011
  79. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +969 -804
  80. package/dist/constructs/v1beta3/token/Token.d.ts +616 -479
  81. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5030 -4822
  82. package/dist/index.d.mts +5480 -5022
  83. package/dist/index.d.ts +5480 -5022
  84. package/dist/mesheryApi.d.mts +1314 -522
  85. package/dist/mesheryApi.d.ts +1314 -522
  86. package/dist/mesheryApi.js +1 -1
  87. package/dist/mesheryApi.mjs +1 -1
  88. package/package.json +1 -2
@@ -4,218 +4,89 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/api/organizations/badges/{id}": {
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 Existing badge ID for updates; omit on create.
29
- */
30
- id?: string;
31
- /**
32
- * Format: uuid
33
- * @description The ID of the organization in which this badge is available.
34
- */
35
- org_id: string;
36
- /**
37
- * @description unique identifier for the badge ( 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/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
55
- */
56
- image_url: string;
57
- };
58
- Badge: {
59
- /**
60
- * Format: uuid
61
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
62
- */
63
- id: string;
64
- /**
65
- * Format: uuid
66
- * @description The ID of the organization in which this badge is available .
67
- */
68
- org_id: string;
69
- /**
70
- * @description unique identifier for the badge ( auto generated )
71
- * @example Kubernetes-Expert
72
- */
73
- label: string;
74
- /**
75
- * @description Concise descriptor for the badge or certificate.
76
- * @example Kubernetes Expert
77
- */
78
- name: string;
79
- /**
80
- * @description A description of the milestone achieved, often including criteria for receiving this recognition.
81
- * @example Awarded for mastering Kubernetes concepts and practices.
82
- */
83
- description: string;
84
- /**
85
- * Format: uri
86
- * @description URL to the badge image
87
- * @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
88
- */
89
- image_url: string;
90
- /**
91
- * Format: date-time
92
- * @description Timestamp when the resource was created.
93
- */
94
- created_at: string;
95
- /**
96
- * Format: date-time
97
- * @description Timestamp when the resource was updated.
98
- */
99
- updated_at: string;
100
- /**
101
- * Format: date-time
102
- * @description Timestamp when the resource was deleted, if applicable
103
- */
104
- deleted_at: string;
105
- };
106
- BadgesPage: {
107
- /** @description The badges of the badgespage. */
108
- badges?: {
109
- [key: string]: {
110
- /**
111
- * Format: uuid
112
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
113
- */
114
- id: string;
115
- /**
116
- * Format: uuid
117
- * @description The ID of the organization in which this badge is available .
118
- */
119
- org_id: string;
120
- /**
121
- * @description unique identifier for the badge ( auto generated )
122
- * @example Kubernetes-Expert
123
- */
124
- label: string;
125
- /**
126
- * @description Concise descriptor for the badge or certificate.
127
- * @example Kubernetes Expert
128
- */
129
- name: string;
130
- /**
131
- * @description A description of the milestone achieved, often including criteria for receiving this recognition.
132
- * @example Awarded for mastering Kubernetes concepts and practices.
133
- */
134
- description: string;
135
- /**
136
- * Format: uri
137
- * @description URL to the badge image
138
- * @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
139
- */
140
- image_url: string;
141
- /**
142
- * Format: date-time
143
- * @description Timestamp when the resource was created.
144
- */
145
- created_at: string;
146
- /**
147
- * Format: date-time
148
- * @description Timestamp when the resource was updated.
149
- */
150
- updated_at: string;
151
- /**
152
- * Format: date-time
153
- * @description Timestamp when the resource was deleted, if applicable
154
- */
155
- deleted_at: string;
7
+ "/api/organizations/badges/{id}": {
8
+ parameters: {
9
+ query?: never;
10
+ header?: never;
11
+ path?: never;
12
+ cookie?: never;
156
13
  };
157
- };
158
- };
159
- BadgeAssignmentPayload: {
160
- /** @description The badges of the badgeassignment. */
161
- badges?: string[];
162
- /**
163
- * Format: uuid
164
- * @description ID of the user who owns or created this resource.
165
- */
166
- user_id?: string;
167
- /** @description The notify of the badgeassignment. */
168
- notify?: boolean;
169
- };
170
- };
171
- responses: {
172
- /** Invalid request body or request param */
173
- 400: {
174
- content: {
175
- "text/plain": string;
176
- };
14
+ /** Get a badge by its ID */
15
+ get: operations["getBadgeById"];
16
+ put?: never;
17
+ post?: never;
18
+ /** Delete a badge by its ID */
19
+ delete: operations["deleteBadgeById"];
20
+ options?: never;
21
+ head?: never;
22
+ patch?: never;
23
+ trace?: never;
177
24
  };
178
- /** Expired JWT token used or insufficient privilege */
179
- 401: {
180
- content: {
181
- "text/plain": string;
182
- };
25
+ "/api/organizations/badges": {
26
+ parameters: {
27
+ query?: never;
28
+ header?: never;
29
+ path?: never;
30
+ cookie?: never;
31
+ };
32
+ get?: never;
33
+ put?: never;
34
+ /** Create a new badge or update an existing badge */
35
+ post: operations["createOrUpdateBadge"];
36
+ delete?: never;
37
+ options?: never;
38
+ head?: never;
39
+ patch?: never;
40
+ trace?: never;
183
41
  };
184
- /** Result not found */
185
- 404: {
186
- content: {
187
- "text/plain": string;
188
- };
42
+ "/api/identity/badges": {
43
+ parameters: {
44
+ query?: never;
45
+ header?: never;
46
+ path?: never;
47
+ cookie?: never;
48
+ };
49
+ /** Get available badges */
50
+ get: operations["getAvailableBadges"];
51
+ put?: never;
52
+ post?: never;
53
+ delete?: never;
54
+ options?: never;
55
+ head?: never;
56
+ patch?: never;
57
+ trace?: never;
189
58
  };
190
- /** Internal server error */
191
- 500: {
192
- content: {
193
- "text/plain": string;
194
- };
59
+ "/api/identity/users/badges": {
60
+ parameters: {
61
+ query?: never;
62
+ header?: never;
63
+ path?: never;
64
+ cookie?: never;
65
+ };
66
+ get?: never;
67
+ /** Assign badges to a user */
68
+ put: operations["assignBadges"];
69
+ post?: never;
70
+ delete?: never;
71
+ options?: never;
72
+ head?: never;
73
+ patch?: never;
74
+ trace?: never;
195
75
  };
196
- };
197
76
  }
198
-
199
- export interface operations {
200
- getBadgeById: {
201
- parameters: {
202
- path: {
203
- /** Unique identifier */
204
- id: string;
205
- };
206
- };
207
- responses: {
208
- 200: {
209
- content: {
210
- "application/json": {
77
+ export type webhooks = Record<string, never>;
78
+ export interface components {
79
+ schemas: {
80
+ /** @description Payload for creating or updating a badge. */
81
+ BadgePayload: {
211
82
  /**
212
83
  * Format: uuid
213
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
84
+ * @description Existing badge ID for updates; omit on create.
214
85
  */
215
- id: string;
86
+ id?: string;
216
87
  /**
217
88
  * Format: uuid
218
- * @description The ID of the organization in which this badge is available .
89
+ * @description The ID of the organization in which this badge is available.
219
90
  */
220
91
  org_id: string;
221
92
  /**
@@ -239,79 +110,8 @@ export interface operations {
239
110
  * @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
240
111
  */
241
112
  image_url: string;
242
- /**
243
- * Format: date-time
244
- * @description Timestamp when the resource was created.
245
- */
246
- created_at: string;
247
- /**
248
- * Format: date-time
249
- * @description Timestamp when the resource was updated.
250
- */
251
- updated_at: string;
252
- /**
253
- * Format: date-time
254
- * @description Timestamp when the resource was deleted, if applicable
255
- */
256
- deleted_at: string;
257
- };
258
- };
259
- };
260
- /** Expired JWT token used or insufficient privilege */
261
- 401: {
262
- content: {
263
- "text/plain": string;
264
- };
265
- };
266
- /** Result not found */
267
- 404: {
268
- content: {
269
- "text/plain": string;
270
113
  };
271
- };
272
- /** Internal server error */
273
- 500: {
274
- content: {
275
- "text/plain": string;
276
- };
277
- };
278
- };
279
- };
280
- deleteBadgeById: {
281
- parameters: {
282
- path: {
283
- /** Unique identifier */
284
- id: string;
285
- };
286
- };
287
- responses: {
288
- /** Badge deleted */
289
- 204: never;
290
- /** Expired JWT token used or insufficient privilege */
291
- 401: {
292
- content: {
293
- "text/plain": string;
294
- };
295
- };
296
- /** Result not found */
297
- 404: {
298
- content: {
299
- "text/plain": string;
300
- };
301
- };
302
- /** Internal server error */
303
- 500: {
304
- content: {
305
- "text/plain": string;
306
- };
307
- };
308
- };
309
- };
310
- createOrUpdateBadge: {
311
- responses: {
312
- 201: {
313
- content: {
314
- "application/json": {
114
+ Badge: {
315
115
  /**
316
116
  * Format: uuid
317
117
  * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
@@ -358,189 +158,550 @@ export interface operations {
358
158
  * @description Timestamp when the resource was deleted, if applicable
359
159
  */
360
160
  deleted_at: string;
361
- };
362
161
  };
363
- };
364
- /** Invalid request body or request param */
365
- 400: {
366
- content: {
367
- "text/plain": string;
368
- };
369
- };
370
- /** Expired JWT token used or insufficient privilege */
371
- 401: {
372
- content: {
373
- "text/plain": string;
162
+ BadgesPage: {
163
+ /** @description The badges of the badgespage. */
164
+ badges?: {
165
+ [key: string]: {
166
+ /**
167
+ * Format: uuid
168
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
169
+ */
170
+ id: string;
171
+ /**
172
+ * Format: uuid
173
+ * @description The ID of the organization in which this badge is available .
174
+ */
175
+ org_id: string;
176
+ /**
177
+ * @description unique identifier for the badge ( auto generated )
178
+ * @example Kubernetes-Expert
179
+ */
180
+ label: string;
181
+ /**
182
+ * @description Concise descriptor for the badge or certificate.
183
+ * @example Kubernetes Expert
184
+ */
185
+ name: string;
186
+ /**
187
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
188
+ * @example Awarded for mastering Kubernetes concepts and practices.
189
+ */
190
+ description: string;
191
+ /**
192
+ * Format: uri
193
+ * @description URL to the badge image
194
+ * @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
195
+ */
196
+ image_url: string;
197
+ /**
198
+ * Format: date-time
199
+ * @description Timestamp when the resource was created.
200
+ */
201
+ created_at: string;
202
+ /**
203
+ * Format: date-time
204
+ * @description Timestamp when the resource was updated.
205
+ */
206
+ updated_at: string;
207
+ /**
208
+ * Format: date-time
209
+ * @description Timestamp when the resource was deleted, if applicable
210
+ */
211
+ deleted_at: string;
212
+ };
213
+ };
374
214
  };
375
- };
376
- /** Internal server error */
377
- 500: {
378
- content: {
379
- "text/plain": string;
215
+ BadgeAssignmentPayload: {
216
+ /** @description The badges of the badgeassignment. */
217
+ badges?: string[];
218
+ /**
219
+ * Format: uuid
220
+ * @description ID of the user who owns or created this resource.
221
+ */
222
+ user_id?: string;
223
+ /** @description The notify of the badgeassignment. */
224
+ notify?: boolean;
380
225
  };
381
- };
382
226
  };
383
- requestBody: {
384
- content: {
385
- "application/json": {
386
- /**
387
- * Format: uuid
388
- * @description Existing badge ID for updates; omit on create.
389
- */
390
- id?: string;
391
- /**
392
- * Format: uuid
393
- * @description The ID of the organization in which this badge is available.
394
- */
395
- org_id: string;
396
- /**
397
- * @description unique identifier for the badge ( auto generated )
398
- * @example Kubernetes-Expert
399
- */
400
- label: string;
401
- /**
402
- * @description Concise descriptor for the badge or certificate.
403
- * @example Kubernetes Expert
404
- */
405
- name: string;
406
- /**
407
- * @description A description of the milestone achieved, often including criteria for receiving this recognition.
408
- * @example Awarded for mastering Kubernetes concepts and practices.
409
- */
410
- description: string;
411
- /**
412
- * Format: uri
413
- * @description URL to the badge image
414
- * @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
415
- */
416
- image_url: string;
227
+ responses: {
228
+ /** @description Invalid request body or request param */
229
+ 400: {
230
+ headers: {
231
+ [name: string]: unknown;
232
+ };
233
+ content: {
234
+ "text/plain": string;
235
+ };
236
+ };
237
+ /** @description Expired JWT token used or insufficient privilege */
238
+ 401: {
239
+ headers: {
240
+ [name: string]: unknown;
241
+ };
242
+ content: {
243
+ "text/plain": string;
244
+ };
245
+ };
246
+ /** @description Result not found */
247
+ 404: {
248
+ headers: {
249
+ [name: string]: unknown;
250
+ };
251
+ content: {
252
+ "text/plain": string;
253
+ };
254
+ };
255
+ /** @description Internal server error */
256
+ 500: {
257
+ headers: {
258
+ [name: string]: unknown;
259
+ };
260
+ content: {
261
+ "text/plain": string;
262
+ };
417
263
  };
418
- };
419
264
  };
420
- };
421
- getAvailableBadges: {
422
- responses: {
423
- /** Available badges */
424
- 200: {
425
- content: {
426
- "application/json": {
427
- /** @description The badges of the badgespage. */
428
- badges?: {
429
- [key: string]: {
430
- /**
431
- * Format: uuid
432
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
433
- */
265
+ parameters: never;
266
+ requestBodies: never;
267
+ headers: never;
268
+ pathItems: never;
269
+ }
270
+ export type $defs = Record<string, never>;
271
+ export interface operations {
272
+ getBadgeById: {
273
+ parameters: {
274
+ query?: never;
275
+ header?: never;
276
+ path: {
277
+ /** @description Unique identifier */
434
278
  id: string;
435
- /**
436
- * Format: uuid
437
- * @description The ID of the organization in which this badge is available .
438
- */
439
- org_id: string;
440
- /**
441
- * @description unique identifier for the badge ( auto generated )
442
- * @example Kubernetes-Expert
443
- */
444
- label: string;
445
- /**
446
- * @description Concise descriptor for the badge or certificate.
447
- * @example Kubernetes Expert
448
- */
449
- name: string;
450
- /**
451
- * @description A description of the milestone achieved, often including criteria for receiving this recognition.
452
- * @example Awarded for mastering Kubernetes concepts and practices.
453
- */
454
- description: string;
455
- /**
456
- * Format: uri
457
- * @description URL to the badge image
458
- * @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
459
- */
460
- image_url: string;
461
- /**
462
- * Format: date-time
463
- * @description Timestamp when the resource was created.
464
- */
465
- created_at: string;
466
- /**
467
- * Format: date-time
468
- * @description Timestamp when the resource was updated.
469
- */
470
- updated_at: string;
471
- /**
472
- * Format: date-time
473
- * @description Timestamp when the resource was deleted, if applicable
474
- */
475
- deleted_at: string;
476
- };
477
- };
478
- };
279
+ };
280
+ cookie?: never;
479
281
  };
480
- };
481
- /** Invalid request body or request param */
482
- 400: {
483
- content: {
484
- "text/plain": string;
282
+ requestBody?: never;
283
+ responses: {
284
+ 200: {
285
+ headers: {
286
+ [name: string]: unknown;
287
+ };
288
+ content: {
289
+ "application/json": {
290
+ /**
291
+ * Format: uuid
292
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
293
+ */
294
+ id: string;
295
+ /**
296
+ * Format: uuid
297
+ * @description The ID of the organization in which this badge is available .
298
+ */
299
+ org_id: string;
300
+ /**
301
+ * @description unique identifier for the badge ( auto generated )
302
+ * @example Kubernetes-Expert
303
+ */
304
+ label: string;
305
+ /**
306
+ * @description Concise descriptor for the badge or certificate.
307
+ * @example Kubernetes Expert
308
+ */
309
+ name: string;
310
+ /**
311
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
312
+ * @example Awarded for mastering Kubernetes concepts and practices.
313
+ */
314
+ description: string;
315
+ /**
316
+ * Format: uri
317
+ * @description URL to the badge image
318
+ * @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
319
+ */
320
+ image_url: string;
321
+ /**
322
+ * Format: date-time
323
+ * @description Timestamp when the resource was created.
324
+ */
325
+ created_at: string;
326
+ /**
327
+ * Format: date-time
328
+ * @description Timestamp when the resource was updated.
329
+ */
330
+ updated_at: string;
331
+ /**
332
+ * Format: date-time
333
+ * @description Timestamp when the resource was deleted, if applicable
334
+ */
335
+ deleted_at: string;
336
+ };
337
+ };
338
+ };
339
+ /** @description Expired JWT token used or insufficient privilege */
340
+ 401: {
341
+ headers: {
342
+ [name: string]: unknown;
343
+ };
344
+ content: {
345
+ "text/plain": string;
346
+ };
347
+ };
348
+ /** @description Result not found */
349
+ 404: {
350
+ headers: {
351
+ [name: string]: unknown;
352
+ };
353
+ content: {
354
+ "text/plain": string;
355
+ };
356
+ };
357
+ /** @description Internal server error */
358
+ 500: {
359
+ headers: {
360
+ [name: string]: unknown;
361
+ };
362
+ content: {
363
+ "text/plain": string;
364
+ };
365
+ };
485
366
  };
486
- };
487
- /** Expired JWT token used or insufficient privilege */
488
- 401: {
489
- content: {
490
- "text/plain": string;
367
+ };
368
+ deleteBadgeById: {
369
+ parameters: {
370
+ query?: never;
371
+ header?: never;
372
+ path: {
373
+ /** @description Unique identifier */
374
+ id: string;
375
+ };
376
+ cookie?: never;
491
377
  };
492
- };
493
- /** Internal server error */
494
- 500: {
495
- content: {
496
- "text/plain": string;
378
+ requestBody?: never;
379
+ responses: {
380
+ /** @description Badge deleted */
381
+ 204: {
382
+ headers: {
383
+ [name: string]: unknown;
384
+ };
385
+ content?: never;
386
+ };
387
+ /** @description Expired JWT token used or insufficient privilege */
388
+ 401: {
389
+ headers: {
390
+ [name: string]: unknown;
391
+ };
392
+ content: {
393
+ "text/plain": string;
394
+ };
395
+ };
396
+ /** @description Result not found */
397
+ 404: {
398
+ headers: {
399
+ [name: string]: unknown;
400
+ };
401
+ content: {
402
+ "text/plain": string;
403
+ };
404
+ };
405
+ /** @description Internal server error */
406
+ 500: {
407
+ headers: {
408
+ [name: string]: unknown;
409
+ };
410
+ content: {
411
+ "text/plain": string;
412
+ };
413
+ };
497
414
  };
498
- };
499
415
  };
500
- };
501
- assignBadges: {
502
- responses: {
503
- /** Badge assignment result */
504
- 200: {
505
- content: {
506
- "application/json": { [key: string]: unknown };
416
+ createOrUpdateBadge: {
417
+ parameters: {
418
+ query?: never;
419
+ header?: never;
420
+ path?: never;
421
+ cookie?: never;
507
422
  };
508
- };
509
- /** Invalid request body or request param */
510
- 400: {
511
- content: {
512
- "text/plain": string;
423
+ requestBody: {
424
+ content: {
425
+ "application/json": {
426
+ /**
427
+ * Format: uuid
428
+ * @description Existing badge ID for updates; omit on create.
429
+ */
430
+ id?: string;
431
+ /**
432
+ * Format: uuid
433
+ * @description The ID of the organization in which this badge is available.
434
+ */
435
+ org_id: string;
436
+ /**
437
+ * @description unique identifier for the badge ( auto generated )
438
+ * @example Kubernetes-Expert
439
+ */
440
+ label: string;
441
+ /**
442
+ * @description Concise descriptor for the badge or certificate.
443
+ * @example Kubernetes Expert
444
+ */
445
+ name: string;
446
+ /**
447
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
448
+ * @example Awarded for mastering Kubernetes concepts and practices.
449
+ */
450
+ description: string;
451
+ /**
452
+ * Format: uri
453
+ * @description URL to the badge image
454
+ * @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
455
+ */
456
+ image_url: string;
457
+ };
458
+ };
513
459
  };
514
- };
515
- /** Expired JWT token used or insufficient privilege */
516
- 401: {
517
- content: {
518
- "text/plain": string;
460
+ responses: {
461
+ 201: {
462
+ headers: {
463
+ [name: string]: unknown;
464
+ };
465
+ content: {
466
+ "application/json": {
467
+ /**
468
+ * Format: uuid
469
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
470
+ */
471
+ id: string;
472
+ /**
473
+ * Format: uuid
474
+ * @description The ID of the organization in which this badge is available .
475
+ */
476
+ org_id: string;
477
+ /**
478
+ * @description unique identifier for the badge ( auto generated )
479
+ * @example Kubernetes-Expert
480
+ */
481
+ label: string;
482
+ /**
483
+ * @description Concise descriptor for the badge or certificate.
484
+ * @example Kubernetes Expert
485
+ */
486
+ name: string;
487
+ /**
488
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
489
+ * @example Awarded for mastering Kubernetes concepts and practices.
490
+ */
491
+ description: string;
492
+ /**
493
+ * Format: uri
494
+ * @description URL to the badge image
495
+ * @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
496
+ */
497
+ image_url: string;
498
+ /**
499
+ * Format: date-time
500
+ * @description Timestamp when the resource was created.
501
+ */
502
+ created_at: string;
503
+ /**
504
+ * Format: date-time
505
+ * @description Timestamp when the resource was updated.
506
+ */
507
+ updated_at: string;
508
+ /**
509
+ * Format: date-time
510
+ * @description Timestamp when the resource was deleted, if applicable
511
+ */
512
+ deleted_at: string;
513
+ };
514
+ };
515
+ };
516
+ /** @description Invalid request body or request param */
517
+ 400: {
518
+ headers: {
519
+ [name: string]: unknown;
520
+ };
521
+ content: {
522
+ "text/plain": string;
523
+ };
524
+ };
525
+ /** @description Expired JWT token used or insufficient privilege */
526
+ 401: {
527
+ headers: {
528
+ [name: string]: unknown;
529
+ };
530
+ content: {
531
+ "text/plain": string;
532
+ };
533
+ };
534
+ /** @description Internal server error */
535
+ 500: {
536
+ headers: {
537
+ [name: string]: unknown;
538
+ };
539
+ content: {
540
+ "text/plain": string;
541
+ };
542
+ };
519
543
  };
520
- };
521
- /** Internal server error */
522
- 500: {
523
- content: {
524
- "text/plain": string;
544
+ };
545
+ getAvailableBadges: {
546
+ parameters: {
547
+ query?: never;
548
+ header?: never;
549
+ path?: never;
550
+ cookie?: never;
551
+ };
552
+ requestBody?: never;
553
+ responses: {
554
+ /** @description Available badges */
555
+ 200: {
556
+ headers: {
557
+ [name: string]: unknown;
558
+ };
559
+ content: {
560
+ "application/json": {
561
+ /** @description The badges of the badgespage. */
562
+ badges?: {
563
+ [key: string]: {
564
+ /**
565
+ * Format: uuid
566
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
567
+ */
568
+ id: string;
569
+ /**
570
+ * Format: uuid
571
+ * @description The ID of the organization in which this badge is available .
572
+ */
573
+ org_id: string;
574
+ /**
575
+ * @description unique identifier for the badge ( auto generated )
576
+ * @example Kubernetes-Expert
577
+ */
578
+ label: string;
579
+ /**
580
+ * @description Concise descriptor for the badge or certificate.
581
+ * @example Kubernetes Expert
582
+ */
583
+ name: string;
584
+ /**
585
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
586
+ * @example Awarded for mastering Kubernetes concepts and practices.
587
+ */
588
+ description: string;
589
+ /**
590
+ * Format: uri
591
+ * @description URL to the badge image
592
+ * @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
593
+ */
594
+ image_url: string;
595
+ /**
596
+ * Format: date-time
597
+ * @description Timestamp when the resource was created.
598
+ */
599
+ created_at: string;
600
+ /**
601
+ * Format: date-time
602
+ * @description Timestamp when the resource was updated.
603
+ */
604
+ updated_at: string;
605
+ /**
606
+ * Format: date-time
607
+ * @description Timestamp when the resource was deleted, if applicable
608
+ */
609
+ deleted_at: string;
610
+ };
611
+ };
612
+ };
613
+ };
614
+ };
615
+ /** @description Invalid request body or request param */
616
+ 400: {
617
+ headers: {
618
+ [name: string]: unknown;
619
+ };
620
+ content: {
621
+ "text/plain": string;
622
+ };
623
+ };
624
+ /** @description Expired JWT token used or insufficient privilege */
625
+ 401: {
626
+ headers: {
627
+ [name: string]: unknown;
628
+ };
629
+ content: {
630
+ "text/plain": string;
631
+ };
632
+ };
633
+ /** @description Internal server error */
634
+ 500: {
635
+ headers: {
636
+ [name: string]: unknown;
637
+ };
638
+ content: {
639
+ "text/plain": string;
640
+ };
641
+ };
525
642
  };
526
- };
527
643
  };
528
- requestBody: {
529
- content: {
530
- "application/json": {
531
- /** @description The badges of the badgeassignment. */
532
- badges?: string[];
533
- /**
534
- * Format: uuid
535
- * @description ID of the user who owns or created this resource.
536
- */
537
- user_id?: string;
538
- /** @description The notify of the badgeassignment. */
539
- notify?: boolean;
644
+ assignBadges: {
645
+ parameters: {
646
+ query?: never;
647
+ header?: never;
648
+ path?: never;
649
+ cookie?: never;
650
+ };
651
+ requestBody: {
652
+ content: {
653
+ "application/json": {
654
+ /** @description The badges of the badgeassignment. */
655
+ badges?: string[];
656
+ /**
657
+ * Format: uuid
658
+ * @description ID of the user who owns or created this resource.
659
+ */
660
+ user_id?: string;
661
+ /** @description The notify of the badgeassignment. */
662
+ notify?: boolean;
663
+ };
664
+ };
665
+ };
666
+ responses: {
667
+ /** @description Badge assignment result */
668
+ 200: {
669
+ headers: {
670
+ [name: string]: unknown;
671
+ };
672
+ content: {
673
+ "application/json": {
674
+ [key: string]: unknown;
675
+ };
676
+ };
677
+ };
678
+ /** @description Invalid request body or request param */
679
+ 400: {
680
+ headers: {
681
+ [name: string]: unknown;
682
+ };
683
+ content: {
684
+ "text/plain": string;
685
+ };
686
+ };
687
+ /** @description Expired JWT token used or insufficient privilege */
688
+ 401: {
689
+ headers: {
690
+ [name: string]: unknown;
691
+ };
692
+ content: {
693
+ "text/plain": string;
694
+ };
695
+ };
696
+ /** @description Internal server error */
697
+ 500: {
698
+ headers: {
699
+ [name: string]: unknown;
700
+ };
701
+ content: {
702
+ "text/plain": string;
703
+ };
704
+ };
540
705
  };
541
- };
542
706
  };
543
- };
544
707
  }
545
-
546
- export interface external {}