@meshery/schemas 1.2.14 → 1.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/dist/cloudApi.d.mts +1516 -1516
  2. package/dist/cloudApi.d.ts +1516 -1516
  3. package/dist/constructs/v1alpha1/capability/Capability.d.ts +114 -0
  4. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +2 -0
  5. package/dist/constructs/v1alpha1/core/Core.d.ts +832 -0
  6. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +2 -0
  7. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +53 -0
  8. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +2 -0
  9. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1937 -0
  10. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +2 -0
  11. package/dist/constructs/v1beta1/academy/Academy.d.ts +6417 -0
  12. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +2 -0
  13. package/dist/constructs/v1beta1/badge/Badge.d.ts +546 -0
  14. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +2 -0
  15. package/dist/constructs/v1beta1/capability/Capability.d.ts +114 -0
  16. package/dist/constructs/v1beta1/capability/CapabilitySchema.d.ts +2 -0
  17. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +53 -0
  18. package/dist/constructs/v1beta1/catalog/CatalogSchema.d.ts +2 -0
  19. package/dist/constructs/v1beta1/category/Category.d.ts +46 -0
  20. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +2 -0
  21. package/dist/constructs/v1beta1/component/Component.d.ts +869 -0
  22. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +2 -0
  23. package/dist/constructs/v1beta1/connection/Connection.d.ts +1300 -0
  24. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +2 -0
  25. package/dist/constructs/v1beta1/core/Core.d.ts +832 -0
  26. package/dist/constructs/v1beta1/core/CoreSchema.d.ts +2 -0
  27. package/dist/constructs/v1beta1/credential/Credential.d.ts +530 -0
  28. package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +2 -0
  29. package/dist/constructs/v1beta1/environment/Environment.d.ts +759 -0
  30. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +2 -0
  31. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6338 -0
  32. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +2 -0
  33. package/dist/constructs/v1beta1/event/Event.d.ts +570 -0
  34. package/dist/constructs/v1beta1/event/EventSchema.d.ts +2 -0
  35. package/dist/constructs/v1beta1/feature/Feature.d.ts +308 -0
  36. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +2 -0
  37. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +983 -0
  38. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +2 -0
  39. package/dist/constructs/v1beta1/key/Key.d.ts +514 -0
  40. package/dist/constructs/v1beta1/key/KeySchema.d.ts +2 -0
  41. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +642 -0
  42. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +2 -0
  43. package/dist/constructs/v1beta1/model/Model.d.ts +659 -0
  44. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +2 -0
  45. package/dist/constructs/v1beta1/organization/Organization.d.ts +1598 -0
  46. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +2 -0
  47. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +18407 -0
  48. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +2 -0
  49. package/dist/constructs/v1beta1/plan/Plan.d.ts +149 -0
  50. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +2 -0
  51. package/dist/constructs/v1beta1/relationship/Relationship.d.ts +1921 -0
  52. package/dist/constructs/v1beta1/relationship/RelationshipSchema.d.ts +2 -0
  53. package/dist/constructs/v1beta1/role/Role.d.ts +745 -0
  54. package/dist/constructs/v1beta1/role/RoleSchema.d.ts +2 -0
  55. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +374 -0
  56. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +2 -0
  57. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +68 -0
  58. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +2 -0
  59. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +752 -0
  60. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +2 -0
  61. package/dist/constructs/v1beta1/support/Support.d.ts +91 -0
  62. package/dist/constructs/v1beta1/support/SupportSchema.d.ts +2 -0
  63. package/dist/constructs/v1beta1/team/Team.d.ts +846 -0
  64. package/dist/constructs/v1beta1/team/TeamSchema.d.ts +2 -0
  65. package/dist/constructs/v1beta1/token/Token.d.ts +539 -0
  66. package/dist/constructs/v1beta1/token/TokenSchema.d.ts +2 -0
  67. package/dist/constructs/v1beta1/user/User.d.ts +1677 -0
  68. package/dist/constructs/v1beta1/user/UserSchema.d.ts +2 -0
  69. package/dist/constructs/v1beta1/view/View.d.ts +759 -0
  70. package/dist/constructs/v1beta1/view/ViewSchema.d.ts +2 -0
  71. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4947 -0
  72. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +2 -0
  73. package/dist/constructs/v1beta2/academy/Academy.d.ts +7762 -0
  74. package/dist/constructs/v1beta2/academy/AcademySchema.d.ts +2 -0
  75. package/dist/constructs/v1beta2/badge/Badge.d.ts +563 -0
  76. package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +2 -0
  77. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +53 -0
  78. package/dist/constructs/v1beta2/catalog/CatalogSchema.d.ts +2 -0
  79. package/dist/constructs/v1beta2/component/Component.d.ts +887 -0
  80. package/dist/constructs/v1beta2/component/ComponentSchema.d.ts +2 -0
  81. package/dist/constructs/v1beta2/connection/Connection.d.ts +1330 -0
  82. package/dist/constructs/v1beta2/connection/ConnectionSchema.d.ts +2 -0
  83. package/dist/constructs/v1beta2/core/Core.d.ts +866 -0
  84. package/dist/constructs/v1beta2/core/CoreSchema.d.ts +2 -0
  85. package/dist/constructs/v1beta2/credential/Credential.d.ts +519 -0
  86. package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +2 -0
  87. package/dist/constructs/v1beta2/design/Design.d.ts +19039 -0
  88. package/dist/constructs/v1beta2/design/DesignSchema.d.ts +2 -0
  89. package/dist/constructs/v1beta2/event/Event.d.ts +626 -0
  90. package/dist/constructs/v1beta2/event/EventSchema.d.ts +2 -0
  91. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1052 -0
  92. package/dist/constructs/v1beta2/invitation/InvitationSchema.d.ts +2 -0
  93. package/dist/constructs/v1beta2/key/Key.d.ts +524 -0
  94. package/dist/constructs/v1beta2/key/KeySchema.d.ts +2 -0
  95. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +652 -0
  96. package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +2 -0
  97. package/dist/constructs/v1beta2/model/Model.d.ts +697 -0
  98. package/dist/constructs/v1beta2/model/ModelSchema.d.ts +2 -0
  99. package/dist/constructs/v1beta2/organization/Organization.d.ts +1915 -0
  100. package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +2 -0
  101. package/dist/constructs/v1beta2/plan/Plan.d.ts +162 -0
  102. package/dist/constructs/v1beta2/plan/PlanSchema.d.ts +2 -0
  103. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2134 -0
  104. package/dist/constructs/v1beta2/relationship/RelationshipSchema.d.ts +2 -0
  105. package/dist/constructs/v1beta2/role/Role.d.ts +752 -0
  106. package/dist/constructs/v1beta2/role/RoleSchema.d.ts +2 -0
  107. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +431 -0
  108. package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +2 -0
  109. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +785 -0
  110. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.d.ts +2 -0
  111. package/dist/constructs/v1beta2/team/Team.d.ts +960 -0
  112. package/dist/constructs/v1beta2/team/TeamSchema.d.ts +2 -0
  113. package/dist/constructs/v1beta2/token/Token.d.ts +544 -0
  114. package/dist/constructs/v1beta2/token/TokenSchema.d.ts +2 -0
  115. package/dist/constructs/v1beta2/user/User.d.ts +1677 -0
  116. package/dist/constructs/v1beta2/user/UserSchema.d.ts +2 -0
  117. package/dist/constructs/v1beta2/view/View.d.ts +767 -0
  118. package/dist/constructs/v1beta2/view/ViewSchema.d.ts +2 -0
  119. package/dist/constructs/v1beta3/academy/Academy.d.ts +7762 -0
  120. package/dist/constructs/v1beta3/academy/AcademySchema.d.ts +2 -0
  121. package/dist/constructs/v1beta3/component/Component.d.ts +892 -0
  122. package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +2 -0
  123. package/dist/constructs/v1beta3/connection/Connection.d.ts +1414 -0
  124. package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +2 -0
  125. package/dist/constructs/v1beta3/design/Design.d.ts +5704 -0
  126. package/dist/constructs/v1beta3/design/DesignSchema.d.ts +2 -0
  127. package/dist/constructs/v1beta3/environment/Environment.d.ts +785 -0
  128. package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +2 -0
  129. package/dist/constructs/v1beta3/event/Event.d.ts +720 -0
  130. package/dist/constructs/v1beta3/event/EventSchema.d.ts +2 -0
  131. package/dist/constructs/v1beta3/filter/Filter.d.ts +1452 -0
  132. package/dist/constructs/v1beta3/filter/FilterSchema.d.ts +2 -0
  133. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1060 -0
  134. package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +2 -0
  135. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +813 -0
  136. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.d.ts +2 -0
  137. package/dist/constructs/v1beta3/plan/Plan.d.ts +199 -0
  138. package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +2 -0
  139. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2134 -0
  140. package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +2 -0
  141. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +915 -0
  142. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +2 -0
  143. package/dist/constructs/v1beta3/token/Token.d.ts +544 -0
  144. package/dist/constructs/v1beta3/token/TokenSchema.d.ts +2 -0
  145. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5086 -0
  146. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +2 -0
  147. package/dist/index.js +1 -1
  148. package/dist/index.mjs +1 -1
  149. package/dist/mesheryApi.d.mts +546 -546
  150. package/dist/mesheryApi.d.ts +546 -546
  151. package/package.json +2 -2
