@meshery/schemas 1.3.9 → 1.4.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 (101) hide show
  1. package/dist/cloudApi.d.mts +28 -28
  2. package/dist/cloudApi.d.ts +28 -28
  3. package/dist/constructs/v1alpha1/capability/Capability.d.ts +106 -111
  4. package/dist/constructs/v1alpha1/core/Core.d.ts +822 -734
  5. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +45 -40
  6. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1829 -1716
  7. package/dist/constructs/v1beta1/academy/Academy.d.ts +6023 -6642
  8. package/dist/constructs/v1beta1/badge/Badge.d.ts +439 -600
  9. package/dist/constructs/v1beta1/capability/Capability.d.ts +106 -111
  10. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +45 -40
  11. package/dist/constructs/v1beta1/category/Category.d.ts +38 -26
  12. package/dist/constructs/v1beta1/component/Component.d.ts +833 -729
  13. package/dist/constructs/v1beta1/connection/Connection.d.ts +1170 -1357
  14. package/dist/constructs/v1beta1/core/Core.d.ts +822 -734
  15. package/dist/constructs/v1beta1/credential/Credential.d.ts +458 -593
  16. package/dist/constructs/v1beta1/environment/Environment.d.ts +666 -835
  17. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6142 -5619
  18. package/dist/constructs/v1beta1/event/Event.d.ts +527 -898
  19. package/dist/constructs/v1beta1/feature/Feature.d.ts +343 -389
  20. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +877 -1244
  21. package/dist/constructs/v1beta1/key/Key.d.ts +444 -589
  22. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +575 -796
  23. package/dist/constructs/v1beta1/model/Model.d.ts +598 -572
  24. package/dist/constructs/v1beta1/organization/Organization.d.ts +1410 -1829
  25. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17988 -17171
  26. package/dist/constructs/v1beta1/plan/Plan.d.ts +115 -159
  27. package/dist/constructs/v1beta1/role/Role.d.ts +688 -933
  28. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +315 -425
  29. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +61 -18
  30. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +674 -839
  31. package/dist/constructs/v1beta1/support/Support.d.ts +74 -115
  32. package/dist/constructs/v1beta1/system/System.d.ts +250 -385
  33. package/dist/constructs/v1beta1/team/Team.d.ts +762 -1028
  34. package/dist/constructs/v1beta1/token/Token.d.ts +475 -612
  35. package/dist/constructs/v1beta1/user/User.d.ts +1553 -1722
  36. package/dist/constructs/v1beta1/view/View.d.ts +664 -833
  37. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4705 -4910
  38. package/dist/constructs/v1beta2/academy/Academy.d.ts +7246 -7864
  39. package/dist/constructs/v1beta2/badge/Badge.d.ts +453 -610
  40. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +45 -40
  41. package/dist/constructs/v1beta2/component/Component.d.ts +851 -747
  42. package/dist/constructs/v1beta2/connection/Connection.d.ts +1189 -1376
  43. package/dist/constructs/v1beta2/core/Core.d.ts +856 -768
  44. package/dist/constructs/v1beta2/credential/Credential.d.ts +437 -572
  45. package/dist/constructs/v1beta2/design/Design.d.ts +18631 -17846
  46. package/dist/constructs/v1beta2/event/Event.d.ts +575 -946
  47. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +901 -1268
  48. package/dist/constructs/v1beta2/key/Key.d.ts +454 -599
  49. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +585 -806
  50. package/dist/constructs/v1beta2/model/Model.d.ts +636 -610
  51. package/dist/constructs/v1beta2/organization/Organization.d.ts +2017 -2458
  52. package/dist/constructs/v1beta2/plan/Plan.d.ts +128 -169
  53. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2013 -1844
  54. package/dist/constructs/v1beta2/role/Role.d.ts +695 -940
  55. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +356 -466
  56. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +701 -866
  57. package/dist/constructs/v1beta2/team/Team.d.ts +852 -1118
  58. package/dist/constructs/v1beta2/token/Token.d.ts +479 -616
  59. package/dist/constructs/v1beta2/user/User.d.ts +1553 -1722
  60. package/dist/constructs/v1beta2/view/View.d.ts +669 -838
  61. package/dist/constructs/v1beta3/academy/Academy.d.ts +7246 -7864
  62. package/dist/constructs/v1beta3/academy/AcademySchema.js +1 -1
  63. package/dist/constructs/v1beta3/academy/AcademySchema.mjs +1 -1
  64. package/dist/constructs/v1beta3/component/Component.d.ts +857 -753
  65. package/dist/constructs/v1beta3/connection/Connection.d.ts +5559 -5053
  66. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +6 -6
  67. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +6 -6
  68. package/dist/constructs/v1beta3/design/Design.d.ts +5297 -5719
  69. package/dist/constructs/v1beta3/design/DesignSchema.js +2 -2
  70. package/dist/constructs/v1beta3/design/DesignSchema.mjs +2 -2
  71. package/dist/constructs/v1beta3/environment/Environment.d.ts +689 -858
  72. package/dist/constructs/v1beta3/event/Event.d.ts +666 -1041
  73. package/dist/constructs/v1beta3/event/EventSchema.js +1 -1
  74. package/dist/constructs/v1beta3/event/EventSchema.mjs +1 -1
  75. package/dist/constructs/v1beta3/filter/Filter.d.ts +1300 -1438
  76. package/dist/constructs/v1beta3/filter/FilterSchema.js +7 -7
  77. package/dist/constructs/v1beta3/filter/FilterSchema.mjs +7 -7
  78. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +911 -1278
  79. package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
  80. package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
  81. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +1114 -1412
  82. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.js +1 -1
  83. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.mjs +1 -1
  84. package/dist/constructs/v1beta3/plan/Plan.d.ts +156 -197
  85. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2013 -1844
  86. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +804 -969
  87. package/dist/constructs/v1beta3/token/Token.d.ts +480 -617
  88. package/dist/constructs/v1beta3/token/TokenSchema.js +1 -1
  89. package/dist/constructs/v1beta3/token/TokenSchema.mjs +1 -1
  90. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +4825 -5033
  91. package/dist/index.d.mts +5032 -5501
  92. package/dist/index.d.ts +5032 -5501
  93. package/dist/mesheryApi.d.mts +8 -8
  94. package/dist/mesheryApi.d.ts +8 -8
  95. package/dist/mesheryApi.js +1 -1
  96. package/dist/mesheryApi.mjs +1 -1
  97. package/dist/permissions.d.mts +25 -1
  98. package/dist/permissions.d.ts +25 -1
  99. package/dist/permissions.js +1 -1
  100. package/dist/permissions.mjs +1 -1
  101. package/package.json +1 -1
