@meshery/schemas 0.8.107 → 0.8.108

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 (204) hide show
  1. package/README.md +294 -23
  2. package/dist/Core-Wy_3jcVT.d.mts +736 -0
  3. package/dist/Core-Wy_3jcVT.d.ts +736 -0
  4. package/dist/cloudApi.d.mts +6873 -3592
  5. package/dist/cloudApi.d.ts +6873 -3592
  6. package/dist/cloudApi.js +1 -1
  7. package/dist/cloudApi.mjs +1 -1
  8. package/dist/constructs/v1alpha1/capability/Capability.d.mts +115 -0
  9. package/dist/constructs/v1alpha1/capability/Capability.d.ts +115 -0
  10. package/dist/constructs/v1alpha1/capability/Capability.js +1 -0
  11. package/dist/constructs/v1alpha1/capability/Capability.mjs +0 -0
  12. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +155 -0
  13. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +155 -0
  14. package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +2 -0
  15. package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +2 -0
  16. package/dist/constructs/v1alpha1/core/Core.d.mts +1 -0
  17. package/dist/constructs/v1alpha1/core/Core.d.ts +1 -0
  18. package/dist/constructs/v1alpha1/core/Core.js +1 -0
  19. package/dist/constructs/v1alpha1/core/Core.mjs +0 -0
  20. package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1649 -0
  21. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1649 -0
  22. package/dist/constructs/v1alpha1/core/CoreSchema.js +2 -0
  23. package/dist/constructs/v1alpha1/core/CoreSchema.mjs +2 -0
  24. package/dist/constructs/v1alpha2/catalog/Catalog.d.mts +46 -0
  25. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +46 -0
  26. package/dist/constructs/v1alpha2/catalog/Catalog.js +1 -0
  27. package/dist/constructs/v1alpha2/catalog/Catalog.mjs +0 -0
  28. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +80 -0
  29. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +80 -0
  30. package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +2 -0
  31. package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +2 -0
  32. package/dist/constructs/v1beta1/academy/Academy.d.mts +5762 -0
  33. package/dist/constructs/v1beta1/academy/Academy.d.ts +5762 -0
  34. package/dist/constructs/v1beta1/academy/Academy.js +1 -0
  35. package/dist/constructs/v1beta1/academy/Academy.mjs +0 -0
  36. package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +11838 -0
  37. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +11838 -0
  38. package/dist/constructs/v1beta1/academy/AcademySchema.js +2 -0
  39. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +2 -0
  40. package/dist/constructs/v1beta1/badge/Badge.d.mts +253 -0
  41. package/dist/constructs/v1beta1/badge/Badge.d.ts +253 -0
  42. package/dist/constructs/v1beta1/badge/Badge.js +1 -0
  43. package/dist/constructs/v1beta1/badge/Badge.mjs +0 -0
  44. package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +519 -0
  45. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +519 -0
  46. package/dist/constructs/v1beta1/badge/BadgeSchema.js +2 -0
  47. package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +2 -0
  48. package/dist/constructs/v1beta1/category/Category.d.mts +33 -0
  49. package/dist/constructs/v1beta1/category/Category.d.ts +33 -0
  50. package/dist/constructs/v1beta1/category/Category.js +1 -0
  51. package/dist/constructs/v1beta1/category/Category.mjs +0 -0
  52. package/dist/constructs/v1beta1/category/CategorySchema.d.mts +60 -0
  53. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +60 -0
  54. package/dist/constructs/v1beta1/category/CategorySchema.js +2 -0
  55. package/dist/constructs/v1beta1/category/CategorySchema.mjs +2 -0
  56. package/dist/constructs/v1beta1/component/Component.d.mts +737 -0
  57. package/dist/constructs/v1beta1/component/Component.d.ts +737 -0
  58. package/dist/constructs/v1beta1/component/Component.js +1 -0
  59. package/dist/constructs/v1beta1/component/Component.mjs +0 -0
  60. package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1751 -0
  61. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1751 -0
  62. package/dist/constructs/v1beta1/component/ComponentSchema.js +10 -0
  63. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +10 -0
  64. package/dist/constructs/v1beta1/connection/Connection.d.mts +186 -0
  65. package/dist/constructs/v1beta1/connection/Connection.d.ts +186 -0
  66. package/dist/constructs/v1beta1/connection/Connection.js +1 -0
  67. package/dist/constructs/v1beta1/connection/Connection.mjs +0 -0
  68. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +612 -0
  69. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +612 -0
  70. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +2 -0
  71. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +2 -0
  72. package/dist/constructs/v1beta1/environment/Environment.d.mts +307 -0
  73. package/dist/constructs/v1beta1/environment/Environment.d.ts +307 -0
  74. package/dist/constructs/v1beta1/environment/Environment.js +1 -0
  75. package/dist/constructs/v1beta1/environment/Environment.mjs +0 -0
  76. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +904 -0
  77. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +904 -0
  78. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +2 -0
  79. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +2 -0
  80. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +5729 -0
  81. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5729 -0
  82. package/dist/constructs/v1beta1/evaluation/Evaluation.js +1 -0
  83. package/dist/constructs/v1beta1/evaluation/Evaluation.mjs +0 -0
  84. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +15473 -0
  85. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +15473 -0
  86. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +210 -0
  87. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +210 -0
  88. package/dist/constructs/v1beta1/event/Event.d.mts +177 -0
  89. package/dist/constructs/v1beta1/event/Event.d.ts +177 -0
  90. package/dist/constructs/v1beta1/event/Event.js +1 -0
  91. package/dist/constructs/v1beta1/event/Event.mjs +0 -0
  92. package/dist/constructs/v1beta1/event/EventSchema.d.mts +360 -0
  93. package/dist/constructs/v1beta1/event/EventSchema.d.ts +360 -0
  94. package/dist/constructs/v1beta1/event/EventSchema.js +1 -0
  95. package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -0
  96. package/dist/constructs/v1beta1/feature/Feature.d.mts +287 -0
  97. package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -0
  98. package/dist/constructs/v1beta1/feature/Feature.js +1 -0
  99. package/dist/constructs/v1beta1/feature/Feature.mjs +0 -0
  100. package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +773 -0
  101. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +773 -0
  102. package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -0
  103. package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -0
  104. package/dist/constructs/v1beta1/invitation/Invitation.d.mts +644 -0
  105. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +644 -0
  106. package/dist/constructs/v1beta1/invitation/Invitation.js +1 -0
  107. package/dist/constructs/v1beta1/invitation/Invitation.mjs +0 -0
  108. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1652 -0
  109. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1652 -0
  110. package/dist/constructs/v1beta1/invitation/InvitationSchema.js +1 -0
  111. package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +1 -0
  112. package/dist/constructs/v1beta1/key/Key.d.mts +409 -0
  113. package/dist/constructs/v1beta1/key/Key.d.ts +409 -0
  114. package/dist/constructs/v1beta1/key/Key.js +1 -0
  115. package/dist/constructs/v1beta1/key/Key.mjs +0 -0
  116. package/dist/constructs/v1beta1/key/KeySchema.d.mts +1029 -0
  117. package/dist/constructs/v1beta1/key/KeySchema.d.ts +1029 -0
  118. package/dist/constructs/v1beta1/key/KeySchema.js +1 -0
  119. package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -0
  120. package/dist/constructs/v1beta1/keychain/Keychain.d.mts +641 -0
  121. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +641 -0
  122. package/dist/constructs/v1beta1/keychain/Keychain.js +1 -0
  123. package/dist/constructs/v1beta1/keychain/Keychain.mjs +0 -0
  124. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1541 -0
  125. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1541 -0
  126. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -0
  127. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -0
  128. package/dist/constructs/v1beta1/model/Model.d.mts +474 -0
  129. package/dist/constructs/v1beta1/model/Model.d.ts +474 -0
  130. package/dist/constructs/v1beta1/model/Model.js +1 -0
  131. package/dist/constructs/v1beta1/model/Model.mjs +0 -0
  132. package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1281 -0
  133. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1281 -0
  134. package/dist/constructs/v1beta1/model/ModelSchema.js +6 -0
  135. package/dist/constructs/v1beta1/model/ModelSchema.mjs +6 -0
  136. package/dist/constructs/v1beta1/organization/Organization.d.mts +268 -0
  137. package/dist/constructs/v1beta1/organization/Organization.d.ts +268 -0
  138. package/dist/constructs/v1beta1/organization/Organization.js +1 -0
  139. package/dist/constructs/v1beta1/organization/Organization.mjs +0 -0
  140. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +765 -0
  141. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +765 -0
  142. package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -0
  143. package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -0
  144. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +5776 -0
  145. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +5776 -0
  146. package/dist/constructs/v1beta1/pattern/Pattern.js +1 -0
  147. package/dist/constructs/v1beta1/pattern/Pattern.mjs +0 -0
  148. package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +15669 -0
  149. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +15669 -0
  150. package/dist/constructs/v1beta1/pattern/PatternSchema.js +210 -0
  151. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +210 -0
  152. package/dist/constructs/v1beta1/plan/Plan.d.mts +120 -0
  153. package/dist/constructs/v1beta1/plan/Plan.d.ts +120 -0
  154. package/dist/constructs/v1beta1/plan/Plan.js +1 -0
  155. package/dist/constructs/v1beta1/plan/Plan.mjs +0 -0
  156. package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +322 -0
  157. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +322 -0
  158. package/dist/constructs/v1beta1/plan/PlanSchema.js +1 -0
  159. package/dist/constructs/v1beta1/plan/PlanSchema.mjs +1 -0
  160. package/dist/constructs/v1beta1/subcategory/Subcategory.d.mts +23 -0
  161. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +23 -0
  162. package/dist/constructs/v1beta1/subcategory/Subcategory.js +1 -0
  163. package/dist/constructs/v1beta1/subcategory/Subcategory.mjs +0 -0
  164. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +33 -0
  165. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +33 -0
  166. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +2 -0
  167. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +2 -0
  168. package/dist/constructs/v1beta1/subscription/Subscription.d.mts +624 -0
  169. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +624 -0
  170. package/dist/constructs/v1beta1/subscription/Subscription.js +1 -0
  171. package/dist/constructs/v1beta1/subscription/Subscription.mjs +0 -0
  172. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1642 -0
  173. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1642 -0
  174. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +2 -0
  175. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +2 -0
  176. package/dist/constructs/v1beta1/user/User.d.mts +473 -0
  177. package/dist/constructs/v1beta1/user/User.d.ts +473 -0
  178. package/dist/constructs/v1beta1/user/User.js +1 -0
  179. package/dist/constructs/v1beta1/user/User.mjs +0 -0
  180. package/dist/constructs/v1beta1/user/UserSchema.d.mts +1112 -0
  181. package/dist/constructs/v1beta1/user/UserSchema.d.ts +1112 -0
  182. package/dist/constructs/v1beta1/user/UserSchema.js +1 -0
  183. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -0
  184. package/dist/constructs/v1beta1/workspace/Workspace.d.mts +303 -0
  185. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +303 -0
  186. package/dist/constructs/v1beta1/workspace/Workspace.js +1 -0
  187. package/dist/constructs/v1beta1/workspace/Workspace.mjs +0 -0
  188. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +964 -0
  189. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +964 -0
  190. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -0
  191. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -0
  192. package/dist/index.d.mts +40 -34677
  193. package/dist/index.d.ts +40 -34677
  194. package/dist/index.js +29 -93
  195. package/dist/index.mjs +29 -93
  196. package/dist/mesheryApi.d.mts +1751 -653
  197. package/dist/mesheryApi.d.ts +1751 -653
  198. package/dist/mesheryApi.js +1 -1
  199. package/dist/mesheryApi.mjs +1 -1
  200. package/dist/permissions.d.mts +422 -0
  201. package/dist/permissions.d.ts +422 -0
  202. package/dist/permissions.js +1 -0
  203. package/dist/permissions.mjs +1 -0
  204. package/package.json +52 -48
