@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,225 @@
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 resource was created.
44
+ */
45
+ created_at: string;
46
+ /**
47
+ * Format: date-time
48
+ * @description Timestamp when the resource was updated.
49
+ */
50
+ updated_at: string;
51
+ /**
52
+ * Format: date-time
53
+ * @description SQL null Timestamp to handle null values of time.
54
+ */
55
+ deleted_at?: string;
56
+ };
57
+ /** @description Input payload for creating or updating a keychain. */
58
+ KeychainInput: {
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
+ KeychainPage: {
68
+ page: number;
69
+ page_size: number;
70
+ total_count: number;
71
+ /** @description The keychains of the keychainpage. */
72
+ keychains: {
73
+ /**
74
+ * Format: uuid
75
+ * @description Unique identifier for the keychain.
76
+ */
77
+ id: string;
78
+ /** @description Name of the keychain. */
79
+ name: string;
80
+ /**
81
+ * Format: uuid
82
+ * @description Owner of the keychain.
83
+ */
84
+ owner: string;
85
+ /**
86
+ * Format: date-time
87
+ * @description Timestamp when the resource was created.
88
+ */
89
+ created_at: string;
90
+ /**
91
+ * Format: date-time
92
+ * @description Timestamp when the resource was updated.
93
+ */
94
+ updated_at: string;
95
+ /**
96
+ * Format: date-time
97
+ * @description SQL null Timestamp to handle null values of time.
98
+ */
99
+ deleted_at?: string;
100
+ }[];
24
101
  };
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;
102
+ };
103
+ responses: {
104
+ /** Invalid request body or request param */
105
+ 400: {
106
+ content: {
107
+ "text/plain": string;
108
+ };
43
109
  };
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;
110
+ /** Expired JWT token used or insufficient privilege */
111
+ 401: {
112
+ content: {
113
+ "text/plain": string;
114
+ };
61
115
  };
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;
116
+ /** Result not found */
117
+ 404: {
118
+ content: {
119
+ "text/plain": string;
120
+ };
78
121
  };
122
+ /** Internal server error */
123
+ 500: {
124
+ content: {
125
+ "text/plain": string;
126
+ };
127
+ };
128
+ };
129
+ parameters: {
130
+ /** @description Key ID */
131
+ keyId: string;
132
+ /** @description Keychain ID */
133
+ keychainId: string;
134
+ /** @description Get responses by page */
135
+ page: string;
136
+ /** @description Get responses by pagesize */
137
+ pagesize: string;
138
+ /** @description Get ordered responses */
139
+ order: string;
140
+ /** @description Get responses that match search param value */
141
+ search: string;
142
+ };
79
143
  }
