@meshery/schemas 1.2.21 → 1.2.23

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 (106) hide show
  1. package/dist/cloudApi.d.mts +1728 -1527
  2. package/dist/cloudApi.d.ts +1728 -1527
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1alpha1/capability/Capability.d.ts +111 -106
  6. package/dist/constructs/v1alpha1/core/Core.d.ts +734 -822
  7. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +40 -45
  8. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1716 -1829
  9. package/dist/constructs/v1beta1/academy/Academy.d.ts +6537 -5918
  10. package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
  11. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
  12. package/dist/constructs/v1beta1/badge/Badge.d.ts +600 -439
  13. package/dist/constructs/v1beta1/capability/Capability.d.ts +111 -106
  14. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +40 -45
  15. package/dist/constructs/v1beta1/category/Category.d.ts +26 -38
  16. package/dist/constructs/v1beta1/component/Component.d.ts +729 -833
  17. package/dist/constructs/v1beta1/connection/Connection.d.ts +1357 -1170
  18. package/dist/constructs/v1beta1/core/Core.d.ts +734 -822
  19. package/dist/constructs/v1beta1/credential/Credential.d.ts +593 -458
  20. package/dist/constructs/v1beta1/environment/Environment.d.ts +835 -666
  21. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5508 -6030
  22. package/dist/constructs/v1beta1/event/Event.d.ts +898 -527
  23. package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -249
  24. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +1244 -877
  25. package/dist/constructs/v1beta1/key/Key.d.ts +589 -444
  26. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +796 -575
  27. package/dist/constructs/v1beta1/model/Model.d.ts +572 -598
  28. package/dist/constructs/v1beta1/organization/Organization.d.ts +1829 -1410
  29. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17093 -17910
  30. package/dist/constructs/v1beta1/plan/Plan.d.ts +159 -115
  31. package/dist/constructs/v1beta1/role/Role.d.ts +933 -688
  32. package/dist/constructs/v1beta1/role/RoleSchema.js +1 -1
  33. package/dist/constructs/v1beta1/role/RoleSchema.mjs +1 -1
  34. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +425 -315
  35. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +18 -61
  36. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +839 -674
  37. package/dist/constructs/v1beta1/support/Support.d.ts +115 -74
  38. package/dist/constructs/v1beta1/system/System.d.ts +434 -0
  39. package/dist/constructs/v1beta1/system/System.js +1 -0
  40. package/dist/constructs/v1beta1/system/System.mjs +0 -0
  41. package/dist/constructs/v1beta1/system/SystemSchema.d.ts +2 -0
  42. package/dist/constructs/v1beta1/system/SystemSchema.js +2 -0
  43. package/dist/constructs/v1beta1/system/SystemSchema.mjs +2 -0
  44. package/dist/constructs/v1beta1/team/Team.d.ts +1028 -762
  45. package/dist/constructs/v1beta1/token/Token.d.ts +612 -475
  46. package/dist/constructs/v1beta1/user/User.d.ts +1723 -1554
  47. package/dist/constructs/v1beta1/user/UserSchema.js +1 -1
  48. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -1
  49. package/dist/constructs/v1beta1/view/View.d.ts +833 -664
  50. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4900 -4695
  51. package/dist/constructs/v1beta2/academy/Academy.d.ts +7840 -7222
  52. package/dist/constructs/v1beta2/academy/AcademySchema.js +1 -1
  53. package/dist/constructs/v1beta2/academy/AcademySchema.mjs +1 -1
  54. package/dist/constructs/v1beta2/badge/Badge.d.ts +610 -453
  55. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +40 -45
  56. package/dist/constructs/v1beta2/component/Component.d.ts +747 -851
  57. package/dist/constructs/v1beta2/connection/Connection.d.ts +1376 -1189
  58. package/dist/constructs/v1beta2/core/Core.d.ts +768 -856
  59. package/dist/constructs/v1beta2/credential/Credential.d.ts +572 -437
  60. package/dist/constructs/v1beta2/design/Design.d.ts +17682 -18467
  61. package/dist/constructs/v1beta2/event/Event.d.ts +946 -575
  62. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1268 -901
  63. package/dist/constructs/v1beta2/key/Key.d.ts +599 -454
  64. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +806 -585
  65. package/dist/constructs/v1beta2/model/Model.d.ts +610 -636
  66. package/dist/constructs/v1beta2/organization/Organization.d.ts +2135 -1724
  67. package/dist/constructs/v1beta2/plan/Plan.d.ts +169 -128
  68. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +1842 -2011
  69. package/dist/constructs/v1beta2/role/Role.d.ts +940 -695
  70. package/dist/constructs/v1beta2/role/RoleSchema.js +1 -1
  71. package/dist/constructs/v1beta2/role/RoleSchema.mjs +1 -1
  72. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +466 -356
  73. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +866 -701
  74. package/dist/constructs/v1beta2/team/Team.d.ts +1118 -852
  75. package/dist/constructs/v1beta2/token/Token.d.ts +616 -479
  76. package/dist/constructs/v1beta2/user/User.d.ts +1723 -1554
  77. package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
  78. package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
  79. package/dist/constructs/v1beta2/view/View.d.ts +838 -669
  80. package/dist/constructs/v1beta3/academy/Academy.d.ts +7844 -7226
  81. package/dist/constructs/v1beta3/academy/AcademySchema.js +1 -1
  82. package/dist/constructs/v1beta3/academy/AcademySchema.mjs +1 -1
  83. package/dist/constructs/v1beta3/component/Component.d.ts +753 -857
  84. package/dist/constructs/v1beta3/connection/Connection.d.ts +1447 -1260
  85. package/dist/constructs/v1beta3/design/Design.d.ts +5729 -5307
  86. package/dist/constructs/v1beta3/design/DesignSchema.js +8 -8
  87. package/dist/constructs/v1beta3/design/DesignSchema.mjs +8 -8
  88. package/dist/constructs/v1beta3/environment/Environment.d.ts +858 -689
  89. package/dist/constructs/v1beta3/event/Event.d.ts +1041 -666
  90. package/dist/constructs/v1beta3/filter/Filter.d.ts +1437 -1299
  91. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1277 -910
  92. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +850 -690
  93. package/dist/constructs/v1beta3/plan/Plan.d.ts +197 -156
  94. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +1842 -2011
  95. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +969 -804
  96. package/dist/constructs/v1beta3/token/Token.d.ts +616 -479
  97. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5030 -4822
  98. package/dist/index.d.mts +5520 -5062
  99. package/dist/index.d.ts +5520 -5062
  100. package/dist/mesheryApi.d.mts +1318 -526
  101. package/dist/mesheryApi.d.ts +1318 -526
  102. package/dist/mesheryApi.js +1 -1
  103. package/dist/mesheryApi.mjs +1 -1
  104. package/dist/permissions.d.mts +1 -1
  105. package/dist/permissions.d.ts +1 -1
  106. package/package.json +1 -2
