@meshery/schemas 1.0.9 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/README.md +4 -3
  2. package/dist/cloudApi.d.mts +16689 -16426
  3. package/dist/cloudApi.d.ts +16689 -16426
  4. package/dist/cloudApi.js +1 -1
  5. package/dist/cloudApi.mjs +1 -1
  6. package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
  7. package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
  8. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  9. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  10. package/dist/constructs/v1beta1/credential/CredentialSchema.js +4 -4
  11. package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +4 -4
  12. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
  13. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
  14. package/dist/constructs/v1beta1/event/EventSchema.js +1 -1
  15. package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -1
  16. package/dist/constructs/v1beta1/key/KeySchema.js +1 -1
  17. package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -1
  18. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -1
  19. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -1
  20. package/dist/constructs/v1beta1/model/ModelSchema.js +1 -1
  21. package/dist/constructs/v1beta1/model/ModelSchema.mjs +1 -1
  22. package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -1
  23. package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -1
  24. package/dist/constructs/v1beta1/pattern/PatternSchema.js +1 -1
  25. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +1 -1
  26. package/dist/constructs/v1beta1/role/RoleSchema.js +1 -1
  27. package/dist/constructs/v1beta1/role/RoleSchema.mjs +1 -1
  28. package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +1 -1
  29. package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +1 -1
  30. package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
  31. package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
  32. package/dist/constructs/v1beta1/user/UserSchema.js +1 -1
  33. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -1
  34. package/dist/constructs/v1beta1/view/ViewSchema.js +1 -1
  35. package/dist/constructs/v1beta1/view/ViewSchema.mjs +1 -1
  36. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -2
  37. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -2
  38. package/dist/constructs/v1beta2/badge/Badge.d.mts +564 -0
  39. package/dist/constructs/v1beta2/badge/Badge.d.ts +564 -0
  40. package/dist/constructs/v1beta2/badge/Badge.js +1 -0
  41. package/dist/constructs/v1beta2/badge/Badge.mjs +0 -0
  42. package/dist/constructs/v1beta2/badge/BadgeSchema.d.mts +7 -0
  43. package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +7 -0
  44. package/dist/constructs/v1beta2/badge/BadgeSchema.js +2 -0
  45. package/dist/constructs/v1beta2/badge/BadgeSchema.mjs +2 -0
  46. package/dist/constructs/v1beta2/connection/ConnectionSchema.js +1 -1
  47. package/dist/constructs/v1beta2/connection/ConnectionSchema.mjs +1 -1
  48. package/dist/constructs/v1beta2/credential/Credential.d.mts +536 -0
  49. package/dist/constructs/v1beta2/credential/Credential.d.ts +536 -0
  50. package/dist/constructs/v1beta2/credential/Credential.js +1 -0
  51. package/dist/constructs/v1beta2/credential/Credential.mjs +0 -0
  52. package/dist/constructs/v1beta2/credential/CredentialSchema.d.mts +7 -0
  53. package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +7 -0
  54. package/dist/constructs/v1beta2/credential/CredentialSchema.js +7 -0
  55. package/dist/constructs/v1beta2/credential/CredentialSchema.mjs +7 -0
  56. package/dist/constructs/v1beta2/design/DesignSchema.js +10 -2
  57. package/dist/constructs/v1beta2/design/DesignSchema.mjs +10 -2
  58. package/dist/constructs/v1beta2/event/EventSchema.js +1 -1
  59. package/dist/constructs/v1beta2/event/EventSchema.mjs +1 -1
  60. package/dist/constructs/v1beta2/invitation/InvitationSchema.js +1 -1
  61. package/dist/constructs/v1beta2/invitation/InvitationSchema.mjs +1 -1
  62. package/dist/constructs/v1beta2/key/Key.d.mts +523 -0
  63. package/dist/constructs/v1beta2/key/Key.d.ts +523 -0
  64. package/dist/constructs/v1beta2/key/Key.js +1 -0
  65. package/dist/constructs/v1beta2/key/Key.mjs +0 -0
  66. package/dist/constructs/v1beta2/key/KeySchema.d.mts +7 -0
  67. package/dist/constructs/v1beta2/key/KeySchema.d.ts +7 -0
  68. package/dist/constructs/v1beta2/key/KeySchema.js +2 -0
  69. package/dist/constructs/v1beta2/key/KeySchema.mjs +2 -0
  70. package/dist/constructs/v1beta2/keychain/Keychain.d.mts +651 -0
  71. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +651 -0
  72. package/dist/constructs/v1beta2/keychain/Keychain.js +1 -0
  73. package/dist/constructs/v1beta2/keychain/Keychain.mjs +0 -0
  74. package/dist/constructs/v1beta2/keychain/KeychainSchema.d.mts +7 -0
  75. package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +7 -0
  76. package/dist/constructs/v1beta2/keychain/KeychainSchema.js +2 -0
  77. package/dist/constructs/v1beta2/keychain/KeychainSchema.mjs +2 -0
  78. package/dist/constructs/v1beta2/model/Model.d.mts +571 -0
  79. package/dist/constructs/v1beta2/model/Model.d.ts +571 -0
  80. package/dist/constructs/v1beta2/model/Model.js +1 -0
  81. package/dist/constructs/v1beta2/model/Model.mjs +0 -0
  82. package/dist/constructs/v1beta2/model/ModelSchema.d.mts +7 -0
  83. package/dist/constructs/v1beta2/model/ModelSchema.d.ts +7 -0
  84. package/dist/constructs/v1beta2/model/ModelSchema.js +6 -0
  85. package/dist/constructs/v1beta2/model/ModelSchema.mjs +6 -0
  86. package/dist/constructs/v1beta2/organization/Organization.d.mts +1986 -0
  87. package/dist/constructs/v1beta2/organization/Organization.d.ts +1986 -0
  88. package/dist/constructs/v1beta2/organization/Organization.js +1 -0
  89. package/dist/constructs/v1beta2/organization/Organization.mjs +0 -0
  90. package/dist/constructs/v1beta2/organization/OrganizationSchema.d.mts +7 -0
  91. package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +7 -0
  92. package/dist/constructs/v1beta2/organization/OrganizationSchema.js +2 -0
  93. package/dist/constructs/v1beta2/organization/OrganizationSchema.mjs +2 -0
  94. package/dist/constructs/v1beta2/plan/PlanSchema.js +1 -1
  95. package/dist/constructs/v1beta2/plan/PlanSchema.mjs +1 -1
  96. package/dist/constructs/v1beta2/role/Role.d.mts +751 -0
  97. package/dist/constructs/v1beta2/role/Role.d.ts +751 -0
  98. package/dist/constructs/v1beta2/role/Role.js +1 -0
  99. package/dist/constructs/v1beta2/role/Role.mjs +0 -0
  100. package/dist/constructs/v1beta2/role/RoleSchema.d.mts +7 -0
  101. package/dist/constructs/v1beta2/role/RoleSchema.d.ts +7 -0
  102. package/dist/constructs/v1beta2/role/RoleSchema.js +2 -0
  103. package/dist/constructs/v1beta2/role/RoleSchema.mjs +2 -0
  104. package/dist/constructs/v1beta2/schedule/Schedule.d.mts +380 -0
  105. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +380 -0
  106. package/dist/constructs/v1beta2/schedule/Schedule.js +1 -0
  107. package/dist/constructs/v1beta2/schedule/Schedule.mjs +0 -0
  108. package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.mts +7 -0
  109. package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +7 -0
  110. package/dist/constructs/v1beta2/schedule/ScheduleSchema.js +13 -0
  111. package/dist/constructs/v1beta2/schedule/ScheduleSchema.mjs +13 -0
  112. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.js +1 -1
  113. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.mjs +1 -1
  114. package/dist/constructs/v1beta2/team/Team.d.mts +939 -0
  115. package/dist/constructs/v1beta2/team/Team.d.ts +939 -0
  116. package/dist/constructs/v1beta2/team/Team.js +1 -0
  117. package/dist/constructs/v1beta2/team/Team.mjs +0 -0
  118. package/dist/constructs/v1beta2/team/TeamSchema.d.mts +7 -0
  119. package/dist/constructs/v1beta2/team/TeamSchema.d.ts +7 -0
  120. package/dist/constructs/v1beta2/team/TeamSchema.js +2 -0
  121. package/dist/constructs/v1beta2/team/TeamSchema.mjs +2 -0
  122. package/dist/constructs/v1beta2/token/TokenSchema.js +1 -1
  123. package/dist/constructs/v1beta2/token/TokenSchema.mjs +1 -1
  124. package/dist/constructs/v1beta2/user/User.d.mts +1831 -0
  125. package/dist/constructs/v1beta2/user/User.d.ts +1831 -0
  126. package/dist/constructs/v1beta2/user/User.js +1 -0
  127. package/dist/constructs/v1beta2/user/User.mjs +0 -0
  128. package/dist/constructs/v1beta2/user/UserSchema.d.mts +7 -0
  129. package/dist/constructs/v1beta2/user/UserSchema.d.ts +7 -0
  130. package/dist/constructs/v1beta2/user/UserSchema.js +2 -0
  131. package/dist/constructs/v1beta2/user/UserSchema.mjs +2 -0
  132. package/dist/constructs/v1beta2/view/View.d.mts +810 -0
  133. package/dist/constructs/v1beta2/view/View.d.ts +810 -0
  134. package/dist/constructs/v1beta2/view/View.js +1 -0
  135. package/dist/constructs/v1beta2/view/View.mjs +0 -0
  136. package/dist/constructs/v1beta2/view/ViewSchema.d.mts +7 -0
  137. package/dist/constructs/v1beta2/view/ViewSchema.d.ts +7 -0
  138. package/dist/constructs/v1beta2/view/ViewSchema.js +13 -0
  139. package/dist/constructs/v1beta2/view/ViewSchema.mjs +13 -0
  140. package/dist/constructs/v1beta3/component/Component.d.mts +796 -0
  141. package/dist/constructs/v1beta3/component/Component.d.ts +796 -0
  142. package/dist/constructs/v1beta3/component/Component.js +1 -0
  143. package/dist/constructs/v1beta3/component/Component.mjs +0 -0
  144. package/dist/constructs/v1beta3/component/ComponentSchema.d.mts +7 -0
  145. package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +7 -0
  146. package/dist/constructs/v1beta3/component/ComponentSchema.js +10 -0
  147. package/dist/constructs/v1beta3/component/ComponentSchema.mjs +10 -0
  148. package/dist/constructs/v1beta3/connection/Connection.d.mts +1348 -0
  149. package/dist/constructs/v1beta3/connection/Connection.d.ts +1348 -0
  150. package/dist/constructs/v1beta3/connection/Connection.js +1 -0
  151. package/dist/constructs/v1beta3/connection/Connection.mjs +0 -0
  152. package/dist/constructs/v1beta3/connection/ConnectionSchema.d.mts +7 -0
  153. package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +7 -0
  154. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +2 -0
  155. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +2 -0
  156. package/dist/constructs/v1beta3/design/Design.d.mts +17552 -0
  157. package/dist/constructs/v1beta3/design/Design.d.ts +17552 -0
  158. package/dist/constructs/v1beta3/design/Design.js +1 -0
  159. package/dist/constructs/v1beta3/design/Design.mjs +0 -0
  160. package/dist/constructs/v1beta3/design/DesignSchema.d.mts +7 -0
  161. package/dist/constructs/v1beta3/design/DesignSchema.d.ts +7 -0
  162. package/dist/constructs/v1beta3/design/DesignSchema.js +506 -0
  163. package/dist/constructs/v1beta3/design/DesignSchema.mjs +506 -0
  164. package/dist/constructs/v1beta3/environment/Environment.d.mts +800 -0
  165. package/dist/constructs/v1beta3/environment/Environment.d.ts +800 -0
  166. package/dist/constructs/v1beta3/environment/Environment.js +1 -0
  167. package/dist/constructs/v1beta3/environment/Environment.mjs +0 -0
  168. package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.mts +7 -0
  169. package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +7 -0
  170. package/dist/constructs/v1beta3/environment/EnvironmentSchema.js +2 -0
  171. package/dist/constructs/v1beta3/environment/EnvironmentSchema.mjs +2 -0
  172. package/dist/constructs/v1beta3/event/Event.d.mts +733 -0
  173. package/dist/constructs/v1beta3/event/Event.d.ts +733 -0
  174. package/dist/constructs/v1beta3/event/Event.js +1 -0
  175. package/dist/constructs/v1beta3/event/Event.mjs +0 -0
  176. package/dist/constructs/v1beta3/event/EventSchema.d.mts +7 -0
  177. package/dist/constructs/v1beta3/event/EventSchema.d.ts +7 -0
  178. package/dist/constructs/v1beta3/event/EventSchema.js +2 -0
  179. package/dist/constructs/v1beta3/event/EventSchema.mjs +2 -0
  180. package/dist/constructs/v1beta3/invitation/Invitation.d.mts +1079 -0
  181. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1079 -0
  182. package/dist/constructs/v1beta3/invitation/Invitation.js +1 -0
  183. package/dist/constructs/v1beta3/invitation/Invitation.mjs +0 -0
  184. package/dist/constructs/v1beta3/invitation/InvitationSchema.d.mts +7 -0
  185. package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +7 -0
  186. package/dist/constructs/v1beta3/invitation/InvitationSchema.js +2 -0
  187. package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +2 -0
  188. package/dist/constructs/v1beta3/plan/Plan.d.mts +198 -0
  189. package/dist/constructs/v1beta3/plan/Plan.d.ts +198 -0
  190. package/dist/constructs/v1beta3/plan/Plan.js +1 -0
  191. package/dist/constructs/v1beta3/plan/Plan.mjs +0 -0
  192. package/dist/constructs/v1beta3/plan/PlanSchema.d.mts +7 -0
  193. package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +7 -0
  194. package/dist/constructs/v1beta3/plan/PlanSchema.js +2 -0
  195. package/dist/constructs/v1beta3/plan/PlanSchema.mjs +2 -0
  196. package/dist/constructs/v1beta3/relationship/Relationship.d.mts +1884 -0
  197. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +1884 -0
  198. package/dist/constructs/v1beta3/relationship/Relationship.js +1 -0
  199. package/dist/constructs/v1beta3/relationship/Relationship.mjs +0 -0
  200. package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.mts +7 -0
  201. package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +7 -0
  202. package/dist/constructs/v1beta3/relationship/RelationshipSchema.js +155 -0
  203. package/dist/constructs/v1beta3/relationship/RelationshipSchema.mjs +155 -0
  204. package/dist/constructs/v1beta3/subscription/Subscription.d.mts +876 -0
  205. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +876 -0
  206. package/dist/constructs/v1beta3/subscription/Subscription.js +1 -0
  207. package/dist/constructs/v1beta3/subscription/Subscription.mjs +0 -0
  208. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.mts +7 -0
  209. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +7 -0
  210. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.js +2 -0
  211. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.mjs +2 -0
  212. package/dist/constructs/v1beta3/token/Token.d.mts +543 -0
  213. package/dist/constructs/v1beta3/token/Token.d.ts +543 -0
  214. package/dist/constructs/v1beta3/token/Token.js +1 -0
  215. package/dist/constructs/v1beta3/token/Token.mjs +0 -0
  216. package/dist/constructs/v1beta3/token/TokenSchema.d.mts +7 -0
  217. package/dist/constructs/v1beta3/token/TokenSchema.d.ts +7 -0
  218. package/dist/constructs/v1beta3/token/TokenSchema.js +2 -0
  219. package/dist/constructs/v1beta3/token/TokenSchema.mjs +2 -0
  220. package/dist/constructs/v1beta3/workspace/Workspace.d.mts +4808 -0
  221. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +4808 -0
  222. package/dist/constructs/v1beta3/workspace/Workspace.js +1 -0
  223. package/dist/constructs/v1beta3/workspace/Workspace.mjs +0 -0
  224. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.mts +7 -0
  225. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +7 -0
  226. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +98 -0
  227. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +98 -0
  228. package/dist/index.d.mts +10 -8
  229. package/dist/index.d.ts +10 -8
  230. package/dist/index.js +16 -8
  231. package/dist/index.mjs +16 -8
  232. package/dist/mesheryApi.d.mts +5552 -5394
  233. package/dist/mesheryApi.d.ts +5552 -5394
  234. package/dist/mesheryApi.js +1 -1
  235. package/dist/mesheryApi.mjs +1 -1
  236. package/package.json +1 -1
