@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,752 @@
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/{roleId}": {
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
+ roleName: string;
46
+ /** @description Human-readable description of the role. */
47
+ description: string;
48
+ /**
49
+ * Format: date-time
50
+ * @description Timestamp when the role was created.
51
+ */
52
+ createdAt?: string;
53
+ /**
54
+ * Format: date-time
55
+ * @description Timestamp when the role was last updated.
56
+ */
57
+ updatedAt?: string;
58
+ /**
59
+ * Format: date-time
60
+ * @description Timestamp when the role was soft-deleted, if applicable.
61
+ */
62
+ deletedAt?: string;
63
+ };
64
+ /** @description Payload for upserting a role. Includes only client-settable fields. */
65
+ RolePayload: {
66
+ /**
67
+ * Format: uuid
68
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
69
+ */
70
+ id?: string;
71
+ /** @description Unique name of the role. */
72
+ roleName: string;
73
+ /** @description Human-readable description of the role. */
74
+ description: string;
75
+ };
76
+ /** @description A paginated list of roles. */
77
+ RolesPage: {
78
+ /** @description Current page number (zero-based). */
79
+ page: number;
80
+ /** @description Number of roles per page. */
81
+ pageSize: number;
82
+ /** @description Total number of roles across all pages. */
83
+ totalCount: number;
84
+ /** @description The roles of the rolespage. */
85
+ roles: {
86
+ /**
87
+ * Format: uuid
88
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
89
+ */
90
+ id?: string;
91
+ /** @description Unique name of the role. */
92
+ roleName: string;
93
+ /** @description Human-readable description of the role. */
94
+ description: string;
95
+ /**
96
+ * Format: date-time
97
+ * @description Timestamp when the role was created.
98
+ */
99
+ createdAt?: string;
100
+ /**
101
+ * Format: date-time
102
+ * @description Timestamp when the role was last updated.
103
+ */
104
+ updatedAt?: string;
105
+ /**
106
+ * Format: date-time
107
+ * @description Timestamp when the role was soft-deleted, if applicable.
108
+ */
109
+ deletedAt?: string;
110
+ }[];
111
+ };
112
+ /** @description Mapping between a role and a keychain. */
113
+ RolesKeychainsMapping: {
114
+ /**
115
+ * Format: uuid
116
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
117
+ */
118
+ id: string;
119
+ /**
120
+ * Format: uuid
121
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
122
+ */
123
+ keychainId: string;
124
+ /**
125
+ * Format: uuid
126
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
127
+ */
128
+ roleId: string;
129
+ /**
130
+ * Format: date-time
131
+ * @description Timestamp when the mapping was created.
132
+ */
133
+ createdAt: string;
134
+ /**
135
+ * Format: date-time
136
+ * @description Timestamp when the mapping was last updated.
137
+ */
138
+ updatedAt: string;
139
+ /**
140
+ * Format: date-time
141
+ * @description Timestamp when the mapping was soft-deleted, if applicable.
142
+ */
143
+ deletedAt?: string;
144
+ };
145
+ /** @description Request body for assigning a role to a user. */
146
+ RoleHolderRequest: {
147
+ /**
148
+ * Format: email
149
+ * @description Email of the user to assign roles to.
150
+ */
151
+ email: string;
152
+ /** @description List of role names to assign. */
153
+ roleNames: string[];
154
+ };
155
+ /** @description Request to update role assignments for a user. */
156
+ UserRoleUpdateRequest: {
157
+ /**
158
+ * Format: uuid
159
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
160
+ */
161
+ id?: string;
162
+ /**
163
+ * Format: uuid
164
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
165
+ */
166
+ userId?: string;
167
+ /** @description The username of the user. */
168
+ username?: string;
169
+ /**
170
+ * Format: email
171
+ * @description Email address of the user.
172
+ */
173
+ email?: string;
174
+ /** @description First name of the user. */
175
+ firstName?: string;
176
+ /** @description Last name of the user. */
177
+ lastName?: string;
178
+ /** @description Current status of the user. */
179
+ status?: string;
180
+ /** @description Role names currently or newly assigned to the user. */
181
+ roleNames?: string[];
182
+ /**
183
+ * Format: date-time
184
+ * @description Timestamp when the user was created.
185
+ */
186
+ createdAt?: string;
187
+ /**
188
+ * Format: date-time
189
+ * @description Timestamp when the user was last updated.
190
+ */
191
+ updatedAt?: string;
192
+ /**
193
+ * Format: date-time
194
+ * @description Timestamp when the user was soft-deleted, if applicable.
195
+ */
196
+ deletedAt?: string;
197
+ };
198
+ /** @description User notification preferences. */
199
+ Preference: {
200
+ /** @description Whether to send a welcome email to new users. */
201
+ welcomeEmail: boolean;
202
+ /** @description Whether to notify the user of role changes. */
203
+ notifyRoleChange: boolean;
204
+ };
205
+ };
206
+ responses: {
207
+ /** Invalid request body or request param */
208
+ 400: {
209
+ content: {
210
+ "text/plain": string;
211
+ };
212
+ };
213
+ /** Expired JWT token used or insufficient privilege */
214
+ 401: {
215
+ content: {
216
+ "text/plain": string;
217
+ };
218
+ };
219
+ /** Result not found */
220
+ 404: {
221
+ content: {
222
+ "text/plain": string;
223
+ };
224
+ };
225
+ /** Internal server error */
226
+ 500: {
227
+ content: {
228
+ "text/plain": string;
229
+ };
230
+ };
231
+ };
232
+ parameters: {
233
+ /** @description Organization ID */
234
+ orgId: string;
235
+ /** @description Role ID */
236
+ roleId: string;
237
+ /** @description Keychain ID */
238
+ keychainId: string;
239
+ /** @description Get responses by page */
240
+ page: string;
241
+ /** @description Get responses by page size */
242
+ pageSize: string;
243
+ /** @description Get responses that match search param value */
244
+ search: string;
245
+ /** @description Get ordered responses */
246
+ order: string;
247
+ /** @description Get all possible entries */
248
+ all: boolean;
249
+ /** @description Role grouping selector such as provider, organization, or team. */
250
+ selector: string;
251
+ /** @description Team ID used when selector is team. */
252
+ teamIdQuery: string;
253
+ };
254
+ }
255
+
256
+ export interface operations {
257
+ /** Assigns a role to a user identified by email. */
258
+ addRoleHolder: {
259
+ responses: {
260
+ /** Role holder added */
261
+ 201: unknown;
262
+ /** Invalid request body or request param */
263
+ 400: {
264
+ content: {
265
+ "text/plain": string;
266
+ };
267
+ };
268
+ /** Expired JWT token used or insufficient privilege */
269
+ 401: {
270
+ content: {
271
+ "text/plain": string;
272
+ };
273
+ };
274
+ /** Internal server error */
275
+ 500: {
276
+ content: {
277
+ "text/plain": string;
278
+ };
279
+ };
280
+ };
281
+ requestBody: {
282
+ content: {
283
+ "application/json": {
284
+ /**
285
+ * Format: email
286
+ * @description Email of the user to assign roles to.
287
+ */
288
+ email: string;
289
+ /** @description List of role names to assign. */
290
+ roleNames: string[];
291
+ };
292
+ };
293
+ };
294
+ };
295
+ /** Removes a role assignment by ID. */
296
+ deleteRole: {
297
+ parameters: {
298
+ path: {
299
+ /** Role ID */
300
+ roleId: string;
301
+ };
302
+ };
303
+ responses: {
304
+ /** Role deleted */
305
+ 204: never;
306
+ /** Invalid request body or request param */
307
+ 400: {
308
+ content: {
309
+ "text/plain": string;
310
+ };
311
+ };
312
+ /** Expired JWT token used or insufficient privilege */
313
+ 401: {
314
+ content: {
315
+ "text/plain": string;
316
+ };
317
+ };
318
+ /** Result not found */
319
+ 404: {
320
+ content: {
321
+ "text/plain": string;
322
+ };
323
+ };
324
+ /** Internal server error */
325
+ 500: {
326
+ content: {
327
+ "text/plain": string;
328
+ };
329
+ };
330
+ };
331
+ };
332
+ /** Returns all roles defined for the specified organization. */
333
+ getAllRoles: {
334
+ parameters: {
335
+ path: {
336
+ /** Organization ID */
337
+ orgId: string;
338
+ };
339
+ query: {
340
+ /** Get responses by page */
341
+ page?: string;
342
+ /** Get responses by page size */
343
+ pageSize?: string;
344
+ /** Get responses that match search param value */
345
+ search?: string;
346
+ /** Get ordered responses */
347
+ order?: string;
348
+ /** Get all possible entries */
349
+ all?: boolean;
350
+ /** Role grouping selector such as provider, organization, or team. */
351
+ selector?: string;
352
+ /** Team ID used when selector is team. */
353
+ teamId?: string;
354
+ };
355
+ };
356
+ responses: {
357
+ /** Roles response */
358
+ 200: {
359
+ content: {
360
+ "application/json": {
361
+ /** @description Current page number (zero-based). */
362
+ page: number;
363
+ /** @description Number of roles per page. */
364
+ pageSize: number;
365
+ /** @description Total number of roles across all pages. */
366
+ totalCount: number;
367
+ /** @description The roles of the rolespage. */
368
+ roles: {
369
+ /**
370
+ * Format: uuid
371
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
372
+ */
373
+ id?: string;
374
+ /** @description Unique name of the role. */
375
+ roleName: string;
376
+ /** @description Human-readable description of the role. */
377
+ description: string;
378
+ /**
379
+ * Format: date-time
380
+ * @description Timestamp when the role was created.
381
+ */
382
+ createdAt?: string;
383
+ /**
384
+ * Format: date-time
385
+ * @description Timestamp when the role was last updated.
386
+ */
387
+ updatedAt?: string;
388
+ /**
389
+ * Format: date-time
390
+ * @description Timestamp when the role was soft-deleted, if applicable.
391
+ */
392
+ deletedAt?: string;
393
+ }[];
394
+ };
395
+ };
396
+ };
397
+ /** Expired JWT token used or insufficient privilege */
398
+ 401: {
399
+ content: {
400
+ "text/plain": string;
401
+ };
402
+ };
403
+ /** Result not found */
404
+ 404: {
405
+ content: {
406
+ "text/plain": string;
407
+ };
408
+ };
409
+ /** Internal server error */
410
+ 500: {
411
+ content: {
412
+ "text/plain": string;
413
+ };
414
+ };
415
+ };
416
+ };
417
+ /** Updates role assignments for multiple users in the organization. */
418
+ bulkEditRoleHolder: {
419
+ parameters: {
420
+ path: {
421
+ /** Organization ID */
422
+ orgId: string;
423
+ };
424
+ };
425
+ responses: {
426
+ /** Role holders updated */
427
+ 200: unknown;
428
+ /** Invalid request body or request param */
429
+ 400: {
430
+ content: {
431
+ "text/plain": string;
432
+ };
433
+ };
434
+ /** Expired JWT token used or insufficient privilege */
435
+ 401: {
436
+ content: {
437
+ "text/plain": string;
438
+ };
439
+ };
440
+ /** Result not found */
441
+ 404: {
442
+ content: {
443
+ "text/plain": string;
444
+ };
445
+ };
446
+ /** Internal server error */
447
+ 500: {
448
+ content: {
449
+ "text/plain": string;
450
+ };
451
+ };
452
+ };
453
+ requestBody: {
454
+ content: {
455
+ "application/json": {
456
+ /**
457
+ * Format: uuid
458
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
459
+ */
460
+ id?: string;
461
+ /**
462
+ * Format: uuid
463
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
464
+ */
465
+ userId?: string;
466
+ /** @description The username of the user. */
467
+ username?: string;
468
+ /**
469
+ * Format: email
470
+ * @description Email address of the user.
471
+ */
472
+ email?: string;
473
+ /** @description First name of the user. */
474
+ firstName?: string;
475
+ /** @description Last name of the user. */
476
+ lastName?: string;
477
+ /** @description Current status of the user. */
478
+ status?: string;
479
+ /** @description Role names currently or newly assigned to the user. */
480
+ roleNames?: string[];
481
+ /**
482
+ * Format: date-time
483
+ * @description Timestamp when the user was created.
484
+ */
485
+ createdAt?: string;
486
+ /**
487
+ * Format: date-time
488
+ * @description Timestamp when the user was last updated.
489
+ */
490
+ updatedAt?: string;
491
+ /**
492
+ * Format: date-time
493
+ * @description Timestamp when the user was soft-deleted, if applicable.
494
+ */
495
+ deletedAt?: string;
496
+ }[];
497
+ };
498
+ };
499
+ };
500
+ /** Creates or updates a role for the specified organization. */
501
+ upsertRole: {
502
+ parameters: {
503
+ path: {
504
+ /** Organization ID */
505
+ orgId: string;
506
+ };
507
+ };
508
+ responses: {
509
+ /** Role upserted */
510
+ 200: {
511
+ content: {
512
+ "application/json": {
513
+ /**
514
+ * Format: uuid
515
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
516
+ */
517
+ id?: string;
518
+ /** @description Unique name of the role. */
519
+ roleName: string;
520
+ /** @description Human-readable description of the role. */
521
+ description: string;
522
+ /**
523
+ * Format: date-time
524
+ * @description Timestamp when the role was created.
525
+ */
526
+ createdAt?: string;
527
+ /**
528
+ * Format: date-time
529
+ * @description Timestamp when the role was last updated.
530
+ */
531
+ updatedAt?: string;
532
+ /**
533
+ * Format: date-time
534
+ * @description Timestamp when the role was soft-deleted, if applicable.
535
+ */
536
+ deletedAt?: string;
537
+ };
538
+ };
539
+ };
540
+ /** Invalid request body or request param */
541
+ 400: {
542
+ content: {
543
+ "text/plain": string;
544
+ };
545
+ };
546
+ /** Expired JWT token used or insufficient privilege */
547
+ 401: {
548
+ content: {
549
+ "text/plain": string;
550
+ };
551
+ };
552
+ /** Result not found */
553
+ 404: {
554
+ content: {
555
+ "text/plain": string;
556
+ };
557
+ };
558
+ /** Internal server error */
559
+ 500: {
560
+ content: {
561
+ "text/plain": string;
562
+ };
563
+ };
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
+ /** @description Unique name of the role. */
574
+ roleName: string;
575
+ /** @description Human-readable description of the role. */
576
+ description: string;
577
+ };
578
+ };
579
+ };
580
+ };
581
+ /** Returns all keychains assigned to the specified role. */
582
+ getRoleKeychains: {
583
+ parameters: {
584
+ path: {
585
+ /** Organization ID */
586
+ orgId: string;
587
+ /** Role ID */
588
+ roleId: string;
589
+ };
590
+ query: {
591
+ /** Get responses by page */
592
+ page?: string;
593
+ /** Get responses by page size */
594
+ pageSize?: string;
595
+ /** Get responses that match search param value */
596
+ search?: string;
597
+ /** Get ordered responses */
598
+ order?: string;
599
+ };
600
+ };
601
+ responses: {
602
+ /** Keychains response */
603
+ 200: {
604
+ content: {
605
+ "application/json": {
606
+ page: number;
607
+ page_size: number;
608
+ total_count: number;
609
+ /** @description The keychains of the keychainpage. */
610
+ keychains: {
611
+ /**
612
+ * Format: uuid
613
+ * @description Unique identifier for the keychain.
614
+ */
615
+ id: string;
616
+ /** @description Name of the keychain. */
617
+ name: string;
618
+ /**
619
+ * Format: uuid
620
+ * @description Owner of the keychain.
621
+ */
622
+ owner: string;
623
+ /**
624
+ * Format: date-time
625
+ * @description Timestamp when the resource was created.
626
+ */
627
+ created_at: string;
628
+ /**
629
+ * Format: date-time
630
+ * @description Timestamp when the resource was updated.
631
+ */
632
+ updated_at: string;
633
+ /**
634
+ * Format: date-time
635
+ * @description SQL null Timestamp to handle null values of time.
636
+ */
637
+ deleted_at?: string;
638
+ }[];
639
+ };
640
+ };
641
+ };
642
+ /** Invalid request body or request param */
643
+ 400: {
644
+ content: {
645
+ "text/plain": string;
646
+ };
647
+ };
648
+ /** Expired JWT token used or insufficient privilege */
649
+ 401: {
650
+ content: {
651
+ "text/plain": string;
652
+ };
653
+ };
654
+ /** Result not found */
655
+ 404: {
656
+ content: {
657
+ "text/plain": string;
658
+ };
659
+ };
660
+ /** Internal server error */
661
+ 500: {
662
+ content: {
663
+ "text/plain": string;
664
+ };
665
+ };
666
+ };
667
+ };
668
+ /** Associates a keychain with the specified role. */
669
+ assignKeychainToRole: {
670
+ parameters: {
671
+ path: {
672
+ /** Organization ID */
673
+ orgId: string;
674
+ /** Role ID */
675
+ roleId: string;
676
+ /** Keychain ID */
677
+ keychainId: string;
678
+ };
679
+ };
680
+ responses: {
681
+ /** Keychain assigned to role */
682
+ 200: unknown;
683
+ /** Invalid request body or request param */
684
+ 400: {
685
+ content: {
686
+ "text/plain": string;
687
+ };
688
+ };
689
+ /** Expired JWT token used or insufficient privilege */
690
+ 401: {
691
+ content: {
692
+ "text/plain": string;
693
+ };
694
+ };
695
+ /** Result not found */
696
+ 404: {
697
+ content: {
698
+ "text/plain": string;
699
+ };
700
+ };
701
+ /** Internal server error */
702
+ 500: {
703
+ content: {
704
+ "text/plain": string;
705
+ };
706
+ };
707
+ };
708
+ };
709
+ /** Removes the association between a keychain and a role. */
710
+ unassignKeychainFromRole: {
711
+ parameters: {
712
+ path: {
713
+ /** Organization ID */
714
+ orgId: string;
715
+ /** Role ID */
716
+ roleId: string;
717
+ /** Keychain ID */
718
+ keychainId: string;
719
+ };
720
+ };
721
+ responses: {
722
+ /** Keychain unassigned from role */
723
+ 204: never;
724
+ /** Invalid request body or request param */
725
+ 400: {
726
+ content: {
727
+ "text/plain": string;
728
+ };
729
+ };
730
+ /** Expired JWT token used or insufficient privilege */
731
+ 401: {
732
+ content: {
733
+ "text/plain": string;
734
+ };
735
+ };
736
+ /** Result not found */
737
+ 404: {
738
+ content: {
739
+ "text/plain": string;
740
+ };
741
+ };
742
+ /** Internal server error */
743
+ 500: {
744
+ content: {
745
+ "text/plain": string;
746
+ };
747
+ };
748
+ };
749
+ };
750
+ }
751
+
752
+ export interface external {}