@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,846 @@
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/orgs/{orgId}/teams": {
8
+ /** Gets all teams within an organization */
9
+ get: operations["getTeams"];
10
+ /** Creates a new team within an organization */
11
+ post: operations["createTeam"];
12
+ };
13
+ "/api/identity/orgs/{orgId}/teams/{teamId}": {
14
+ /** Gets a team by its ID */
15
+ get: operations["getTeamById"];
16
+ /** Updates a team's information */
17
+ put: operations["updateTeam"];
18
+ /** Deletes a team by its ID */
19
+ delete: operations["deleteTeam"];
20
+ };
21
+ "/api/identity/teams/{teamId}/users": {
22
+ /** Gets all users that belong to a team */
23
+ get: operations["getTeamUsers"];
24
+ };
25
+ "/api/identity/orgs/{orgId}/teams/{teamId}/users/{userId}": {
26
+ /** Assigns a user to a team */
27
+ post: operations["addUserToTeam"];
28
+ /** Unassigns a user from a team */
29
+ delete: operations["removeUserFromTeam"];
30
+ };
31
+ "/api/identity/orgs/{orgId}/teams/{teamId}/users": {
32
+ get: operations["listUsersNotInTeam"];
33
+ };
34
+ }
35
+
36
+ export interface components {
37
+ schemas: {
38
+ /** @description A Team is a group of one or more users. Teams are often used as a grouping mechanism for assigning permissions, whether in the context of an organization, a workspace, or some other domain within Meshery. Learn more at https://docs.meshery.io/concepts/logical/teams */
39
+ Team: {
40
+ /**
41
+ * Format: uuid
42
+ * @description Team ID
43
+ */
44
+ id: string;
45
+ /** @description Team name */
46
+ name: string;
47
+ /** @description Team description */
48
+ description?: string;
49
+ /**
50
+ * Format: uuid
51
+ * @description User ID of the owner of the team
52
+ */
53
+ owner?: string;
54
+ /** @description Additional metadata for the team */
55
+ metadata?: { [key: string]: unknown };
56
+ /** Format: date-time */
57
+ created_at?: string;
58
+ /** Format: date-time */
59
+ updated_at?: string;
60
+ /**
61
+ * Format: date-time
62
+ * @description SQL null Timestamp to handle null values of time.
63
+ */
64
+ deleted_at?: string;
65
+ };
66
+ /** @description Payload for creating a new team */
67
+ TeamPayload: {
68
+ /** @description Team name. Provide a meaningful name that represents this team. */
69
+ name: string;
70
+ /** @description A detailed description of the team's purpose and responsibilities. */
71
+ description?: string;
72
+ };
73
+ /** @description Payload for updating an existing team */
74
+ TeamUpdatePayload: {
75
+ /** @description Updated team name */
76
+ name?: string;
77
+ /** @description Updated team description */
78
+ description?: string;
79
+ };
80
+ /** @description Paginated list of teams */
81
+ TeamPage: {
82
+ page?: number;
83
+ page_size?: number;
84
+ total_count?: number;
85
+ /** @description The teams of the teampage. */
86
+ teams?: {
87
+ /**
88
+ * Format: uuid
89
+ * @description Team ID
90
+ */
91
+ id: string;
92
+ /** @description Team name */
93
+ name: string;
94
+ /** @description Team description */
95
+ description?: string;
96
+ /**
97
+ * Format: uuid
98
+ * @description User ID of the owner of the team
99
+ */
100
+ owner?: string;
101
+ /** @description Additional metadata for the team */
102
+ metadata?: { [key: string]: unknown };
103
+ /** Format: date-time */
104
+ created_at?: string;
105
+ /** Format: date-time */
106
+ updated_at?: string;
107
+ /**
108
+ * Format: date-time
109
+ * @description SQL null Timestamp to handle null values of time.
110
+ */
111
+ deleted_at?: string;
112
+ }[];
113
+ };
114
+ /** @description Mapping between teams and users */
115
+ TeamsUsersMapping: {
116
+ /** Format: uuid */
117
+ id?: string;
118
+ /** Format: uuid */
119
+ team_id?: string;
120
+ /** @description user's email or username */
121
+ user_id?: string;
122
+ /**
123
+ * Format: date-time
124
+ * @description Timestamp when the resource was created.
125
+ */
126
+ created_at?: string;
127
+ /**
128
+ * Format: date-time
129
+ * @description Timestamp when the resource was updated.
130
+ */
131
+ updated_at?: string;
132
+ /**
133
+ * Format: date-time
134
+ * @description SQL null Timestamp to handle null values of time.
135
+ */
136
+ deleted_at?: string;
137
+ };
138
+ /** @description Paginated list of team-user mappings */
139
+ TeamsUsersMappingPage: {
140
+ page?: number;
141
+ page_size?: number;
142
+ total_count?: number;
143
+ /** @description The teams users mapping of the teamsusersmappingpage. */
144
+ teamsUsersMapping?: {
145
+ /** Format: uuid */
146
+ id?: string;
147
+ /** Format: uuid */
148
+ team_id?: string;
149
+ /** @description user's email or username */
150
+ user_id?: string;
151
+ /**
152
+ * Format: date-time
153
+ * @description Timestamp when the resource was created.
154
+ */
155
+ created_at?: string;
156
+ /**
157
+ * Format: date-time
158
+ * @description Timestamp when the resource was updated.
159
+ */
160
+ updated_at?: string;
161
+ /**
162
+ * Format: date-time
163
+ * @description SQL null Timestamp to handle null values of time.
164
+ */
165
+ deleted_at?: string;
166
+ }[];
167
+ };
168
+ TeamMember: { [key: string]: unknown };
169
+ TeamMembersPage: {
170
+ /** @description Current page number of the result set. */
171
+ page?: number;
172
+ /** @description Number of items per page. */
173
+ page_size?: number;
174
+ /** @description Total number of items available. */
175
+ total_count?: number;
176
+ /** @description The data of the teammemberspage. */
177
+ data?: { [key: string]: unknown }[];
178
+ };
179
+ };
180
+ responses: {
181
+ /** ok */
182
+ 200: {
183
+ content: {
184
+ "text/plain": string;
185
+ };
186
+ };
187
+ /** Invalid request body or request param */
188
+ 400: {
189
+ content: {
190
+ "text/plain": string;
191
+ };
192
+ };
193
+ /** Expired JWT token used or insufficient privilege */
194
+ 401: {
195
+ content: {
196
+ "text/plain": string;
197
+ };
198
+ };
199
+ /** Result not found */
200
+ 404: {
201
+ content: {
202
+ "text/plain": string;
203
+ };
204
+ };
205
+ /** Internal server error */
206
+ 500: {
207
+ content: {
208
+ "text/plain": string;
209
+ };
210
+ };
211
+ };
212
+ parameters: {
213
+ /** @description Team ID */
214
+ teamId: string;
215
+ /** @description Organization ID */
216
+ orgId: string;
217
+ /** @description Get responses that match search param value */
218
+ search: string;
219
+ /** @description Get ordered responses */
220
+ order: string;
221
+ /** @description Get responses by page */
222
+ page: string;
223
+ /** @description Get responses by pagesize */
224
+ pagesize: string;
225
+ };
226
+ requestBodies: {
227
+ /** Body for creating a team */
228
+ teamPayload: {
229
+ content: {
230
+ "application/json": {
231
+ /** @description Team name. Provide a meaningful name that represents this team. */
232
+ name: string;
233
+ /** @description A detailed description of the team's purpose and responsibilities. */
234
+ description?: string;
235
+ };
236
+ };
237
+ };
238
+ /** Body for updating a team */
239
+ teamUpdatePayload: {
240
+ content: {
241
+ "application/json": {
242
+ /** @description Updated team name */
243
+ name?: string;
244
+ /** @description Updated team description */
245
+ description?: string;
246
+ };
247
+ };
248
+ };
249
+ };
250
+ }
251
+
252
+ export interface operations {
253
+ /** Gets all teams within an organization */
254
+ getTeams: {
255
+ parameters: {
256
+ path: {
257
+ /** Organization ID */
258
+ orgId: string;
259
+ };
260
+ query: {
261
+ /** Get responses that match search param value */
262
+ search?: string;
263
+ /** Get ordered responses */
264
+ order?: string;
265
+ /** Get responses by page */
266
+ page?: string;
267
+ /** Get responses by pagesize */
268
+ pagesize?: string;
269
+ };
270
+ };
271
+ responses: {
272
+ /** Teams */
273
+ 200: {
274
+ content: {
275
+ "application/json": {
276
+ page?: number;
277
+ page_size?: number;
278
+ total_count?: number;
279
+ /** @description The teams of the teampage. */
280
+ teams?: {
281
+ /**
282
+ * Format: uuid
283
+ * @description Team ID
284
+ */
285
+ id: string;
286
+ /** @description Team name */
287
+ name: string;
288
+ /** @description Team description */
289
+ description?: string;
290
+ /**
291
+ * Format: uuid
292
+ * @description User ID of the owner of the team
293
+ */
294
+ owner?: string;
295
+ /** @description Additional metadata for the team */
296
+ metadata?: { [key: string]: unknown };
297
+ /** Format: date-time */
298
+ created_at?: string;
299
+ /** Format: date-time */
300
+ updated_at?: string;
301
+ /**
302
+ * Format: date-time
303
+ * @description SQL null Timestamp to handle null values of time.
304
+ */
305
+ deleted_at?: string;
306
+ }[];
307
+ };
308
+ };
309
+ };
310
+ /** Expired JWT token used or insufficient privilege */
311
+ 401: {
312
+ content: {
313
+ "text/plain": string;
314
+ };
315
+ };
316
+ /** Result not found */
317
+ 404: {
318
+ content: {
319
+ "text/plain": string;
320
+ };
321
+ };
322
+ /** Internal server error */
323
+ 500: {
324
+ content: {
325
+ "text/plain": string;
326
+ };
327
+ };
328
+ };
329
+ };
330
+ /** Creates a new team within an organization */
331
+ createTeam: {
332
+ parameters: {
333
+ path: {
334
+ /** Organization ID */
335
+ orgId: string;
336
+ };
337
+ };
338
+ responses: {
339
+ /** Created team */
340
+ 201: {
341
+ content: {
342
+ "application/json": {
343
+ /**
344
+ * Format: uuid
345
+ * @description Team ID
346
+ */
347
+ id: string;
348
+ /** @description Team name */
349
+ name: string;
350
+ /** @description Team description */
351
+ description?: string;
352
+ /**
353
+ * Format: uuid
354
+ * @description User ID of the owner of the team
355
+ */
356
+ owner?: string;
357
+ /** @description Additional metadata for the team */
358
+ metadata?: { [key: string]: unknown };
359
+ /** Format: date-time */
360
+ created_at?: string;
361
+ /** Format: date-time */
362
+ updated_at?: string;
363
+ /**
364
+ * Format: date-time
365
+ * @description SQL null Timestamp to handle null values of time.
366
+ */
367
+ deleted_at?: string;
368
+ };
369
+ };
370
+ };
371
+ /** Invalid request body or request param */
372
+ 400: {
373
+ content: {
374
+ "text/plain": string;
375
+ };
376
+ };
377
+ /** Expired JWT token used or insufficient privilege */
378
+ 401: {
379
+ content: {
380
+ "text/plain": string;
381
+ };
382
+ };
383
+ /** Result not found */
384
+ 404: {
385
+ content: {
386
+ "text/plain": string;
387
+ };
388
+ };
389
+ /** Internal server error */
390
+ 500: {
391
+ content: {
392
+ "text/plain": string;
393
+ };
394
+ };
395
+ };
396
+ /** Body for creating a team */
397
+ requestBody: {
398
+ content: {
399
+ "application/json": {
400
+ /** @description Team name. Provide a meaningful name that represents this team. */
401
+ name: string;
402
+ /** @description A detailed description of the team's purpose and responsibilities. */
403
+ description?: string;
404
+ };
405
+ };
406
+ };
407
+ };
408
+ /** Gets a team by its ID */
409
+ getTeamById: {
410
+ parameters: {
411
+ path: {
412
+ /** Organization ID */
413
+ orgId: string;
414
+ /** Team ID */
415
+ teamId: string;
416
+ };
417
+ };
418
+ responses: {
419
+ /** Team */
420
+ 200: {
421
+ content: {
422
+ "application/json": {
423
+ /**
424
+ * Format: uuid
425
+ * @description Team ID
426
+ */
427
+ id: string;
428
+ /** @description Team name */
429
+ name: string;
430
+ /** @description Team description */
431
+ description?: string;
432
+ /**
433
+ * Format: uuid
434
+ * @description User ID of the owner of the team
435
+ */
436
+ owner?: string;
437
+ /** @description Additional metadata for the team */
438
+ metadata?: { [key: string]: unknown };
439
+ /** Format: date-time */
440
+ created_at?: string;
441
+ /** Format: date-time */
442
+ updated_at?: string;
443
+ /**
444
+ * Format: date-time
445
+ * @description SQL null Timestamp to handle null values of time.
446
+ */
447
+ deleted_at?: string;
448
+ };
449
+ };
450
+ };
451
+ /** Invalid request body or request param */
452
+ 400: {
453
+ content: {
454
+ "text/plain": string;
455
+ };
456
+ };
457
+ /** Expired JWT token used or insufficient privilege */
458
+ 401: {
459
+ content: {
460
+ "text/plain": string;
461
+ };
462
+ };
463
+ /** Result not found */
464
+ 404: {
465
+ content: {
466
+ "text/plain": string;
467
+ };
468
+ };
469
+ /** Internal server error */
470
+ 500: {
471
+ content: {
472
+ "text/plain": string;
473
+ };
474
+ };
475
+ };
476
+ };
477
+ /** Updates a team's information */
478
+ updateTeam: {
479
+ parameters: {
480
+ path: {
481
+ /** Organization ID */
482
+ orgId: string;
483
+ /** Team ID */
484
+ teamId: string;
485
+ };
486
+ };
487
+ responses: {
488
+ /** Updated team */
489
+ 200: {
490
+ content: {
491
+ "application/json": {
492
+ /**
493
+ * Format: uuid
494
+ * @description Team ID
495
+ */
496
+ id: string;
497
+ /** @description Team name */
498
+ name: string;
499
+ /** @description Team description */
500
+ description?: string;
501
+ /**
502
+ * Format: uuid
503
+ * @description User ID of the owner of the team
504
+ */
505
+ owner?: string;
506
+ /** @description Additional metadata for the team */
507
+ metadata?: { [key: string]: unknown };
508
+ /** Format: date-time */
509
+ created_at?: string;
510
+ /** Format: date-time */
511
+ updated_at?: string;
512
+ /**
513
+ * Format: date-time
514
+ * @description SQL null Timestamp to handle null values of time.
515
+ */
516
+ deleted_at?: string;
517
+ };
518
+ };
519
+ };
520
+ /** Invalid request body or request param */
521
+ 400: {
522
+ content: {
523
+ "text/plain": string;
524
+ };
525
+ };
526
+ /** Expired JWT token used or insufficient privilege */
527
+ 401: {
528
+ content: {
529
+ "text/plain": string;
530
+ };
531
+ };
532
+ /** Result not found */
533
+ 404: {
534
+ content: {
535
+ "text/plain": string;
536
+ };
537
+ };
538
+ /** Internal server error */
539
+ 500: {
540
+ content: {
541
+ "text/plain": string;
542
+ };
543
+ };
544
+ };
545
+ /** Body for updating a team */
546
+ requestBody: {
547
+ content: {
548
+ "application/json": {
549
+ /** @description Updated team name */
550
+ name?: string;
551
+ /** @description Updated team description */
552
+ description?: string;
553
+ };
554
+ };
555
+ };
556
+ };
557
+ /** Deletes a team by its ID */
558
+ deleteTeam: {
559
+ parameters: {
560
+ path: {
561
+ /** Organization ID */
562
+ orgId: string;
563
+ /** Team ID */
564
+ teamId: string;
565
+ };
566
+ };
567
+ responses: {
568
+ /** Team deleted */
569
+ 204: never;
570
+ /** Invalid request body or request param */
571
+ 400: {
572
+ content: {
573
+ "text/plain": string;
574
+ };
575
+ };
576
+ /** Expired JWT token used or insufficient privilege */
577
+ 401: {
578
+ content: {
579
+ "text/plain": string;
580
+ };
581
+ };
582
+ /** Result not found */
583
+ 404: {
584
+ content: {
585
+ "text/plain": string;
586
+ };
587
+ };
588
+ /** Internal server error */
589
+ 500: {
590
+ content: {
591
+ "text/plain": string;
592
+ };
593
+ };
594
+ };
595
+ };
596
+ /** Gets all users that belong to a team */
597
+ getTeamUsers: {
598
+ parameters: {
599
+ path: {
600
+ /** Team ID */
601
+ teamId: string;
602
+ };
603
+ query: {
604
+ /** Get responses that match search param value */
605
+ search?: string;
606
+ /** Get ordered responses */
607
+ order?: string;
608
+ /** Get responses by page */
609
+ page?: string;
610
+ /** Get responses by pagesize */
611
+ pagesize?: string;
612
+ };
613
+ };
614
+ responses: {
615
+ /** Team users mapping */
616
+ 200: {
617
+ content: {
618
+ "application/json": {
619
+ page?: number;
620
+ page_size?: number;
621
+ total_count?: number;
622
+ /** @description The teams users mapping of the teamsusersmappingpage. */
623
+ teamsUsersMapping?: {
624
+ /** Format: uuid */
625
+ id?: string;
626
+ /** Format: uuid */
627
+ team_id?: string;
628
+ /** @description user's email or username */
629
+ user_id?: string;
630
+ /**
631
+ * Format: date-time
632
+ * @description Timestamp when the resource was created.
633
+ */
634
+ created_at?: string;
635
+ /**
636
+ * Format: date-time
637
+ * @description Timestamp when the resource was updated.
638
+ */
639
+ updated_at?: string;
640
+ /**
641
+ * Format: date-time
642
+ * @description SQL null Timestamp to handle null values of time.
643
+ */
644
+ deleted_at?: string;
645
+ }[];
646
+ };
647
+ };
648
+ };
649
+ /** Invalid request body or request param */
650
+ 400: {
651
+ content: {
652
+ "text/plain": string;
653
+ };
654
+ };
655
+ /** Expired JWT token used or insufficient privilege */
656
+ 401: {
657
+ content: {
658
+ "text/plain": string;
659
+ };
660
+ };
661
+ /** Result not found */
662
+ 404: {
663
+ content: {
664
+ "text/plain": string;
665
+ };
666
+ };
667
+ /** Internal server error */
668
+ 500: {
669
+ content: {
670
+ "text/plain": string;
671
+ };
672
+ };
673
+ };
674
+ };
675
+ /** Assigns a user to a team */
676
+ addUserToTeam: {
677
+ parameters: {
678
+ path: {
679
+ /** Organization ID */
680
+ orgId: string;
681
+ /** Team ID */
682
+ teamId: string;
683
+ /** User ID */
684
+ userId: string;
685
+ };
686
+ };
687
+ responses: {
688
+ /** User added to team */
689
+ 201: {
690
+ content: {
691
+ "application/json": {
692
+ /** Format: uuid */
693
+ id?: string;
694
+ /** Format: uuid */
695
+ team_id?: string;
696
+ /** @description user's email or username */
697
+ user_id?: string;
698
+ /**
699
+ * Format: date-time
700
+ * @description Timestamp when the resource was created.
701
+ */
702
+ created_at?: string;
703
+ /**
704
+ * Format: date-time
705
+ * @description Timestamp when the resource was updated.
706
+ */
707
+ updated_at?: string;
708
+ /**
709
+ * Format: date-time
710
+ * @description SQL null Timestamp to handle null values of time.
711
+ */
712
+ deleted_at?: string;
713
+ };
714
+ };
715
+ };
716
+ /** Invalid request body or request param */
717
+ 400: {
718
+ content: {
719
+ "text/plain": string;
720
+ };
721
+ };
722
+ /** Expired JWT token used or insufficient privilege */
723
+ 401: {
724
+ content: {
725
+ "text/plain": string;
726
+ };
727
+ };
728
+ /** Result not found */
729
+ 404: {
730
+ content: {
731
+ "text/plain": string;
732
+ };
733
+ };
734
+ /** Internal server error */
735
+ 500: {
736
+ content: {
737
+ "text/plain": string;
738
+ };
739
+ };
740
+ };
741
+ };
742
+ /** Unassigns a user from a team */
743
+ removeUserFromTeam: {
744
+ parameters: {
745
+ path: {
746
+ /** Organization ID */
747
+ orgId: string;
748
+ /** Team ID */
749
+ teamId: string;
750
+ /** User ID */
751
+ userId: string;
752
+ };
753
+ };
754
+ responses: {
755
+ /** User removed from team */
756
+ 204: never;
757
+ /** Invalid request body or request param */
758
+ 400: {
759
+ content: {
760
+ "text/plain": string;
761
+ };
762
+ };
763
+ /** Expired JWT token used or insufficient privilege */
764
+ 401: {
765
+ content: {
766
+ "text/plain": string;
767
+ };
768
+ };
769
+ /** Result not found */
770
+ 404: {
771
+ content: {
772
+ "text/plain": string;
773
+ };
774
+ };
775
+ /** Internal server error */
776
+ 500: {
777
+ content: {
778
+ "text/plain": string;
779
+ };
780
+ };
781
+ };
782
+ };
783
+ listUsersNotInTeam: {
784
+ parameters: {
785
+ path: {
786
+ /** Organization ID */
787
+ orgId: string;
788
+ /** Team ID */
789
+ teamId: string;
790
+ };
791
+ query: {
792
+ /** Get responses that match search param value */
793
+ search?: string;
794
+ /** Get ordered responses */
795
+ order?: string;
796
+ /** Get responses by page */
797
+ page?: string;
798
+ /** Get responses by pagesize */
799
+ pagesize?: string;
800
+ };
801
+ };
802
+ responses: {
803
+ /** Users not currently in the team */
804
+ 200: {
805
+ content: {
806
+ "application/json": {
807
+ /** @description Current page number of the result set. */
808
+ page?: number;
809
+ /** @description Number of items per page. */
810
+ page_size?: number;
811
+ /** @description Total number of items available. */
812
+ total_count?: number;
813
+ /** @description The data of the teammemberspage. */
814
+ data?: { [key: string]: unknown }[];
815
+ };
816
+ };
817
+ };
818
+ /** Invalid request body or request param */
819
+ 400: {
820
+ content: {
821
+ "text/plain": string;
822
+ };
823
+ };
824
+ /** Expired JWT token used or insufficient privilege */
825
+ 401: {
826
+ content: {
827
+ "text/plain": string;
828
+ };
829
+ };
830
+ /** Result not found */
831
+ 404: {
832
+ content: {
833
+ "text/plain": string;
834
+ };
835
+ };
836
+ /** Internal server error */
837
+ 500: {
838
+ content: {
839
+ "text/plain": string;
840
+ };
841
+ };
842
+ };
843
+ };
844
+ }
845
+
846
+ export interface external {}