@@ -4,490 +4,124 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/api/identity/roles": {
8
- /** Assigns a role to a user identified by email. */
9
- post: operations["addRoleHolder"];
10
- };
11
- "/api/identity/roles/{id}": {
12
- /** Removes a role assignment by ID. */
13
- delete: operations["deleteRole"];
14
- };
15
- "/api/identity/orgs/{orgId}/roles": {
16
- /** Returns all roles defined for the specified organization. */
17
- get: operations["getAllRoles"];
18
- /** Updates role assignments for multiple users in the organization. */
19
- put: operations["bulkEditRoleHolder"];
20
- /** Creates or updates a role for the specified organization. */
21
- post: operations["upsertRole"];
22
- };
23
- "/api/identity/orgs/{orgId}/roles/{roleId}/keychains": {
24
- /** Returns all keychains assigned to the specified role. */
25
- get: operations["getRoleKeychains"];
26
- };
27
- "/api/identity/orgs/{orgId}/roles/{roleId}/keychains/{keychainId}": {
28
- /** Associates a keychain with the specified role. */
29
- post: operations["assignKeychainToRole"];
30
- /** Removes the association between a keychain and a role. */
31
- delete: operations["unassignKeychainFromRole"];
32
- };
33
- }
34
-
35
- export interface components {
36
- schemas: {
37
- /** @description Role definition for Layer5 Cloud (Meshery). */
38
- Role: {
39
- /**
40
- * Format: uuid
41
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
42
- */
43
- id?: string;
44
- /** @description Unique name of the role. */
45
- role_name: string;
46
- /** @description Human-readable description of the role. */
47
- description: string;
48
- /**
49
- * Format: date-time
50
- * @description Timestamp when the resource was created.
51
- */
52
- created_at?: string;
53
- /**
54
- * Format: date-time
55
- * @description Timestamp when the resource was updated.
56
- */
57
- updated_at?: string;
58
- /**
59
- * Format: date-time
60
- * @description Timestamp when the role was soft-deleted.
61
- */
62
- deleted_at?: string;
7
+ "/api/identity/roles": {
8
+ parameters: {
9
+ query?: never;
10
+ header?: never;
11
+ path?: never;
12
+ cookie?: never;
13
+ };
14
+ get?: never;
15
+ put?: never;
16
+ /**
17
+ * Add role holder
18
+ * @description Assigns a role to a user identified by email.
19
+ */
20
+ post: operations["addRoleHolder"];
21
+ delete?: never;
22
+ options?: never;
23
+ head?: never;
24
+ patch?: never;
25
+ trace?: never;
63
26
  };
64
- /** @description A paginated list of roles. */
65
- RolesPage: {
66
- /** @description Current page number (zero-based). */
67
- page: number;
68
- /** @description Number of roles per page. */
69
- page_size: number;
70
- /** @description Total number of roles across all pages. */
71
- total_count: number;
72
- /** @description The roles of the rolespage. */
73
- roles: {
27
+ "/api/identity/roles/{id}": {
28
+ parameters: {
29
+ query?: never;
30
+ header?: never;
31
+ path?: never;
32
+ cookie?: never;
33
+ };
34
+ get?: never;
35
+ put?: never;
36
+ post?: never;
74
37
  /**
75
- * Format: uuid
76
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
38
+ * Delete role
39
+ * @description Removes a role assignment by ID.
77
40
  */
78
- id?: string;
79
- /** @description Unique name of the role. */
80
- role_name: string;
81
- /** @description Human-readable description of the role. */
82
- description: string;
41
+ delete: operations["deleteRole"];
42
+ options?: never;
43
+ head?: never;
44
+ patch?: never;
45
+ trace?: never;
46
+ };
47
+ "/api/identity/orgs/{orgId}/roles": {
48
+ parameters: {
49
+ query?: never;
50
+ header?: never;
51
+ path?: never;
52
+ cookie?: never;
53
+ };
83
54
  /**
84
- * Format: date-time
85
- * @description Timestamp when the resource was created.
55
+ * Get organization roles
56
+ * @description Returns all roles defined for the specified organization.
86
57
  */
87
- created_at?: string;
58
+ get: operations["getAllRoles"];
88
59
  /**
89
- * Format: date-time
90
- * @description Timestamp when the resource was updated.
60
+ * Bulk edit role holders
61
+ * @description Updates role assignments for multiple users in the organization.
91
62
  */
92
- updated_at?: string;
63
+ put: operations["bulkEditRoleHolder"];
93
64
  /**
94
- * Format: date-time
95
- * @description Timestamp when the role was soft-deleted.
65
+ * Upsert organization role
66
+ * @description Creates or updates a role for the specified organization.
96
67
  */
97
- deleted_at?: string;
98
- }[];
99
- };
100
- /** @description Mapping between a role and a keychain. */
101
- RolesKeychainsMapping: {
102
- /**
103
- * Format: uuid
104
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
105
- */
106
- id: string;
107
- /**
108
- * Format: uuid
109
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
110
- */
111
- keychain_id: string;
112
- /**
113
- * Format: uuid
114
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
115
- */
116
- role_id: string;
117
- /**
118
- * Format: date-time
119
- * @description Timestamp when the resource was created.
120
- */
121
- created_at: string;
122
- /**
123
- * Format: date-time
124
- * @description Timestamp when the resource was updated.
125
- */
126
- updated_at: string;
127
- /**
128
- * Format: date-time
129
- * @description SQL null Timestamp to handle null values of time.
130
- */
131
- deleted_at?: string;
132
- };
133
- /** @description Request body for assigning a role to a user. */
134
- RoleHolderRequest: {
135
- /**
136
- * Format: email
137
- * @description Email of the user to assign roles to.
138
- */
139
- email: string;
140
- /** @description List of role names to assign. */
141
- roleNames: string[];
68
+ post: operations["upsertRole"];
69
+ delete?: never;
70
+ options?: never;
71
+ head?: never;
72
+ patch?: never;
73
+ trace?: never;
142
74
  };
143
- /** @description Request to update role assignments for a user. */
144
- UserRoleUpdateRequest: {
145
- /**
146
- * Format: uuid
147
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
148
- */
149
- id?: string;
150
- /**
151
- * Format: uuid
152
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
153
- */
154
- user_id?: string;
155
- /** @description The username of the userroleupdaterequest. */
156
- username?: string;
157
- /**
158
- * Format: email
159
- * @description Email address.
160
- */
161
- email?: string;
162
- /** @description The first name of the userroleupdaterequest. */
163
- firstName?: string;
164
- /** @description The last name of the userroleupdaterequest. */
165
- lastName?: string;
166
- /** @description Current status of the resource. */
167
- status?: string;
168
- /** @description The role names of the userroleupdaterequest. */
169
- roleNames?: string[];
170
- /** Format: date-time */
171
- created_at?: string;
172
- /** Format: date-time */
173
- updated_at?: string;
174
- /**
175
- * Format: date-time
176
- * @description SQL null Timestamp to handle null values of time.
177
- */
178
- deleted_at?: string;
179
- };
180
- /** @description User notification preferences. */
181
- Preference: {
182
- /** @description Whether to send a welcome email to new users. */
183
- welcomeEmail: boolean;
184
- /** @description Whether to notify the user of role changes. */
185
- notifyRoleChange: boolean;
186
- };
187
- };
188
- responses: {
189
- /** Invalid request body or request param */
190
- 400: {
191
- content: {
192
- "text/plain": string;
193
- };
194
- };
195
- /** Expired JWT token used or insufficient privilege */
196
- 401: {
197
- content: {
198
- "text/plain": string;
199
- };
200
- };
201
- /** Result not found */
202
- 404: {
203
- content: {
204
- "text/plain": string;
205
- };
75
+ "/api/identity/orgs/{orgId}/roles/{roleId}/keychains": {
76
+ parameters: {
77
+ query?: never;
78
+ header?: never;
79
+ path?: never;
80
+ cookie?: never;
81
+ };
82
+ /**
83
+ * Get keychains for role
84
+ * @description Returns all keychains assigned to the specified role.
85
+ */
86
+ get: operations["getRoleKeychains"];
87
+ put?: never;
88
+ post?: never;
89
+ delete?: never;
90
+ options?: never;
91
+ head?: never;
92
+ patch?: never;
93
+ trace?: never;
206
94
  };
207
- /** Internal server error */
208
- 500: {
209
- content: {
210
- "text/plain": string;
211
- };
95
+ "/api/identity/orgs/{orgId}/roles/{roleId}/keychains/{keychainId}": {
96
+ parameters: {
97
+ query?: never;
98
+ header?: never;
99
+ path?: never;
100
+ cookie?: never;
101
+ };
102
+ get?: never;
103
+ put?: never;
104
+ /**
105
+ * Assign keychain to role
106
+ * @description Associates a keychain with the specified role.
107
+ */
108
+ post: operations["assignKeychainToRole"];
109
+ /**
110
+ * Unassign keychain from role
111
+ * @description Removes the association between a keychain and a role.
112
+ */
113
+ delete: operations["unassignKeychainFromRole"];
114
+ options?: never;
115
+ head?: never;
116
+ patch?: never;
117
+ trace?: never;
212
118
  };
213
- };
214
- parameters: {
215
- /** @description Role ID */
216
- id: string;
217
- /** @description Organization ID */
218
- orgId: string;
219
- /** @description Role ID */
220
- roleId: string;
221
- /** @description Keychain ID */
222
- keychainId: string;
223
- /** @description Get responses by page */
224
- page: string;
225
- /** @description Get responses by pagesize */
226
- pagesize: string;
227
- /** @description Get responses that match search param value */
228
- search: string;
229
- /** @description Get ordered responses */
230
- order: string;
231
- /** @description Get all possible entries */
232
- all: boolean;
233
- /** @description Role grouping selector such as provider, organization, or team. */
234
- selector: string;
235
- /** @description Team ID used when selector is team. */
236
- teamId: string;
237
- };
238
119
  }
239
-
240
- export interface operations {
241
- /** Assigns a role to a user identified by email. */
242
- addRoleHolder: {
243
- responses: {
244
- /** Role holder added */
245
- 201: unknown;
246
- /** Invalid request body or request param */
247
- 400: {
248
- content: {
249
- "text/plain": string;
250
- };
251
- };
252
- /** Expired JWT token used or insufficient privilege */
253
- 401: {
254
- content: {
255
- "text/plain": string;
256
- };
257
- };
258
- /** Internal server error */
259
- 500: {
260
- content: {
261
- "text/plain": string;
262
- };
263
- };
264
- };
265
- requestBody: {
266
- content: {
267
- "application/json": {
268
- /**
269
- * Format: email
270
- * @description Email of the user to assign roles to.
271
- */
272
- email: string;
273
- /** @description List of role names to assign. */
274
- roleNames: string[];
275
- };
276
- };
277
- };
278
- };
279
- /** Removes a role assignment by ID. */
280
- deleteRole: {
281
- parameters: {
282
- path: {
283
- /** Role ID */
284
- id: string;
285
- };
286
- };
287
- responses: {
288
- /** Role deleted */
289
- 204: never;
290
- /** Invalid request body or request param */
291
- 400: {
292
- content: {
293
- "text/plain": string;
294
- };
295
- };
296
- /** Expired JWT token used or insufficient privilege */
297
- 401: {
298
- content: {
299
- "text/plain": string;
300
- };
301
- };
302
- /** Result not found */
303
- 404: {
304
- content: {
305
- "text/plain": string;
306
- };
307
- };
308
- /** Internal server error */
309
- 500: {
310
- content: {
311
- "text/plain": string;
312
- };
313
- };
314
- };
315
- };
316
- /** Returns all roles defined for the specified organization. */
317
- getAllRoles: {
318
- parameters: {
319
- path: {
320
- /** Organization ID */
321
- orgId: string;
322
- };
323
- query: {
324
- /** Get responses by page */
325
- page?: string;
326
- /** Get responses by pagesize */
327
- pagesize?: string;
328
- /** Get responses that match search param value */
329
- search?: string;
330
- /** Get ordered responses */
331
- order?: string;
332
- /** Get all possible entries */
333
- all?: boolean;
334
- /** Role grouping selector such as provider, organization, or team. */
335
- selector?: string;
336
- /** Team ID used when selector is team. */
337
- teamId?: string;
338
- };
339
- };
340
- responses: {
341
- /** Roles response */
342
- 200: {
343
- content: {
344
- "application/json": {
345
- /** @description Current page number (zero-based). */
346
- page: number;
347
- /** @description Number of roles per page. */
348
- page_size: number;
349
- /** @description Total number of roles across all pages. */
350
- total_count: number;
351
- /** @description The roles of the rolespage. */
352
- roles: {
353
- /**
354
- * Format: uuid
355
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
356
- */
357
- id?: string;
358
- /** @description Unique name of the role. */
359
- role_name: string;
360
- /** @description Human-readable description of the role. */
361
- description: string;
362
- /**
363
- * Format: date-time
364
- * @description Timestamp when the resource was created.
365
- */
366
- created_at?: string;
367
- /**
368
- * Format: date-time
369
- * @description Timestamp when the resource was updated.
370
- */
371
- updated_at?: string;
372
- /**
373
- * Format: date-time
374
- * @description Timestamp when the role was soft-deleted.
375
- */
376
- deleted_at?: string;
377
- }[];
378
- };
379
- };
380
- };
381
- /** Expired JWT token used or insufficient privilege */
382
- 401: {
383
- content: {
384
- "text/plain": string;
385
- };
386
- };
387
- /** Result not found */
388
- 404: {
389
- content: {
390
- "text/plain": string;
391
- };
392
- };
393
- /** Internal server error */
394
- 500: {
395
- content: {
396
- "text/plain": string;
397
- };
398
- };
399
- };
400
- };
401
- /** Updates role assignments for multiple users in the organization. */
402
- bulkEditRoleHolder: {
403
- parameters: {
404
- path: {
405
- /** Organization ID */
406
- orgId: string;
407
- };
408
- };
409
- responses: {
410
- /** Role holders updated */
411
- 200: unknown;
412
- /** Invalid request body or request param */
413
- 400: {
414
- content: {
415
- "text/plain": string;
416
- };
417
- };
418
- /** Expired JWT token used or insufficient privilege */
419
- 401: {
420
- content: {
421
- "text/plain": string;
422
- };
423
- };
424
- /** Result not found */
425
- 404: {
426
- content: {
427
- "text/plain": string;
428
- };
429
- };
430
- /** Internal server error */
431
- 500: {
432
- content: {
433
- "text/plain": string;
434
- };
435
- };
436
- };
437
- requestBody: {
438
- content: {
439
- "application/json": {
440
- /**
441
- * Format: uuid
442
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
443
- */
444
- id?: string;
445
- /**
446
- * Format: uuid
447
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
448
- */
449
- user_id?: string;
450
- /** @description The username of the userroleupdaterequest. */
451
- username?: string;
452
- /**
453
- * Format: email
454
- * @description Email address.
455
- */
456
- email?: string;
457
- /** @description The first name of the userroleupdaterequest. */
458
- firstName?: string;
459
- /** @description The last name of the userroleupdaterequest. */
460
- lastName?: string;
461
- /** @description Current status of the resource. */
462
- status?: string;
463
- /** @description The role names of the userroleupdaterequest. */
464
- roleNames?: string[];
465
- /** Format: date-time */
466
- created_at?: string;
467
- /** Format: date-time */
468
- updated_at?: string;
469
- /**
470
- * Format: date-time
471
- * @description SQL null Timestamp to handle null values of time.
472
- */
473
- deleted_at?: string;
474
- }[];
475
- };
476
- };
477
- };
478
- /** Creates or updates a role for the specified organization. */
479
- upsertRole: {
480
- parameters: {
481
- path: {
482
- /** Organization ID */
483
- orgId: string;
484
- };
485
- };
486
- responses: {
487
- /** Role upserted */
488
- 200: {
489
- content: {
490
- "application/json": {
120
+ export type webhooks = Record<string, never>;
121
+ export interface components {
122
+ schemas: {
123
+ /** @description Role definition */
124
+ Role: {
491
125
  /**
492
126
  * Format: uuid
493
127
  * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
@@ -512,234 +146,845 @@ export interface operations {
512
146
  * @description Timestamp when the role was soft-deleted.
513
147
  */
514
148
  deleted_at?: string;
515
- };
516
- };
517
- };
518
- /** Invalid request body or request param */
519
- 400: {
520
- content: {
521
- "text/plain": string;
522
- };
523
- };
524
- /** Expired JWT token used or insufficient privilege */
525
- 401: {
526
- content: {
527
- "text/plain": string;
528
- };
529
- };
530
- /** Result not found */
531
- 404: {
532
- content: {
533
- "text/plain": string;
534
- };
535
- };
536
- /** Internal server error */
537
- 500: {
538
- content: {
539
- "text/plain": string;
540
- };
541
- };
542
- };
543
- requestBody: {
544
- content: {
545
- "application/json": {
546
- /**
547
- * Format: uuid
548
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
549
- */
550
- id?: string;
551
- /** @description Unique name of the role. */
552
- role_name: string;
553
- /** @description Human-readable description of the role. */
554
- description: string;
555
- /**
556
- * Format: date-time
557
- * @description Timestamp when the resource was created.
558
- */
559
- created_at?: string;
560
- /**
561
- * Format: date-time
562
- * @description Timestamp when the resource was updated.
563
- */
564
- updated_at?: string;
565
- /**
566
- * Format: date-time
567
- * @description Timestamp when the role was soft-deleted.
568
- */
569
- deleted_at?: string;
570
- };
571
- };
572
- };
573
- };
574
- /** Returns all keychains assigned to the specified role. */
575
- getRoleKeychains: {
576
- parameters: {
577
- path: {
578
- /** Organization ID */
579
- orgId: string;
580
- /** Role ID */
581
- roleId: string;
582
- };
583
- query: {
584
- /** Get responses by page */
585
- page?: string;
586
- /** Get responses by pagesize */
587
- pagesize?: string;
588
- /** Get responses that match search param value */
589
- search?: string;
590
- /** Get ordered responses */
591
- order?: string;
592
- };
593
- };
594
- responses: {
595
- /** Keychains response */
596
- 200: {
597
- content: {
598
- "application/json": {
149
+ };
150
+ /** @description A paginated list of roles. */
151
+ RolesPage: {
152
+ /** @description Current page number (zero-based). */
599
153
  page: number;
154
+ /** @description Number of roles per page. */
600
155
  page_size: number;
156
+ /** @description Total number of roles across all pages. */
601
157
  total_count: number;
602
- /** @description The keychains of the keychainpage. */
603
- keychains: {
604
- /**
605
- * Format: uuid
606
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
607
- */
608
- id: string;
609
- /** @description Name of the keychain. */
610
- name: string;
611
- /**
612
- * Format: uuid
613
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
614
- */
615
- owner: string;
616
- /**
617
- * Format: date-time
618
- * @description Timestamp when the resource was created.
619
- */
620
- created_at: string;
621
- /**
622
- * Format: date-time
623
- * @description Timestamp when the resource was updated.
624
- */
625
- updated_at: string;
626
- /**
627
- * Format: date-time
628
- * @description SQL null Timestamp to handle null values of time.
629
- */
630
- deleted_at?: string;
158
+ /** @description The roles of the rolespage. */
159
+ roles: {
160
+ /**
161
+ * Format: uuid
162
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
163
+ */
164
+ id?: string;
165
+ /** @description Unique name of the role. */
166
+ role_name: string;
167
+ /** @description Human-readable description of the role. */
168
+ description: string;
169
+ /**
170
+ * Format: date-time
171
+ * @description Timestamp when the resource was created.
172
+ */
173
+ created_at?: string;
174
+ /**
175
+ * Format: date-time
176
+ * @description Timestamp when the resource was updated.
177
+ */
178
+ updated_at?: string;
179
+ /**
180
+ * Format: date-time
181
+ * @description Timestamp when the role was soft-deleted.
182
+ */
183
+ deleted_at?: string;
631
184
  }[];
632
- };
633
- };
634
- };
635
- /** Invalid request body or request param */
636
- 400: {
637
- content: {
638
- "text/plain": string;
639
- };
640
- };
641
- /** Expired JWT token used or insufficient privilege */
642
- 401: {
643
- content: {
644
- "text/plain": string;
645
- };
646
- };
647
- /** Result not found */
648
- 404: {
649
- content: {
650
- "text/plain": string;
651
- };
652
- };
653
- /** Internal server error */
654
- 500: {
655
- content: {
656
- "text/plain": string;
657
- };
658
- };
659
- };
660
- };
661
- /** Associates a keychain with the specified role. */
662
- assignKeychainToRole: {
663
- parameters: {
664
- path: {
665
- /** Organization ID */
666
- orgId: string;
667
- /** Role ID */
668
- roleId: string;
669
- /** Keychain ID */
670
- keychainId: string;
671
- };
185
+ };
186
+ /** @description Mapping between a role and a keychain. */
187
+ RolesKeychainsMapping: {
188
+ /**
189
+ * Format: uuid
190
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
191
+ */
192
+ id: string;
193
+ /**
194
+ * Format: uuid
195
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
196
+ */
197
+ keychain_id: string;
198
+ /**
199
+ * Format: uuid
200
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
201
+ */
202
+ role_id: string;
203
+ /**
204
+ * Format: date-time
205
+ * @description Timestamp when the resource was created.
206
+ */
207
+ created_at: string;
208
+ /**
209
+ * Format: date-time
210
+ * @description Timestamp when the resource was updated.
211
+ */
212
+ updated_at: string;
213
+ /**
214
+ * Format: date-time
215
+ * @description SQL null Timestamp to handle null values of time.
216
+ */
217
+ deleted_at?: string;
218
+ };
219
+ /** @description Request body for assigning a role to a user. */
220
+ RoleHolderRequest: {
221
+ /**
222
+ * Format: email
223
+ * @description Email of the user to assign roles to.
224
+ */
225
+ email: string;
226
+ /** @description List of role names to assign. */
227
+ roleNames: string[];
228
+ };
229
+ /** @description Request to update role assignments for a user. */
230
+ UserRoleUpdateRequest: {
231
+ /**
232
+ * Format: uuid
233
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
234
+ */
235
+ id?: string;
236
+ /**
237
+ * Format: uuid
238
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
239
+ */
240
+ user_id?: string;
241
+ /** @description The username of the userroleupdaterequest. */
242
+ username?: string;
243
+ /**
244
+ * Format: email
245
+ * @description Email address.
246
+ */
247
+ email?: string;
248
+ /** @description The first name of the userroleupdaterequest. */
249
+ firstName?: string;
250
+ /** @description The last name of the userroleupdaterequest. */
251
+ lastName?: string;
252
+ /** @description Current status of the resource. */
253
+ status?: string;
254
+ /** @description The role names of the userroleupdaterequest. */
255
+ roleNames?: string[];
256
+ /** Format: date-time */
257
+ created_at?: string;
258
+ /** Format: date-time */
259
+ updated_at?: string;
260
+ /**
261
+ * Format: date-time
262
+ * @description SQL null Timestamp to handle null values of time.
263
+ */
264
+ deleted_at?: string;
265
+ };
266
+ /** @description User notification preferences. */
267
+ Preference: {
268
+ /** @description Whether to send a welcome email to new users. */
269
+ welcomeEmail: boolean;
270
+ /** @description Whether to notify the user of role changes. */
271
+ notifyRoleChange: boolean;
272
+ };
672
273
  };
673
274
  responses: {
674
- /** Keychain assigned to role */
675
- 200: unknown;
676
- /** Invalid request body or request param */
677
- 400: {
678
- content: {
679
- "text/plain": string;
680
- };
681
- };
682
- /** Expired JWT token used or insufficient privilege */
683
- 401: {
684
- content: {
685
- "text/plain": string;
686
- };
687
- };
688
- /** Result not found */
689
- 404: {
690
- content: {
691
- "text/plain": string;
692
- };
693
- };
694
- /** Internal server error */
695
- 500: {
696
- content: {
697
- "text/plain": string;
698
- };
699
- };
275
+ /** @description Invalid request body or request param */
276
+ 400: {
277
+ headers: {
278
+ [name: string]: unknown;
279
+ };
280
+ content: {
281
+ "text/plain": string;
282
+ };
283
+ };
284
+ /** @description Expired JWT token used or insufficient privilege */
285
+ 401: {
286
+ headers: {
287
+ [name: string]: unknown;
288
+ };
289
+ content: {
290
+ "text/plain": string;
291
+ };
292
+ };
293
+ /** @description Result not found */
294
+ 404: {
295
+ headers: {
296
+ [name: string]: unknown;
297
+ };
298
+ content: {
299
+ "text/plain": string;
300
+ };
301
+ };
302
+ /** @description Internal server error */
303
+ 500: {
304
+ headers: {
305
+ [name: string]: unknown;
306
+ };
307
+ content: {
308
+ "text/plain": string;
309
+ };
310
+ };
700
311
  };
701
- };
702
- /** Removes the association between a keychain and a role. */
703
- unassignKeychainFromRole: {
704
312
  parameters: {
705
- path: {
706
- /** Organization ID */
313
+ /** @description Role ID */
314
+ id: string;
315
+ /** @description Organization ID */
707
316
  orgId: string;
708
- /** Role ID */
317
+ /** @description Role ID */
709
318
  roleId: string;
710
- /** Keychain ID */
319
+ /** @description Keychain ID */
711
320
  keychainId: string;
712
- };
321
+ /** @description Get responses by page */
322
+ page: string;
323
+ /** @description Get responses by pagesize */
324
+ pagesize: string;
325
+ /** @description Get responses that match search param value */
326
+ search: string;
327
+ /** @description Get ordered responses */
328
+ order: string;
329
+ /** @description Get all possible entries */
330
+ all: boolean;
331
+ /** @description Role grouping selector such as provider, organization, or team. */
332
+ selector: string;
333
+ /** @description Team ID used when selector is team. */
334
+ teamId: string;
713
335
  };
714
- responses: {
715
- /** Keychain unassigned from role */
716
- 204: never;
717
- /** Invalid request body or request param */
718
- 400: {
719
- content: {
720
- "text/plain": string;
721
- };
722
- };
723
- /** Expired JWT token used or insufficient privilege */
724
- 401: {
725
- content: {
726
- "text/plain": string;
727
- };
728
- };
729
- /** Result not found */
730
- 404: {
731
- content: {
732
- "text/plain": string;
733
- };
734
- };
735
- /** Internal server error */
736
- 500: {
737
- content: {
738
- "text/plain": string;
739
- };
740
- };
336
+ requestBodies: never;
337
+ headers: never;
338
+ pathItems: never;
339
+ }
340
+ export type $defs = Record<string, never>;
341
+ export interface operations {
342
+ addRoleHolder: {
343
+ parameters: {
344
+ query?: never;
345
+ header?: never;
346
+ path?: never;
347
+ cookie?: never;
348
+ };
349
+ requestBody: {
350
+ content: {
351
+ "application/json": {
352
+ /**
353
+ * Format: email
354
+ * @description Email of the user to assign roles to.
355
+ */
356
+ email: string;
357
+ /** @description List of role names to assign. */
358
+ roleNames: string[];
359
+ };
360
+ };
361
+ };
362
+ responses: {
363
+ /** @description Role holder added */
364
+ 201: {
365
+ headers: {
366
+ [name: string]: unknown;
367
+ };
368
+ content?: never;
369
+ };
370
+ /** @description Invalid request body or request param */
371
+ 400: {
372
+ headers: {
373
+ [name: string]: unknown;
374
+ };
375
+ content: {
376
+ "text/plain": string;
377
+ };
378
+ };
379
+ /** @description Expired JWT token used or insufficient privilege */
380
+ 401: {
381
+ headers: {
382
+ [name: string]: unknown;
383
+ };
384
+ content: {
385
+ "text/plain": string;
386
+ };
387
+ };
388
+ /** @description Internal server error */
389
+ 500: {
390
+ headers: {
391
+ [name: string]: unknown;
392
+ };
393
+ content: {
394
+ "text/plain": string;
395
+ };
396
+ };
397
+ };
398
+ };
399
+ deleteRole: {
400
+ parameters: {
401
+ query?: never;
402
+ header?: never;
403
+ path: {
404
+ /** @description Role ID */
405
+ id: string;
406
+ };
407
+ cookie?: never;
408
+ };
409
+ requestBody?: never;
410
+ responses: {
411
+ /** @description Role deleted */
412
+ 204: {
413
+ headers: {
414
+ [name: string]: unknown;
415
+ };
416
+ content?: never;
417
+ };
418
+ /** @description Invalid request body or request param */
419
+ 400: {
420
+ headers: {
421
+ [name: string]: unknown;
422
+ };
423
+ content: {
424
+ "text/plain": string;
425
+ };
426
+ };
427
+ /** @description Expired JWT token used or insufficient privilege */
428
+ 401: {
429
+ headers: {
430
+ [name: string]: unknown;
431
+ };
432
+ content: {
433
+ "text/plain": string;
434
+ };
435
+ };
436
+ /** @description Result not found */
437
+ 404: {
438
+ headers: {
439
+ [name: string]: unknown;
440
+ };
441
+ content: {
442
+ "text/plain": string;
443
+ };
444
+ };
445
+ /** @description Internal server error */
446
+ 500: {
447
+ headers: {
448
+ [name: string]: unknown;
449
+ };
450
+ content: {
451
+ "text/plain": string;
452
+ };
453
+ };
454
+ };
455
+ };
456
+ getAllRoles: {
457
+ parameters: {
458
+ query?: {
459
+ /** @description Get responses by page */
460
+ page?: string;
461
+ /** @description Get responses by pagesize */
462
+ pagesize?: string;
463
+ /** @description Get responses that match search param value */
464
+ search?: string;
465
+ /** @description Get ordered responses */
466
+ order?: string;
467
+ /** @description Get all possible entries */
468
+ all?: boolean;
469
+ /** @description Role grouping selector such as provider, organization, or team. */
470
+ selector?: string;
471
+ /** @description Team ID used when selector is team. */
472
+ teamId?: string;
473
+ };
474
+ header?: never;
475
+ path: {
476
+ /** @description Organization ID */
477
+ orgId: string;
478
+ };
479
+ cookie?: never;
480
+ };
481
+ requestBody?: never;
482
+ responses: {
483
+ /** @description Roles response */
484
+ 200: {
485
+ headers: {
486
+ [name: string]: unknown;
487
+ };
488
+ content: {
489
+ "application/json": {
490
+ /** @description Current page number (zero-based). */
491
+ page: number;
492
+ /** @description Number of roles per page. */
493
+ page_size: number;
494
+ /** @description Total number of roles across all pages. */
495
+ total_count: number;
496
+ /** @description The roles of the rolespage. */
497
+ roles: {
498
+ /**
499
+ * Format: uuid
500
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
501
+ */
502
+ id?: string;
503
+ /** @description Unique name of the role. */
504
+ role_name: string;
505
+ /** @description Human-readable description of the role. */
506
+ description: string;
507
+ /**
508
+ * Format: date-time
509
+ * @description Timestamp when the resource was created.
510
+ */
511
+ created_at?: string;
512
+ /**
513
+ * Format: date-time
514
+ * @description Timestamp when the resource was updated.
515
+ */
516
+ updated_at?: string;
517
+ /**
518
+ * Format: date-time
519
+ * @description Timestamp when the role was soft-deleted.
520
+ */
521
+ deleted_at?: string;
522
+ }[];
523
+ };
524
+ };
525
+ };
526
+ /** @description Expired JWT token used or insufficient privilege */
527
+ 401: {
528
+ headers: {
529
+ [name: string]: unknown;
530
+ };
531
+ content: {
532
+ "text/plain": string;
533
+ };
534
+ };
535
+ /** @description Result not found */
536
+ 404: {
537
+ headers: {
538
+ [name: string]: unknown;
539
+ };
540
+ content: {
541
+ "text/plain": string;
542
+ };
543
+ };
544
+ /** @description Internal server error */
545
+ 500: {
546
+ headers: {
547
+ [name: string]: unknown;
548
+ };
549
+ content: {
550
+ "text/plain": string;
551
+ };
552
+ };
553
+ };
554
+ };
555
+ bulkEditRoleHolder: {
556
+ parameters: {
557
+ query?: never;
558
+ header?: never;
559
+ path: {
560
+ /** @description Organization ID */
561
+ orgId: string;
562
+ };
563
+ cookie?: never;
564
+ };
565
+ requestBody: {
566
+ content: {
567
+ "application/json": {
568
+ /**
569
+ * Format: uuid
570
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
571
+ */
572
+ id?: string;
573
+ /**
574
+ * Format: uuid
575
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
576
+ */
577
+ user_id?: string;
578
+ /** @description The username of the userroleupdaterequest. */
579
+ username?: string;
580
+ /**
581
+ * Format: email
582
+ * @description Email address.
583
+ */
584
+ email?: string;
585
+ /** @description The first name of the userroleupdaterequest. */
586
+ firstName?: string;
587
+ /** @description The last name of the userroleupdaterequest. */
588
+ lastName?: string;
589
+ /** @description Current status of the resource. */
590
+ status?: string;
591
+ /** @description The role names of the userroleupdaterequest. */
592
+ roleNames?: string[];
593
+ /** Format: date-time */
594
+ created_at?: string;
595
+ /** Format: date-time */
596
+ updated_at?: string;
597
+ /**
598
+ * Format: date-time
599
+ * @description SQL null Timestamp to handle null values of time.
600
+ */
601
+ deleted_at?: string;
602
+ }[];
603
+ };
604
+ };
605
+ responses: {
606
+ /** @description Role holders updated */
607
+ 200: {
608
+ headers: {
609
+ [name: string]: unknown;
610
+ };
611
+ content?: never;
612
+ };
613
+ /** @description Invalid request body or request param */
614
+ 400: {
615
+ headers: {
616
+ [name: string]: unknown;
617
+ };
618
+ content: {
619
+ "text/plain": string;
620
+ };
621
+ };
622
+ /** @description Expired JWT token used or insufficient privilege */
623
+ 401: {
624
+ headers: {
625
+ [name: string]: unknown;
626
+ };
627
+ content: {
628
+ "text/plain": string;
629
+ };
630
+ };
631
+ /** @description Result not found */
632
+ 404: {
633
+ headers: {
634
+ [name: string]: unknown;
635
+ };
636
+ content: {
637
+ "text/plain": string;
638
+ };
639
+ };
640
+ /** @description Internal server error */
641
+ 500: {
642
+ headers: {
643
+ [name: string]: unknown;
644
+ };
645
+ content: {
646
+ "text/plain": string;
647
+ };
648
+ };
649
+ };
650
+ };
651
+ upsertRole: {
652
+ parameters: {
653
+ query?: never;
654
+ header?: never;
655
+ path: {
656
+ /** @description Organization ID */
657
+ orgId: string;
658
+ };
659
+ cookie?: never;
660
+ };
661
+ requestBody: {
662
+ content: {
663
+ "application/json": {
664
+ /**
665
+ * Format: uuid
666
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
667
+ */
668
+ id?: string;
669
+ /** @description Unique name of the role. */
670
+ role_name: string;
671
+ /** @description Human-readable description of the role. */
672
+ description: string;
673
+ /**
674
+ * Format: date-time
675
+ * @description Timestamp when the resource was created.
676
+ */
677
+ created_at?: string;
678
+ /**
679
+ * Format: date-time
680
+ * @description Timestamp when the resource was updated.
681
+ */
682
+ updated_at?: string;
683
+ /**
684
+ * Format: date-time
685
+ * @description Timestamp when the role was soft-deleted.
686
+ */
687
+ deleted_at?: string;
688
+ };
689
+ };
690
+ };
691
+ responses: {
692
+ /** @description Role upserted */
693
+ 200: {
694
+ headers: {
695
+ [name: string]: unknown;
696
+ };
697
+ content: {
698
+ "application/json": {
699
+ /**
700
+ * Format: uuid
701
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
702
+ */
703
+ id?: string;
704
+ /** @description Unique name of the role. */
705
+ role_name: string;
706
+ /** @description Human-readable description of the role. */
707
+ description: string;
708
+ /**
709
+ * Format: date-time
710
+ * @description Timestamp when the resource was created.
711
+ */
712
+ created_at?: string;
713
+ /**
714
+ * Format: date-time
715
+ * @description Timestamp when the resource was updated.
716
+ */
717
+ updated_at?: string;
718
+ /**
719
+ * Format: date-time
720
+ * @description Timestamp when the role was soft-deleted.
721
+ */
722
+ deleted_at?: string;
723
+ };
724
+ };
725
+ };
726
+ /** @description Invalid request body or request param */
727
+ 400: {
728
+ headers: {
729
+ [name: string]: unknown;
730
+ };
731
+ content: {
732
+ "text/plain": string;
733
+ };
734
+ };
735
+ /** @description Expired JWT token used or insufficient privilege */
736
+ 401: {
737
+ headers: {
738
+ [name: string]: unknown;
739
+ };
740
+ content: {
741
+ "text/plain": string;
742
+ };
743
+ };
744
+ /** @description Result not found */
745
+ 404: {
746
+ headers: {
747
+ [name: string]: unknown;
748
+ };
749
+ content: {
750
+ "text/plain": string;
751
+ };
752
+ };
753
+ /** @description Internal server error */
754
+ 500: {
755
+ headers: {
756
+ [name: string]: unknown;
757
+ };
758
+ content: {
759
+ "text/plain": string;
760
+ };
761
+ };
762
+ };
763
+ };
764
+ getRoleKeychains: {
765
+ parameters: {
766
+ query?: {
767
+ /** @description Get responses by page */
768
+ page?: string;
769
+ /** @description Get responses by pagesize */
770
+ pagesize?: string;
771
+ /** @description Get responses that match search param value */
772
+ search?: string;
773
+ /** @description Get ordered responses */
774
+ order?: string;
775
+ };
776
+ header?: never;
777
+ path: {
778
+ /** @description Organization ID */
779
+ orgId: string;
780
+ /** @description Role ID */
781
+ roleId: string;
782
+ };
783
+ cookie?: never;
784
+ };
785
+ requestBody?: never;
786
+ responses: {
787
+ /** @description Keychains response */
788
+ 200: {
789
+ headers: {
790
+ [name: string]: unknown;
791
+ };
792
+ content: {
793
+ "application/json": {
794
+ page: number;
795
+ page_size: number;
796
+ total_count: number;
797
+ /** @description The keychains of the keychainpage. */
798
+ keychains: {
799
+ /**
800
+ * Format: uuid
801
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
802
+ */
803
+ id: string;
804
+ /** @description Name of the keychain. */
805
+ name: string;
806
+ /**
807
+ * Format: uuid
808
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
809
+ */
810
+ owner: string;
811
+ /**
812
+ * Format: date-time
813
+ * @description Timestamp when the resource was created.
814
+ */
815
+ created_at: string;
816
+ /**
817
+ * Format: date-time
818
+ * @description Timestamp when the resource was updated.
819
+ */
820
+ updated_at: string;
821
+ /**
822
+ * Format: date-time
823
+ * @description SQL null Timestamp to handle null values of time.
824
+ */
825
+ deleted_at?: string;
826
+ }[];
827
+ };
828
+ };
829
+ };
830
+ /** @description Invalid request body or request param */
831
+ 400: {
832
+ headers: {
833
+ [name: string]: unknown;
834
+ };
835
+ content: {
836
+ "text/plain": string;
837
+ };
838
+ };
839
+ /** @description Expired JWT token used or insufficient privilege */
840
+ 401: {
841
+ headers: {
842
+ [name: string]: unknown;
843
+ };
844
+ content: {
845
+ "text/plain": string;
846
+ };
847
+ };
848
+ /** @description Result not found */
849
+ 404: {
850
+ headers: {
851
+ [name: string]: unknown;
852
+ };
853
+ content: {
854
+ "text/plain": string;
855
+ };
856
+ };
857
+ /** @description Internal server error */
858
+ 500: {
859
+ headers: {
860
+ [name: string]: unknown;
861
+ };
862
+ content: {
863
+ "text/plain": string;
864
+ };
865
+ };
866
+ };
867
+ };
868
+ assignKeychainToRole: {
869
+ parameters: {
870
+ query?: never;
871
+ header?: never;
872
+ path: {
873
+ /** @description Organization ID */
874
+ orgId: string;
875
+ /** @description Role ID */
876
+ roleId: string;
877
+ /** @description Keychain ID */
878
+ keychainId: string;
879
+ };
880
+ cookie?: never;
881
+ };
882
+ requestBody?: never;
883
+ responses: {
884
+ /** @description Keychain assigned to role */
885
+ 200: {
886
+ headers: {
887
+ [name: string]: unknown;
888
+ };
889
+ content?: never;
890
+ };
891
+ /** @description Invalid request body or request param */
892
+ 400: {
893
+ headers: {
894
+ [name: string]: unknown;
895
+ };
896
+ content: {
897
+ "text/plain": string;
898
+ };
899
+ };
900
+ /** @description Expired JWT token used or insufficient privilege */
901
+ 401: {
902
+ headers: {
903
+ [name: string]: unknown;
904
+ };
905
+ content: {
906
+ "text/plain": string;
907
+ };
908
+ };
909
+ /** @description Result not found */
910
+ 404: {
911
+ headers: {
912
+ [name: string]: unknown;
913
+ };
914
+ content: {
915
+ "text/plain": string;
916
+ };
917
+ };
918
+ /** @description Internal server error */
919
+ 500: {
920
+ headers: {
921
+ [name: string]: unknown;
922
+ };
923
+ content: {
924
+ "text/plain": string;
925
+ };
926
+ };
927
+ };
928
+ };
929
+ unassignKeychainFromRole: {
930
+ parameters: {
931
+ query?: never;
932
+ header?: never;
933
+ path: {
934
+ /** @description Organization ID */
935
+ orgId: string;
936
+ /** @description Role ID */
937
+ roleId: string;
938
+ /** @description Keychain ID */
939
+ keychainId: string;
940
+ };
941
+ cookie?: never;
942
+ };
943
+ requestBody?: never;
944
+ responses: {
945
+ /** @description Keychain unassigned from role */
946
+ 204: {
947
+ headers: {
948
+ [name: string]: unknown;
949
+ };
950
+ content?: never;
951
+ };
952
+ /** @description Invalid request body or request param */
953
+ 400: {
954
+ headers: {
955
+ [name: string]: unknown;
956
+ };
957
+ content: {
958
+ "text/plain": string;
959
+ };
960
+ };
961
+ /** @description Expired JWT token used or insufficient privilege */
962
+ 401: {
963
+ headers: {
964
+ [name: string]: unknown;
965
+ };
966
+ content: {
967
+ "text/plain": string;
968
+ };
969
+ };
970
+ /** @description Result not found */
971
+ 404: {
972
+ headers: {
973
+ [name: string]: unknown;
974
+ };
975
+ content: {
976
+ "text/plain": string;
977
+ };
978
+ };
979
+ /** @description Internal server error */
980
+ 500: {
981
+ headers: {
982
+ [name: string]: unknown;
983
+ };
984
+ content: {
985
+ "text/plain": string;
986
+ };
987
+ };
988
+ };
741
989
  };
742
- };
743
990
  }
744
-
745
- export interface external {}