@meshery/schemas 1.3.8 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/cloudApi.d.mts +4154 -1704
  2. package/dist/cloudApi.d.ts +4154 -1704
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1alpha1/capability/Capability.d.ts +106 -111
  6. package/dist/constructs/v1alpha1/core/Core.d.ts +822 -734
  7. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +45 -40
  8. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1829 -1716
  9. package/dist/constructs/v1beta1/academy/Academy.d.ts +6023 -6642
  10. package/dist/constructs/v1beta1/badge/Badge.d.ts +439 -600
  11. package/dist/constructs/v1beta1/capability/Capability.d.ts +106 -111
  12. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +45 -40
  13. package/dist/constructs/v1beta1/category/Category.d.ts +38 -26
  14. package/dist/constructs/v1beta1/component/Component.d.ts +833 -729
  15. package/dist/constructs/v1beta1/connection/Connection.d.ts +1170 -1357
  16. package/dist/constructs/v1beta1/core/Core.d.ts +822 -734
  17. package/dist/constructs/v1beta1/credential/Credential.d.ts +458 -593
  18. package/dist/constructs/v1beta1/environment/Environment.d.ts +666 -835
  19. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6142 -5619
  20. package/dist/constructs/v1beta1/event/Event.d.ts +527 -898
  21. package/dist/constructs/v1beta1/feature/Feature.d.ts +343 -389
  22. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +877 -1244
  23. package/dist/constructs/v1beta1/key/Key.d.ts +444 -589
  24. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +575 -796
  25. package/dist/constructs/v1beta1/model/Model.d.ts +598 -572
  26. package/dist/constructs/v1beta1/organization/Organization.d.ts +1410 -1829
  27. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17988 -17171
  28. package/dist/constructs/v1beta1/plan/Plan.d.ts +115 -159
  29. package/dist/constructs/v1beta1/role/Role.d.ts +688 -933
  30. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +315 -425
  31. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +61 -18
  32. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +674 -839
  33. package/dist/constructs/v1beta1/support/Support.d.ts +74 -115
  34. package/dist/constructs/v1beta1/system/System.d.ts +250 -385
  35. package/dist/constructs/v1beta1/team/Team.d.ts +762 -1028
  36. package/dist/constructs/v1beta1/token/Token.d.ts +475 -612
  37. package/dist/constructs/v1beta1/user/User.d.ts +1553 -1722
  38. package/dist/constructs/v1beta1/view/View.d.ts +664 -833
  39. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4705 -4910
  40. package/dist/constructs/v1beta2/academy/Academy.d.ts +7246 -7864
  41. package/dist/constructs/v1beta2/badge/Badge.d.ts +453 -610
  42. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +45 -40
  43. package/dist/constructs/v1beta2/component/Component.d.ts +851 -747
  44. package/dist/constructs/v1beta2/connection/Connection.d.ts +1189 -1376
  45. package/dist/constructs/v1beta2/core/Core.d.ts +856 -768
  46. package/dist/constructs/v1beta2/credential/Credential.d.ts +437 -572
  47. package/dist/constructs/v1beta2/design/Design.d.ts +18631 -17846
  48. package/dist/constructs/v1beta2/event/Event.d.ts +575 -946
  49. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +901 -1268
  50. package/dist/constructs/v1beta2/key/Key.d.ts +454 -599
  51. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +585 -806
  52. package/dist/constructs/v1beta2/model/Model.d.ts +636 -610
  53. package/dist/constructs/v1beta2/organization/Organization.d.ts +2017 -2458
  54. package/dist/constructs/v1beta2/plan/Plan.d.ts +128 -169
  55. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2013 -1844
  56. package/dist/constructs/v1beta2/role/Role.d.ts +695 -940
  57. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +356 -466
  58. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +701 -866
  59. package/dist/constructs/v1beta2/team/Team.d.ts +852 -1118
  60. package/dist/constructs/v1beta2/token/Token.d.ts +479 -616
  61. package/dist/constructs/v1beta2/user/User.d.ts +1553 -1722
  62. package/dist/constructs/v1beta2/view/View.d.ts +669 -838
  63. package/dist/constructs/v1beta3/academy/Academy.d.ts +7246 -7864
  64. package/dist/constructs/v1beta3/academy/AcademySchema.js +1 -1
  65. package/dist/constructs/v1beta3/academy/AcademySchema.mjs +1 -1
  66. package/dist/constructs/v1beta3/component/Component.d.ts +857 -753
  67. package/dist/constructs/v1beta3/connection/Connection.d.ts +5919 -1416
  68. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +25 -1
  69. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +25 -1
  70. package/dist/constructs/v1beta3/design/Design.d.ts +5297 -5719
  71. package/dist/constructs/v1beta3/design/DesignSchema.js +2 -2
  72. package/dist/constructs/v1beta3/design/DesignSchema.mjs +2 -2
  73. package/dist/constructs/v1beta3/environment/Environment.d.ts +689 -858
  74. package/dist/constructs/v1beta3/event/Event.d.ts +666 -1041
  75. package/dist/constructs/v1beta3/event/EventSchema.js +1 -1
  76. package/dist/constructs/v1beta3/event/EventSchema.mjs +1 -1
  77. package/dist/constructs/v1beta3/filter/Filter.d.ts +1300 -1438
  78. package/dist/constructs/v1beta3/filter/FilterSchema.js +7 -7
  79. package/dist/constructs/v1beta3/filter/FilterSchema.mjs +7 -7
  80. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +911 -1278
  81. package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
  82. package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
  83. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +1114 -1412
  84. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.js +1 -1
  85. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.mjs +1 -1
  86. package/dist/constructs/v1beta3/plan/Plan.d.ts +156 -197
  87. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2013 -1844
  88. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +804 -969
  89. package/dist/constructs/v1beta3/token/Token.d.ts +480 -617
  90. package/dist/constructs/v1beta3/token/TokenSchema.js +1 -1
  91. package/dist/constructs/v1beta3/token/TokenSchema.mjs +1 -1
  92. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +4825 -5033
  93. package/dist/index.d.mts +5032 -5501
  94. package/dist/index.d.ts +5032 -5501
  95. package/dist/mesheryApi.d.mts +3334 -884
  96. package/dist/mesheryApi.d.ts +3334 -884
  97. package/dist/mesheryApi.js +1 -1
  98. package/dist/mesheryApi.mjs +1 -1
  99. package/dist/permissions.d.mts +25 -1
  100. package/dist/permissions.d.ts +25 -1
  101. package/dist/permissions.js +1 -1
  102. package/dist/permissions.mjs +1 -1
  103. package/package.json +1 -1
