@meshery/schemas 1.2.22 → 1.3.0

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 (88) hide show
  1. package/dist/cloudApi.d.mts +1719 -1518
  2. package/dist/cloudApi.d.ts +1719 -1518
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1alpha1/capability/Capability.d.ts +111 -106
  6. package/dist/constructs/v1alpha1/core/Core.d.ts +734 -822
  7. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +40 -45
  8. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1716 -1829
  9. package/dist/constructs/v1beta1/academy/Academy.d.ts +6648 -6029
  10. package/dist/constructs/v1beta1/badge/Badge.d.ts +600 -439
  11. package/dist/constructs/v1beta1/capability/Capability.d.ts +111 -106
  12. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +40 -45
  13. package/dist/constructs/v1beta1/category/Category.d.ts +26 -38
  14. package/dist/constructs/v1beta1/component/Component.d.ts +729 -833
  15. package/dist/constructs/v1beta1/connection/Connection.d.ts +1357 -1170
  16. package/dist/constructs/v1beta1/core/Core.d.ts +734 -822
  17. package/dist/constructs/v1beta1/credential/Credential.d.ts +593 -458
  18. package/dist/constructs/v1beta1/environment/Environment.d.ts +835 -666
  19. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5508 -6030
  20. package/dist/constructs/v1beta1/event/Event.d.ts +898 -527
  21. package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -249
  22. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +1244 -877
  23. package/dist/constructs/v1beta1/key/Key.d.ts +589 -444
  24. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +796 -575
  25. package/dist/constructs/v1beta1/model/Model.d.ts +572 -598
  26. package/dist/constructs/v1beta1/organization/Organization.d.ts +1829 -1410
  27. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17093 -17910
  28. package/dist/constructs/v1beta1/plan/Plan.d.ts +159 -115
  29. package/dist/constructs/v1beta1/role/Role.d.ts +933 -688
  30. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +425 -315
  31. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +18 -61
  32. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +839 -674
  33. package/dist/constructs/v1beta1/support/Support.d.ts +115 -74
  34. package/dist/constructs/v1beta1/system/System.d.ts +434 -0
  35. package/dist/constructs/v1beta1/system/System.js +1 -0
  36. package/dist/constructs/v1beta1/system/System.mjs +0 -0
  37. package/dist/constructs/v1beta1/system/SystemSchema.d.ts +2 -0
  38. package/dist/constructs/v1beta1/system/SystemSchema.js +2 -0
  39. package/dist/constructs/v1beta1/system/SystemSchema.mjs +2 -0
  40. package/dist/constructs/v1beta1/team/Team.d.ts +1028 -762
  41. package/dist/constructs/v1beta1/token/Token.d.ts +612 -475
  42. package/dist/constructs/v1beta1/user/User.d.ts +1723 -1554
  43. package/dist/constructs/v1beta1/view/View.d.ts +833 -664
  44. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4900 -4695
  45. package/dist/constructs/v1beta2/academy/Academy.d.ts +7840 -7222
  46. package/dist/constructs/v1beta2/badge/Badge.d.ts +610 -453
  47. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +40 -45
  48. package/dist/constructs/v1beta2/component/Component.d.ts +747 -851
  49. package/dist/constructs/v1beta2/connection/Connection.d.ts +1376 -1189
  50. package/dist/constructs/v1beta2/core/Core.d.ts +768 -856
  51. package/dist/constructs/v1beta2/credential/Credential.d.ts +572 -437
  52. package/dist/constructs/v1beta2/design/Design.d.ts +17682 -18467
  53. package/dist/constructs/v1beta2/event/Event.d.ts +946 -575
  54. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1268 -901
  55. package/dist/constructs/v1beta2/key/Key.d.ts +599 -454
  56. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +806 -585
  57. package/dist/constructs/v1beta2/model/Model.d.ts +610 -636
  58. package/dist/constructs/v1beta2/organization/Organization.d.ts +2135 -1724
  59. package/dist/constructs/v1beta2/plan/Plan.d.ts +169 -128
  60. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +1842 -2011
  61. package/dist/constructs/v1beta2/role/Role.d.ts +940 -695
  62. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +466 -356
  63. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +866 -701
  64. package/dist/constructs/v1beta2/team/Team.d.ts +1118 -852
  65. package/dist/constructs/v1beta2/token/Token.d.ts +616 -479
  66. package/dist/constructs/v1beta2/user/User.d.ts +1723 -1554
  67. package/dist/constructs/v1beta2/view/View.d.ts +838 -669
  68. package/dist/constructs/v1beta3/academy/Academy.d.ts +7836 -7218
  69. package/dist/constructs/v1beta3/component/Component.d.ts +753 -857
  70. package/dist/constructs/v1beta3/connection/Connection.d.ts +1447 -1260
  71. package/dist/constructs/v1beta3/design/Design.d.ts +5727 -5305
  72. package/dist/constructs/v1beta3/environment/Environment.d.ts +858 -689
  73. package/dist/constructs/v1beta3/event/Event.d.ts +1041 -666
  74. package/dist/constructs/v1beta3/filter/Filter.d.ts +1437 -1299
  75. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1277 -910
  76. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +850 -690
  77. package/dist/constructs/v1beta3/plan/Plan.d.ts +197 -156
  78. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +1842 -2011
  79. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +969 -804
  80. package/dist/constructs/v1beta3/token/Token.d.ts +616 -479
  81. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5030 -4822
  82. package/dist/index.d.mts +5480 -5022
  83. package/dist/index.d.ts +5480 -5022
  84. package/dist/mesheryApi.d.mts +1314 -522
  85. package/dist/mesheryApi.d.ts +1314 -522
  86. package/dist/mesheryApi.js +1 -1
  87. package/dist/mesheryApi.mjs +1 -1
  88. package/package.json +1 -2