@@ -0,0 +1,745 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {
7
+ "/api/identity/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;
63
+ };
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: {
74
+ /**
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.
77
+ */
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;
83
+ /**
84
+ * Format: date-time
85
+ * @description Timestamp when the resource was created.
86
+ */
87
+ created_at?: string;
88
+ /**
89
+ * Format: date-time
90
+ * @description Timestamp when the resource was updated.
91
+ */
92
+ updated_at?: string;
93
+ /**
94
+ * Format: date-time
95
+ * @description Timestamp when the role was soft-deleted.
96
+ */
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[];
142
+ };
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
+ };
206
+ };
207
+ /** Internal server error */
208
+ 500: {
209
+ content: {
210
+ "text/plain": string;
211
+ };
212
+ };
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
+ }
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": {
491
+ /**
492
+ * Format: uuid
493
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
494
+ */
495
+ id?: string;
496
+ /** @description Unique name of the role. */
497
+ role_name: string;
498
+ /** @description Human-readable description of the role. */
499
+ description: string;
500
+ /**
501
+ * Format: date-time
502
+ * @description Timestamp when the resource was created.
503
+ */
504
+ created_at?: string;
505
+ /**
506
+ * Format: date-time
507
+ * @description Timestamp when the resource was updated.
508
+ */
509
+ updated_at?: string;
510
+ /**
511
+ * Format: date-time
512
+ * @description Timestamp when the role was soft-deleted.
513
+ */
514
+ 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": {
599
+ page: number;
600
+ page_size: number;
601
+ 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;
631
+ }[];
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
+ };
672
+ };
673
+ 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
+ };
700
+ };
701
+ };
702
+ /** Removes the association between a keychain and a role. */
703
+ unassignKeychainFromRole: {
704
+ parameters: {
705
+ path: {
706
+ /** Organization ID */
707
+ orgId: string;
708
+ /** Role ID */
709
+ roleId: string;
710
+ /** Keychain ID */
711
+ keychainId: string;
712
+ };
713
+ };
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
+ };
741
+ };
742
+ };
743
+ }
744
+
745
+ export interface external {}