@meshery/schemas 0.8.127 → 0.8.129

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 (159) hide show
  1. package/dist/{Core-vaTzd8cz.d.mts → Core-BiYtFM4v.d.mts} +1 -1
  2. package/dist/{Core-vaTzd8cz.d.ts → Core-BiYtFM4v.d.ts} +1 -1
  3. package/dist/cloudApi.d.mts +13676 -3825
  4. package/dist/cloudApi.d.ts +13676 -3825
  5. package/dist/cloudApi.js +1 -1
  6. package/dist/cloudApi.mjs +1 -1
  7. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +1 -149
  8. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +1 -149
  9. package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +1 -1
  10. package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +1 -1
  11. package/dist/constructs/v1alpha1/core/Core.d.mts +1 -1
  12. package/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
  13. package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1 -1643
  14. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1 -1643
  15. package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
  16. package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
  17. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +1 -74
  18. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +1 -74
  19. package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +1 -1
  20. package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +1 -1
  21. package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +32 -128
  22. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +32 -128
  23. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +1 -6973
  24. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +1 -6973
  25. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +15 -15
  26. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +15 -15
  27. package/dist/constructs/v1beta1/academy/Academy.d.mts +749 -319
  28. package/dist/constructs/v1beta1/academy/Academy.d.ts +749 -319
  29. package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +1 -11832
  30. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +1 -11832
  31. package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
  32. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
  33. package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +1 -513
  34. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +1 -513
  35. package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
  36. package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
  37. package/dist/constructs/v1beta1/category/CategorySchema.d.mts +1 -54
  38. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +1 -54
  39. package/dist/constructs/v1beta1/category/CategorySchema.js +1 -1
  40. package/dist/constructs/v1beta1/category/CategorySchema.mjs +1 -1
  41. package/dist/constructs/v1beta1/component/Component.d.mts +6 -12
  42. package/dist/constructs/v1beta1/component/Component.d.ts +6 -12
  43. package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1 -1771
  44. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1 -1771
  45. package/dist/constructs/v1beta1/component/ComponentSchema.js +3 -3
  46. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +3 -3
  47. package/dist/constructs/v1beta1/connection/Connection.d.mts +12 -12
  48. package/dist/constructs/v1beta1/connection/Connection.d.ts +12 -12
  49. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +1 -2978
  50. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +1 -2978
  51. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  52. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  53. package/dist/constructs/v1beta1/credential/Credential.d.mts +517 -0
  54. package/dist/constructs/v1beta1/credential/Credential.d.ts +517 -0
  55. package/dist/constructs/v1beta1/credential/Credential.js +1 -0
  56. package/dist/constructs/v1beta1/credential/Credential.mjs +0 -0
  57. package/dist/constructs/v1beta1/credential/CredentialSchema.d.mts +7 -0
  58. package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +7 -0
  59. package/dist/constructs/v1beta1/credential/CredentialSchema.js +9 -0
  60. package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +9 -0
  61. package/dist/constructs/v1beta1/environment/Environment.d.mts +4 -4
  62. package/dist/constructs/v1beta1/environment/Environment.d.ts +4 -4
  63. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +1 -958
  64. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +1 -958
  65. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
  66. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
  67. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +68 -212
  68. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +68 -212
  69. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +1 -16507
  70. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +1 -16507
  71. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +25 -25
  72. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +25 -25
  73. package/dist/constructs/v1beta1/event/EventSchema.d.mts +1 -354
  74. package/dist/constructs/v1beta1/event/EventSchema.d.ts +1 -354
  75. package/dist/constructs/v1beta1/event/EventSchema.js +2 -1
  76. package/dist/constructs/v1beta1/event/EventSchema.mjs +2 -1
  77. package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +1 -767
  78. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +1 -767
  79. package/dist/constructs/v1beta1/feature/FeatureSchema.js +2 -1
  80. package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +2 -1
  81. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1 -1646
  82. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1 -1646
  83. package/dist/constructs/v1beta1/invitation/InvitationSchema.js +2 -1
  84. package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +2 -1
  85. package/dist/constructs/v1beta1/key/KeySchema.d.mts +1 -1219
  86. package/dist/constructs/v1beta1/key/KeySchema.d.ts +1 -1219
  87. package/dist/constructs/v1beta1/key/KeySchema.js +2 -1
  88. package/dist/constructs/v1beta1/key/KeySchema.mjs +2 -1
  89. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1 -1543
  90. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1 -1543
  91. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +2 -1
  92. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +2 -1
  93. package/dist/constructs/v1beta1/model/Model.d.mts +7 -13
  94. package/dist/constructs/v1beta1/model/Model.d.ts +7 -13
  95. package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1 -1301
  96. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1 -1301
  97. package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
  98. package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
  99. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +1 -1488
  100. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +1 -1488
  101. package/dist/constructs/v1beta1/organization/OrganizationSchema.js +2 -1
  102. package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +2 -1
  103. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +7481 -212
  104. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +7481 -212
  105. package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +1 -16703
  106. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +1 -16703
  107. package/dist/constructs/v1beta1/pattern/PatternSchema.js +265 -25
  108. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +265 -25
  109. package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +1 -316
  110. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +1 -316
  111. package/dist/constructs/v1beta1/plan/PlanSchema.js +2 -1
  112. package/dist/constructs/v1beta1/plan/PlanSchema.mjs +2 -1
  113. package/dist/constructs/v1beta1/role/Role.d.mts +614 -0
  114. package/dist/constructs/v1beta1/role/Role.d.ts +614 -0
  115. package/dist/constructs/v1beta1/role/Role.js +1 -0
  116. package/dist/constructs/v1beta1/role/Role.mjs +0 -0
  117. package/dist/constructs/v1beta1/role/RoleSchema.d.mts +7 -0
  118. package/dist/constructs/v1beta1/role/RoleSchema.d.ts +7 -0
  119. package/dist/constructs/v1beta1/role/RoleSchema.js +2 -0
  120. package/dist/constructs/v1beta1/role/RoleSchema.mjs +2 -0
  121. package/dist/constructs/v1beta1/schedule/Schedule.d.mts +371 -0
  122. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +371 -0
  123. package/dist/constructs/v1beta1/schedule/Schedule.js +1 -0
  124. package/dist/constructs/v1beta1/schedule/Schedule.mjs +0 -0
  125. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.mts +7 -0
  126. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +7 -0
  127. package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +13 -0
  128. package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +13 -0
  129. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +1 -27
  130. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +1 -27
  131. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +1 -1
  132. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +1 -1
  133. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1 -1636
  134. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1 -1636
  135. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +1 -1
  136. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +1 -1
  137. package/dist/constructs/v1beta1/team/Team.d.mts +46 -16
  138. package/dist/constructs/v1beta1/team/Team.d.ts +46 -16
  139. package/dist/constructs/v1beta1/team/TeamSchema.d.mts +1 -2016
  140. package/dist/constructs/v1beta1/team/TeamSchema.d.ts +1 -2016
  141. package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
  142. package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
  143. package/dist/constructs/v1beta1/user/UserSchema.d.mts +1 -1106
  144. package/dist/constructs/v1beta1/user/UserSchema.d.ts +1 -1106
  145. package/dist/constructs/v1beta1/user/UserSchema.js +2 -1
  146. package/dist/constructs/v1beta1/user/UserSchema.mjs +2 -1
  147. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +1 -958
  148. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +1 -958
  149. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +1 -1
  150. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +1 -1
  151. package/dist/index.d.mts +1 -1
  152. package/dist/index.d.ts +1 -1
  153. package/dist/index.js +283 -43
  154. package/dist/index.mjs +283 -43
  155. package/dist/mesheryApi.d.mts +2025 -183
  156. package/dist/mesheryApi.d.ts +2025 -183
  157. package/dist/mesheryApi.js +1 -1
  158. package/dist/mesheryApi.mjs +1 -1
  159. package/package.json +1 -1