@@ -4,342 +4,125 @@
4
4
  */
5
5
 
6
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;
7
+ "/api/identity/orgs/{orgId}/teams": {
8
+ parameters: {
9
+ query?: never;
10
+ header?: never;
11
+ path?: never;
12
+ cookie?: never;
13
+ };
14
+ /**
15
+ * Get all teams for an organization
16
+ * @description Gets all teams within an organization
17
+ */
18
+ get: operations["getTeams"];
19
+ put?: never;
20
+ /**
21
+ * Create a team
22
+ * @description Creates a new team within an organization
23
+ */
24
+ post: operations["createTeam"];
25
+ delete?: never;
26
+ options?: never;
27
+ head?: never;
28
+ patch?: never;
29
+ trace?: never;
79
30
  };
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?: {
31
+ "/api/identity/orgs/{orgId}/teams/{teamId}": {
32
+ parameters: {
33
+ query?: never;
34
+ header?: never;
35
+ path?: never;
36
+ cookie?: never;
37
+ };
87
38
  /**
88
- * Format: uuid
89
- * @description Team ID
39
+ * Get a team by ID
40
+ * @description Gets a team by its ID
90
41
  */
91
- id: string;
92
- /** @description Team name */
93
- name: string;
94
- /** @description Team description */
95
- description?: string;
42
+ get: operations["getTeamById"];
96
43
  /**
97
- * Format: uuid
98
- * @description User ID of the owner of the team
44
+ * Update a team
45
+ * @description Updates a team's information
99
46
  */
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;
47
+ put: operations["updateTeam"];
48
+ post?: never;
107
49
  /**
108
- * Format: date-time
109
- * @description SQL null Timestamp to handle null values of time.
50
+ * Delete a team
51
+ * @description Deletes a team by its ID
110
52
  */
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;
53
+ delete: operations["deleteTeam"];
54
+ options?: never;
55
+ head?: never;
56
+ patch?: never;
57
+ trace?: never;
137
58
  };
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;
59
+ "/api/identity/teams/{teamId}/users": {
60
+ parameters: {
61
+ query?: never;
62
+ header?: never;
63
+ path?: never;
64
+ cookie?: never;
65
+ };
151
66
  /**
152
- * Format: date-time
153
- * @description Timestamp when the resource was created.
67
+ * Get all users in a team
68
+ * @description Gets all users that belong to a team
154
69
  */
155
- created_at?: string;
70
+ get: operations["getTeamUsers"];
71
+ put?: never;
72
+ post?: never;
73
+ delete?: never;
74
+ options?: never;
75
+ head?: never;
76
+ patch?: never;
77
+ trace?: never;
78
+ };
79
+ "/api/identity/orgs/{orgId}/teams/{teamId}/users/{userId}": {
80
+ parameters: {
81
+ query?: never;
82
+ header?: never;
83
+ path?: never;
84
+ cookie?: never;
85
+ };
86
+ get?: never;
87
+ put?: never;
156
88
  /**
157
- * Format: date-time
158
- * @description Timestamp when the resource was updated.
89
+ * Add a user to a team
90
+ * @description Assigns a user to a team
159
91
  */
160
- updated_at?: string;
92
+ post: operations["addUserToTeam"];
161
93
  /**
162
- * Format: date-time
163
- * @description SQL null Timestamp to handle null values of time.
94
+ * Remove a user from a team
95
+ * @description Unassigns a user from a team
164
96
  */
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
- };
97
+ delete: operations["removeUserFromTeam"];
98
+ options?: never;
99
+ head?: never;
100
+ patch?: never;
101
+ trace?: never;
198
102
  };
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
- };
103
+ "/api/identity/orgs/{orgId}/teams/{teamId}/users": {
104
+ parameters: {
105
+ query?: never;
106
+ header?: never;
107
+ path?: never;
108
+ cookie?: never;
109
+ };
110
+ /** Get users that are not in a team */
111
+ get: operations["listUsersNotInTeam"];
112
+ put?: never;
113
+ post?: never;
114
+ delete?: never;
115
+ options?: never;
116
+ head?: never;
117
+ patch?: never;
118
+ trace?: never;
248
119
  };