@@ -4,89 +4,218 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/api/organizations/badges/{id}": {
8
- parameters: {
9
- query?: never;
10
- header?: never;
11
- path?: never;
12
- cookie?: never;
13
- };
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;
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;
24
57
  };
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;
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;
41
105
  };
42
- "/api/identity/badges": {
43
- parameters: {
44
- query?: never;
45
- header?: never;
46
- path?: never;
47
- cookie?: never;
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;
48
156
  };
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;
157
+ };
58
158
  };
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;
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
+ };
75
177
  };
178
+ /** Expired JWT token used or insufficient privilege */
179
+ 401: {
180
+ content: {
181
+ "text/plain": string;
182
+ };
183
+ };
184
+ /** Result not found */
185
+ 404: {
186
+ content: {
187
+ "text/plain": string;
188
+ };
189
+ };
190
+ /** Internal server error */
191
+ 500: {
192
+ content: {
193
+ "text/plain": string;
194
+ };
195
+ };
196
+ };
76
197
  }
77
- export type webhooks = Record<string, never>;
78
- export interface components {
79
- schemas: {
80
- /** @description Payload for creating or updating a badge. */
81
- BadgePayload: {
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": {
82
211
  /**
83
212
  * Format: uuid
84
- * @description Existing badge ID for updates; omit on create.
213
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
85
214
  */
86
- id?: string;
215
+ id: string;
87
216
  /**
88
217
  * Format: uuid
89
- * @description The ID of the organization in which this badge is available.
218
+ * @description The ID of the organization in which this badge is available .
90
219
  */
91
220
  org_id: string;
92
221
  /**
@@ -110,8 +239,79 @@ export interface components {
110
239
  * @example https://raw.githubusercontent.com/meshery-extensions/meshery-academy/refs/heads/master/.github/assets/images/mershery-icon.png
111
240
  */
112
241
  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;
113
270
  };
114
- Badge: {
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": {
115
315
  /**
116
316
  * Format: uuid
117
317
  * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
@@ -158,550 +358,189 @@ export interface components {
158
358
  * @description Timestamp when the resource was deleted, if applicable
159
359
  */
160
360
  deleted_at: string;
361
+ };
161
362
  };
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
- };
214
- };
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;
225
- };
226
- };
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
- };
363
+ };
364
+ /** Invalid request body or request param */
365
+ 400: {
366
+ content: {
367
+ "text/plain": string;
236
368
  };
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
- };
369
+ };
370
+ /** Expired JWT token used or insufficient privilege */
371
+ 401: {
372
+ content: {
373
+ "text/plain": string;
254
374
  };
255
- /** @description Internal server error */
256
- 500: {
257
- headers: {
258
- [name: string]: unknown;
259
- };
260
- content: {
261
- "text/plain": string;
262
- };
375
+ };
376
+ /** Internal server error */
377
+ 500: {
378
+ content: {
379
+ "text/plain": string;
263
380
  };
381
+ };
264
382
  };
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 */
278
- id: string;
279
- };
280
- cookie?: never;
281
- };
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
- };
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;
366
417
  };
