@meshery/schemas 1.2.15 → 1.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/dist/constructs/v1alpha1/capability/Capability.d.ts +114 -0
  2. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +2 -0
  3. package/dist/constructs/v1alpha1/core/Core.d.ts +832 -0
  4. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +2 -0
  5. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +53 -0
  6. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +2 -0
  7. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1937 -0
  8. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +2 -0
  9. package/dist/constructs/v1beta1/academy/Academy.d.ts +6417 -0
  10. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +2 -0
  11. package/dist/constructs/v1beta1/badge/Badge.d.ts +546 -0
  12. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +2 -0
  13. package/dist/constructs/v1beta1/capability/Capability.d.ts +114 -0
  14. package/dist/constructs/v1beta1/capability/CapabilitySchema.d.ts +2 -0
  15. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +53 -0
  16. package/dist/constructs/v1beta1/catalog/CatalogSchema.d.ts +2 -0
  17. package/dist/constructs/v1beta1/category/Category.d.ts +46 -0
  18. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +2 -0
  19. package/dist/constructs/v1beta1/component/Component.d.ts +869 -0
  20. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +2 -0
  21. package/dist/constructs/v1beta1/connection/Connection.d.ts +1300 -0
  22. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +2 -0
  23. package/dist/constructs/v1beta1/core/Core.d.ts +832 -0
  24. package/dist/constructs/v1beta1/core/CoreSchema.d.ts +2 -0
  25. package/dist/constructs/v1beta1/credential/Credential.d.ts +530 -0
  26. package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +2 -0
  27. package/dist/constructs/v1beta1/environment/Environment.d.ts +759 -0
  28. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +2 -0
  29. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6338 -0
  30. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +2 -0
  31. package/dist/constructs/v1beta1/event/Event.d.ts +570 -0
  32. package/dist/constructs/v1beta1/event/EventSchema.d.ts +2 -0
  33. package/dist/constructs/v1beta1/feature/Feature.d.ts +308 -0
  34. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +2 -0
  35. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +983 -0
  36. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +2 -0
  37. package/dist/constructs/v1beta1/key/Key.d.ts +514 -0
  38. package/dist/constructs/v1beta1/key/KeySchema.d.ts +2 -0
  39. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +642 -0
  40. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +2 -0
  41. package/dist/constructs/v1beta1/model/Model.d.ts +659 -0
  42. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +2 -0
  43. package/dist/constructs/v1beta1/organization/Organization.d.ts +1598 -0
  44. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +2 -0
  45. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +18407 -0
  46. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +2 -0
  47. package/dist/constructs/v1beta1/plan/Plan.d.ts +149 -0
  48. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +2 -0
  49. package/dist/constructs/v1beta1/relationship/Relationship.d.ts +1921 -0
  50. package/dist/constructs/v1beta1/relationship/RelationshipSchema.d.ts +2 -0
  51. package/dist/constructs/v1beta1/role/Role.d.ts +745 -0
  52. package/dist/constructs/v1beta1/role/RoleSchema.d.ts +2 -0
  53. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +374 -0
  54. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +2 -0
  55. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +68 -0
  56. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +2 -0
  57. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +752 -0
  58. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +2 -0
  59. package/dist/constructs/v1beta1/support/Support.d.ts +91 -0
  60. package/dist/constructs/v1beta1/support/SupportSchema.d.ts +2 -0
  61. package/dist/constructs/v1beta1/team/Team.d.ts +846 -0
  62. package/dist/constructs/v1beta1/team/TeamSchema.d.ts +2 -0
  63. package/dist/constructs/v1beta1/token/Token.d.ts +539 -0
  64. package/dist/constructs/v1beta1/token/TokenSchema.d.ts +2 -0
  65. package/dist/constructs/v1beta1/user/User.d.ts +1677 -0
  66. package/dist/constructs/v1beta1/user/UserSchema.d.ts +2 -0
  67. package/dist/constructs/v1beta1/view/View.d.ts +759 -0
  68. package/dist/constructs/v1beta1/view/ViewSchema.d.ts +2 -0
  69. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4947 -0
  70. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +2 -0
  71. package/dist/constructs/v1beta2/academy/Academy.d.ts +7762 -0
  72. package/dist/constructs/v1beta2/academy/AcademySchema.d.ts +2 -0
  73. package/dist/constructs/v1beta2/badge/Badge.d.ts +563 -0
  74. package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +2 -0
  75. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +53 -0
  76. package/dist/constructs/v1beta2/catalog/CatalogSchema.d.ts +2 -0
  77. package/dist/constructs/v1beta2/component/Component.d.ts +887 -0
  78. package/dist/constructs/v1beta2/component/ComponentSchema.d.ts +2 -0
  79. package/dist/constructs/v1beta2/connection/Connection.d.ts +1330 -0
  80. package/dist/constructs/v1beta2/connection/ConnectionSchema.d.ts +2 -0
  81. package/dist/constructs/v1beta2/core/Core.d.ts +866 -0
  82. package/dist/constructs/v1beta2/core/CoreSchema.d.ts +2 -0
  83. package/dist/constructs/v1beta2/credential/Credential.d.ts +519 -0
  84. package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +2 -0
  85. package/dist/constructs/v1beta2/design/Design.d.ts +19039 -0
  86. package/dist/constructs/v1beta2/design/DesignSchema.d.ts +2 -0
  87. package/dist/constructs/v1beta2/event/Event.d.ts +626 -0
  88. package/dist/constructs/v1beta2/event/EventSchema.d.ts +2 -0
  89. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1052 -0
  90. package/dist/constructs/v1beta2/invitation/InvitationSchema.d.ts +2 -0
  91. package/dist/constructs/v1beta2/key/Key.d.ts +524 -0
  92. package/dist/constructs/v1beta2/key/KeySchema.d.ts +2 -0
  93. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +652 -0
  94. package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +2 -0
  95. package/dist/constructs/v1beta2/model/Model.d.ts +697 -0
  96. package/dist/constructs/v1beta2/model/ModelSchema.d.ts +2 -0
  97. package/dist/constructs/v1beta2/organization/Organization.d.ts +1915 -0
  98. package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +2 -0
  99. package/dist/constructs/v1beta2/plan/Plan.d.ts +162 -0
  100. package/dist/constructs/v1beta2/plan/PlanSchema.d.ts +2 -0
  101. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2134 -0
  102. package/dist/constructs/v1beta2/relationship/RelationshipSchema.d.ts +2 -0
  103. package/dist/constructs/v1beta2/role/Role.d.ts +752 -0
  104. package/dist/constructs/v1beta2/role/RoleSchema.d.ts +2 -0
  105. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +431 -0
  106. package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +2 -0
  107. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +785 -0
  108. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.d.ts +2 -0
  109. package/dist/constructs/v1beta2/team/Team.d.ts +960 -0
  110. package/dist/constructs/v1beta2/team/TeamSchema.d.ts +2 -0
  111. package/dist/constructs/v1beta2/token/Token.d.ts +544 -0
  112. package/dist/constructs/v1beta2/token/TokenSchema.d.ts +2 -0
  113. package/dist/constructs/v1beta2/user/User.d.ts +1677 -0
  114. package/dist/constructs/v1beta2/user/UserSchema.d.ts +2 -0
  115. package/dist/constructs/v1beta2/view/View.d.ts +767 -0
  116. package/dist/constructs/v1beta2/view/ViewSchema.d.ts +2 -0
  117. package/dist/constructs/v1beta3/academy/Academy.d.ts +7762 -0
  118. package/dist/constructs/v1beta3/academy/AcademySchema.d.ts +2 -0
  119. package/dist/constructs/v1beta3/component/Component.d.ts +892 -0
  120. package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +2 -0
  121. package/dist/constructs/v1beta3/connection/Connection.d.ts +1414 -0
  122. package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +2 -0
  123. package/dist/constructs/v1beta3/design/Design.d.ts +5704 -0
  124. package/dist/constructs/v1beta3/design/DesignSchema.d.ts +2 -0
  125. package/dist/constructs/v1beta3/environment/Environment.d.ts +785 -0
  126. package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +2 -0
  127. package/dist/constructs/v1beta3/event/Event.d.ts +720 -0
  128. package/dist/constructs/v1beta3/event/EventSchema.d.ts +2 -0
  129. package/dist/constructs/v1beta3/filter/Filter.d.ts +1452 -0
  130. package/dist/constructs/v1beta3/filter/FilterSchema.d.ts +2 -0
  131. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1060 -0
  132. package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +2 -0
  133. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +813 -0
  134. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.d.ts +2 -0
  135. package/dist/constructs/v1beta3/plan/Plan.d.ts +199 -0
  136. package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +2 -0
  137. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2134 -0
  138. package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +2 -0
  139. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +915 -0
  140. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +2 -0
  141. package/dist/constructs/v1beta3/token/Token.d.ts +544 -0
  142. package/dist/constructs/v1beta3/token/TokenSchema.d.ts +2 -0
  143. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5086 -0
  144. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +2 -0
  145. package/dist/index.js +1 -1
  146. package/dist/index.mjs +1 -1
  147. package/package.json +2 -2