@@ -4,84 +4,232 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/api/auth/keychains": {
8
- parameters: {
9
- query?: never;
10
- header?: never;
11
- path?: never;
12
- cookie?: never;
13
- };
14
- /** List keychains */
15
- get: operations["getKeychains"];
16
- put?: never;
17
- /** Create a keychain */
18
- post: operations["createKeychain"];
19
- delete?: never;
20
- options?: never;
21
- head?: never;
22
- patch?: never;
23
- trace?: never;
7
+ "/api/auth/keychains": {
8
+ get: operations["getKeychains"];
9
+ post: operations["createKeychain"];
10
+ };
11
+ "/api/auth/keychains/{keychainId}": {
12
+ get: operations["getKeychainById"];
13
+ put: operations["updateKeychain"];
14
+ delete: operations["deleteKeychain"];
15
+ };
16
+ "/api/auth/keychains/{keychainId}/{keyId}": {
17
+ post: operations["addKeyToKeychain"];
18
+ delete: operations["removeKeyFromKeychain"];
19
+ };
20
+ "/api/auth/keychains/{keychainId}/keys": {
21
+ get: operations["getKeysOfKeychain"];
22
+ };
23
+ }
24
+
25
+ export interface components {
26
+ schemas: {
27
+ /** @description Represents a collection of keys. */
28
+ Keychain: {
29
+ /**
30
+ * Format: uuid
31
+ * @description Unique identifier for the keychain.
32
+ */
33
+ id: string;
34
+ /** @description Name of the keychain. */
35
+ name: string;
36
+ /**
37
+ * Format: uuid
38
+ * @description Owner of the keychain.
39
+ */
40
+ owner: string;
41
+ /**
42
+ * Format: date-time
43
+ * @description Timestamp when the keychain was created.
44
+ */
45
+ createdAt: string;
46
+ /**
47
+ * Format: date-time
48
+ * @description Timestamp when the keychain was last updated.
49
+ */
50
+ updatedAt: string;
51
+ /**
52
+ * Format: date-time
53
+ * @description Timestamp when the keychain was soft-deleted.
54
+ */
55
+ deletedAt?: string | null;
56
+ };
57
+ /** @description Payload for creating or updating a keychain. */
58
+ KeychainPayload: {
59
+ /** @description Name of the keychain. */
60
+ name: string;
61
+ /**
62
+ * Format: uuid
63
+ * @description Owner of the keychain.
64
+ */
65
+ owner?: string;
66
+ };
67
+ /** @description A paginated list of keychains. */
68
+ KeychainPage: {
69
+ /** @description Zero-based page index returned in this response. */
70
+ page: number;
71
+ /** @description Maximum number of items returned on each page. */
72
+ pageSize: number;
73
+ /** @description Total number of items across all pages. */
74
+ totalCount: number;
75
+ /** @description Keychains returned on the current page. */
76
+ keychains: {
77
+ /**
78
+ * Format: uuid
79
+ * @description Unique identifier for the keychain.
80
+ */
81
+ id: string;
82
+ /** @description Name of the keychain. */
83
+ name: string;
84
+ /**
85
+ * Format: uuid
86
+ * @description Owner of the keychain.
87
+ */
88
+ owner: string;
89
+ /**
90
+ * Format: date-time
91
+ * @description Timestamp when the keychain was created.
92
+ */
93
+ createdAt: string;
94
+ /**
95
+ * Format: date-time
96
+ * @description Timestamp when the keychain was last updated.
97
+ */
98
+ updatedAt: string;
99
+ /**
100
+ * Format: date-time
101
+ * @description Timestamp when the keychain was soft-deleted.
102
+ */
103
+ deletedAt?: string | null;
104
+ }[];
24
105
  };
25
- "/api/auth/keychains/{keychainId}": {
26
- parameters: {
27
- query?: never;
28
- header?: never;
29
- path?: never;
30
- cookie?: never;
31
- };
32
- /** Get keychain by ID */
33
- get: operations["getKeychainById"];
34
- /** Update keychain */
35
- put: operations["updateKeychain"];
36
- post?: never;
37
- /** Delete keychain */
38
- delete: operations["deleteKeychain"];
39
- options?: never;
40
- head?: never;
41
- patch?: never;
42
- trace?: never;
106
+ };
107
+ responses: {
108
+ /** Invalid request body or request param */
109
+ 400: {
110
+ content: {
111
+ "text/plain": string;
112
+ };
43
113
  };
44
- "/api/auth/keychains/{keychainId}/{keyId}": {
45
- parameters: {
46
- query?: never;
47
- header?: never;
48
- path?: never;
49
- cookie?: never;
50
- };
51
- get?: never;
52
- put?: never;
53
- /** Add key to keychain */
54
- post: operations["addKeyToKeychain"];
55
- /** Remove key from keychain */
56
- delete: operations["removeKeyFromKeychain"];
57
- options?: never;
58
- head?: never;
59
- patch?: never;
60
- trace?: never;
114
+ /** Expired JWT token used or insufficient privilege */
115
+ 401: {
116
+ content: {
117
+ "text/plain": string;
118
+ };
61
119
  };
62
- "/api/auth/keychains/{keychainId}/keys": {
63
- parameters: {
64
- query?: never;
65
- header?: never;
66
- path?: never;
67
- cookie?: never;
68
- };
69
- /** List keys in a keychain */
70
- get: operations["getKeysOfKeychain"];
71
- put?: never;
72
- post?: never;
73
- delete?: never;
74
- options?: never;
75
- head?: never;
76
- patch?: never;
77
- trace?: never;
120
+ /** Result not found */
121
+ 404: {
122
+ content: {
123
+ "text/plain": string;
124
+ };
78
125
  };
126
+ /** Internal server error */
127
+ 500: {
128
+ content: {
129
+ "text/plain": string;
130
+ };
131
+ };
132
+ };
133
+ parameters: {
134
+ /** @description Key ID */
135
+ keyId: string;
136
+ /** @description Keychain ID */
137
+ keychainId: string;
138
+ /** @description Get responses by page */
139
+ page: string;
140
+ /** @description Get responses by pagesize */
141
+ pagesize: string;
142
+ /** @description Get ordered responses */
143
+ order: string;
144
+ /** @description Get responses that match search param value */
145
+ search: string;
146
+ };
79
147
  }
80
- export type webhooks = Record<string, never>;
81
- export interface components {
82
- schemas: {
83
- /** @description Represents a collection of keys. */
84
- Keychain: {
148
+
149
+ export interface operations {
150
+ getKeychains: {
151
+ parameters: {
152
+ query: {
153
+ /** Get responses by page */
154
+ page?: string;
155
+ /** Get responses by pagesize */
156
+ pagesize?: string;
157
+ /** Get responses that match search param value */
158
+ search?: string;
159
+ /** Get ordered responses */
160
+ order?: string;
161
+ };
162
+ };
163
+ responses: {
164
+ /** Keychain(s) fetched */
165
+ 200: {
166
+ content: {
167
+ "application/json": {
168
+ /** @description Zero-based page index returned in this response. */
169
+ page: number;
170
+ /** @description Maximum number of items returned on each page. */
171
+ pageSize: number;
172
+ /** @description Total number of items across all pages. */
173
+ totalCount: number;
174
+ /** @description Keychains returned on the current page. */
175
+ keychains: {
176
+ /**
177
+ * Format: uuid
178
+ * @description Unique identifier for the keychain.
179
+ */
180
+ id: string;
181
+ /** @description Name of the keychain. */
182
+ name: string;
183
+ /**
184
+ * Format: uuid
185
+ * @description Owner of the keychain.
186
+ */
187
+ owner: string;
188
+ /**
189
+ * Format: date-time
190
+ * @description Timestamp when the keychain was created.
191
+ */
192
+ createdAt: string;
193
+ /**
194
+ * Format: date-time
195
+ * @description Timestamp when the keychain was last updated.
196
+ */
197
+ updatedAt: string;
198
+ /**
199
+ * Format: date-time
200
+ * @description Timestamp when the keychain was soft-deleted.
201
+ */
202
+ deletedAt?: string | null;
203
+ }[];
204
+ };
205
+ };
206
+ };
207
+ /** Invalid request body or request param */
208
+ 400: {
209
+ content: {
210
+ "text/plain": string;
211
+ };
212
+ };
213
+ /** Expired JWT token used or insufficient privilege */
214
+ 401: {
215
+ content: {
216
+ "text/plain": string;
217
+ };
218
+ };
219
+ /** Internal server error */
220
+ 500: {
221
+ content: {
222
+ "text/plain": string;
223
+ };
224
+ };
225
+ };
226
+ };
227
+ createKeychain: {
228
+ responses: {
229
+ /** Keychain created */
230
+ 201: {
231
+ content: {
232
+ "application/json": {
85
233
  /**
86
234
  * Format: uuid
87
235
  * @description Unique identifier for the keychain.
@@ -109,765 +257,396 @@ export interface components {
109
257
  * @description Timestamp when the keychain was soft-deleted.
110
258
  */
111
259
  deletedAt?: string | null;
260
+ };
261
+ };
262
+ };
263
+ /** Invalid request body or request param */
264
+ 400: {
265
+ content: {
266
+ "text/plain": string;
112
267
  };
113
- /** @description Payload for creating or updating a keychain. */
114
- KeychainPayload: {
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
+ requestBody: {
283
+ content: {
284
+ "application/json": {
285
+ /** @description Name of the keychain. */
286
+ name: string;
287
+ /**
288
+ * Format: uuid
289
+ * @description Owner of the keychain.
290
+ */
291
+ owner?: string;
292
+ };
293
+ };
294
+ };
295
+ };
296
+ getKeychainById: {
297
+ parameters: {
298
+ path: {
299
+ /** Keychain ID */
300
+ keychainId: string;
301
+ };
302
+ };
303
+ responses: {
304
+ /** Keychain fetched */
305
+ 200: {
306
+ content: {
307
+ "application/json": {
308
+ /**
309
+ * Format: uuid
310
+ * @description Unique identifier for the keychain.
311
+ */
312
+ id: string;
115
313
  /** @description Name of the keychain. */
116
314
  name: string;
117
315
  /**
118
316
  * Format: uuid
119
317
  * @description Owner of the keychain.
120
318
  */
121
- owner?: string;
319
+ owner: string;
320
+ /**
321
+ * Format: date-time
322
+ * @description Timestamp when the keychain was created.
323
+ */
324
+ createdAt: string;
325
+ /**
326
+ * Format: date-time
327
+ * @description Timestamp when the keychain was last updated.
328
+ */
329
+ updatedAt: string;
330
+ /**
331
+ * Format: date-time
332
+ * @description Timestamp when the keychain was soft-deleted.
333
+ */
334
+ deletedAt?: string | null;
335
+ };
122
336
  };
123
- /** @description A paginated list of keychains. */
124
- KeychainPage: {
125
- /** @description Zero-based page index returned in this response. */
126
- page: number;
127
- /** @description Maximum number of items returned on each page. */
128
- pageSize: number;
129
- /** @description Total number of items across all pages. */
130
- totalCount: number;
131
- /** @description Keychains returned on the current page. */
132
- keychains: {
133
- /**
134
- * Format: uuid
135
- * @description Unique identifier for the keychain.
136
- */
137
- id: string;
138
- /** @description Name of the keychain. */
139
- name: string;
140
- /**
141
- * Format: uuid
142
- * @description Owner of the keychain.
143
- */
144
- owner: string;
145
- /**
146
- * Format: date-time
147
- * @description Timestamp when the keychain was created.
148
- */
149
- createdAt: string;
150
- /**
151
- * Format: date-time
152
- * @description Timestamp when the keychain was last updated.
153
- */
154
- updatedAt: string;
155
- /**
156
- * Format: date-time
157
- * @description Timestamp when the keychain was soft-deleted.
158
- */
159
- deletedAt?: string | null;
160
- }[];
337
+ };
338
+ /** Invalid request body or request param */
339
+ 400: {
340
+ content: {
341
+ "text/plain": string;
161
342
  };
162
- };
163
- responses: {
164
- /** @description Invalid request body or request param */
165
- 400: {
166
- headers: {
167
- [name: string]: unknown;
168
- };
169
- content: {
170
- "text/plain": string;
171
- };
172
- };
173
- /** @description Expired JWT token used or insufficient privilege */
174
- 401: {
175
- headers: {
176
- [name: string]: unknown;
177
- };
178
- content: {
179
- "text/plain": string;
180
- };
181
- };
182
- /** @description Result not found */
183
- 404: {
184
- headers: {
185
- [name: string]: unknown;
186
- };
187
- content: {
188
- "text/plain": string;
189
- };
190
- };
191
- /** @description Internal server error */
192
- 500: {
193
- headers: {
194
- [name: string]: unknown;
195
- };
196
- content: {
197
- "text/plain": string;
198
- };
343
+ };
344
+ /** Expired JWT token used or insufficient privilege */
345
+ 401: {
346
+ content: {
347
+ "text/plain": string;
199
348
  };
349
+ };
350
+ /** Result not found */
351
+ 404: {
352
+ content: {
353
+ "text/plain": string;
354
+ };
355
+ };
356
+ /** Internal server error */
357
+ 500: {
358
+ content: {
359
+ "text/plain": string;
360
+ };
361
+ };
200
362
  };
363
+ };
364
+ updateKeychain: {
201
365
  parameters: {
202
- /** @description Key ID */
203
- keyId: string;
204
- /** @description Keychain ID */
366
+ path: {
367
+ /** Keychain ID */
205
368
  keychainId: string;
206
- /** @description Get responses by page */
207
- page: string;
208
- /** @description Get responses by pagesize */
209
- pagesize: string;
210
- /** @description Get ordered responses */
211
- order: string;
212
- /** @description Get responses that match search param value */
213
- search: string;
369
+ };
214
370
  };
215
- requestBodies: never;
216
- headers: never;
217
- pathItems: never;
218
- }
219
- export type $defs = Record<string, never>;
220
- export interface operations {
221
- getKeychains: {
222
- parameters: {
223
- query?: {
224
- /** @description Get responses by page */
225
- page?: string;
226
- /** @description Get responses by pagesize */
227
- pagesize?: string;
228
- /** @description Get responses that match search param value */
229
- search?: string;
230
- /** @description Get ordered responses */
231
- order?: string;
232
- };
233
- header?: never;
234
- path?: never;
235
- cookie?: never;
236
- };
237
- requestBody?: never;
238
- responses: {
239
- /** @description Keychain(s) fetched */
240
- 200: {
241
- headers: {
242
- [name: string]: unknown;
243
- };
244
- content: {
245
- "application/json": {
246
- /** @description Zero-based page index returned in this response. */
247
- page: number;
248
- /** @description Maximum number of items returned on each page. */
249
- pageSize: number;
250
- /** @description Total number of items across all pages. */
251
- totalCount: number;
252
- /** @description Keychains returned on the current page. */
253
- keychains: {
254
- /**
255
- * Format: uuid
256
- * @description Unique identifier for the keychain.
257
- */
258
- id: string;
259
- /** @description Name of the keychain. */
260
- name: string;
261
- /**
262
- * Format: uuid
263
- * @description Owner of the keychain.
264
- */
265
- owner: string;
266
- /**
267
- * Format: date-time
268
- * @description Timestamp when the keychain was created.
269
- */
270
- createdAt: string;
271
- /**
272
- * Format: date-time
273
- * @description Timestamp when the keychain was last updated.
274
- */
275
- updatedAt: string;
276
- /**
277
- * Format: date-time
278
- * @description Timestamp when the keychain was soft-deleted.
279
- */
280
- deletedAt?: string | null;
281
- }[];
282
- };
283
- };
284
- };
285
- /** @description Invalid request body or request param */
286
- 400: {
287
- headers: {
288
- [name: string]: unknown;
289
- };
290
- content: {
291
- "text/plain": string;
292
- };
293
- };
294
- /** @description Expired JWT token used or insufficient privilege */
295
- 401: {
296
- headers: {
297
- [name: string]: unknown;
298
- };
299
- content: {
300
- "text/plain": string;
301
- };
302
- };
303
- /** @description Internal server error */
304
- 500: {
305
- headers: {
306
- [name: string]: unknown;
307
- };
308
- content: {
309
- "text/plain": string;
310
- };
311
- };
371
+ responses: {
372
+ /** Keychain updated */
373
+ 200: {
374
+ content: {
375
+ "application/json": {
376
+ /**
377
+ * Format: uuid
378
+ * @description Unique identifier for the keychain.
379
+ */
380
+ id: string;
381
+ /** @description Name of the keychain. */
382
+ name: string;
383
+ /**
384
+ * Format: uuid
385
+ * @description Owner of the keychain.
386
+ */
387
+ owner: string;
388
+ /**
389
+ * Format: date-time
390
+ * @description Timestamp when the keychain was created.
391
+ */
392
+ createdAt: string;
393
+ /**
394
+ * Format: date-time
395
+ * @description Timestamp when the keychain was last updated.
396
+ */
397
+ updatedAt: string;
398
+ /**
399
+ * Format: date-time
400
+ * @description Timestamp when the keychain was soft-deleted.
401
+ */
402
+ deletedAt?: string | null;
403
+ };
312
404
  };
313
- };
314
- createKeychain: {
315
- parameters: {
316
- query?: never;
317
- header?: never;
318
- path?: never;
319
- cookie?: never;
320
- };
321
- requestBody: {
322
- content: {
323
- "application/json": {
324
- /** @description Name of the keychain. */
325
- name: string;
326
- /**
327
- * Format: uuid
328
- * @description Owner of the keychain.
329
- */
330
- owner?: string;
331
- };
332
- };
333
- };
334
- responses: {
335
- /** @description Keychain created */
336
- 201: {
337
- headers: {
338
- [name: string]: unknown;
339
- };
340
- content: {
341
- "application/json": {
342
- /**
343
- * Format: uuid
344
- * @description Unique identifier for the keychain.
345
- */
346
- id: string;
347
- /** @description Name of the keychain. */
348
- name: string;
349
- /**
350
- * Format: uuid
351
- * @description Owner of the keychain.
352
- */
353
- owner: string;
354
- /**
355
- * Format: date-time
356
- * @description Timestamp when the keychain was created.
357
- */
358
- createdAt: string;
359
- /**
360
- * Format: date-time
361
- * @description Timestamp when the keychain was last updated.
362
- */
363
- updatedAt: string;
364
- /**
365
- * Format: date-time
366
- * @description Timestamp when the keychain was soft-deleted.
367
- */
368
- deletedAt?: string | null;
369
- };
370
- };
371
- };
372
- /** @description Invalid request body or request param */
373
- 400: {
374
- headers: {
375
- [name: string]: unknown;
376
- };
377
- content: {
378
- "text/plain": string;
379
- };
380
- };
381
- /** @description Expired JWT token used or insufficient privilege */
382
- 401: {
383
- headers: {
384
- [name: string]: unknown;
385
- };
386
- content: {
387
- "text/plain": string;
388
- };
389
- };
390
- /** @description Internal server error */
391
- 500: {
392
- headers: {
393
- [name: string]: unknown;
394
- };
395
- content: {
396
- "text/plain": string;
397
- };
398
- };
405
+ };
406
+ /** Invalid request body or request param */
407
+ 400: {
408
+ content: {
409
+ "text/plain": string;
399
410
  };
400
- };
401
- getKeychainById: {
402
- parameters: {
403
- query?: never;
404
- header?: never;
405
- path: {
406
- /** @description Keychain ID */
407
- keychainId: string;
408
- };
409
- cookie?: never;
410
- };
411
- requestBody?: never;
412
- responses: {
413
- /** @description Keychain fetched */
414
- 200: {
415
- headers: {
416
- [name: string]: unknown;
417
- };
418
- content: {
419
- "application/json": {
420
- /**
421
- * Format: uuid
422
- * @description Unique identifier for the keychain.
423
- */
424
- id: string;
425
- /** @description Name of the keychain. */
426
- name: string;
427
- /**
428
- * Format: uuid
429
- * @description Owner of the keychain.
430
- */
431
- owner: string;
432
- /**
433
- * Format: date-time
434
- * @description Timestamp when the keychain was created.
435
- */
436
- createdAt: string;
437
- /**
438
- * Format: date-time
439
- * @description Timestamp when the keychain was last updated.
440
- */
441
- updatedAt: string;
442
- /**
443
- * Format: date-time
444
- * @description Timestamp when the keychain was soft-deleted.
445
- */
446
- deletedAt?: string | null;
447
- };
448
- };
449
- };
450
- /** @description Invalid request body or request param */
451
- 400: {
452
- headers: {
453
- [name: string]: unknown;
454
- };
455
- content: {
456
- "text/plain": string;
457
- };
458
- };
459
- /** @description Expired JWT token used or insufficient privilege */
460
- 401: {
461
- headers: {
462
- [name: string]: unknown;
463
- };
464
- content: {
465
- "text/plain": string;
466
- };
467
- };
468
- /** @description Result not found */
469
- 404: {
470
- headers: {
471
- [name: string]: unknown;
472
- };
473
- content: {
474
- "text/plain": string;
475
- };
476
- };
477
- /** @description Internal server error */
478
- 500: {
479
- headers: {
480
- [name: string]: unknown;
481
- };
482
- content: {
483
- "text/plain": string;
484
- };
485
- };
411
+ };
412
+ /** Expired JWT token used or insufficient privilege */
413
+ 401: {
414
+ content: {
415
+ "text/plain": string;
416
+ };
417
+ };
418
+ /** Result not found */
419
+ 404: {
420
+ content: {
421
+ "text/plain": string;
486
422
  };
423
+ };
424
+ /** Internal server error */
425
+ 500: {
426
+ content: {
427
+ "text/plain": string;
428
+ };
429
+ };
487
430
  };
488
- updateKeychain: {
489
- parameters: {
490
- query?: never;
491
- header?: never;
492
- path: {
493
- /** @description Keychain ID */
494
- keychainId: string;
495
- };
496
- cookie?: never;
497
- };
498
- requestBody: {
499
- content: {
500
- "application/json": {
501
- /** @description Name of the keychain. */
502
- name: string;
503
- /**
504
- * Format: uuid
505
- * @description Owner of the keychain.
506
- */
507
- owner?: string;
508
- };
509
- };
510
- };
511
- responses: {
512
- /** @description Keychain updated */
513
- 200: {
514
- headers: {
515
- [name: string]: unknown;
516
- };
517
- content: {
518
- "application/json": {
519
- /**
520
- * Format: uuid
521
- * @description Unique identifier for the keychain.
522
- */
523
- id: string;
524
- /** @description Name of the keychain. */
525
- name: string;
526
- /**
527
- * Format: uuid
528
- * @description Owner of the keychain.
529
- */
530
- owner: string;
531
- /**
532
- * Format: date-time
533
- * @description Timestamp when the keychain was created.
534
- */
535
- createdAt: string;
536
- /**
537
- * Format: date-time
538
- * @description Timestamp when the keychain was last updated.
539
- */
540
- updatedAt: string;
541
- /**
542
- * Format: date-time
543
- * @description Timestamp when the keychain was soft-deleted.
544
- */
545
- deletedAt?: string | null;
546
- };
547
- };
548
- };
549
- /** @description Invalid request body or request param */
550
- 400: {
551
- headers: {
552
- [name: string]: unknown;
553
- };
554
- content: {
555
- "text/plain": string;
556
- };
557
- };
558
- /** @description Expired JWT token used or insufficient privilege */
559
- 401: {
560
- headers: {
561
- [name: string]: unknown;
562
- };
563
- content: {
564
- "text/plain": string;
565
- };
566
- };
567
- /** @description Result not found */
568
- 404: {
569
- headers: {
570
- [name: string]: unknown;
571
- };
572
- content: {
573
- "text/plain": string;
574
- };
575
- };
576
- /** @description Internal server error */
577
- 500: {
578
- headers: {
579
- [name: string]: unknown;
580
- };
581
- content: {
582
- "text/plain": string;
583
- };
584
- };
431
+ requestBody: {
432
+ content: {
433
+ "application/json": {
434
+ /** @description Name of the keychain. */
435
+ name: string;
436
+ /**
437
+ * Format: uuid
438
+ * @description Owner of the keychain.
439
+ */
440
+ owner?: string;
585
441
  };
442
+ };
443
+ };
444
+ };
445
+ deleteKeychain: {
446
+ parameters: {
447
+ path: {
448
+ /** Keychain ID */
449
+ keychainId: string;
450
+ };
586
451
  };
587
- deleteKeychain: {
588
- parameters: {
589
- query?: never;
590
- header?: never;
591
- path: {
592
- /** @description Keychain ID */
593
- keychainId: string;
594
- };
595
- cookie?: never;
596
- };
597
- requestBody?: never;
598
- responses: {
599
- /** @description Keychain deleted */
600
- 204: {
601
- headers: {
602
- [name: string]: unknown;
603
- };
604
- content?: never;
605
- };
606
- /** @description Invalid request body or request param */
607
- 400: {
608
- headers: {
609
- [name: string]: unknown;
610
- };
611
- content: {
612
- "text/plain": string;
613
- };
614
- };
615
- /** @description Expired JWT token used or insufficient privilege */
616
- 401: {
617
- headers: {
618
- [name: string]: unknown;
619
- };
620
- content: {
621
- "text/plain": string;
622
- };
623
- };
624
- /** @description Result not found */
625
- 404: {
626
- headers: {
627
- [name: string]: unknown;
628
- };
629
- content: {
630
- "text/plain": string;
631
- };
632
- };
633
- /** @description Internal server error */
634
- 500: {
635
- headers: {
636
- [name: string]: unknown;
637
- };
638
- content: {
639
- "text/plain": string;
640
- };
641
- };
452
+ responses: {
453
+ /** Keychain deleted */
454
+ 204: never;
455
+ /** Invalid request body or request param */
456
+ 400: {
457
+ content: {
458
+ "text/plain": string;
459
+ };
460
+ };
461
+ /** Expired JWT token used or insufficient privilege */
462
+ 401: {
463
+ content: {
464
+ "text/plain": string;
465
+ };
466
+ };
467
+ /** Result not found */
468
+ 404: {
469
+ content: {
470
+ "text/plain": string;
642
471
  };
472
+ };
473
+ /** Internal server error */
474
+ 500: {
475
+ content: {
476
+ "text/plain": string;
477
+ };
478
+ };
643
479
  };
644
- addKeyToKeychain: {
645
- parameters: {
646
- query?: never;
647
- header?: never;
648
- path: {
649
- /** @description Keychain ID */
650
- keychainId: string;
651
- /** @description Key ID */
652
- keyId: string;
653
- };
654
- cookie?: never;
655
- };
656
- requestBody?: never;
657
- responses: {
658
- /** @description Key added to keychain */
659
- 204: {
660
- headers: {
661
- [name: string]: unknown;
662
- };
663
- content?: never;
664
- };
665
- /** @description Invalid request body or request param */
666
- 400: {
667
- headers: {
668
- [name: string]: unknown;
669
- };
670
- content: {
671
- "text/plain": string;
672
- };
673
- };
674
- /** @description Expired JWT token used or insufficient privilege */
675
- 401: {
676
- headers: {
677
- [name: string]: unknown;
678
- };
679
- content: {
680
- "text/plain": string;
681
- };
682
- };
683
- /** @description Result not found */
684
- 404: {
685
- headers: {
686
- [name: string]: unknown;
687
- };
688
- content: {
689
- "text/plain": string;
690
- };
691
- };
692
- /** @description Internal server error */
693
- 500: {
694
- headers: {
695
- [name: string]: unknown;
696
- };
697
- content: {
698
- "text/plain": string;
699
- };
700
- };
480
+ };
481
+ addKeyToKeychain: {
482
+ parameters: {
483
+ path: {
484
+ /** Keychain ID */
485
+ keychainId: string;
486
+ /** Key ID */
487
+ keyId: string;
488
+ };
489
+ };
490
+ responses: {
491
+ /** Key added to keychain */
492
+ 204: never;
493
+ /** Invalid request body or request param */
494
+ 400: {
495
+ content: {
496
+ "text/plain": string;
701
497
  };
498
+ };
499
+ /** Expired JWT token used or insufficient privilege */
500
+ 401: {
501
+ content: {
502
+ "text/plain": string;
503
+ };
504
+ };
505
+ /** Result not found */
506
+ 404: {
507
+ content: {
508
+ "text/plain": string;
509
+ };
510
+ };
511
+ /** Internal server error */
512
+ 500: {
513
+ content: {
514
+ "text/plain": string;
515
+ };
516
+ };
702
517
  };
703
- removeKeyFromKeychain: {
704
- parameters: {
705
- query?: never;
706
- header?: never;
707
- path: {
708
- /** @description Keychain ID */
709
- keychainId: string;
710
- /** @description Key ID */
711
- keyId: string;
712
- };
713
- cookie?: never;
714
- };
715
- requestBody?: never;
716
- responses: {
717
- /** @description Key removed from keychain */
718
- 204: {
719
- headers: {
720
- [name: string]: unknown;
721
- };
722
- content?: never;
723
- };
724
- /** @description Invalid request body or request param */
725
- 400: {
726
- headers: {
727
- [name: string]: unknown;
728
- };
729
- content: {
730
- "text/plain": string;
731
- };
732
- };
733
- /** @description Expired JWT token used or insufficient privilege */
734
- 401: {
735
- headers: {
736
- [name: string]: unknown;
737
- };
738
- content: {
739
- "text/plain": string;
740
- };
741
- };
742
- /** @description Result not found */
743
- 404: {
744
- headers: {
745
- [name: string]: unknown;
746
- };
747
- content: {
748
- "text/plain": string;
749
- };
750
- };
751
- /** @description Internal server error */
752
- 500: {
753
- headers: {
754
- [name: string]: unknown;
755
- };
756
- content: {
757
- "text/plain": string;
758
- };
759
- };
518
+ };
519
+ removeKeyFromKeychain: {
520
+ parameters: {
521
+ path: {
522
+ /** Keychain ID */
523
+ keychainId: string;
524
+ /** Key ID */
525
+ keyId: string;
526
+ };
527
+ };
528
+ responses: {
529
+ /** Key removed from keychain */
530
+ 204: never;
531
+ /** Invalid request body or request param */
532
+ 400: {
533
+ content: {
534
+ "text/plain": string;
535
+ };
536
+ };
537
+ /** Expired JWT token used or insufficient privilege */
538
+ 401: {
539
+ content: {
540
+ "text/plain": string;
760
541
  };
542
+ };
543
+ /** Result not found */
544
+ 404: {
545
+ content: {
546
+ "text/plain": string;
547
+ };
548
+ };
549
+ /** Internal server error */
550
+ 500: {
551
+ content: {
552
+ "text/plain": string;
553
+ };
554
+ };
555
+ };
556
+ };
557
+ getKeysOfKeychain: {
558
+ parameters: {
559
+ path: {
560
+ /** Keychain ID */
561
+ keychainId: string;
562
+ };
563
+ query: {
564
+ /** Get responses by page */
565
+ page?: string;
566
+ /** Get responses by pagesize */
567
+ pagesize?: string;
568
+ /** Get responses that match search param value */
569
+ search?: string;
570
+ /** Get ordered responses */
571
+ order?: string;
572
+ };
761
573
  };
762
- getKeysOfKeychain: {
763
- parameters: {
764
- query?: {
765
- /** @description Get responses by page */
766
- page?: string;
767
- /** @description Get responses by pagesize */
768
- pagesize?: string;
769
- /** @description Get responses that match search param value */
770
- search?: string;
771
- /** @description Get ordered responses */
772
- order?: string;
773
- };
774
- header?: never;
775
- path: {
776
- /** @description Keychain ID */
777
- keychainId: string;
778
- };
779
- cookie?: never;
780
- };
781
- requestBody?: never;
782
- responses: {
783
- /** @description Keys response */
784
- 200: {
785
- headers: {
786
- [name: string]: unknown;
787
- };
788
- content: {
789
- "application/json": {
790
- /** @description Zero-based page index returned in this response. */
791
- page: number;
792
- /** @description Maximum number of items returned on each page. */
793
- pageSize: number;
794
- /** @description Total number of items across all pages. */
795
- totalCount: number;
796
- /** @description Keys returned on the current page. */
797
- keys: {
798
- /**
799
- * Format: uuid
800
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
801
- */
802
- id: string;
803
- /**
804
- * Format: uuid
805
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
806
- */
807
- owner: string;
808
- /** @description Operation permitted by the key. */
809
- function: string;
810
- /** @description Category for the key. */
811
- category: string;
812
- /** @description Subcategory for the key. */
813
- subcategory: string;
814
- /** @description Human readable description of the key. */
815
- description: string;
816
- /**
817
- * Format: date-time
818
- * @description Timestamp when the key was created.
819
- */
820
- createdAt: string;
821
- /**
822
- * Format: date-time
823
- * @description Timestamp when the key was last updated.
824
- */
825
- updatedAt: string;
826
- /**
827
- * Format: date-time
828
- * @description Timestamp when the key was soft-deleted.
829
- */
830
- deletedAt?: string | null;
831
- }[];
832
- };
833
- };
834
- };
835
- /** @description Invalid request body or request param */
836
- 400: {
837
- headers: {
838
- [name: string]: unknown;
839
- };
840
- content: {
841
- "text/plain": string;
842
- };
843
- };
844
- /** @description Expired JWT token used or insufficient privilege */
845
- 401: {
846
- headers: {
847
- [name: string]: unknown;
848
- };
849
- content: {
850
- "text/plain": string;
851
- };
852
- };
853
- /** @description Result not found */
854
- 404: {
855
- headers: {
856
- [name: string]: unknown;
857
- };
858
- content: {
859
- "text/plain": string;
860
- };
861
- };
862
- /** @description Internal server error */
863
- 500: {
864
- headers: {
865
- [name: string]: unknown;
866
- };
867
- content: {
868
- "text/plain": string;
869
- };
870
- };
574
+ responses: {
575
+ /** Keys response */
576
+ 200: {
577
+ content: {
578
+ "application/json": {
579
+ /** @description Zero-based page index returned in this response. */
580
+ page: number;
581
+ /** @description Maximum number of items returned on each page. */
582
+ pageSize: number;
583
+ /** @description Total number of items across all pages. */
584
+ totalCount: number;
585
+ /** @description Keys returned on the current page. */
586
+ keys: {
587
+ /**
588
+ * Format: uuid
589
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
590
+ */
591
+ id: string;
592
+ /**
593
+ * Format: uuid
594
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
595
+ */
596
+ owner: string;
597
+ /** @description Operation permitted by the key. */
598
+ function: string;
599
+ /** @description Category for the key. */
600
+ category: string;
601
+ /** @description Subcategory for the key. */
602
+ subcategory: string;
603
+ /** @description Human readable description of the key. */
604
+ description: string;
605
+ /**
606
+ * Format: date-time
607
+ * @description Timestamp when the key was created.
608
+ */
609
+ createdAt: string;
610
+ /**
611
+ * Format: date-time
612
+ * @description Timestamp when the key was last updated.
613
+ */
614
+ updatedAt: string;
615
+ /**
616
+ * Format: date-time
617
+ * @description Timestamp when the key was soft-deleted.
618
+ */
619
+ deletedAt?: string | null;
620
+ }[];
621
+ };
622
+ };
623
+ };
624
+ /** Invalid request body or request param */
625
+ 400: {
626
+ content: {
627
+ "text/plain": string;
871
628
  };
629
+ };
630
+ /** Expired JWT token used or insufficient privilege */
631
+ 401: {
632
+ content: {
633
+ "text/plain": string;
634
+ };
635
+ };
636
+ /** Result not found */
637
+ 404: {
638
+ content: {
639
+ "text/plain": string;
640
+ };
641
+ };
642
+ /** Internal server error */
643
+ 500: {
644
+ content: {
645
+ "text/plain": string;
646
+ };
647
+ };
872
648
  };
649
+ };
873
650
  }
651
+
652
+ export interface external {}