418
+ };
367
419
  };
368
- deleteBadgeById: {
369
- parameters: {
370
- query?: never;
371
- header?: never;
372
- path: {
373
- /** @description Unique identifier */
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
+ */
374
434
  id: string;
375
- };
376
- cookie?: never;
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
+ };
377
479
  };
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
- };
480
+ };
481
+ /** Invalid request body or request param */
482
+ 400: {
483
+ content: {
484
+ "text/plain": string;
414
485
  };
415
- };
416
- createOrUpdateBadge: {
417
- parameters: {
418
- query?: never;
419
- header?: never;
420
- path?: never;
421
- cookie?: never;
486
+ };
487
+ /** Expired JWT token used or insufficient privilege */
488
+ 401: {
489
+ content: {
490
+ "text/plain": string;
422
491
  };
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
- };
459
- };
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
- };
492
+ };
493
+ /** Internal server error */
494
+ 500: {
495
+ content: {
496
+ "text/plain": string;
543
497
  };
498
+ };
544
499
  };
545
- getAvailableBadges: {
546
- parameters: {
547
- query?: never;
548
- header?: never;
549
- path?: never;
550
- cookie?: never;
500
+ };
501
+ assignBadges: {
502
+ responses: {
503
+ /** Badge assignment result */
504
+ 200: {
505
+ content: {
506
+ "application/json": { [key: string]: unknown };
551
507
  };
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
- };
508
+ };
509
+ /** Invalid request body or request param */
510
+ 400: {
511
+ content: {
512
+ "text/plain": string;
642
513
  };
643
- };
644
- assignBadges: {
645
- parameters: {
646
- query?: never;
647
- header?: never;
648
- path?: never;
649
- cookie?: never;
514
+ };
515
+ /** Expired JWT token used or insufficient privilege */
516
+ 401: {
517
+ content: {
518
+ "text/plain": string;
650
519
  };
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
- };
520
+ };
521
+ /** Internal server error */
522
+ 500: {
523
+ content: {
524
+ "text/plain": string;
665
525
  };
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
- };
526
+ };
527
+ };
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;
705
540
  };
541
+ };
706
542
  };
543
+ };
707
544
  }
545
+
546
+ export interface external {}