@@ -0,0 +1,614 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ interface paths {
6
+ "/api/identity/roles": {
7
+ /** Assigns a role to a user identified by email. */
8
+ post: operations["addRoleHolder"];
9
+ };
10
+ "/api/identity/roles/{id}": {
11
+ /** Removes a role assignment by ID. */
12
+ delete: operations["deleteRole"];
13
+ };
14
+ "/api/identity/orgs/{orgID}/roles": {
15
+ /** Returns all roles defined for the specified organization. */
16
+ get: operations["getAllRoles"];
17
+ /** Updates role assignments for multiple users in the organization. */
18
+ put: operations["bulkEditRoleHolder"];
19
+ /** Creates or updates roles for the specified organization. */
20
+ post: operations["upsertRoles"];
21
+ };
22
+ "/api/identity/orgs/{orgID}/roles/{roleID}/keychains": {
23
+ /** Returns all keychains assigned to the specified role. */
24
+ get: operations["getRoleKeychains"];
25
+ };
26
+ "/api/identity/orgs/{orgID}/roles/{roleID}/keychains/{keychainID}": {
27
+ /** Associates a keychain with the specified role. */
28
+ post: operations["assignKeychainToRole"];
29
+ /** Removes the association between a keychain and a role. */
30
+ delete: operations["unassignKeychainFromRole"];
31
+ };
32
+ }
33
+ interface components {
34
+ schemas: {
35
+ /** @description Role definition for Layer5 Cloud (Meshery). */
36
+ Role: {
37
+ /**
38
+ * Format: uuid
39
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
40
+ */
41
+ id?: string;
42
+ /** @description Unique name of the role. */
43
+ role_name: string;
44
+ /** @description Human-readable description of the role. */
45
+ description: string;
46
+ /**
47
+ * Format: date-time
48
+ * @description Timestamp when the resource was created.
49
+ */
50
+ created_at?: string;
51
+ /**
52
+ * Format: date-time
53
+ * @description Timestamp when the resource was updated.
54
+ */
55
+ updated_at?: string;
56
+ /** @description Timestamp when the role was soft-deleted. */
57
+ deleted_at?: string;
58
+ };
59
+ /** @description A paginated list of roles. */
60
+ RolesPage: {
61
+ /** @description Current page number (zero-based). */
62
+ page: number;
63
+ /** @description Number of roles per page. */
64
+ page_size: number;
65
+ /** @description Total number of roles across all pages. */
66
+ total_count: number;
67
+ roles: {
68
+ /**
69
+ * Format: uuid
70
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
71
+ */
72
+ id?: string;
73
+ /** @description Unique name of the role. */
74
+ role_name: string;
75
+ /** @description Human-readable description of the role. */
76
+ description: string;
77
+ /**
78
+ * Format: date-time
79
+ * @description Timestamp when the resource was created.
80
+ */
81
+ created_at?: string;
82
+ /**
83
+ * Format: date-time
84
+ * @description Timestamp when the resource was updated.
85
+ */
86
+ updated_at?: string;
87
+ /** @description Timestamp when the role was soft-deleted. */
88
+ deleted_at?: string;
89
+ }[];
90
+ };
91
+ /** @description Mapping between a role and a keychain. */
92
+ RolesKeychainsMapping: {
93
+ /**
94
+ * Format: uuid
95
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
96
+ */
97
+ id: string;
98
+ /**
99
+ * Format: uuid
100
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
101
+ */
102
+ keychain_id: string;
103
+ /**
104
+ * Format: uuid
105
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
106
+ */
107
+ role_id: string;
108
+ /**
109
+ * Format: date-time
110
+ * @description Timestamp when the resource was created.
111
+ */
112
+ created_at: string;
113
+ /**
114
+ * Format: date-time
115
+ * @description Timestamp when the resource was updated.
116
+ */
117
+ updated_at: string;
118
+ /** @description SQL null Timestamp to handle null values of time. */
119
+ deleted_at?: string;
120
+ };
121
+ /** @description Request body for assigning a role to a user. */
122
+ RoleHolderRequest: {
123
+ /**
124
+ * Format: email
125
+ * @description Email of the user to assign roles to.
126
+ */
127
+ email: string;
128
+ /** @description List of role names to assign. */
129
+ role_names: string[];
130
+ };
131
+ /** @description Request to update role assignments for a user. */
132
+ UserRoleUpdateRequest: {
133
+ /**
134
+ * Format: uuid
135
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
136
+ */
137
+ id?: string;
138
+ /**
139
+ * Format: uuid
140
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
141
+ */
142
+ user_id?: string;
143
+ username?: string;
144
+ /** Format: email */
145
+ email?: string;
146
+ first_name?: string;
147
+ last_name?: string;
148
+ status?: string;
149
+ role_names?: string[];
150
+ /** Format: date-time */
151
+ created_at?: string;
152
+ /** Format: date-time */
153
+ updated_at?: string;
154
+ /** @description SQL null Timestamp to handle null values of time. */
155
+ deleted_at?: string;
156
+ };
157
+ /** @description User notification preferences. */
158
+ Preference: {
159
+ /** @description Whether to send a welcome email to new users. */
160
+ welcome_email: boolean;
161
+ /** @description Whether to notify the user of role changes. */
162
+ notify_role_change: boolean;
163
+ };
164
+ };
165
+ responses: {
166
+ /** Invalid request body or request param */
167
+ 400: {
168
+ content: {
169
+ "text/plain": string;
170
+ };
171
+ };
172
+ /** Expired JWT token used or insufficient privilege */
173
+ 401: {
174
+ content: {
175
+ "text/plain": string;
176
+ };
177
+ };
178
+ /** Result not found */
179
+ 404: {
180
+ content: {
181
+ "text/plain": string;
182
+ };
183
+ };
184
+ /** Internal server error */
185
+ 500: {
186
+ content: {
187
+ "text/plain": string;
188
+ };
189
+ };
190
+ };
191
+ parameters: {
192
+ /** @description Role ID */
193
+ id: string;
194
+ /** @description Organization ID */
195
+ orgID: string;
196
+ /** @description Role ID */
197
+ roleID: string;
198
+ /** @description Keychain ID */
199
+ keychainID: string;
200
+ /** @description Get responses by page */
201
+ page: string;
202
+ /** @description Get responses by pagesize */
203
+ pagesize: string;
204
+ /** @description Get responses that match search param value */
205
+ search: string;
206
+ /** @description Get ordered responses */
207
+ order: string;
208
+ };
209
+ }
210
+ interface operations {
211
+ /** Assigns a role to a user identified by email. */
212
+ addRoleHolder: {
213
+ responses: {
214
+ /** Role holder added successfully */
215
+ 200: unknown;
216
+ /** Invalid request body or request param */
217
+ 400: {
218
+ content: {
219
+ "text/plain": string;
220
+ };
221
+ };
222
+ /** Expired JWT token used or insufficient privilege */
223
+ 401: {
224
+ content: {
225
+ "text/plain": string;
226
+ };
227
+ };
228
+ /** Internal server error */
229
+ 500: {
230
+ content: {
231
+ "text/plain": string;
232
+ };
233
+ };
234
+ };
235
+ requestBody: {
236
+ content: {
237
+ "application/json": {
238
+ /**
239
+ * Format: email
240
+ * @description Email of the user to assign roles to.
241
+ */
242
+ email: string;
243
+ /** @description List of role names to assign. */
244
+ role_names: string[];
245
+ };
246
+ };
247
+ };
248
+ };
249
+ /** Removes a role assignment by ID. */
250
+ deleteRole: {
251
+ parameters: {
252
+ path: {
253
+ /** Role ID */
254
+ id: string;
255
+ };
256
+ };
257
+ responses: {
258
+ /** Role deleted successfully */
259
+ 204: never;
260
+ /** Invalid request body or request param */
261
+ 400: {
262
+ content: {
263
+ "text/plain": string;
264
+ };
265
+ };
266
+ /** Expired JWT token used or insufficient privilege */
267
+ 401: {
268
+ content: {
269
+ "text/plain": string;
270
+ };
271
+ };
272
+ /** Result not found */
273
+ 404: {
274
+ content: {
275
+ "text/plain": string;
276
+ };
277
+ };
278
+ /** Internal server error */
279
+ 500: {
280
+ content: {
281
+ "text/plain": string;
282
+ };
283
+ };
284
+ };
285
+ };
286
+ /** Returns all roles defined for the specified organization. */
287
+ getAllRoles: {
288
+ parameters: {
289
+ path: {
290
+ /** Organization ID */
291
+ orgID: string;
292
+ };
293
+ query: {
294
+ /** Get responses by page */
295
+ page?: string;
296
+ /** Get responses by pagesize */
297
+ pagesize?: string;
298
+ /** Get responses that match search param value */
299
+ search?: string;
300
+ /** Get ordered responses */
301
+ order?: string;
302
+ };
303
+ };
304
+ responses: {
305
+ /** Roles fetched successfully */
306
+ 200: {
307
+ content: {
308
+ "application/json": {
309
+ /** @description Current page number (zero-based). */
310
+ page: number;
311
+ /** @description Number of roles per page. */
312
+ page_size: number;
313
+ /** @description Total number of roles across all pages. */
314
+ total_count: number;
315
+ roles: {
316
+ /**
317
+ * Format: uuid
318
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
319
+ */
320
+ id?: string;
321
+ /** @description Unique name of the role. */
322
+ role_name: string;
323
+ /** @description Human-readable description of the role. */
324
+ description: string;
325
+ /**
326
+ * Format: date-time
327
+ * @description Timestamp when the resource was created.
328
+ */
329
+ created_at?: string;
330
+ /**
331
+ * Format: date-time
332
+ * @description Timestamp when the resource was updated.
333
+ */
334
+ updated_at?: string;
335
+ /** @description Timestamp when the role was soft-deleted. */
336
+ deleted_at?: string;
337
+ }[];
338
+ };
339
+ };
340
+ };
341
+ /** Expired JWT token used or insufficient privilege */
342
+ 401: {
343
+ content: {
344
+ "text/plain": string;
345
+ };
346
+ };
347
+ /** Internal server error */
348
+ 500: {
349
+ content: {
350
+ "text/plain": string;
351
+ };
352
+ };
353
+ };
354
+ };
355
+ /** Updates role assignments for multiple users in the organization. */
356
+ bulkEditRoleHolder: {
357
+ parameters: {
358
+ path: {
359
+ /** Organization ID */
360
+ orgID: string;
361
+ };
362
+ };
363
+ responses: {
364
+ /** Role holders updated successfully */
365
+ 200: unknown;
366
+ /** Invalid request body or request param */
367
+ 400: {
368
+ content: {
369
+ "text/plain": string;
370
+ };
371
+ };
372
+ /** Expired JWT token used or insufficient privilege */
373
+ 401: {
374
+ content: {
375
+ "text/plain": string;
376
+ };
377
+ };
378
+ /** Internal server error */
379
+ 500: {
380
+ content: {
381
+ "text/plain": string;
382
+ };
383
+ };
384
+ };
385
+ requestBody: {
386
+ content: {
387
+ "application/json": {
388
+ /**
389
+ * Format: uuid
390
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
391
+ */
392
+ id?: string;
393
+ /**
394
+ * Format: uuid
395
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
396
+ */
397
+ user_id?: string;
398
+ username?: string;
399
+ /** Format: email */
400
+ email?: string;
401
+ first_name?: string;
402
+ last_name?: string;
403
+ status?: string;
404
+ role_names?: string[];
405
+ /** Format: date-time */
406
+ created_at?: string;
407
+ /** Format: date-time */
408
+ updated_at?: string;
409
+ /** @description SQL null Timestamp to handle null values of time. */
410
+ deleted_at?: string;
411
+ }[];
412
+ };
413
+ };
414
+ };
415
+ /** Creates or updates roles for the specified organization. */
416
+ upsertRoles: {
417
+ parameters: {
418
+ path: {
419
+ /** Organization ID */
420
+ orgID: string;
421
+ };
422
+ };
423
+ responses: {
424
+ /** Roles upserted successfully */
425
+ 200: {
426
+ content: {
427
+ "application/json": {
428
+ /** @description Current page number (zero-based). */
429
+ page: number;
430
+ /** @description Number of roles per page. */
431
+ page_size: number;
432
+ /** @description Total number of roles across all pages. */
433
+ total_count: number;
434
+ roles: {
435
+ /**
436
+ * Format: uuid
437
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
438
+ */
439
+ id?: string;
440
+ /** @description Unique name of the role. */
441
+ role_name: string;
442
+ /** @description Human-readable description of the role. */
443
+ description: string;
444
+ /**
445
+ * Format: date-time
446
+ * @description Timestamp when the resource was created.
447
+ */
448
+ created_at?: string;
449
+ /**
450
+ * Format: date-time
451
+ * @description Timestamp when the resource was updated.
452
+ */
453
+ updated_at?: string;
454
+ /** @description Timestamp when the role was soft-deleted. */
455
+ deleted_at?: string;
456
+ }[];
457
+ };
458
+ };
459
+ };
460
+ /** Invalid request body or request param */
461
+ 400: {
462
+ content: {
463
+ "text/plain": string;
464
+ };
465
+ };
466
+ /** Expired JWT token used or insufficient privilege */
467
+ 401: {
468
+ content: {
469
+ "text/plain": string;
470
+ };
471
+ };
472
+ /** Internal server error */
473
+ 500: {
474
+ content: {
475
+ "text/plain": string;
476
+ };
477
+ };
478
+ };
479
+ requestBody: {
480
+ content: {
481
+ "application/json": {
482
+ /**
483
+ * Format: uuid
484
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
485
+ */
486
+ id?: string;
487
+ /** @description Unique name of the role. */
488
+ role_name: string;
489
+ /** @description Human-readable description of the role. */
490
+ description: string;
491
+ /**
492
+ * Format: date-time
493
+ * @description Timestamp when the resource was created.
494
+ */
495
+ created_at?: string;
496
+ /**
497
+ * Format: date-time
498
+ * @description Timestamp when the resource was updated.
499
+ */
500
+ updated_at?: string;
501
+ /** @description Timestamp when the role was soft-deleted. */
502
+ deleted_at?: string;
503
+ }[];
504
+ };
505
+ };
506
+ };
507
+ /** Returns all keychains assigned to the specified role. */
508
+ getRoleKeychains: {
509
+ parameters: {
510
+ path: {
511
+ /** Organization ID */
512
+ orgID: string;
513
+ /** Role ID */
514
+ roleID: string;
515
+ };
516
+ };
517
+ responses: {
518
+ /** Keychains fetched successfully */
519
+ 200: unknown;
520
+ /** Expired JWT token used or insufficient privilege */
521
+ 401: {
522
+ content: {
523
+ "text/plain": string;
524
+ };
525
+ };
526
+ /** Internal server error */
527
+ 500: {
528
+ content: {
529
+ "text/plain": string;
530
+ };
531
+ };
532
+ };
533
+ };
534
+ /** Associates a keychain with the specified role. */
535
+ assignKeychainToRole: {
536
+ parameters: {
537
+ path: {
538
+ /** Organization ID */
539
+ orgID: string;
540
+ /** Role ID */
541
+ roleID: string;
542
+ /** Keychain ID */
543
+ keychainID: string;
544
+ };
545
+ };
546
+ responses: {
547
+ /** Keychain assigned to role successfully */
548
+ 200: unknown;
549
+ /** Invalid request body or request param */
550
+ 400: {
551
+ content: {
552
+ "text/plain": string;
553
+ };
554
+ };
555
+ /** Expired JWT token used or insufficient privilege */
556
+ 401: {
557
+ content: {
558
+ "text/plain": string;
559
+ };
560
+ };
561
+ /** Internal server error */
562
+ 500: {
563
+ content: {
564
+ "text/plain": string;
565
+ };
566
+ };
567
+ };
568
+ };
569
+ /** Removes the association between a keychain and a role. */
570
+ unassignKeychainFromRole: {
571
+ parameters: {
572
+ path: {
573
+ /** Organization ID */
574
+ orgID: string;
575
+ /** Role ID */
576
+ roleID: string;
577
+ /** Keychain ID */
578
+ keychainID: string;
579
+ };
580
+ };
581
+ responses: {
582
+ /** Keychain unassigned from role successfully */
583
+ 204: never;
584
+ /** Invalid request body or request param */
585
+ 400: {
586
+ content: {
587
+ "text/plain": string;
588
+ };
589
+ };
590
+ /** Expired JWT token used or insufficient privilege */
591
+ 401: {
592
+ content: {
593
+ "text/plain": string;
594
+ };
595
+ };
596
+ /** Result not found */
597
+ 404: {
598
+ content: {
599
+ "text/plain": string;
600
+ };
601
+ };
602
+ /** Internal server error */
603
+ 500: {
604
+ content: {
605
+ "text/plain": string;
606
+ };
607
+ };
608
+ };
609
+ };
610
+ }
611
+ interface external {
612
+ }
613
+
614
+ export type { components, external, operations, paths };