@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,514 @@
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 resource was created.
46
+ */
47
+ created_at: string;
48
+ /**
49
+ * Format: date-time
50
+ * @description Timestamp when the resource was updated.
51
+ */
52
+ updated_at: string;
53
+ /**
54
+ * Format: date-time
55
+ * @description SQL null Timestamp to handle null values of time.
56
+ */
57
+ deleted_at?: string;
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
+ KeyPage: {
76
+ page: number;
77
+ page_size: number;
78
+ total_count: number;
79
+ /** @description The keys of the keypage. */
80
+ keys: {
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
+ * Format: uuid
88
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
89
+ */
90
+ owner: string;
91
+ /** @description Operation permitted by the key. */
92
+ function: string;
93
+ /** @description Category for the key. */
94
+ category: string;
95
+ /** @description Subcategory for the key. */
96
+ subcategory: string;
97
+ /** @description Human readable description of the key. */
98
+ description: string;
99
+ /**
100
+ * Format: date-time
101
+ * @description Timestamp when the resource was created.
102
+ */
103
+ created_at: string;
104
+ /**
105
+ * Format: date-time
106
+ * @description Timestamp when the resource was updated.
107
+ */
108
+ updated_at: string;
109
+ /**
110
+ * Format: date-time
111
+ * @description SQL null Timestamp to handle null values of time.
112
+ */
113
+ deleted_at?: string;
114
+ }[];
115
+ };
116
+ };
117
+ responses: {
118
+ /** Invalid request body or request param */
119
+ 400: {
120
+ content: {
121
+ "text/plain": string;
122
+ };
123
+ };
124
+ /** Expired JWT token used or insufficient privilege */
125
+ 401: {
126
+ content: {
127
+ "text/plain": string;
128
+ };
129
+ };
130
+ /** Result not found */
131
+ 404: {
132
+ content: {
133
+ "text/plain": string;
134
+ };
135
+ };
136
+ /** Internal server error */
137
+ 500: {
138
+ content: {
139
+ "text/plain": string;
140
+ };
141
+ };
142
+ };
143
+ parameters: {
144
+ /** @description Organization ID */
145
+ orgId: string;
146
+ /** @description Key ID */
147
+ keyId: string;
148
+ /** @description Get responses by page */
149
+ page: string;
150
+ /** @description Get responses by pagesize */
151
+ pagesize: string;
152
+ /** @description Get ordered responses */
153
+ order: string;
154
+ /** @description Get responses that match search param value */
155
+ search: string;
156
+ };
157
+ }
158
+
159
+ export interface operations {
160
+ /** Get all keys based on roles assigned to user */
161
+ getUserKeys: {
162
+ parameters: {
163
+ path: {
164
+ /** Organization ID */
165
+ orgId: string;
166
+ };
167
+ query: {
168
+ /** Get responses by page */
169
+ page?: string;
170
+ /** Get responses by pagesize */
171
+ pagesize?: string;
172
+ };
173
+ };
174
+ responses: {
175
+ /** Returns user keys based on roles assigned to user */
176
+ 200: {
177
+ content: {
178
+ "application/json": {
179
+ page: number;
180
+ page_size: number;
181
+ total_count: number;
182
+ /** @description The keys of the keypage. */
183
+ keys: {
184
+ /**
185
+ * Format: uuid
186
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
187
+ */
188
+ id: string;
189
+ /**
190
+ * Format: uuid
191
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
192
+ */
193
+ owner: string;
194
+ /** @description Operation permitted by the key. */
195
+ function: string;
196
+ /** @description Category for the key. */
197
+ category: string;
198
+ /** @description Subcategory for the key. */
199
+ subcategory: string;
200
+ /** @description Human readable description of the key. */
201
+ description: string;
202
+ /**
203
+ * Format: date-time
204
+ * @description Timestamp when the resource was created.
205
+ */
206
+ created_at: string;
207
+ /**
208
+ * Format: date-time
209
+ * @description Timestamp when the resource was updated.
210
+ */
211
+ updated_at: string;
212
+ /**
213
+ * Format: date-time
214
+ * @description SQL null Timestamp to handle null values of time.
215
+ */
216
+ deleted_at?: string;
217
+ }[];
218
+ };
219
+ };
220
+ };
221
+ /** Expired JWT token used or insufficient privilege */
222
+ 401: {
223
+ content: {
224
+ "text/plain": string;
225
+ };
226
+ };
227
+ /** Result not found */
228
+ 404: {
229
+ content: {
230
+ "text/plain": string;
231
+ };
232
+ };
233
+ /** Internal server error */
234
+ 500: {
235
+ content: {
236
+ "text/plain": string;
237
+ };
238
+ };
239
+ };
240
+ };
241
+ getKeys: {
242
+ parameters: {
243
+ query: {
244
+ /** Get responses by page */
245
+ page?: string;
246
+ /** Get responses by pagesize */
247
+ pagesize?: string;
248
+ /** Get responses that match search param value */
249
+ search?: string;
250
+ /** Get ordered responses */
251
+ order?: string;
252
+ };
253
+ };
254
+ responses: {
255
+ /** Keys fetched */
256
+ 200: {
257
+ content: {
258
+ "application/json": {
259
+ page: number;
260
+ page_size: number;
261
+ total_count: number;
262
+ /** @description The keys of the keypage. */
263
+ keys: {
264
+ /**
265
+ * Format: uuid
266
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
267
+ */
268
+ id: string;
269
+ /**
270
+ * Format: uuid
271
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
272
+ */
273
+ owner: string;
274
+ /** @description Operation permitted by the key. */
275
+ function: string;
276
+ /** @description Category for the key. */
277
+ category: string;
278
+ /** @description Subcategory for the key. */
279
+ subcategory: string;
280
+ /** @description Human readable description of the key. */
281
+ description: string;
282
+ /**
283
+ * Format: date-time
284
+ * @description Timestamp when the resource was created.
285
+ */
286
+ created_at: string;
287
+ /**
288
+ * Format: date-time
289
+ * @description Timestamp when the resource was updated.
290
+ */
291
+ updated_at: string;
292
+ /**
293
+ * Format: date-time
294
+ * @description SQL null Timestamp to handle null values of time.
295
+ */
296
+ deleted_at?: string;
297
+ }[];
298
+ };
299
+ };
300
+ };
301
+ /** Invalid request body or request param */
302
+ 400: {
303
+ content: {
304
+ "text/plain": string;
305
+ };
306
+ };
307
+ /** Expired JWT token used or insufficient privilege */
308
+ 401: {
309
+ content: {
310
+ "text/plain": string;
311
+ };
312
+ };
313
+ /** Internal server error */
314
+ 500: {
315
+ content: {
316
+ "text/plain": string;
317
+ };
318
+ };
319
+ };
320
+ };
321
+ upsertKey: {
322
+ responses: {
323
+ /** Key upserted */
324
+ 200: {
325
+ content: {
326
+ "application/json": {
327
+ /**
328
+ * Format: uuid
329
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
330
+ */
331
+ id: string;
332
+ /**
333
+ * Format: uuid
334
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
335
+ */
336
+ owner: string;
337
+ /** @description Operation permitted by the key. */
338
+ function: string;
339
+ /** @description Category for the key. */
340
+ category: string;
341
+ /** @description Subcategory for the key. */
342
+ subcategory: string;
343
+ /** @description Human readable description of the key. */
344
+ description: string;
345
+ /**
346
+ * Format: date-time
347
+ * @description Timestamp when the resource was created.
348
+ */
349
+ created_at: string;
350
+ /**
351
+ * Format: date-time
352
+ * @description Timestamp when the resource was updated.
353
+ */
354
+ updated_at: string;
355
+ /**
356
+ * Format: date-time
357
+ * @description SQL null Timestamp to handle null values of time.
358
+ */
359
+ deleted_at?: string;
360
+ };
361
+ };
362
+ };
363
+ /** Invalid request body or request param */
364
+ 400: {
365
+ content: {
366
+ "text/plain": string;
367
+ };
368
+ };
369
+ /** Expired JWT token used or insufficient privilege */
370
+ 401: {
371
+ content: {
372
+ "text/plain": string;
373
+ };
374
+ };
375
+ /** Internal server error */
376
+ 500: {
377
+ content: {
378
+ "text/plain": string;
379
+ };
380
+ };
381
+ };
382
+ requestBody: {
383
+ content: {
384
+ "application/json": {
385
+ /**
386
+ * Format: uuid
387
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
388
+ */
389
+ id?: string;
390
+ /** @description Operation permitted by the key. */
391
+ function?: string;
392
+ /** @description Category for the key. */
393
+ category?: string;
394
+ /** @description Subcategory for the key. */
395
+ subcategory?: string;
396
+ /** @description Human readable description of the key. */
397
+ description?: string;
398
+ };
399
+ };
400
+ };
401
+ };
402
+ getKeyById: {
403
+ parameters: {
404
+ path: {
405
+ /** Key ID */
406
+ keyId: string;
407
+ };
408
+ };
409
+ responses: {
410
+ /** Key response */
411
+ 200: {
412
+ content: {
413
+ "application/json": {
414
+ /**
415
+ * Format: uuid
416
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
417
+ */
418
+ id: string;
419
+ /**
420
+ * Format: uuid
421
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
422
+ */
423
+ owner: string;
424
+ /** @description Operation permitted by the key. */
425
+ function: string;
426
+ /** @description Category for the key. */
427
+ category: string;
428
+ /** @description Subcategory for the key. */
429
+ subcategory: string;
430
+ /** @description Human readable description of the key. */
431
+ description: string;
432
+ /**
433
+ * Format: date-time
434
+ * @description Timestamp when the resource was created.
435
+ */
436
+ created_at: string;
437
+ /**
438
+ * Format: date-time
439
+ * @description Timestamp when the resource was updated.
440
+ */
441
+ updated_at: string;
442
+ /**
443
+ * Format: date-time
444
+ * @description SQL null Timestamp to handle null values of time.
445
+ */
446
+ deleted_at?: string;
447
+ };
448
+ };
449
+ };
450
+ /** Invalid request body or request param */
451
+ 400: {
452
+ content: {
453
+ "text/plain": string;
454
+ };
455
+ };
456
+ /** Expired JWT token used or insufficient privilege */
457
+ 401: {
458
+ content: {
459
+ "text/plain": string;
460
+ };
461
+ };
462
+ /** Result not found */
463
+ 404: {
464
+ content: {
465
+ "text/plain": string;
466
+ };
467
+ };
468
+ /** Internal server error */
469
+ 500: {
470
+ content: {
471
+ "text/plain": string;
472
+ };
473
+ };
474
+ };
475
+ };
476
+ deleteKey: {
477
+ parameters: {
478
+ path: {
479
+ /** Key ID */
480
+ keyId: string;
481
+ };
482
+ };
483
+ responses: {
484
+ /** Key deleted */
485
+ 204: never;
486
+ /** Invalid request body or request param */
487
+ 400: {
488
+ content: {
489
+ "text/plain": string;
490
+ };
491
+ };
492
+ /** Expired JWT token used or insufficient privilege */
493
+ 401: {
494
+ content: {
495
+ "text/plain": string;
496
+ };
497
+ };
498
+ /** Result not found */
499
+ 404: {
500
+ content: {
501
+ "text/plain": string;
502
+ };
503
+ };
504
+ /** Internal server error */
505
+ 500: {
506
+ content: {
507
+ "text/plain": string;
508
+ };
509
+ };
510
+ };
511
+ };
512
+ }
513
+
514
+ export interface external {}
@@ -0,0 +1,2 @@
1
+ declare const KeySchema: Record<string, unknown>;
2
+ export default KeySchema;