@@ -0,0 +1,564 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ interface paths {
6
+ "/api/organizations/badges/{badgeId}": {
7
+ get: operations["getBadgeById"];
8
+ delete: operations["deleteBadgeById"];
9
+ };
10
+ "/api/organizations/badges": {
11
+ post: operations["createOrUpdateBadge"];
12
+ };
13
+ "/api/identity/badges": {
14
+ get: operations["getAvailableBadges"];
15
+ };
16
+ "/api/identity/users/badges": {
17
+ put: operations["assignBadges"];
18
+ };
19
+ }
20
+ interface components {
21
+ schemas: {
22
+ /** @description Payload for creating or updating a badge. */
23
+ BadgePayload: {
24
+ /**
25
+ * Format: uuid
26
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
27
+ */
28
+ id?: string;
29
+ /**
30
+ * Format: uuid
31
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
32
+ */
33
+ orgId: string;
34
+ /**
35
+ * @description Unique identifier for the badge, typically slug-style (auto generated).
36
+ * @example Kubernetes-Expert
37
+ */
38
+ label: string;
39
+ /**
40
+ * @description Concise descriptor for the badge or certificate.
41
+ * @example Kubernetes Expert
42
+ */
43
+ name: string;
44
+ /**
45
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
46
+ * @example Awarded for mastering Kubernetes concepts and practices.
47
+ */
48
+ description: string;
49
+ /**
50
+ * Format: uri
51
+ * @description URL to the badge image.
52
+ * @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
53
+ */
54
+ imageUrl: string;
55
+ };
56
+ /** @description Badge entity — a named recognition issued within an organization. */
57
+ Badge: {
58
+ /**
59
+ * Format: uuid
60
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
61
+ */
62
+ id: string;
63
+ /**
64
+ * Format: uuid
65
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
66
+ */
67
+ orgId: string;
68
+ /**
69
+ * @description Unique identifier for the badge, typically slug-style (auto generated).
70
+ * @example Kubernetes-Expert
71
+ */
72
+ label: string;
73
+ /**
74
+ * @description Concise descriptor for the badge or certificate.
75
+ * @example Kubernetes Expert
76
+ */
77
+ name: string;
78
+ /**
79
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
80
+ * @example Awarded for mastering Kubernetes concepts and practices.
81
+ */
82
+ description: string;
83
+ /**
84
+ * Format: uri
85
+ * @description URL to the badge image.
86
+ * @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
87
+ */
88
+ imageUrl: string;
89
+ /**
90
+ * Format: date-time
91
+ * @description Timestamp when the badge was created.
92
+ */
93
+ createdAt: string;
94
+ /**
95
+ * Format: date-time
96
+ * @description Timestamp when the badge was last updated.
97
+ */
98
+ updatedAt: string;
99
+ /**
100
+ * Format: date-time
101
+ * @description Timestamp when the badge was soft-deleted, if applicable.
102
+ */
103
+ deletedAt: string;
104
+ };
105
+ /** @description Map of badges available in an organization, keyed by badge label. */
106
+ BadgesPage: {
107
+ /** @description Available badges, keyed by badge label. */
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 A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
118
+ */
119
+ orgId: string;
120
+ /**
121
+ * @description Unique identifier for the badge, typically slug-style (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/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
139
+ */
140
+ imageUrl: string;
141
+ /**
142
+ * Format: date-time
143
+ * @description Timestamp when the badge was created.
144
+ */
145
+ createdAt: string;
146
+ /**
147
+ * Format: date-time
148
+ * @description Timestamp when the badge was last updated.
149
+ */
150
+ updatedAt: string;
151
+ /**
152
+ * Format: date-time
153
+ * @description Timestamp when the badge was soft-deleted, if applicable.
154
+ */
155
+ deletedAt: string;
156
+ };
157
+ };
158
+ };
159
+ /** @description Payload for assigning a set of badges to a user. */
160
+ BadgeAssignmentPayload: {
161
+ /** @description Labels of the badges being assigned to the user. */
162
+ badges: string[];
163
+ /**
164
+ * Format: uuid
165
+ * @description ID of the user to receive the badges.
166
+ */
167
+ userId: string;
168
+ /** @description When true, send a notification to the user about the new badge assignment. */
169
+ notify?: boolean;
170
+ };
171
+ };
172
+ responses: {
173
+ /** Invalid request body or request param */
174
+ 400: {
175
+ content: {
176
+ "text/plain": string;
177
+ };
178
+ };
179
+ /** Expired JWT token used or insufficient privilege */
180
+ 401: {
181
+ content: {
182
+ "text/plain": string;
183
+ };
184
+ };
185
+ /** Result not found */
186
+ 404: {
187
+ content: {
188
+ "text/plain": string;
189
+ };
190
+ };
191
+ /** Internal server error */
192
+ 500: {
193
+ content: {
194
+ "text/plain": string;
195
+ };
196
+ };
197
+ };
198
+ parameters: {
199
+ /** @description Badge ID */
200
+ badgeId: string;
201
+ /** @description Organization ID to scope the badge listing to. */
202
+ orgIdQuery: string;
203
+ };
204
+ }
205
+ interface operations {
206
+ getBadgeById: {
207
+ parameters: {
208
+ path: {
209
+ /** Badge ID */
210
+ badgeId: string;
211
+ };
212
+ };
213
+ responses: {
214
+ /** Badge response */
215
+ 200: {
216
+ content: {
217
+ "application/json": {
218
+ /**
219
+ * Format: uuid
220
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
221
+ */
222
+ id: string;
223
+ /**
224
+ * Format: uuid
225
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
226
+ */
227
+ orgId: string;
228
+ /**
229
+ * @description Unique identifier for the badge, typically slug-style (auto generated).
230
+ * @example Kubernetes-Expert
231
+ */
232
+ label: string;
233
+ /**
234
+ * @description Concise descriptor for the badge or certificate.
235
+ * @example Kubernetes Expert
236
+ */
237
+ name: string;
238
+ /**
239
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
240
+ * @example Awarded for mastering Kubernetes concepts and practices.
241
+ */
242
+ description: string;
243
+ /**
244
+ * Format: uri
245
+ * @description URL to the badge image.
246
+ * @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
247
+ */
248
+ imageUrl: string;
249
+ /**
250
+ * Format: date-time
251
+ * @description Timestamp when the badge was created.
252
+ */
253
+ createdAt: string;
254
+ /**
255
+ * Format: date-time
256
+ * @description Timestamp when the badge was last updated.
257
+ */
258
+ updatedAt: string;
259
+ /**
260
+ * Format: date-time
261
+ * @description Timestamp when the badge was soft-deleted, if applicable.
262
+ */
263
+ deletedAt: string;
264
+ };
265
+ };
266
+ };
267
+ /** Expired JWT token used or insufficient privilege */
268
+ 401: {
269
+ content: {
270
+ "text/plain": string;
271
+ };
272
+ };
273
+ /** Result not found */
274
+ 404: {
275
+ content: {
276
+ "text/plain": string;
277
+ };
278
+ };
279
+ /** Internal server error */
280
+ 500: {
281
+ content: {
282
+ "text/plain": string;
283
+ };
284
+ };
285
+ };
286
+ };
287
+ deleteBadgeById: {
288
+ parameters: {
289
+ path: {
290
+ /** Badge ID */
291
+ badgeId: string;
292
+ };
293
+ };
294
+ responses: {
295
+ /** Badge deleted */
296
+ 204: never;
297
+ /** Expired JWT token used or insufficient privilege */
298
+ 401: {
299
+ content: {
300
+ "text/plain": string;
301
+ };
302
+ };
303
+ /** Result not found */
304
+ 404: {
305
+ content: {
306
+ "text/plain": string;
307
+ };
308
+ };
309
+ /** Internal server error */
310
+ 500: {
311
+ content: {
312
+ "text/plain": string;
313
+ };
314
+ };
315
+ };
316
+ };
317
+ createOrUpdateBadge: {
318
+ responses: {
319
+ /** Badge upserted */
320
+ 200: {
321
+ content: {
322
+ "application/json": {
323
+ /**
324
+ * Format: uuid
325
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
326
+ */
327
+ id: string;
328
+ /**
329
+ * Format: uuid
330
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
331
+ */
332
+ orgId: string;
333
+ /**
334
+ * @description Unique identifier for the badge, typically slug-style (auto generated).
335
+ * @example Kubernetes-Expert
336
+ */
337
+ label: string;
338
+ /**
339
+ * @description Concise descriptor for the badge or certificate.
340
+ * @example Kubernetes Expert
341
+ */
342
+ name: string;
343
+ /**
344
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
345
+ * @example Awarded for mastering Kubernetes concepts and practices.
346
+ */
347
+ description: string;
348
+ /**
349
+ * Format: uri
350
+ * @description URL to the badge image.
351
+ * @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
352
+ */
353
+ imageUrl: string;
354
+ /**
355
+ * Format: date-time
356
+ * @description Timestamp when the badge was created.
357
+ */
358
+ createdAt: string;
359
+ /**
360
+ * Format: date-time
361
+ * @description Timestamp when the badge was last updated.
362
+ */
363
+ updatedAt: string;
364
+ /**
365
+ * Format: date-time
366
+ * @description Timestamp when the badge was soft-deleted, if applicable.
367
+ */
368
+ deletedAt: string;
369
+ };
370
+ };
371
+ };
372
+ /** Invalid request body or request param */
373
+ 400: {
374
+ content: {
375
+ "text/plain": string;
376
+ };
377
+ };
378
+ /** Expired JWT token used or insufficient privilege */
379
+ 401: {
380
+ content: {
381
+ "text/plain": string;
382
+ };
383
+ };
384
+ /** Internal server error */
385
+ 500: {
386
+ content: {
387
+ "text/plain": string;
388
+ };
389
+ };
390
+ };
391
+ requestBody: {
392
+ content: {
393
+ "application/json": {
394
+ /**
395
+ * Format: uuid
396
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
397
+ */
398
+ id?: string;
399
+ /**
400
+ * Format: uuid
401
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
402
+ */
403
+ orgId: string;
404
+ /**
405
+ * @description Unique identifier for the badge, typically slug-style (auto generated).
406
+ * @example Kubernetes-Expert
407
+ */
408
+ label: string;
409
+ /**
410
+ * @description Concise descriptor for the badge or certificate.
411
+ * @example Kubernetes Expert
412
+ */
413
+ name: string;
414
+ /**
415
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
416
+ * @example Awarded for mastering Kubernetes concepts and practices.
417
+ */
418
+ description: string;
419
+ /**
420
+ * Format: uri
421
+ * @description URL to the badge image.
422
+ * @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
423
+ */
424
+ imageUrl: string;
425
+ };
426
+ };
427
+ };
428
+ };
429
+ getAvailableBadges: {
430
+ parameters: {
431
+ query: {
432
+ /** Organization ID to scope the badge listing to. */
433
+ orgId?: string;
434
+ };
435
+ };
436
+ responses: {
437
+ /** Available badges */
438
+ 200: {
439
+ content: {
440
+ "application/json": {
441
+ /** @description Available badges, keyed by badge label. */
442
+ badges?: {
443
+ [key: string]: {
444
+ /**
445
+ * Format: uuid
446
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
447
+ */
448
+ id: string;
449
+ /**
450
+ * Format: uuid
451
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
452
+ */
453
+ orgId: string;
454
+ /**
455
+ * @description Unique identifier for the badge, typically slug-style (auto generated).
456
+ * @example Kubernetes-Expert
457
+ */
458
+ label: string;
459
+ /**
460
+ * @description Concise descriptor for the badge or certificate.
461
+ * @example Kubernetes Expert
462
+ */
463
+ name: string;
464
+ /**
465
+ * @description A description of the milestone achieved, often including criteria for receiving this recognition.
466
+ * @example Awarded for mastering Kubernetes concepts and practices.
467
+ */
468
+ description: string;
469
+ /**
470
+ * Format: uri
471
+ * @description URL to the badge image.
472
+ * @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
473
+ */
474
+ imageUrl: string;
475
+ /**
476
+ * Format: date-time
477
+ * @description Timestamp when the badge was created.
478
+ */
479
+ createdAt: string;
480
+ /**
481
+ * Format: date-time
482
+ * @description Timestamp when the badge was last updated.
483
+ */
484
+ updatedAt: string;
485
+ /**
486
+ * Format: date-time
487
+ * @description Timestamp when the badge was soft-deleted, if applicable.
488
+ */
489
+ deletedAt: string;
490
+ };
491
+ };
492
+ };
493
+ };
494
+ };
495
+ /** Invalid request body or request param */
496
+ 400: {
497
+ content: {
498
+ "text/plain": string;
499
+ };
500
+ };
501
+ /** Expired JWT token used or insufficient privilege */
502
+ 401: {
503
+ content: {
504
+ "text/plain": string;
505
+ };
506
+ };
507
+ /** Internal server error */
508
+ 500: {
509
+ content: {
510
+ "text/plain": string;
511
+ };
512
+ };
513
+ };
514
+ };
515
+ assignBadges: {
516
+ responses: {
517
+ /** Badge assignment result */
518
+ 200: {
519
+ content: {
520
+ "application/json": {
521
+ [key: string]: unknown;
522
+ };
523
+ };
524
+ };
525
+ /** Invalid request body or request param */
526
+ 400: {
527
+ content: {
528
+ "text/plain": string;
529
+ };
530
+ };
531
+ /** Expired JWT token used or insufficient privilege */
532
+ 401: {
533
+ content: {
534
+ "text/plain": string;
535
+ };
536
+ };
537
+ /** Internal server error */
538
+ 500: {
539
+ content: {
540
+ "text/plain": string;
541
+ };
542
+ };
543
+ };
544
+ requestBody: {
545
+ content: {
546
+ "application/json": {
547
+ /** @description Labels of the badges being assigned to the user. */
548
+ badges: string[];
549
+ /**
550
+ * Format: uuid
551
+ * @description ID of the user to receive the badges.
552
+ */
553
+ userId: string;
554
+ /** @description When true, send a notification to the user about the new badge assignment. */
555
+ notify?: boolean;
556
+ };
557
+ };
558
+ };
559
+ };
560
+ }
561
+ interface external {
562
+ }
563
+
564
+ export type { components, external, operations, paths };