80
- export type webhooks = Record<string, never>;
81
- export interface components {
82
- schemas: {
83
- /** @description Represents a collection of keys. */
84
- Keychain: {
144
+
145
+ export interface operations {
146
+ getKeychains: {
147
+ parameters: {
148
+ query: {
149
+ /** Get responses by page */
150
+ page?: string;
151
+ /** Get responses by pagesize */
152
+ pagesize?: string;
153
+ /** Get responses that match search param value */
154
+ search?: string;
155
+ /** Get ordered responses */
156
+ order?: string;
157
+ };
158
+ };
159
+ responses: {
160
+ /** Keychain(s) fetched */
161
+ 200: {
162
+ content: {
163
+ "application/json": {
164
+ page: number;
165
+ page_size: number;
166
+ total_count: number;
167
+ /** @description The keychains of the keychainpage. */
168
+ keychains: {
169
+ /**
170
+ * Format: uuid
171
+ * @description Unique identifier for the keychain.
172
+ */
173
+ id: string;
174
+ /** @description Name of the keychain. */
175
+ name: string;
176
+ /**
177
+ * Format: uuid
178
+ * @description Owner of the keychain.
179
+ */
180
+ owner: string;
181
+ /**
182
+ * Format: date-time
183
+ * @description Timestamp when the resource was created.
184
+ */
185
+ created_at: string;
186
+ /**
187
+ * Format: date-time
188
+ * @description Timestamp when the resource was updated.
189
+ */
190
+ updated_at: string;
191
+ /**
192
+ * Format: date-time
193
+ * @description SQL null Timestamp to handle null values of time.
194
+ */
195
+ deleted_at?: string;
196
+ }[];
197
+ };
198
+ };
199
+ };
200
+ /** Invalid request body or request param */
201
+ 400: {
202
+ content: {
203
+ "text/plain": string;
204
+ };
205
+ };
206
+ /** Expired JWT token used or insufficient privilege */
207
+ 401: {
208
+ content: {
209
+ "text/plain": string;
210
+ };
211
+ };
212
+ /** Internal server error */
213
+ 500: {
214
+ content: {
215
+ "text/plain": string;
216
+ };
217
+ };
218
+ };
219
+ };
220
+ createKeychain: {
221
+ responses: {
222
+ /** Keychain created */
223
+ 200: {
224
+ content: {
225
+ "application/json": {
85
226
  /**
86
227
  * Format: uuid
87
228
  * @description Unique identifier for the keychain.
@@ -109,755 +250,393 @@ export interface components {
109
250
  * @description SQL null Timestamp to handle null values of time.
110
251
  */
111
252
  deleted_at?: string;
253
+ };
254
+ };
255
+ };
256
+ /** Invalid request body or request param */
257
+ 400: {
258
+ content: {
259
+ "text/plain": string;
260
+ };
261
+ };
262
+ /** Expired JWT token used or insufficient privilege */
263
+ 401: {
264
+ content: {
265
+ "text/plain": string;
112
266
  };
113
- /** @description Input payload for creating or updating a keychain. */
114
- KeychainInput: {
267
+ };
268
+ /** Internal server error */
269
+ 500: {
270
+ content: {
271
+ "text/plain": string;
272
+ };
273
+ };
274
+ };
275
+ requestBody: {
276
+ content: {
277
+ "application/json": {
278
+ /** @description Name of the keychain. */
279
+ name: string;
280
+ /**
281
+ * Format: uuid
282
+ * @description Owner of the keychain.
283
+ */
284
+ owner?: string;
285
+ };
286
+ };
287
+ };
288
+ };
289
+ getKeychainById: {
290
+ parameters: {
291
+ path: {
292
+ /** Keychain ID */
293
+ keychainId: string;
294
+ };
295
+ };
296
+ responses: {
297
+ /** Keychain fetched */
298
+ 200: {
299
+ content: {
300
+ "application/json": {
301
+ /**
302
+ * Format: uuid
303
+ * @description Unique identifier for the keychain.
304
+ */
305
+ id: string;
115
306
  /** @description Name of the keychain. */
116
307
  name: string;
117
308
  /**
118
309
  * Format: uuid
119
310
  * @description Owner of the keychain.
120
311
  */
121
- owner?: string;
312
+ owner: string;
313
+ /**
314
+ * Format: date-time
315
+ * @description Timestamp when the resource was created.
316
+ */
317
+ created_at: string;
318
+ /**
319
+ * Format: date-time
320
+ * @description Timestamp when the resource was updated.
321
+ */
322
+ updated_at: string;
323
+ /**
324
+ * Format: date-time
325
+ * @description SQL null Timestamp to handle null values of time.
326
+ */
327
+ deleted_at?: string;
328
+ };
122
329
  };
123
- KeychainPage: {
124
- page: number;
125
- page_size: number;
126
- total_count: number;
127
- /** @description The keychains of the keychainpage. */
128
- keychains: {
129
- /**
130
- * Format: uuid
131
- * @description Unique identifier for the keychain.
132
- */
133
- id: string;
134
- /** @description Name of the keychain. */
135
- name: string;
136
- /**
137
- * Format: uuid
138
- * @description Owner of the keychain.
139
- */
140
- owner: string;
141
- /**
142
- * Format: date-time
143
- * @description Timestamp when the resource was created.
144
- */
145
- created_at: string;
146
- /**
147
- * Format: date-time
148
- * @description Timestamp when the resource was updated.
149
- */
150
- updated_at: string;
151
- /**
152
- * Format: date-time
153
- * @description SQL null Timestamp to handle null values of time.
154
- */
155
- deleted_at?: string;
156
- }[];
330
+ };
331
+ /** Invalid request body or request param */
332
+ 400: {
333
+ content: {
334
+ "text/plain": string;
157
335
  };
158
- };
159
- responses: {
160
- /** @description Invalid request body or request param */
161
- 400: {
162
- headers: {
163
- [name: string]: unknown;
164
- };
165
- content: {
166
- "text/plain": string;
167
- };
168
- };
169
- /** @description Expired JWT token used or insufficient privilege */
170
- 401: {
171
- headers: {
172
- [name: string]: unknown;
173
- };
174
- content: {
175
- "text/plain": string;
176
- };
177
- };
178
- /** @description Result not found */
179
- 404: {
180
- headers: {
181
- [name: string]: unknown;
182
- };
183
- content: {
184
- "text/plain": string;
185
- };
186
- };
187
- /** @description Internal server error */
188
- 500: {
189
- headers: {
190
- [name: string]: unknown;
191
- };
192
- content: {
193
- "text/plain": string;
194
- };
336
+ };
337
+ /** Expired JWT token used or insufficient privilege */
338
+ 401: {
339
+ content: {
340
+ "text/plain": string;
341
+ };
342
+ };
343
+ /** Result not found */
344
+ 404: {
345
+ content: {
346
+ "text/plain": string;
195
347
  };
348
+ };
349
+ /** Internal server error */
350
+ 500: {
351
+ content: {
352
+ "text/plain": string;
353
+ };
354
+ };
196
355
  };
356
+ };
357
+ updateKeychain: {
197
358
  parameters: {
198
- /** @description Key ID */
199
- keyId: string;
200
- /** @description Keychain ID */
359
+ path: {
360
+ /** Keychain ID */
201
361
  keychainId: string;
202
- /** @description Get responses by page */
203
- page: string;
204
- /** @description Get responses by pagesize */
205
- pagesize: string;
206
- /** @description Get ordered responses */
207
- order: string;
208
- /** @description Get responses that match search param value */
209
- search: string;
362
+ };
210
363
  };
211
- requestBodies: never;
212
- headers: never;
213
- pathItems: never;
214
- }
215
- export type $defs = Record<string, never>;
216
- export interface operations {
217
- getKeychains: {
218
- parameters: {
219
- query?: {
220
- /** @description Get responses by page */
221
- page?: string;
222
- /** @description Get responses by pagesize */
223
- pagesize?: string;
224
- /** @description Get responses that match search param value */
225
- search?: string;
226
- /** @description Get ordered responses */
227
- order?: string;
228
- };
229
- header?: never;
230
- path?: never;
231
- cookie?: never;
232
- };
233
- requestBody?: never;
234
- responses: {
235
- /** @description Keychain(s) fetched */
236
- 200: {
237
- headers: {
238
- [name: string]: unknown;
239
- };
240
- content: {
241
- "application/json": {
242
- page: number;
243
- page_size: number;
244
- total_count: number;
245
- /** @description The keychains of the keychainpage. */
246
- keychains: {
247
- /**
248
- * Format: uuid
249
- * @description Unique identifier for the keychain.
250
- */
251
- id: string;
252
- /** @description Name of the keychain. */
253
- name: string;
254
- /**
255
- * Format: uuid
256
- * @description Owner of the keychain.
257
- */
258
- owner: string;
259
- /**
260
- * Format: date-time
261
- * @description Timestamp when the resource was created.
262
- */
263
- created_at: string;
264
- /**
265
- * Format: date-time
266
- * @description Timestamp when the resource was updated.
267
- */
268
- updated_at: string;
269
- /**
270
- * Format: date-time
271
- * @description SQL null Timestamp to handle null values of time.
272
- */
273
- deleted_at?: string;
274
- }[];
275
- };
276
- };
277
- };
278
- /** @description Invalid request body or request param */
279
- 400: {
280
- headers: {
281
- [name: string]: unknown;
282
- };
283
- content: {
284
- "text/plain": string;
285
- };
286
- };
287
- /** @description Expired JWT token used or insufficient privilege */
288
- 401: {
289
- headers: {
290
- [name: string]: unknown;
291
- };
292
- content: {
293
- "text/plain": string;
294
- };
295
- };
296
- /** @description Internal server error */
297
- 500: {
298
- headers: {
299
- [name: string]: unknown;
300
- };
301
- content: {
302
- "text/plain": string;
303
- };
304
- };
364
+ responses: {
365
+ /** Keychain updated */
366
+ 200: {
367
+ content: {
368
+ "application/json": {
369
+ /**
370
+ * Format: uuid
371
+ * @description Unique identifier for the keychain.
372
+ */
373
+ id: string;
374
+ /** @description Name of the keychain. */
375
+ name: string;
376
+ /**
377
+ * Format: uuid
378
+ * @description Owner of the keychain.
379
+ */
380
+ owner: string;
381
+ /**
382
+ * Format: date-time
383
+ * @description Timestamp when the resource was created.
384
+ */
385
+ created_at: string;
386
+ /**
387
+ * Format: date-time
388
+ * @description Timestamp when the resource was updated.
389
+ */
390
+ updated_at: string;
391
+ /**
392
+ * Format: date-time
393
+ * @description SQL null Timestamp to handle null values of time.
394
+ */
395
+ deleted_at?: string;
396
+ };
305
397
  };
306
- };
307
- createKeychain: {
308
- parameters: {
309
- query?: never;
310
- header?: never;
311
- path?: never;
312
- cookie?: never;
313
- };
314
- requestBody: {
315
- content: {
316
- "application/json": {
317
- /** @description Name of the keychain. */
318
- name: string;
319
- /**
320
- * Format: uuid
321
- * @description Owner of the keychain.
322
- */
323
- owner?: string;
324
- };
325
- };
326
- };
327
- responses: {
328
- /** @description Keychain created */
329
- 200: {
330
- headers: {
331
- [name: string]: unknown;
332
- };
333
- content: {
334
- "application/json": {
335
- /**
336
- * Format: uuid
337
- * @description Unique identifier for the keychain.
338
- */
339
- id: string;
340
- /** @description Name of the keychain. */
341
- name: string;
342
- /**
343
- * Format: uuid
344
- * @description Owner of the keychain.
345
- */
346
- owner: string;
347
- /**
348
- * Format: date-time
349
- * @description Timestamp when the resource was created.
350
- */
351
- created_at: string;
352
- /**
353
- * Format: date-time
354
- * @description Timestamp when the resource was updated.
355
- */
356
- updated_at: string;
357
- /**
358
- * Format: date-time
359
- * @description SQL null Timestamp to handle null values of time.
360
- */
361
- deleted_at?: string;
362
- };
363
- };
364
- };
365
- /** @description Invalid request body or request param */
366
- 400: {
367
- headers: {
368
- [name: string]: unknown;
369
- };
370
- content: {
371
- "text/plain": string;
372
- };
373
- };
374
- /** @description Expired JWT token used or insufficient privilege */
375
- 401: {
376
- headers: {
377
- [name: string]: unknown;
378
- };
379
- content: {
380
- "text/plain": string;
381
- };
382
- };
383
- /** @description Internal server error */
384
- 500: {
385
- headers: {
386
- [name: string]: unknown;
387
- };
388
- content: {
389
- "text/plain": string;
390
- };
391
- };
398
+ };
399
+ /** Invalid request body or request param */
400
+ 400: {
401
+ content: {
402
+ "text/plain": string;
392
403
  };
393
- };
394
- getKeychainById: {
395
- parameters: {
396
- query?: never;
397
- header?: never;
398
- path: {
399
- /** @description Keychain ID */
400
- keychainId: string;
401
- };
402
- cookie?: never;
403
- };
404
- requestBody?: never;
405
- responses: {
406
- /** @description Keychain fetched */
407
- 200: {
408
- headers: {
409
- [name: string]: unknown;
410
- };
411
- content: {
412
- "application/json": {
413
- /**
414
- * Format: uuid
415
- * @description Unique identifier for the keychain.
416
- */
417
- id: string;
418
- /** @description Name of the keychain. */
419
- name: string;
420
- /**
421
- * Format: uuid
422
- * @description Owner of the keychain.
423
- */
424
- owner: string;
425
- /**
426
- * Format: date-time
427
- * @description Timestamp when the resource was created.
428
- */
429
- created_at: string;
430
- /**
431
- * Format: date-time
432
- * @description Timestamp when the resource was updated.
433
- */
434
- updated_at: string;
435
- /**
436
- * Format: date-time
437
- * @description SQL null Timestamp to handle null values of time.
438
- */
439
- deleted_at?: string;
440
- };
441
- };
442
- };
443
- /** @description Invalid request body or request param */
444
- 400: {
445
- headers: {
446
- [name: string]: unknown;
447
- };
448
- content: {
449
- "text/plain": string;
450
- };
451
- };
452
- /** @description Expired JWT token used or insufficient privilege */
453
- 401: {
454
- headers: {
455
- [name: string]: unknown;
456
- };
457
- content: {
458
- "text/plain": string;
459
- };
460
- };
461
- /** @description Result not found */
462
- 404: {
463
- headers: {
464
- [name: string]: unknown;
465
- };
466
- content: {
467
- "text/plain": string;
468
- };
469
- };
470
- /** @description Internal server error */
471
- 500: {
472
- headers: {
473
- [name: string]: unknown;
474
- };
475
- content: {
476
- "text/plain": string;
477
- };
478
- };
404
+ };
405
+ /** Expired JWT token used or insufficient privilege */
406
+ 401: {
407
+ content: {
408
+ "text/plain": string;
479
409
  };
410
+ };
411
+ /** Result not found */
412
+ 404: {
413
+ content: {
414
+ "text/plain": string;
415
+ };
416
+ };
417
+ /** Internal server error */
418
+ 500: {
419
+ content: {
420
+ "text/plain": string;
421
+ };
422
+ };
480
423
  };
481
- updateKeychain: {
482
- parameters: {
483
- query?: never;
484
- header?: never;
485
- path: {
486
- /** @description Keychain ID */
487
- keychainId: string;
488
- };
489
- cookie?: never;
490
- };
491
- requestBody: {
492
- content: {
493
- "application/json": {
494
- /** @description Name of the keychain. */
495
- name: string;
496
- /**
497
- * Format: uuid
498
- * @description Owner of the keychain.
499
- */
500
- owner?: string;
501
- };
502
- };
503
- };
504
- responses: {
505
- /** @description Keychain updated */
506
- 200: {
507
- headers: {
508
- [name: string]: unknown;
509
- };
510
- content: {
511
- "application/json": {
512
- /**
513
- * Format: uuid
514
- * @description Unique identifier for the keychain.
515
- */
516
- id: string;
517
- /** @description Name of the keychain. */
518
- name: string;
519
- /**
520
- * Format: uuid
521
- * @description Owner of the keychain.
522
- */
523
- owner: string;
524
- /**
525
- * Format: date-time
526
- * @description Timestamp when the resource was created.
527
- */
528
- created_at: string;
529
- /**
530
- * Format: date-time
531
- * @description Timestamp when the resource was updated.
532
- */
533
- updated_at: string;
534
- /**
535
- * Format: date-time
536
- * @description SQL null Timestamp to handle null values of time.
537
- */
538
- deleted_at?: string;
539
- };
540
- };
541
- };
542
- /** @description Invalid request body or request param */
543
- 400: {
544
- headers: {
545
- [name: string]: unknown;
546
- };
547
- content: {
548
- "text/plain": string;
549
- };
550
- };
551
- /** @description Expired JWT token used or insufficient privilege */
552
- 401: {
553
- headers: {
554
- [name: string]: unknown;
555
- };
556
- content: {
557
- "text/plain": string;
558
- };
559
- };
560
- /** @description Result not found */
561
- 404: {
562
- headers: {
563
- [name: string]: unknown;
564
- };
565
- content: {
566
- "text/plain": string;
567
- };
568
- };
569
- /** @description Internal server error */
570
- 500: {
571
- headers: {
572
- [name: string]: unknown;
573
- };
574
- content: {
575
- "text/plain": string;
576
- };
577
- };
424
+ requestBody: {
425
+ content: {
426
+ "application/json": {
427
+ /** @description Name of the keychain. */
428
+ name: string;
429
+ /**
430
+ * Format: uuid
431
+ * @description Owner of the keychain.
432
+ */
433
+ owner?: string;
578
434
  };
435
+ };
436
+ };
437
+ };
438
+ deleteKeychain: {
439
+ parameters: {
440
+ path: {
441
+ /** Keychain ID */
442
+ keychainId: string;
443
+ };
579
444
  };
580
- deleteKeychain: {
581
- parameters: {
582
- query?: never;
583
- header?: never;
584
- path: {
585
- /** @description Keychain ID */
586
- keychainId: string;
587
- };
588
- cookie?: never;
589
- };
590
- requestBody?: never;
591
- responses: {
592
- /** @description Keychain deleted */
593
- 204: {
594
- headers: {
595
- [name: string]: unknown;
596
- };
597
- content?: never;
598
- };
599
- /** @description Invalid request body or request param */
600
- 400: {
601
- headers: {
602
- [name: string]: unknown;
603
- };
604
- content: {
605
- "text/plain": string;
606
- };
607
- };
608
- /** @description Expired JWT token used or insufficient privilege */
609
- 401: {
610
- headers: {
611
- [name: string]: unknown;
612
- };
613
- content: {
614
- "text/plain": string;
615
- };
616
- };
617
- /** @description Result not found */
618
- 404: {
619
- headers: {
620
- [name: string]: unknown;
621
- };
622
- content: {
623
- "text/plain": string;
624
- };
625
- };
626
- /** @description Internal server error */
627
- 500: {
628
- headers: {
629
- [name: string]: unknown;
630
- };
631
- content: {
632
- "text/plain": string;
633
- };
634
- };
445
+ responses: {
446
+ /** Keychain deleted */
447
+ 204: never;
448
+ /** Invalid request body or request param */
449
+ 400: {
450
+ content: {
451
+ "text/plain": string;
452
+ };
453
+ };
454
+ /** Expired JWT token used or insufficient privilege */
455
+ 401: {
456
+ content: {
457
+ "text/plain": string;
458
+ };
459
+ };
460
+ /** Result not found */
461
+ 404: {
462
+ content: {
463
+ "text/plain": string;
464
+ };
465
+ };
466
+ /** Internal server error */
467
+ 500: {
468
+ content: {
469
+ "text/plain": string;
635
470
  };
471
+ };
472
+ };
473
+ };
474
+ addKeyToKeychain: {
475
+ parameters: {
476
+ path: {
477
+ /** Keychain ID */
478
+ keychainId: string;
479
+ /** Key ID */
480
+ keyId: string;
481
+ };
636
482
  };
637
- addKeyToKeychain: {
638
- parameters: {
639
- query?: never;
640
- header?: never;
641
- path: {
642
- /** @description Keychain ID */
643
- keychainId: string;
644
- /** @description Key ID */
645
- keyId: string;
646
- };
647
- cookie?: never;
648
- };
649
- requestBody?: never;
650
- responses: {
651
- /** @description Key added to keychain */
652
- 204: {
653
- headers: {
654
- [name: string]: unknown;
655
- };
656
- content?: never;
657
- };
658
- /** @description Invalid request body or request param */
659
- 400: {
660
- headers: {
661
- [name: string]: unknown;
662
- };
663
- content: {
664
- "text/plain": string;
665
- };
666
- };
667
- /** @description Expired JWT token used or insufficient privilege */
668
- 401: {
669
- headers: {
670
- [name: string]: unknown;
671
- };
672
- content: {
673
- "text/plain": string;
674
- };
675
- };
676
- /** @description Result not found */
677
- 404: {
678
- headers: {
679
- [name: string]: unknown;
680
- };
681
- content: {
682
- "text/plain": string;
683
- };
684
- };
685
- /** @description Internal server error */
686
- 500: {
687
- headers: {
688
- [name: string]: unknown;
689
- };
690
- content: {
691
- "text/plain": string;
692
- };
693
- };
483
+ responses: {
484
+ /** Key added to keychain */
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;
694
508
  };
509
+ };
510
+ };
511
+ };
512
+ removeKeyFromKeychain: {
513
+ parameters: {
514
+ path: {
515
+ /** Keychain ID */
516
+ keychainId: string;
517
+ /** Key ID */
518
+ keyId: string;
519
+ };
695
520
  };
696
- removeKeyFromKeychain: {
697
- parameters: {
698
- query?: never;
699
- header?: never;
700
- path: {
701
- /** @description Keychain ID */
702
- keychainId: string;
703
- /** @description Key ID */
704
- keyId: string;
705
- };
706
- cookie?: never;
707
- };
708
- requestBody?: never;
709
- responses: {
710
- /** @description Key removed from keychain */
711
- 204: {
712
- headers: {
713
- [name: string]: unknown;
714
- };
715
- content?: never;
716
- };
717
- /** @description Invalid request body or request param */
718
- 400: {
719
- headers: {
720
- [name: string]: unknown;
721
- };
722
- content: {
723
- "text/plain": string;
724
- };
725
- };
726
- /** @description Expired JWT token used or insufficient privilege */
727
- 401: {
728
- headers: {
729
- [name: string]: unknown;
730
- };
731
- content: {
732
- "text/plain": string;
733
- };
734
- };
735
- /** @description Result not found */
736
- 404: {
737
- headers: {
738
- [name: string]: unknown;
739
- };
740
- content: {
741
- "text/plain": string;
742
- };
743
- };
744
- /** @description Internal server error */
745
- 500: {
746
- headers: {
747
- [name: string]: unknown;
748
- };
749
- content: {
750
- "text/plain": string;
751
- };
752
- };
521
+ responses: {
522
+ /** Key removed from keychain */
523
+ 204: never;
524
+ /** Invalid request body or request param */
525
+ 400: {
526
+ content: {
527
+ "text/plain": string;
528
+ };
529
+ };
530
+ /** Expired JWT token used or insufficient privilege */
531
+ 401: {
532
+ content: {
533
+ "text/plain": string;
534
+ };
535
+ };
536
+ /** Result not found */
537
+ 404: {
538
+ content: {
539
+ "text/plain": string;
753
540
  };
541
+ };
542
+ /** Internal server error */
543
+ 500: {
544
+ content: {
545
+ "text/plain": string;
546
+ };
547
+ };
754
548
  };
755
- getKeysOfKeychain: {
756
- parameters: {
757
- query?: {
758
- /** @description Get responses by page */
759
- page?: string;
760
- /** @description Get responses by pagesize */
761
- pagesize?: string;
762
- /** @description Get responses that match search param value */
763
- search?: string;
764
- /** @description Get ordered responses */
765
- order?: string;
766
- };
767
- header?: never;
768
- path: {
769
- /** @description Keychain ID */
770
- keychainId: string;
771
- };
772
- cookie?: never;
773
- };
774
- requestBody?: never;
775
- responses: {
776
- /** @description Keys response */
777
- 200: {
778
- headers: {
779
- [name: string]: unknown;
780
- };
781
- content: {
782
- "application/json": {
783
- page: number;
784
- page_size: number;
785
- total_count: number;
786
- /** @description The keys of the keypage. */
787
- keys: {
788
- /**
789
- * Format: uuid
790
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
791
- */
792
- id: string;
793
- /**
794
- * Format: uuid
795
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
796
- */
797
- owner: string;
798
- /** @description Operation permitted by the key. */
799
- function: string;
800
- /** @description Category for the key. */
801
- category: string;
802
- /** @description Subcategory for the key. */
803
- subcategory: string;
804
- /** @description Human readable description of the key. */
805
- description: string;
806
- /**
807
- * Format: date-time
808
- * @description Timestamp when the resource was created.
809
- */
810
- created_at: string;
811
- /**
812
- * Format: date-time
813
- * @description Timestamp when the resource was updated.
814
- */
815
- updated_at: string;
816
- /**
817
- * Format: date-time
818
- * @description SQL null Timestamp to handle null values of time.
819
- */
820
- deleted_at?: string;
821
- }[];
822
- };
823
- };
824
- };
825
- /** @description Invalid request body or request param */
826
- 400: {
827
- headers: {
828
- [name: string]: unknown;
829
- };
830
- content: {
831
- "text/plain": string;
832
- };
833
- };
834
- /** @description Expired JWT token used or insufficient privilege */
835
- 401: {
836
- headers: {
837
- [name: string]: unknown;
838
- };
839
- content: {
840
- "text/plain": string;
841
- };
842
- };
843
- /** @description Result not found */
844
- 404: {
845
- headers: {
846
- [name: string]: unknown;
847
- };
848
- content: {
849
- "text/plain": string;
850
- };
851
- };
852
- /** @description Internal server error */
853
- 500: {
854
- headers: {
855
- [name: string]: unknown;
856
- };
857
- content: {
858
- "text/plain": string;
859
- };
860
- };
549
+ };
550
+ getKeysOfKeychain: {
551
+ parameters: {
552
+ path: {
553
+ /** Keychain ID */
554
+ keychainId: string;
555
+ };
556
+ query: {
557
+ /** Get responses by page */
558
+ page?: string;
559
+ /** Get responses by pagesize */
560
+ pagesize?: string;
561
+ /** Get responses that match search param value */
562
+ search?: string;
563
+ /** Get ordered responses */
564
+ order?: string;
565
+ };
566
+ };
567
+ responses: {
568
+ /** Keys response */
569
+ 200: {
570
+ content: {
571
+ "application/json": {
572
+ page: number;
573
+ page_size: number;
574
+ total_count: number;
575
+ /** @description The keys of the keypage. */
576
+ keys: {
577
+ /**
578
+ * Format: uuid
579
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
580
+ */
581
+ id: string;
582
+ /**
583
+ * Format: uuid
584
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
585
+ */
586
+ owner: string;
587
+ /** @description Operation permitted by the key. */
588
+ function: string;
589
+ /** @description Category for the key. */
590
+ category: string;
591
+ /** @description Subcategory for the key. */
592
+ subcategory: string;
593
+ /** @description Human readable description of the key. */
594
+ description: string;
595
+ /**
596
+ * Format: date-time
597
+ * @description Timestamp when the resource was created.
598
+ */
599
+ created_at: string;
600
+ /**
601
+ * Format: date-time
602
+ * @description Timestamp when the resource was updated.
603
+ */
604
+ updated_at: string;
605
+ /**
606
+ * Format: date-time
607
+ * @description SQL null Timestamp to handle null values of time.
608
+ */
609
+ deleted_at?: string;
610
+ }[];
611
+ };
612
+ };
613
+ };
614
+ /** Invalid request body or request param */
615
+ 400: {
616
+ content: {
617
+ "text/plain": string;
861
618
  };
619
+ };
620
+ /** Expired JWT token used or insufficient privilege */
621
+ 401: {
622
+ content: {
623
+ "text/plain": string;
624
+ };
625
+ };
626
+ /** Result not found */
627
+ 404: {
628
+ content: {
629
+ "text/plain": string;
630
+ };
631
+ };
632
+ /** Internal server error */
633
+ 500: {
634
+ content: {
635
+ "text/plain": string;
636
+ };
637
+ };
862
638
  };
639
+ };
863
640
  }
641
+
642
+ export interface external {}