@@ -0,0 +1,360 @@
1
+ /**
2
+ * This file was automatically generated from OpenAPI schema.
3
+ * Do not manually modify this file.
4
+ */
5
+ declare const EventSchema: {
6
+ readonly openapi: "3.0.0";
7
+ readonly info: {
8
+ readonly title: "events";
9
+ readonly version: "1.0.0";
10
+ };
11
+ readonly paths: {
12
+ readonly "/events/{id}": {
13
+ readonly delete: {
14
+ readonly summary: "Delete a single event";
15
+ readonly parameters: readonly [{
16
+ readonly in: "path";
17
+ readonly name: "id";
18
+ readonly required: true;
19
+ readonly schema: {
20
+ readonly type: "string";
21
+ readonly format: "uuid";
22
+ };
23
+ readonly description: "ID of the event to delete";
24
+ }];
25
+ readonly responses: {
26
+ readonly "200": {
27
+ readonly description: "Event deleted successfully";
28
+ readonly content: {
29
+ readonly "application/json": {
30
+ readonly schema: {
31
+ readonly type: "object";
32
+ readonly properties: {
33
+ readonly message: {
34
+ readonly type: "string";
35
+ };
36
+ readonly event_id: {
37
+ readonly type: "string";
38
+ readonly format: "uuid";
39
+ };
40
+ };
41
+ };
42
+ };
43
+ };
44
+ };
45
+ readonly "400": {
46
+ readonly description: "Invalid event ID";
47
+ readonly content: {
48
+ readonly "application/json": {
49
+ readonly schema: {
50
+ readonly type: "object";
51
+ readonly properties: {
52
+ readonly error: {
53
+ readonly type: "string";
54
+ };
55
+ };
56
+ };
57
+ };
58
+ };
59
+ };
60
+ readonly "500": {
61
+ readonly description: "Server error";
62
+ };
63
+ };
64
+ };
65
+ };
66
+ readonly "/events": {
67
+ readonly post: {
68
+ readonly summary: "Create a new event";
69
+ readonly requestBody: {
70
+ readonly required: true;
71
+ readonly content: {
72
+ readonly "application/json": {
73
+ readonly schema: {
74
+ readonly type: "object";
75
+ };
76
+ };
77
+ };
78
+ };
79
+ };
80
+ readonly delete: {
81
+ readonly summary: "Bulk delete events";
82
+ readonly requestBody: {
83
+ readonly required: true;
84
+ readonly content: {
85
+ readonly "application/json": {
86
+ readonly schema: {
87
+ readonly type: "object";
88
+ readonly required: readonly ["ids"];
89
+ readonly properties: {
90
+ readonly ids: {
91
+ readonly type: "array";
92
+ readonly items: {
93
+ readonly type: "string";
94
+ readonly format: "uuid";
95
+ readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
96
+ readonly "x-go-type": "uuid.UUID";
97
+ readonly "x-go-type-import": {
98
+ readonly path: "github.com/gofrs/uuid";
99
+ };
100
+ };
101
+ };
102
+ };
103
+ };
104
+ };
105
+ };
106
+ };
107
+ readonly responses: {
108
+ readonly "200": {
109
+ readonly description: "event deleted";
110
+ readonly content: {
111
+ readonly "application/json": {
112
+ readonly schema: {
113
+ readonly type: "object";
114
+ readonly properties: {
115
+ readonly deleted: {
116
+ readonly type: "array";
117
+ readonly items: {
118
+ readonly type: "string";
119
+ readonly format: "uuid";
120
+ };
121
+ };
122
+ };
123
+ };
124
+ };
125
+ };
126
+ };
127
+ readonly "400": {
128
+ readonly description: "Invalid request";
129
+ readonly content: {
130
+ readonly "application/json": {
131
+ readonly schema: {
132
+ readonly type: "object";
133
+ readonly properties: {
134
+ readonly error: {
135
+ readonly type: "string";
136
+ };
137
+ };
138
+ };
139
+ };
140
+ };
141
+ };
142
+ readonly "500": {
143
+ readonly description: "Server error";
144
+ };
145
+ };
146
+ };
147
+ };
148
+ readonly "/events/status": {
149
+ readonly put: {
150
+ readonly summary: "Bulk update event status";
151
+ readonly requestBody: {
152
+ readonly required: true;
153
+ readonly content: {
154
+ readonly "application/json": {
155
+ readonly schema: {
156
+ readonly type: "object";
157
+ readonly required: readonly ["ids", "status"];
158
+ readonly properties: {
159
+ readonly ids: {
160
+ readonly type: "array";
161
+ readonly items: {
162
+ readonly type: "string";
163
+ readonly format: "uuid";
164
+ readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
165
+ readonly "x-go-type": "uuid.UUID";
166
+ readonly "x-go-type-import": {
167
+ readonly path: "github.com/gofrs/uuid";
168
+ };
169
+ };
170
+ };
171
+ readonly status: {
172
+ readonly type: "string";
173
+ readonly example: "failed";
174
+ };
175
+ };
176
+ };
177
+ };
178
+ };
179
+ };
180
+ readonly responses: {
181
+ readonly "200": {
182
+ readonly description: "Events updated successfully";
183
+ readonly content: {
184
+ readonly "application/json": {
185
+ readonly schema: {
186
+ readonly type: "object";
187
+ readonly properties: {
188
+ readonly updated: {
189
+ readonly type: "array";
190
+ readonly items: {
191
+ readonly type: "string";
192
+ readonly format: "uuid";
193
+ };
194
+ };
195
+ };
196
+ };
197
+ };
198
+ };
199
+ };
200
+ readonly "400": {
201
+ readonly description: "Invalid request";
202
+ readonly content: {
203
+ readonly "application/json": {
204
+ readonly schema: {
205
+ readonly type: "object";
206
+ readonly properties: {
207
+ readonly error: {
208
+ readonly type: "string";
209
+ };
210
+ };
211
+ };
212
+ };
213
+ };
214
+ };
215
+ readonly "500": {
216
+ readonly description: "Server error";
217
+ };
218
+ };
219
+ };
220
+ };
221
+ readonly "/events/{id}/status": {
222
+ readonly put: {
223
+ readonly summary: "Update status of a single event";
224
+ readonly parameters: readonly [{
225
+ readonly in: "path";
226
+ readonly name: "id";
227
+ readonly required: true;
228
+ readonly schema: {
229
+ readonly type: "string";
230
+ readonly format: "uuid";
231
+ };
232
+ readonly description: "ID of the event";
233
+ }];
234
+ readonly requestBody: {
235
+ readonly required: true;
236
+ readonly content: {
237
+ readonly "application/json": {
238
+ readonly schema: {
239
+ readonly type: "object";
240
+ readonly required: readonly ["status"];
241
+ readonly properties: {
242
+ readonly status: {
243
+ readonly type: "string";
244
+ readonly example: "completed";
245
+ };
246
+ };
247
+ };
248
+ };
249
+ };
250
+ };
251
+ readonly responses: {
252
+ readonly "200": {
253
+ readonly description: "Event status updated successfully";
254
+ readonly content: {
255
+ readonly "application/json": {
256
+ readonly schema: {
257
+ readonly type: "object";
258
+ readonly properties: {
259
+ readonly message: {
260
+ readonly type: "string";
261
+ };
262
+ readonly event_id: {
263
+ readonly type: "string";
264
+ readonly format: "uuid";
265
+ };
266
+ readonly status: {
267
+ readonly type: "string";
268
+ };
269
+ };
270
+ };
271
+ };
272
+ };
273
+ };
274
+ readonly "400": {
275
+ readonly description: "Invalid request or status";
276
+ readonly content: {
277
+ readonly "application/json": {
278
+ readonly schema: {
279
+ readonly type: "object";
280
+ readonly properties: {
281
+ readonly error: {
282
+ readonly type: "string";
283
+ };
284
+ };
285
+ };
286
+ };
287
+ };
288
+ };
289
+ readonly "500": {
290
+ readonly description: "Server error";
291
+ };
292
+ };
293
+ };
294
+ };
295
+ };
296
+ readonly components: {
297
+ readonly schemas: {
298
+ readonly UpdateEventStatusRequest: {
299
+ readonly type: "object";
300
+ readonly required: readonly ["status"];
301
+ readonly properties: {
302
+ readonly status: {
303
+ readonly type: "string";
304
+ readonly example: "completed";
305
+ };
306
+ };
307
+ };
308
+ readonly BulkDeleteRequest: {
309
+ readonly type: "object";
310
+ readonly required: readonly ["ids"];
311
+ readonly properties: {
312
+ readonly ids: {
313
+ readonly type: "array";
314
+ readonly items: {
315
+ readonly type: "string";
316
+ readonly format: "uuid";
317
+ readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
318
+ readonly "x-go-type": "uuid.UUID";
319
+ readonly "x-go-type-import": {
320
+ readonly path: "github.com/gofrs/uuid";
321
+ };
322
+ };
323
+ };
324
+ };
325
+ };
326
+ readonly BulkUpdateStatusRequest: {
327
+ readonly type: "object";
328
+ readonly required: readonly ["ids", "status"];
329
+ readonly properties: {
330
+ readonly ids: {
331
+ readonly type: "array";
332
+ readonly items: {
333
+ readonly type: "string";
334
+ readonly format: "uuid";
335
+ readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
336
+ readonly "x-go-type": "uuid.UUID";
337
+ readonly "x-go-type-import": {
338
+ readonly path: "github.com/gofrs/uuid";
339
+ };
340
+ };
341
+ };
342
+ readonly status: {
343
+ readonly type: "string";
344
+ readonly example: "failed";
345
+ };
346
+ };
347
+ };
348
+ readonly ErrorResponse: {
349
+ readonly type: "object";
350
+ readonly properties: {
351
+ readonly error: {
352
+ readonly type: "string";
353
+ };
354
+ };
355
+ };
356
+ };
357
+ };
358
+ };
359
+
360
+ export { EventSchema as default };
@@ -0,0 +1 @@
1
+ 'use strict';var e={openapi:"3.0.0",info:{title:"events",version:"1.0.0"},paths:{"/events/{id}":{delete:{summary:"Delete a single event",parameters:[{in:"path",name:"id",required:true,schema:{type:"string",format:"uuid"},description:"ID of the event to delete"}],responses:{200:{description:"Event deleted successfully",content:{"application/json":{schema:{type:"object",properties:{message:{type:"string"},event_id:{type:"string",format:"uuid"}}}}}},400:{description:"Invalid event ID",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}},"/events":{post:{summary:"Create a new event",requestBody:{required:true,content:{"application/json":{schema:{type:"object"}}}}},delete:{summary:"Bulk delete events",requestBody:{required:true,content:{"application/json":{schema:{type:"object",required:["ids"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}}}}}},responses:{200:{description:"event deleted",content:{"application/json":{schema:{type:"object",properties:{deleted:{type:"array",items:{type:"string",format:"uuid"}}}}}}},400:{description:"Invalid request",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}},"/events/status":{put:{summary:"Bulk update event status",requestBody:{required:true,content:{"application/json":{schema:{type:"object",required:["ids","status"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}},status:{type:"string",example:"failed"}}}}}},responses:{200:{description:"Events updated successfully",content:{"application/json":{schema:{type:"object",properties:{updated:{type:"array",items:{type:"string",format:"uuid"}}}}}}},400:{description:"Invalid request",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}},"/events/{id}/status":{put:{summary:"Update status of a single event",parameters:[{in:"path",name:"id",required:true,schema:{type:"string",format:"uuid"},description:"ID of the event"}],requestBody:{required:true,content:{"application/json":{schema:{type:"object",required:["status"],properties:{status:{type:"string",example:"completed"}}}}}},responses:{200:{description:"Event status updated successfully",content:{"application/json":{schema:{type:"object",properties:{message:{type:"string"},event_id:{type:"string",format:"uuid"},status:{type:"string"}}}}}},400:{description:"Invalid request or status",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}}},components:{schemas:{UpdateEventStatusRequest:{type:"object",required:["status"],properties:{status:{type:"string",example:"completed"}}},BulkDeleteRequest:{type:"object",required:["ids"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}}},BulkUpdateStatusRequest:{type:"object",required:["ids","status"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}},status:{type:"string",example:"failed"}}},ErrorResponse:{type:"object",properties:{error:{type:"string"}}}}}},t=e;module.exports=t;
@@ -0,0 +1 @@
1
+ var e={openapi:"3.0.0",info:{title:"events",version:"1.0.0"},paths:{"/events/{id}":{delete:{summary:"Delete a single event",parameters:[{in:"path",name:"id",required:true,schema:{type:"string",format:"uuid"},description:"ID of the event to delete"}],responses:{200:{description:"Event deleted successfully",content:{"application/json":{schema:{type:"object",properties:{message:{type:"string"},event_id:{type:"string",format:"uuid"}}}}}},400:{description:"Invalid event ID",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}},"/events":{post:{summary:"Create a new event",requestBody:{required:true,content:{"application/json":{schema:{type:"object"}}}}},delete:{summary:"Bulk delete events",requestBody:{required:true,content:{"application/json":{schema:{type:"object",required:["ids"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}}}}}},responses:{200:{description:"event deleted",content:{"application/json":{schema:{type:"object",properties:{deleted:{type:"array",items:{type:"string",format:"uuid"}}}}}}},400:{description:"Invalid request",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}},"/events/status":{put:{summary:"Bulk update event status",requestBody:{required:true,content:{"application/json":{schema:{type:"object",required:["ids","status"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}},status:{type:"string",example:"failed"}}}}}},responses:{200:{description:"Events updated successfully",content:{"application/json":{schema:{type:"object",properties:{updated:{type:"array",items:{type:"string",format:"uuid"}}}}}}},400:{description:"Invalid request",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}},"/events/{id}/status":{put:{summary:"Update status of a single event",parameters:[{in:"path",name:"id",required:true,schema:{type:"string",format:"uuid"},description:"ID of the event"}],requestBody:{required:true,content:{"application/json":{schema:{type:"object",required:["status"],properties:{status:{type:"string",example:"completed"}}}}}},responses:{200:{description:"Event status updated successfully",content:{"application/json":{schema:{type:"object",properties:{message:{type:"string"},event_id:{type:"string",format:"uuid"},status:{type:"string"}}}}}},400:{description:"Invalid request or status",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}}},components:{schemas:{UpdateEventStatusRequest:{type:"object",required:["status"],properties:{status:{type:"string",example:"completed"}}},BulkDeleteRequest:{type:"object",required:["ids"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}}},BulkUpdateStatusRequest:{type:"object",required:["ids","status"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}},status:{type:"string",example:"failed"}}},ErrorResponse:{type:"object",properties:{error:{type:"string"}}}}}},t=e;export{t as default};
@@ -0,0 +1,287 @@
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/entitlement/features": {
7
+ get: operations["getFeatures"];
8
+ };
9
+ "/api/entitlement/subscriptions/organizations/{organizationId}/features": {
10
+ get: operations["getFeaturesByOrganization"];
11
+ };
12
+ }
13
+ interface components {
14
+ schemas: {
15
+ FeaturesPage: ({
16
+ /**
17
+ * Format: uuid
18
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
19
+ */
20
+ id: string;
21
+ /**
22
+ * Format: uuid
23
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
24
+ */
25
+ plan_id: string;
26
+ plan?: {
27
+ /**
28
+ * Format: uuid
29
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
30
+ */
31
+ id: string;
32
+ /**
33
+ * @description Name of the plan
34
+ * @enum {string}
35
+ */
36
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
37
+ /** @enum {string} */
38
+ cadence: "monthly" | "yearly";
39
+ /** @enum {string} */
40
+ unit: "user" | "free";
41
+ /** @description Minimum number of units required for the plan */
42
+ minimum_units: number;
43
+ /** @description Price per unit of the plan */
44
+ price_per_unit: number;
45
+ /** @enum {string} */
46
+ currency: "usd";
47
+ } & {
48
+ price_id: unknown;
49
+ };
50
+ /**
51
+ * @description Enumeration of possible feature types
52
+ * @enum {string}
53
+ */
54
+ name?: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
55
+ /** @description Quantity of the feature allowed, use 9999999999 for unlimited */
56
+ quantity: number;
57
+ /** Format: date-time */
58
+ created_at?: string;
59
+ /** Format: date-time */
60
+ updated_at?: string;
61
+ } & {
62
+ feature: unknown;
63
+ })[];
64
+ /**
65
+ * @description Enumeration of possible feature types
66
+ * @enum {string}
67
+ */
68
+ FeatureName: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
69
+ Feature: {
70
+ /**
71
+ * Format: uuid
72
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
73
+ */
74
+ id: string;
75
+ /**
76
+ * Format: uuid
77
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
78
+ */
79
+ plan_id: string;
80
+ plan?: {
81
+ /**
82
+ * Format: uuid
83
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
84
+ */
85
+ id: string;
86
+ /**
87
+ * @description Name of the plan
88
+ * @enum {string}
89
+ */
90
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
91
+ /** @enum {string} */
92
+ cadence: "monthly" | "yearly";
93
+ /** @enum {string} */
94
+ unit: "user" | "free";
95
+ /** @description Minimum number of units required for the plan */
96
+ minimum_units: number;
97
+ /** @description Price per unit of the plan */
98
+ price_per_unit: number;
99
+ /** @enum {string} */
100
+ currency: "usd";
101
+ } & {
102
+ price_id: unknown;
103
+ };
104
+ /**
105
+ * @description Enumeration of possible feature types
106
+ * @enum {string}
107
+ */
108
+ name?: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
109
+ /** @description Quantity of the feature allowed, use 9999999999 for unlimited */
110
+ quantity: number;
111
+ /** Format: date-time */
112
+ created_at?: string;
113
+ /** Format: date-time */
114
+ updated_at?: string;
115
+ } & {
116
+ feature: unknown;
117
+ };
118
+ };
119
+ parameters: {
120
+ /** @description The ID of the organization */
121
+ organization_id: string;
122
+ };
123
+ }
124
+ interface operations {
125
+ getFeatures: {
126
+ responses: {
127
+ /** Features fetched successfully */
128
+ 200: {
129
+ content: {
130
+ "application/json": ({
131
+ /**
132
+ * Format: uuid
133
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
134
+ */
135
+ id: string;
136
+ /**
137
+ * Format: uuid
138
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
139
+ */
140
+ plan_id: string;
141
+ plan?: {
142
+ /**
143
+ * Format: uuid
144
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
145
+ */
146
+ id: string;
147
+ /**
148
+ * @description Name of the plan
149
+ * @enum {string}
150
+ */
151
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
152
+ /** @enum {string} */
153
+ cadence: "monthly" | "yearly";
154
+ /** @enum {string} */
155
+ unit: "user" | "free";
156
+ /** @description Minimum number of units required for the plan */
157
+ minimum_units: number;
158
+ /** @description Price per unit of the plan */
159
+ price_per_unit: number;
160
+ /** @enum {string} */
161
+ currency: "usd";
162
+ } & {
163
+ price_id: unknown;
164
+ };
165
+ /**
166
+ * @description Enumeration of possible feature types
167
+ * @enum {string}
168
+ */
169
+ name?: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
170
+ /** @description Quantity of the feature allowed, use 9999999999 for unlimited */
171
+ quantity: number;
172
+ /** Format: date-time */
173
+ created_at?: string;
174
+ /** Format: date-time */
175
+ updated_at?: string;
176
+ } & {
177
+ feature: unknown;
178
+ })[];
179
+ };
180
+ };
181
+ /** Invalid request body or request param */
182
+ 400: {
183
+ content: {
184
+ "text/plain": string;
185
+ };
186
+ };
187
+ /** Expired JWT token used or insufficient privilege */
188
+ 401: {
189
+ content: {
190
+ "text/plain": string;
191
+ };
192
+ };
193
+ /** Internal server error */
194
+ 500: {
195
+ content: {
196
+ "text/plain": string;
197
+ };
198
+ };
199
+ };
200
+ };
201
+ getFeaturesByOrganization: {
202
+ parameters: {
203
+ path: {
204
+ /** The ID of the organization */
205
+ organizationId: string;
206
+ };
207
+ };
208
+ responses: {
209
+ /** Features fetched successfully */
210
+ 200: {
211
+ content: {
212
+ "application/json": ({
213
+ /**
214
+ * Format: uuid
215
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
216
+ */
217
+ id: string;
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
+ plan_id: string;
223
+ plan?: {
224
+ /**
225
+ * Format: uuid
226
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
227
+ */
228
+ id: string;
229
+ /**
230
+ * @description Name of the plan
231
+ * @enum {string}
232
+ */
233
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
234
+ /** @enum {string} */
235
+ cadence: "monthly" | "yearly";
236
+ /** @enum {string} */
237
+ unit: "user" | "free";
238
+ /** @description Minimum number of units required for the plan */
239
+ minimum_units: number;
240
+ /** @description Price per unit of the plan */
241
+ price_per_unit: number;
242
+ /** @enum {string} */
243
+ currency: "usd";
244
+ } & {
245
+ price_id: unknown;
246
+ };
247
+ /**
248
+ * @description Enumeration of possible feature types
249
+ * @enum {string}
250
+ */
251
+ name?: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
252
+ /** @description Quantity of the feature allowed, use 9999999999 for unlimited */
253
+ quantity: number;
254
+ /** Format: date-time */
255
+ created_at?: string;
256
+ /** Format: date-time */
257
+ updated_at?: string;
258
+ } & {
259
+ feature: unknown;
260
+ })[];
261
+ };
262
+ };
263
+ /** Invalid request body or request param */
264
+ 400: {
265
+ content: {
266
+ "text/plain": string;
267
+ };
268
+ };
269
+ /** Expired JWT token used or insufficient privilege */
270
+ 401: {
271
+ content: {
272
+ "text/plain": string;
273
+ };
274
+ };
275
+ /** Internal server error */
276
+ 500: {
277
+ content: {
278
+ "text/plain": string;
279
+ };
280
+ };
281
+ };
282
+ };
283
+ }
284
+ interface external {
285
+ }
286
+
287
+ export type { components, external, operations, paths };