@@ -0,0 +1,2 @@
1
+ declare const InvitationSchema: Record<string, unknown>;
2
+ export default InvitationSchema;
@@ -0,0 +1,524 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {
7
+ "/api/identity/orgs/{orgId}/users/keys": {
8
+ /** Get all keys based on roles assigned to user */
9
+ get: operations["getUserKeys"];
10
+ };
11
+ "/api/auth/keys": {
12
+ get: operations["getKeys"];
13
+ post: operations["upsertKey"];
14
+ };
15
+ "/api/auth/key/{keyId}": {
16
+ get: operations["getKeyById"];
17
+ delete: operations["deleteKey"];
18
+ };
19
+ }
20
+
21
+ export interface components {
22
+ schemas: {
23
+ /** @description Represents an authorization key used for access control. */
24
+ Key: {
25
+ /**
26
+ * Format: uuid
27
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
28
+ */
29
+ id: string;
30
+ /**
31
+ * Format: uuid
32
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
33
+ */
34
+ owner: string;
35
+ /** @description Operation permitted by the key. */
36
+ function: string;
37
+ /** @description Category for the key. */
38
+ category: string;
39
+ /** @description Subcategory for the key. */
40
+ subcategory: string;
41
+ /** @description Human readable description of the key. */
42
+ description: string;
43
+ /**
44
+ * Format: date-time
45
+ * @description Timestamp when the key was created.
46
+ */
47
+ createdAt: string;
48
+ /**
49
+ * Format: date-time
50
+ * @description Timestamp when the key was last updated.
51
+ */
52
+ updatedAt: string;
53
+ /**
54
+ * Format: date-time
55
+ * @description Timestamp when the key was soft-deleted.
56
+ */
57
+ deletedAt?: string | null;
58
+ };
59
+ /** @description Payload for creating or updating a key. */
60
+ KeyPayload: {
61
+ /**
62
+ * Format: uuid
63
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
64
+ */
65
+ id?: string;
66
+ /** @description Operation permitted by the key. */
67
+ function?: string;
68
+ /** @description Category for the key. */
69
+ category?: string;
70
+ /** @description Subcategory for the key. */
71
+ subcategory?: string;
72
+ /** @description Human readable description of the key. */
73
+ description?: string;
74
+ };
75
+ /** @description A paginated list of authorization keys. */
76
+ KeyPage: {
77
+ /** @description Zero-based page index returned in this response. */
78
+ page: number;
79
+ /** @description Maximum number of items returned on each page. */
80
+ pageSize: number;
81
+ /** @description Total number of items across all pages. */
82
+ totalCount: number;
83
+ /** @description Keys returned on the current page. */
84
+ keys: {
85
+ /**
86
+ * Format: uuid
87
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
88
+ */
89
+ id: string;
90
+ /**
91
+ * Format: uuid
92
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
93
+ */
94
+ owner: string;
95
+ /** @description Operation permitted by the key. */
96
+ function: string;
97
+ /** @description Category for the key. */
98
+ category: string;
99
+ /** @description Subcategory for the key. */
100
+ subcategory: string;
101
+ /** @description Human readable description of the key. */
102
+ description: string;
103
+ /**
104
+ * Format: date-time
105
+ * @description Timestamp when the key was created.
106
+ */
107
+ createdAt: string;
108
+ /**
109
+ * Format: date-time
110
+ * @description Timestamp when the key was last updated.
111
+ */
112
+ updatedAt: string;
113
+ /**
114
+ * Format: date-time
115
+ * @description Timestamp when the key was soft-deleted.
116
+ */
117
+ deletedAt?: string | null;
118
+ }[];
119
+ };
120
+ };
121
+ responses: {
122
+ /** Invalid request body or request param */
123
+ 400: {
124
+ content: {
125
+ "text/plain": string;
126
+ };
127
+ };
128
+ /** Expired JWT token used or insufficient privilege */
129
+ 401: {
130
+ content: {
131
+ "text/plain": string;
132
+ };
133
+ };
134
+ /** Result not found */
135
+ 404: {
136
+ content: {
137
+ "text/plain": string;
138
+ };
139
+ };
140
+ /** Internal server error */
141
+ 500: {
142
+ content: {
143
+ "text/plain": string;
144
+ };
145
+ };
146
+ };
147
+ parameters: {
148
+ /** @description Organization ID */
149
+ orgId: string;
150
+ /** @description Key ID */
151
+ keyId: string;
152
+ /** @description Get responses by page */
153
+ page: string;
154
+ /** @description Get responses by pagesize */
155
+ pagesize: string;
156
+ /** @description Get ordered responses */
157
+ order: string;
158
+ /** @description Get responses that match search param value */
159
+ search: string;
160
+ };
161
+ }
162
+
163
+ export interface operations {
164
+ /** Get all keys based on roles assigned to user */
165
+ getUserKeys: {
166
+ parameters: {
167
+ path: {
168
+ /** Organization ID */
169
+ orgId: string;
170
+ };
171
+ query: {
172
+ /** Get responses by page */
173
+ page?: string;
174
+ /** Get responses by pagesize */
175
+ pagesize?: string;
176
+ };
177
+ };
178
+ responses: {
179
+ /** Returns user keys based on roles assigned to user */
180
+ 200: {
181
+ content: {
182
+ "application/json": {
183
+ /** @description Zero-based page index returned in this response. */
184
+ page: number;
185
+ /** @description Maximum number of items returned on each page. */
186
+ pageSize: number;
187
+ /** @description Total number of items across all pages. */
188
+ totalCount: number;
189
+ /** @description Keys returned on the current page. */
190
+ keys: {
191
+ /**
192
+ * Format: uuid
193
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
194
+ */
195
+ id: string;
196
+ /**
197
+ * Format: uuid
198
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
199
+ */
200
+ owner: string;
201
+ /** @description Operation permitted by the key. */
202
+ function: string;
203
+ /** @description Category for the key. */
204
+ category: string;
205
+ /** @description Subcategory for the key. */
206
+ subcategory: string;
207
+ /** @description Human readable description of the key. */
208
+ description: string;
209
+ /**
210
+ * Format: date-time
211
+ * @description Timestamp when the key was created.
212
+ */
213
+ createdAt: string;
214
+ /**
215
+ * Format: date-time
216
+ * @description Timestamp when the key was last updated.
217
+ */
218
+ updatedAt: string;
219
+ /**
220
+ * Format: date-time
221
+ * @description Timestamp when the key was soft-deleted.
222
+ */
223
+ deletedAt?: string | null;
224
+ }[];
225
+ };
226
+ };
227
+ };
228
+ /** Expired JWT token used or insufficient privilege */
229
+ 401: {
230
+ content: {
231
+ "text/plain": string;
232
+ };
233
+ };
234
+ /** Result not found */
235
+ 404: {
236
+ content: {
237
+ "text/plain": string;
238
+ };
239
+ };
240
+ /** Internal server error */
241
+ 500: {
242
+ content: {
243
+ "text/plain": string;
244
+ };
245
+ };
246
+ };
247
+ };
248
+ getKeys: {
249
+ parameters: {
250
+ query: {
251
+ /** Get responses by page */
252
+ page?: string;
253
+ /** Get responses by pagesize */
254
+ pagesize?: string;
255
+ /** Get responses that match search param value */
256
+ search?: string;
257
+ /** Get ordered responses */
258
+ order?: string;
259
+ };
260
+ };
261
+ responses: {
262
+ /** Keys fetched */
263
+ 200: {
264
+ content: {
265
+ "application/json": {
266
+ /** @description Zero-based page index returned in this response. */
267
+ page: number;
268
+ /** @description Maximum number of items returned on each page. */
269
+ pageSize: number;
270
+ /** @description Total number of items across all pages. */
271
+ totalCount: number;
272
+ /** @description Keys returned on the current page. */
273
+ keys: {
274
+ /**
275
+ * Format: uuid
276
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
277
+ */
278
+ id: string;
279
+ /**
280
+ * Format: uuid
281
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
282
+ */
283
+ owner: string;
284
+ /** @description Operation permitted by the key. */
285
+ function: string;
286
+ /** @description Category for the key. */
287
+ category: string;
288
+ /** @description Subcategory for the key. */
289
+ subcategory: string;
290
+ /** @description Human readable description of the key. */
291
+ description: string;
292
+ /**
293
+ * Format: date-time
294
+ * @description Timestamp when the key was created.
295
+ */
296
+ createdAt: string;
297
+ /**
298
+ * Format: date-time
299
+ * @description Timestamp when the key was last updated.
300
+ */
301
+ updatedAt: string;
302
+ /**
303
+ * Format: date-time
304
+ * @description Timestamp when the key was soft-deleted.
305
+ */
306
+ deletedAt?: string | null;
307
+ }[];
308
+ };
309
+ };
310
+ };
311
+ /** Invalid request body or request param */
312
+ 400: {
313
+ content: {
314
+ "text/plain": string;
315
+ };
316
+ };
317
+ /** Expired JWT token used or insufficient privilege */
318
+ 401: {
319
+ content: {
320
+ "text/plain": string;
321
+ };
322
+ };
323
+ /** Internal server error */
324
+ 500: {
325
+ content: {
326
+ "text/plain": string;
327
+ };
328
+ };
329
+ };
330
+ };
331
+ upsertKey: {
332
+ responses: {
333
+ /** Key upserted */
334
+ 200: {
335
+ content: {
336
+ "application/json": {
337
+ /**
338
+ * Format: uuid
339
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
340
+ */
341
+ id: string;
342
+ /**
343
+ * Format: uuid
344
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
345
+ */
346
+ owner: string;
347
+ /** @description Operation permitted by the key. */
348
+ function: string;
349
+ /** @description Category for the key. */
350
+ category: string;
351
+ /** @description Subcategory for the key. */
352
+ subcategory: string;
353
+ /** @description Human readable description of the key. */
354
+ description: string;
355
+ /**
356
+ * Format: date-time
357
+ * @description Timestamp when the key was created.
358
+ */
359
+ createdAt: string;
360
+ /**
361
+ * Format: date-time
362
+ * @description Timestamp when the key was last updated.
363
+ */
364
+ updatedAt: string;
365
+ /**
366
+ * Format: date-time
367
+ * @description Timestamp when the key was soft-deleted.
368
+ */
369
+ deletedAt?: string | null;
370
+ };
371
+ };
372
+ };
373
+ /** Invalid request body or request param */
374
+ 400: {
375
+ content: {
376
+ "text/plain": string;
377
+ };
378
+ };
379
+ /** Expired JWT token used or insufficient privilege */
380
+ 401: {
381
+ content: {
382
+ "text/plain": string;
383
+ };
384
+ };
385
+ /** Internal server error */
386
+ 500: {
387
+ content: {
388
+ "text/plain": string;
389
+ };
390
+ };
391
+ };
392
+ requestBody: {
393
+ content: {
394
+ "application/json": {
395
+ /**
396
+ * Format: uuid
397
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
398
+ */
399
+ id?: string;
400
+ /** @description Operation permitted by the key. */
401
+ function?: string;
402
+ /** @description Category for the key. */
403
+ category?: string;
404
+ /** @description Subcategory for the key. */
405
+ subcategory?: string;
406
+ /** @description Human readable description of the key. */
407
+ description?: string;
408
+ };
409
+ };
410
+ };
411
+ };
412
+ getKeyById: {
413
+ parameters: {
414
+ path: {
415
+ /** Key ID */
416
+ keyId: string;
417
+ };
418
+ };
419
+ responses: {
420
+ /** Key response */
421
+ 200: {
422
+ content: {
423
+ "application/json": {
424
+ /**
425
+ * Format: uuid
426
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
427
+ */
428
+ id: string;
429
+ /**
430
+ * Format: uuid
431
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
432
+ */
433
+ owner: string;
434
+ /** @description Operation permitted by the key. */
435
+ function: string;
436
+ /** @description Category for the key. */
437
+ category: string;
438
+ /** @description Subcategory for the key. */
439
+ subcategory: string;
440
+ /** @description Human readable description of the key. */
441
+ description: string;
442
+ /**
443
+ * Format: date-time
444
+ * @description Timestamp when the key was created.
445
+ */
446
+ createdAt: string;
447
+ /**
448
+ * Format: date-time
449
+ * @description Timestamp when the key was last updated.
450
+ */
451
+ updatedAt: string;
452
+ /**
453
+ * Format: date-time
454
+ * @description Timestamp when the key was soft-deleted.
455
+ */
456
+ deletedAt?: string | null;
457
+ };
458
+ };
459
+ };
460
+ /** Invalid request body or request param */
461
+ 400: {
462
+ content: {
463
+ "text/plain": string;
464
+ };
465
+ };
466
+ /** Expired JWT token used or insufficient privilege */
467
+ 401: {
468
+ content: {
469
+ "text/plain": string;
470
+ };
471
+ };
472
+ /** Result not found */
473
+ 404: {
474
+ content: {
475
+ "text/plain": string;
476
+ };
477
+ };
478
+ /** Internal server error */
479
+ 500: {
480
+ content: {
481
+ "text/plain": string;
482
+ };
483
+ };
484
+ };
485
+ };
486
+ deleteKey: {
487
+ parameters: {
488
+ path: {
489
+ /** Key ID */
490
+ keyId: string;
491
+ };
492
+ };
493
+ responses: {
494
+ /** Key deleted */
495
+ 204: never;
496
+ /** Invalid request body or request param */
497
+ 400: {
498
+ content: {
499
+ "text/plain": string;
500
+ };
501
+ };
502
+ /** Expired JWT token used or insufficient privilege */
503
+ 401: {
504
+ content: {
505
+ "text/plain": string;
506
+ };
507
+ };
508
+ /** Result not found */
509
+ 404: {
510
+ content: {
511
+ "text/plain": string;
512
+ };
513
+ };
514
+ /** Internal server error */
515
+ 500: {
516
+ content: {
517
+ "text/plain": string;
518
+ };
519
+ };
520
+ };
521
+ };
522
+ }
523
+
524
+ export interface external {}
@@ -0,0 +1,2 @@
1
+ declare const KeySchema: Record<string, unknown>;
2
+ export default KeySchema;