249
- };
250
120
  }
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": {
121
+ export type webhooks = Record<string, never>;
122
+ export interface components {
123
+ schemas: {
124
+ /** @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 */
125
+ Team: {
343
126
  /**
344
127
  * Format: uuid
345
128
  * @description Team ID
@@ -355,7 +138,7 @@ export interface operations {
355
138
  */
356
139
  owner?: string;
357
140
  /** @description Additional metadata for the team */
358
- metadata?: { [key: string]: unknown };
141
+ metadata?: Record<string, never>;
359
142
  /** Format: date-time */
360
143
  created_at?: string;
361
144
  /** Format: date-time */
@@ -365,330 +148,57 @@ export interface operations {
365
148
  * @description SQL null Timestamp to handle null values of time.
366
149
  */
367
150
  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 */
151
+ };
152
+ /** @description Payload for creating a new team */
153
+ TeamPayload: {
154
+ /** @description Team name. Provide a meaningful name that represents this team. */
429
155
  name: string;
430
- /** @description Team description */
156
+ /** @description A detailed description of the team's purpose and responsibilities. */
431
157
  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 */
158
+ };
159
+ /** @description Payload for updating an existing team */
160
+ TeamUpdatePayload: {
161
+ /** @description Updated team name */
162
+ name?: string;
163
+ /** @description Updated team description */
500
164
  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": {
165
+ };
166
+ /** @description Paginated list of teams */
167
+ TeamPage: {
619
168
  page?: number;
620
169
  page_size?: number;
621
170
  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;
171
+ /** @description The teams of the teampage. */
172
+ teams?: {
173
+ /**
174
+ * Format: uuid
175
+ * @description Team ID
176
+ */
177
+ id: string;
178
+ /** @description Team name */
179
+ name: string;
180
+ /** @description Team description */
181
+ description?: string;
182
+ /**
183
+ * Format: uuid
184
+ * @description User ID of the owner of the team
185
+ */
186
+ owner?: string;
187
+ /** @description Additional metadata for the team */
188
+ metadata?: Record<string, never>;
189
+ /** Format: date-time */
190
+ created_at?: string;
191
+ /** Format: date-time */
192
+ updated_at?: string;
193
+ /**
194
+ * Format: date-time
195
+ * @description SQL null Timestamp to handle null values of time.
196
+ */
197
+ deleted_at?: string;
645
198
  }[];
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": {
199
+ };
200
+ /** @description Mapping between teams and users */
201
+ TeamsUsersMapping: {
692
202
  /** Format: uuid */
693
203
  id?: string;
694
204
  /** Format: uuid */
@@ -710,100 +220,41 @@ export interface operations {
710
220
  * @description SQL null Timestamp to handle null values of time.
711
221
  */
712
222
  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": {
223
+ };
224
+ /** @description Paginated list of team-user mappings */
225
+ TeamsUsersMappingPage: {
226
+ page?: number;
227
+ page_size?: number;
228
+ total_count?: number;
229
+ /** @description The teams users mapping of the teamsusersmappingpage. */
230
+ teamsUsersMapping?: {
231
+ /** Format: uuid */
232
+ id?: string;
233
+ /** Format: uuid */
234
+ team_id?: string;
235
+ /** @description user's email or username */
236
+ user_id?: string;
237
+ /**
238
+ * Format: date-time
239
+ * @description Timestamp when the resource was created.
240
+ */
241
+ created_at?: string;
242
+ /**
243
+ * Format: date-time
244
+ * @description Timestamp when the resource was updated.
245
+ */
246
+ updated_at?: string;
247
+ /**
248
+ * Format: date-time
249
+ * @description SQL null Timestamp to handle null values of time.
250
+ */
251
+ deleted_at?: string;
252
+ }[];
253
+ };
254
+ TeamMember: {
255
+ [key: string]: unknown;
256
+ };
257
+ TeamMembersPage: {
807
258
  /** @description Current page number of the result set. */
808
259
  page?: number;
809
260
  /** @description Number of items per page. */
@@ -811,36 +262,851 @@ export interface operations {
811
262
  /** @description Total number of items available. */
812
263
  total_count?: number;
813
264
  /** @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
- };
265
+ data?: {
266
+ [key: string]: unknown;
267
+ }[];
268
+ };
269
+ };
270
+ responses: {
271
+ /** @description ok */
272
+ 200: {
273
+ headers: {
274
+ [name: string]: unknown;
275
+ };
276
+ content: {
277
+ "text/plain": string;
278
+ };
279
+ };
280
+ /** @description Invalid request body or request param */
281
+ 400: {
282
+ headers: {
283
+ [name: string]: unknown;
284
+ };
285
+ content: {
286
+ "text/plain": string;
287
+ };
288
+ };
289
+ /** @description Expired JWT token used or insufficient privilege */
290
+ 401: {
291
+ headers: {
292
+ [name: string]: unknown;
293
+ };
294
+ content: {
295
+ "text/plain": string;
296
+ };
297
+ };
298
+ /** @description Result not found */
299
+ 404: {
300
+ headers: {
301
+ [name: string]: unknown;
302
+ };
303
+ content: {
304
+ "text/plain": string;
305
+ };
306
+ };
307
+ /** @description Internal server error */
308
+ 500: {
309
+ headers: {
310
+ [name: string]: unknown;
311
+ };
312
+ content: {
313
+ "text/plain": string;
314
+ };
315
+ };
316
+ };
317
+ parameters: {
318
+ /** @description Team ID */
319
+ teamId: string;
320
+ /** @description Organization ID */
321
+ orgId: string;
322
+ /** @description Get responses that match search param value */
323
+ search: string;
324
+ /** @description Get ordered responses */
325
+ order: string;
326
+ /** @description Get responses by page */
327
+ page: string;
328
+ /** @description Get responses by pagesize */
329
+ pagesize: string;
330
+ };
331
+ requestBodies: {
332
+ /** @description Body for creating a team */
333
+ teamPayload: {
334
+ content: {
335
+ "application/json": {
336
+ /** @description Team name. Provide a meaningful name that represents this team. */
337
+ name: string;
338
+ /** @description A detailed description of the team's purpose and responsibilities. */
339
+ description?: string;
340
+ };
341
+ };
342
+ };
343
+ /** @description Body for updating a team */
344
+ teamUpdatePayload: {
345
+ content: {
346
+ "application/json": {
347
+ /** @description Updated team name */
348
+ name?: string;
349
+ /** @description Updated team description */
350
+ description?: string;
351
+ };
352
+ };
353
+ };
354
+ };
355
+ headers: never;
356
+ pathItems: never;
357
+ }
358
+ export type $defs = Record<string, never>;
359
+ export interface operations {
360
+ getTeams: {
361
+ parameters: {
362
+ query?: {
363
+ /** @description Get responses that match search param value */
364
+ search?: string;
365
+ /** @description Get ordered responses */
366
+ order?: string;
367
+ /** @description Get responses by page */
368
+ page?: string;
369
+ /** @description Get responses by pagesize */
370
+ pagesize?: string;
371
+ };
372
+ header?: never;
373
+ path: {
374
+ /** @description Organization ID */
375
+ orgId: string;
376
+ };
377
+ cookie?: never;
378
+ };
379
+ requestBody?: never;
380
+ responses: {
381
+ /** @description Teams */
382
+ 200: {
383
+ headers: {
384
+ [name: string]: unknown;
385
+ };
386
+ content: {
387
+ "application/json": {
388
+ page?: number;
389
+ page_size?: number;
390
+ total_count?: number;
391
+ /** @description The teams of the teampage. */
392
+ teams?: {
393
+ /**
394
+ * Format: uuid
395
+ * @description Team ID
396
+ */
397
+ id: string;
398
+ /** @description Team name */
399
+ name: string;
400
+ /** @description Team description */
401
+ description?: string;
402
+ /**
403
+ * Format: uuid
404
+ * @description User ID of the owner of the team
405
+ */
406
+ owner?: string;
407
+ /** @description Additional metadata for the team */
408
+ metadata?: Record<string, never>;
409
+ /** Format: date-time */
410
+ created_at?: string;
411
+ /** Format: date-time */
412
+ updated_at?: string;
413
+ /**
414
+ * Format: date-time
415
+ * @description SQL null Timestamp to handle null values of time.
416
+ */
417
+ deleted_at?: string;
418
+ }[];
419
+ };
420
+ };
421
+ };
422
+ /** @description Expired JWT token used or insufficient privilege */
423
+ 401: {
424
+ headers: {
425
+ [name: string]: unknown;
426
+ };
427
+ content: {
428
+ "text/plain": string;
429
+ };
430
+ };
431
+ /** @description Result not found */
432
+ 404: {
433
+ headers: {
434
+ [name: string]: unknown;
435
+ };
436
+ content: {
437
+ "text/plain": string;
438
+ };
439
+ };
440
+ /** @description Internal server error */
441
+ 500: {
442
+ headers: {
443
+ [name: string]: unknown;
444
+ };
445
+ content: {
446
+ "text/plain": string;
447
+ };
448
+ };
449
+ };
450
+ };
451
+ createTeam: {
452
+ parameters: {
453
+ query?: never;
454
+ header?: never;
455
+ path: {
456
+ /** @description Organization ID */
457
+ orgId: string;
458
+ };
459
+ cookie?: never;
460
+ };
461
+ /** @description Body for creating a team */
462
+ requestBody: {
463
+ content: {
464
+ "application/json": {
465
+ /** @description Team name. Provide a meaningful name that represents this team. */
466
+ name: string;
467
+ /** @description A detailed description of the team's purpose and responsibilities. */
468
+ description?: string;
469
+ };
470
+ };
471
+ };
472
+ responses: {
473
+ /** @description Created team */
474
+ 201: {
475
+ headers: {
476
+ [name: string]: unknown;
477
+ };
478
+ content: {
479
+ "application/json": {
480
+ /**
481
+ * Format: uuid
482
+ * @description Team ID
483
+ */
484
+ id: string;
485
+ /** @description Team name */
486
+ name: string;
487
+ /** @description Team description */
488
+ description?: string;
489
+ /**
490
+ * Format: uuid
491
+ * @description User ID of the owner of the team
492
+ */
493
+ owner?: string;
494
+ /** @description Additional metadata for the team */
495
+ metadata?: Record<string, never>;
496
+ /** Format: date-time */
497
+ created_at?: string;
498
+ /** Format: date-time */
499
+ updated_at?: string;
500
+ /**
501
+ * Format: date-time
502
+ * @description SQL null Timestamp to handle null values of time.
503
+ */
504
+ deleted_at?: string;
505
+ };
506
+ };
507
+ };
508
+ /** @description Invalid request body or request param */
509
+ 400: {
510
+ headers: {
511
+ [name: string]: unknown;
512
+ };
513
+ content: {
514
+ "text/plain": string;
515
+ };
516
+ };
517
+ /** @description Expired JWT token used or insufficient privilege */
518
+ 401: {
519
+ headers: {
520
+ [name: string]: unknown;
521
+ };
522
+ content: {
523
+ "text/plain": string;
524
+ };
525
+ };
526
+ /** @description Result not found */
527
+ 404: {
528
+ headers: {
529
+ [name: string]: unknown;
530
+ };
531
+ content: {
532
+ "text/plain": string;
533
+ };
534
+ };
535
+ /** @description Internal server error */
536
+ 500: {
537
+ headers: {
538
+ [name: string]: unknown;
539
+ };
540
+ content: {
541
+ "text/plain": string;
542
+ };
543
+ };
544
+ };
545
+ };
546
+ getTeamById: {
547
+ parameters: {
548
+ query?: never;
549
+ header?: never;
550
+ path: {
551
+ /** @description Organization ID */
552
+ orgId: string;
553
+ /** @description Team ID */
554
+ teamId: string;
555
+ };
556
+ cookie?: never;
557
+ };
558
+ requestBody?: never;
559
+ responses: {
560
+ /** @description Team */
561
+ 200: {
562
+ headers: {
563
+ [name: string]: unknown;
564
+ };
565
+ content: {
566
+ "application/json": {
567
+ /**
568
+ * Format: uuid
569
+ * @description Team ID
570
+ */
571
+ id: string;
572
+ /** @description Team name */
573
+ name: string;
574
+ /** @description Team description */
575
+ description?: string;
576
+ /**
577
+ * Format: uuid
578
+ * @description User ID of the owner of the team
579
+ */
580
+ owner?: string;
581
+ /** @description Additional metadata for the team */
582
+ metadata?: Record<string, never>;
583
+ /** Format: date-time */
584
+ created_at?: string;
585
+ /** Format: date-time */
586
+ updated_at?: string;
587
+ /**
588
+ * Format: date-time
589
+ * @description SQL null Timestamp to handle null values of time.
590
+ */
591
+ deleted_at?: string;
592
+ };
593
+ };
594
+ };
595
+ /** @description Invalid request body or request param */
596
+ 400: {
597
+ headers: {
598
+ [name: string]: unknown;
599
+ };
600
+ content: {
601
+ "text/plain": string;
602
+ };
603
+ };
604
+ /** @description Expired JWT token used or insufficient privilege */
605
+ 401: {
606
+ headers: {
607
+ [name: string]: unknown;
608
+ };
609
+ content: {
610
+ "text/plain": string;
611
+ };
612
+ };
613
+ /** @description Result not found */
614
+ 404: {
615
+ headers: {
616
+ [name: string]: unknown;
617
+ };
618
+ content: {
619
+ "text/plain": string;
620
+ };
621
+ };
622
+ /** @description Internal server error */
623
+ 500: {
624
+ headers: {
625
+ [name: string]: unknown;
626
+ };
627
+ content: {
628
+ "text/plain": string;
629
+ };
630
+ };
631
+ };
632
+ };
633
+ updateTeam: {
634
+ parameters: {
635
+ query?: never;
636
+ header?: never;
637
+ path: {
638
+ /** @description Organization ID */
639
+ orgId: string;
640
+ /** @description Team ID */
641
+ teamId: string;
642
+ };
643
+ cookie?: never;
644
+ };
645
+ /** @description Body for updating a team */
646
+ requestBody: {
647
+ content: {
648
+ "application/json": {
649
+ /** @description Updated team name */
650
+ name?: string;
651
+ /** @description Updated team description */
652
+ description?: string;
653
+ };
654
+ };
655
+ };
656
+ responses: {
657
+ /** @description Updated team */
658
+ 200: {
659
+ headers: {
660
+ [name: string]: unknown;
661
+ };
662
+ content: {
663
+ "application/json": {
664
+ /**
665
+ * Format: uuid
666
+ * @description Team ID
667
+ */
668
+ id: string;
669
+ /** @description Team name */
670
+ name: string;
671
+ /** @description Team description */
672
+ description?: string;
673
+ /**
674
+ * Format: uuid
675
+ * @description User ID of the owner of the team
676
+ */
677
+ owner?: string;
678
+ /** @description Additional metadata for the team */
679
+ metadata?: Record<string, never>;
680
+ /** Format: date-time */
681
+ created_at?: string;
682
+ /** Format: date-time */
683
+ updated_at?: string;
684
+ /**
685
+ * Format: date-time
686
+ * @description SQL null Timestamp to handle null values of time.
687
+ */
688
+ deleted_at?: string;
689
+ };
690
+ };
691
+ };
692
+ /** @description Invalid request body or request param */
693
+ 400: {
694
+ headers: {
695
+ [name: string]: unknown;
696
+ };
697
+ content: {
698
+ "text/plain": string;
699
+ };
700
+ };
701
+ /** @description Expired JWT token used or insufficient privilege */
702
+ 401: {
703
+ headers: {
704
+ [name: string]: unknown;
705
+ };
706
+ content: {
707
+ "text/plain": string;
708
+ };
709
+ };
710
+ /** @description Result not found */
711
+ 404: {
712
+ headers: {
713
+ [name: string]: unknown;
714
+ };
715
+ content: {
716
+ "text/plain": string;
717
+ };
718
+ };
719
+ /** @description Internal server error */
720
+ 500: {
721
+ headers: {
722
+ [name: string]: unknown;
723
+ };
724
+ content: {
725
+ "text/plain": string;
726
+ };
727
+ };
728
+ };
729
+ };
730
+ deleteTeam: {
731
+ parameters: {
732
+ query?: never;
733
+ header?: never;
734
+ path: {
735
+ /** @description Organization ID */
736
+ orgId: string;
737
+ /** @description Team ID */
738
+ teamId: string;
739
+ };
740
+ cookie?: never;
741
+ };
742
+ requestBody?: never;
743
+ responses: {
744
+ /** @description Team deleted */
745
+ 204: {
746
+ headers: {
747
+ [name: string]: unknown;
748
+ };
749
+ content?: never;
750
+ };
751
+ /** @description Invalid request body or request param */
752
+ 400: {
753
+ headers: {
754
+ [name: string]: unknown;
755
+ };
756
+ content: {
757
+ "text/plain": string;
758
+ };
759
+ };
760
+ /** @description Expired JWT token used or insufficient privilege */
761
+ 401: {
762
+ headers: {
763
+ [name: string]: unknown;
764
+ };
765
+ content: {
766
+ "text/plain": string;
767
+ };
768
+ };
769
+ /** @description Result not found */
770
+ 404: {
771
+ headers: {
772
+ [name: string]: unknown;
773
+ };
774
+ content: {
775
+ "text/plain": string;
776
+ };
777
+ };
778
+ /** @description Internal server error */
779
+ 500: {
780
+ headers: {
781
+ [name: string]: unknown;
782
+ };
783
+ content: {
784
+ "text/plain": string;
785
+ };
786
+ };
787
+ };
788
+ };
789
+ getTeamUsers: {
790
+ parameters: {
791
+ query?: {
792
+ /** @description Get responses that match search param value */
793
+ search?: string;
794
+ /** @description Get ordered responses */
795
+ order?: string;
796
+ /** @description Get responses by page */
797
+ page?: string;
798
+ /** @description Get responses by pagesize */
799
+ pagesize?: string;
800
+ };
801
+ header?: never;
802
+ path: {
803
+ /** @description Team ID */
804
+ teamId: string;
805
+ };
806
+ cookie?: never;
807
+ };
808
+ requestBody?: never;
809
+ responses: {
810
+ /** @description Team users mapping */
811
+ 200: {
812
+ headers: {
813
+ [name: string]: unknown;
814
+ };
815
+ content: {
816
+ "application/json": {
817
+ page?: number;
818
+ page_size?: number;
819
+ total_count?: number;
820
+ /** @description The teams users mapping of the teamsusersmappingpage. */
821
+ teamsUsersMapping?: {
822
+ /** Format: uuid */
823
+ id?: string;
824
+ /** Format: uuid */
825
+ team_id?: string;
826
+ /** @description user's email or username */
827
+ user_id?: string;
828
+ /**
829
+ * Format: date-time
830
+ * @description Timestamp when the resource was created.
831
+ */
832
+ created_at?: string;
833
+ /**
834
+ * Format: date-time
835
+ * @description Timestamp when the resource was updated.
836
+ */
837
+ updated_at?: string;
838
+ /**
839
+ * Format: date-time
840
+ * @description SQL null Timestamp to handle null values of time.
841
+ */
842
+ deleted_at?: string;
843
+ }[];
844
+ };
845
+ };
846
+ };
847
+ /** @description Invalid request body or request param */
848
+ 400: {
849
+ headers: {
850
+ [name: string]: unknown;
851
+ };
852
+ content: {
853
+ "text/plain": string;
854
+ };
855
+ };
856
+ /** @description Expired JWT token used or insufficient privilege */
857
+ 401: {
858
+ headers: {
859
+ [name: string]: unknown;
860
+ };
861
+ content: {
862
+ "text/plain": string;
863
+ };
864
+ };
865
+ /** @description Result not found */
866
+ 404: {
867
+ headers: {
868
+ [name: string]: unknown;
869
+ };
870
+ content: {
871
+ "text/plain": string;
872
+ };
873
+ };
874
+ /** @description Internal server error */
875
+ 500: {
876
+ headers: {
877
+ [name: string]: unknown;
878
+ };
879
+ content: {
880
+ "text/plain": string;
881
+ };
882
+ };
883
+ };
884
+ };
885
+ addUserToTeam: {
886
+ parameters: {
887
+ query?: never;
888
+ header?: never;
889
+ path: {
890
+ /** @description Organization ID */
891
+ orgId: string;
892
+ /** @description Team ID */
893
+ teamId: string;
894
+ /** @description User ID */
895
+ userId: string;
896
+ };
897
+ cookie?: never;
898
+ };
899
+ requestBody?: never;
900
+ responses: {
901
+ /** @description User added to team */
902
+ 201: {
903
+ headers: {
904
+ [name: string]: unknown;
905
+ };
906
+ content: {
907
+ "application/json": {
908
+ /** Format: uuid */
909
+ id?: string;
910
+ /** Format: uuid */
911
+ team_id?: string;
912
+ /** @description user's email or username */
913
+ user_id?: string;
914
+ /**
915
+ * Format: date-time
916
+ * @description Timestamp when the resource was created.
917
+ */
918
+ created_at?: string;
919
+ /**
920
+ * Format: date-time
921
+ * @description Timestamp when the resource was updated.
922
+ */
923
+ updated_at?: string;
924
+ /**
925
+ * Format: date-time
926
+ * @description SQL null Timestamp to handle null values of time.
927
+ */
928
+ deleted_at?: string;
929
+ };
930
+ };
931
+ };
932
+ /** @description Invalid request body or request param */
933
+ 400: {
934
+ headers: {
935
+ [name: string]: unknown;
936
+ };
937
+ content: {
938
+ "text/plain": string;
939
+ };
940
+ };
941
+ /** @description Expired JWT token used or insufficient privilege */
942
+ 401: {
943
+ headers: {
944
+ [name: string]: unknown;
945
+ };
946
+ content: {
947
+ "text/plain": string;
948
+ };
949
+ };
950
+ /** @description Result not found */
951
+ 404: {
952
+ headers: {
953
+ [name: string]: unknown;
954
+ };
955
+ content: {
956
+ "text/plain": string;
957
+ };
958
+ };
959
+ /** @description Internal server error */
960
+ 500: {
961
+ headers: {
962
+ [name: string]: unknown;
963
+ };
964
+ content: {
965
+ "text/plain": string;
966
+ };
967
+ };
968
+ };
969
+ };
970
+ removeUserFromTeam: {
971
+ parameters: {
972
+ query?: never;
973
+ header?: never;
974
+ path: {
975
+ /** @description Organization ID */
976
+ orgId: string;
977
+ /** @description Team ID */
978
+ teamId: string;
979
+ /** @description User ID */
980
+ userId: string;
981
+ };
982
+ cookie?: never;
983
+ };
984
+ requestBody?: never;
985
+ responses: {
986
+ /** @description User removed from team */
987
+ 204: {
988
+ headers: {
989
+ [name: string]: unknown;
990
+ };
991
+ content?: never;
992
+ };
993
+ /** @description Invalid request body or request param */
994
+ 400: {
995
+ headers: {
996
+ [name: string]: unknown;
997
+ };
998
+ content: {
999
+ "text/plain": string;
1000
+ };
1001
+ };
1002
+ /** @description Expired JWT token used or insufficient privilege */
1003
+ 401: {
1004
+ headers: {
1005
+ [name: string]: unknown;
1006
+ };
1007
+ content: {
1008
+ "text/plain": string;
1009
+ };
1010
+ };
1011
+ /** @description Result not found */
1012
+ 404: {
1013
+ headers: {
1014
+ [name: string]: unknown;
1015
+ };
1016
+ content: {
1017
+ "text/plain": string;
1018
+ };
1019
+ };
1020
+ /** @description Internal server error */
1021
+ 500: {
1022
+ headers: {
1023
+ [name: string]: unknown;
1024
+ };
1025
+ content: {
1026
+ "text/plain": string;
1027
+ };
1028
+ };
1029
+ };
1030
+ };
1031
+ listUsersNotInTeam: {
1032
+ parameters: {
1033
+ query?: {
1034
+ /** @description Get responses that match search param value */
1035
+ search?: string;
1036
+ /** @description Get ordered responses */
1037
+ order?: string;
1038
+ /** @description Get responses by page */
1039
+ page?: string;
1040
+ /** @description Get responses by pagesize */
1041
+ pagesize?: string;
1042
+ };
1043
+ header?: never;
1044
+ path: {
1045
+ /** @description Organization ID */
1046
+ orgId: string;
1047
+ /** @description Team ID */
1048
+ teamId: string;
1049
+ };
1050
+ cookie?: never;
1051
+ };
1052
+ requestBody?: never;
1053
+ responses: {
1054
+ /** @description Users not currently in the team */
1055
+ 200: {
1056
+ headers: {
1057
+ [name: string]: unknown;
1058
+ };
1059
+ content: {
1060
+ "application/json": {
1061
+ /** @description Current page number of the result set. */
1062
+ page?: number;
1063
+ /** @description Number of items per page. */
1064
+ page_size?: number;
1065
+ /** @description Total number of items available. */
1066
+ total_count?: number;
1067
+ /** @description The data of the teammemberspage. */
1068
+ data?: {
1069
+ [key: string]: unknown;
1070
+ }[];
1071
+ };
1072
+ };
1073
+ };
1074
+ /** @description Invalid request body or request param */
1075
+ 400: {
1076
+ headers: {
1077
+ [name: string]: unknown;
1078
+ };
1079
+ content: {
1080
+ "text/plain": string;
1081
+ };
1082
+ };
1083
+ /** @description Expired JWT token used or insufficient privilege */
1084
+ 401: {
1085
+ headers: {
1086
+ [name: string]: unknown;
1087
+ };
1088
+ content: {
1089
+ "text/plain": string;
1090
+ };
1091
+ };
1092
+ /** @description Result not found */
1093
+ 404: {
1094
+ headers: {
1095
+ [name: string]: unknown;
1096
+ };
1097
+ content: {
1098
+ "text/plain": string;
1099
+ };
1100
+ };
1101
+ /** @description Internal server error */
1102
+ 500: {
1103
+ headers: {
1104
+ [name: string]: unknown;
1105
+ };
1106
+ content: {
1107
+ "text/plain": string;
1108
+ };
1109
+ };
1110
+ };
842
1111
  };
843
- };
844
1112
  }
845
-
846
- export interface external {}