@meshery/schemas 1.3.8 → 1.4.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.
- package/dist/cloudApi.d.mts +4154 -1704
- package/dist/cloudApi.d.ts +4154 -1704
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha1/capability/Capability.d.ts +106 -111
- package/dist/constructs/v1alpha1/core/Core.d.ts +822 -734
- package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +45 -40
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1829 -1716
- package/dist/constructs/v1beta1/academy/Academy.d.ts +6023 -6642
- package/dist/constructs/v1beta1/badge/Badge.d.ts +439 -600
- package/dist/constructs/v1beta1/capability/Capability.d.ts +106 -111
- package/dist/constructs/v1beta1/catalog/Catalog.d.ts +45 -40
- package/dist/constructs/v1beta1/category/Category.d.ts +38 -26
- package/dist/constructs/v1beta1/component/Component.d.ts +833 -729
- package/dist/constructs/v1beta1/connection/Connection.d.ts +1170 -1357
- package/dist/constructs/v1beta1/core/Core.d.ts +822 -734
- package/dist/constructs/v1beta1/credential/Credential.d.ts +458 -593
- package/dist/constructs/v1beta1/environment/Environment.d.ts +666 -835
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6142 -5619
- package/dist/constructs/v1beta1/event/Event.d.ts +527 -898
- package/dist/constructs/v1beta1/feature/Feature.d.ts +343 -389
- package/dist/constructs/v1beta1/invitation/Invitation.d.ts +877 -1244
- package/dist/constructs/v1beta1/key/Key.d.ts +444 -589
- package/dist/constructs/v1beta1/keychain/Keychain.d.ts +575 -796
- package/dist/constructs/v1beta1/model/Model.d.ts +598 -572
- package/dist/constructs/v1beta1/organization/Organization.d.ts +1410 -1829
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17988 -17171
- package/dist/constructs/v1beta1/plan/Plan.d.ts +115 -159
- package/dist/constructs/v1beta1/role/Role.d.ts +688 -933
- package/dist/constructs/v1beta1/schedule/Schedule.d.ts +315 -425
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +61 -18
- package/dist/constructs/v1beta1/subscription/Subscription.d.ts +674 -839
- package/dist/constructs/v1beta1/support/Support.d.ts +74 -115
- package/dist/constructs/v1beta1/system/System.d.ts +250 -385
- package/dist/constructs/v1beta1/team/Team.d.ts +762 -1028
- package/dist/constructs/v1beta1/token/Token.d.ts +475 -612
- package/dist/constructs/v1beta1/user/User.d.ts +1553 -1722
- package/dist/constructs/v1beta1/view/View.d.ts +664 -833
- package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4705 -4910
- package/dist/constructs/v1beta2/academy/Academy.d.ts +7246 -7864
- package/dist/constructs/v1beta2/badge/Badge.d.ts +453 -610
- package/dist/constructs/v1beta2/catalog/Catalog.d.ts +45 -40
- package/dist/constructs/v1beta2/component/Component.d.ts +851 -747
- package/dist/constructs/v1beta2/connection/Connection.d.ts +1189 -1376
- package/dist/constructs/v1beta2/core/Core.d.ts +856 -768
- package/dist/constructs/v1beta2/credential/Credential.d.ts +437 -572
- package/dist/constructs/v1beta2/design/Design.d.ts +18631 -17846
- package/dist/constructs/v1beta2/event/Event.d.ts +575 -946
- package/dist/constructs/v1beta2/invitation/Invitation.d.ts +901 -1268
- package/dist/constructs/v1beta2/key/Key.d.ts +454 -599
- package/dist/constructs/v1beta2/keychain/Keychain.d.ts +585 -806
- package/dist/constructs/v1beta2/model/Model.d.ts +636 -610
- package/dist/constructs/v1beta2/organization/Organization.d.ts +2017 -2458
- package/dist/constructs/v1beta2/plan/Plan.d.ts +128 -169
- package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2013 -1844
- package/dist/constructs/v1beta2/role/Role.d.ts +695 -940
- package/dist/constructs/v1beta2/schedule/Schedule.d.ts +356 -466
- package/dist/constructs/v1beta2/subscription/Subscription.d.ts +701 -866
- package/dist/constructs/v1beta2/team/Team.d.ts +852 -1118
- package/dist/constructs/v1beta2/token/Token.d.ts +479 -616
- package/dist/constructs/v1beta2/user/User.d.ts +1553 -1722
- package/dist/constructs/v1beta2/view/View.d.ts +669 -838
- package/dist/constructs/v1beta3/academy/Academy.d.ts +7246 -7864
- package/dist/constructs/v1beta3/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta3/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta3/component/Component.d.ts +857 -753
- package/dist/constructs/v1beta3/connection/Connection.d.ts +5919 -1416
- package/dist/constructs/v1beta3/connection/ConnectionSchema.js +25 -1
- package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +25 -1
- package/dist/constructs/v1beta3/design/Design.d.ts +5297 -5719
- package/dist/constructs/v1beta3/design/DesignSchema.js +2 -2
- package/dist/constructs/v1beta3/design/DesignSchema.mjs +2 -2
- package/dist/constructs/v1beta3/environment/Environment.d.ts +689 -858
- package/dist/constructs/v1beta3/event/Event.d.ts +666 -1041
- package/dist/constructs/v1beta3/event/EventSchema.js +1 -1
- package/dist/constructs/v1beta3/event/EventSchema.mjs +1 -1
- package/dist/constructs/v1beta3/filter/Filter.d.ts +1300 -1438
- package/dist/constructs/v1beta3/filter/FilterSchema.js +7 -7
- package/dist/constructs/v1beta3/filter/FilterSchema.mjs +7 -7
- package/dist/constructs/v1beta3/invitation/Invitation.d.ts +911 -1278
- package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
- package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +1114 -1412
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.js +1 -1
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.mjs +1 -1
- package/dist/constructs/v1beta3/plan/Plan.d.ts +156 -197
- package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2013 -1844
- package/dist/constructs/v1beta3/subscription/Subscription.d.ts +804 -969
- package/dist/constructs/v1beta3/token/Token.d.ts +480 -617
- package/dist/constructs/v1beta3/token/TokenSchema.js +1 -1
- package/dist/constructs/v1beta3/token/TokenSchema.mjs +1 -1
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +4825 -5033
- package/dist/index.d.mts +5032 -5501
- package/dist/index.d.ts +5032 -5501
- package/dist/mesheryApi.d.mts +3334 -884
- package/dist/mesheryApi.d.ts +3334 -884
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/dist/permissions.d.mts +25 -1
- package/dist/permissions.d.ts +25 -1
- package/dist/permissions.js +1 -1
- package/dist/permissions.mjs +1 -1
- package/package.json +1 -1
|
@@ -4,125 +4,342 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export interface paths {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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;
|
|
30
65
|
};
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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?: {
|
|
38
87
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @description
|
|
88
|
+
* Format: uuid
|
|
89
|
+
* @description Team ID
|
|
41
90
|
*/
|
|
42
|
-
|
|
91
|
+
id: string;
|
|
92
|
+
/** @description Team name */
|
|
93
|
+
name: string;
|
|
94
|
+
/** @description Team description */
|
|
95
|
+
description?: string;
|
|
43
96
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @description
|
|
97
|
+
* Format: uuid
|
|
98
|
+
* @description User ID of the owner of the team
|
|
46
99
|
*/
|
|
47
|
-
|
|
48
|
-
|
|
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;
|
|
49
107
|
/**
|
|
50
|
-
*
|
|
51
|
-
* @description
|
|
108
|
+
* Format: date-time
|
|
109
|
+
* @description SQL null Timestamp to handle null values of time.
|
|
52
110
|
*/
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
head?: never;
|
|
56
|
-
patch?: never;
|
|
57
|
-
trace?: never;
|
|
111
|
+
deleted_at?: string;
|
|
112
|
+
}[];
|
|
58
113
|
};
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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;
|
|
66
151
|
/**
|
|
67
|
-
*
|
|
68
|
-
* @description
|
|
152
|
+
* Format: date-time
|
|
153
|
+
* @description Timestamp when the resource was created.
|
|
69
154
|
*/
|
|
70
|
-
|
|
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;
|
|
155
|
+
created_at?: string;
|
|
88
156
|
/**
|
|
89
|
-
*
|
|
90
|
-
* @description
|
|
157
|
+
* Format: date-time
|
|
158
|
+
* @description Timestamp when the resource was updated.
|
|
91
159
|
*/
|
|
92
|
-
|
|
160
|
+
updated_at?: string;
|
|
93
161
|
/**
|
|
94
|
-
*
|
|
95
|
-
* @description
|
|
162
|
+
* Format: date-time
|
|
163
|
+
* @description SQL null Timestamp to handle null values of time.
|
|
96
164
|
*/
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
head?: never;
|
|
100
|
-
patch?: never;
|
|
101
|
-
trace?: never;
|
|
165
|
+
deleted_at?: string;
|
|
166
|
+
}[];
|
|
102
167
|
};
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
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
|
+
};
|
|
119
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
|
+
};
|
|
120
250
|
}
|
|
121
|
-
|
|
122
|
-
export interface
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
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": {
|
|
126
343
|
/**
|
|
127
344
|
* Format: uuid
|
|
128
345
|
* @description Team ID
|
|
@@ -138,7 +355,7 @@ export interface components {
|
|
|
138
355
|
*/
|
|
139
356
|
owner?: string;
|
|
140
357
|
/** @description Additional metadata for the team */
|
|
141
|
-
metadata?:
|
|
358
|
+
metadata?: { [key: string]: unknown };
|
|
142
359
|
/** Format: date-time */
|
|
143
360
|
created_at?: string;
|
|
144
361
|
/** Format: date-time */
|
|
@@ -148,57 +365,330 @@ export interface components {
|
|
|
148
365
|
* @description SQL null Timestamp to handle null values of time.
|
|
149
366
|
*/
|
|
150
367
|
deleted_at?: string;
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
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 */
|
|
155
429
|
name: string;
|
|
156
|
-
/** @description
|
|
430
|
+
/** @description Team description */
|
|
157
431
|
description?: string;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
/** @description
|
|
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 */
|
|
164
500
|
description?: string;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
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": {
|
|
168
619
|
page?: number;
|
|
169
620
|
page_size?: number;
|
|
170
621
|
total_count?: number;
|
|
171
|
-
/** @description The teams of the
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
* Format: date-time
|
|
195
|
-
* @description SQL null Timestamp to handle null values of time.
|
|
196
|
-
*/
|
|
197
|
-
deleted_at?: string;
|
|
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;
|
|
198
645
|
}[];
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
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": {
|
|
202
692
|
/** Format: uuid */
|
|
203
693
|
id?: string;
|
|
204
694
|
/** Format: uuid */
|
|
@@ -220,41 +710,100 @@ export interface components {
|
|
|
220
710
|
* @description SQL null Timestamp to handle null values of time.
|
|
221
711
|
*/
|
|
222
712
|
deleted_at?: string;
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
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": {
|
|
258
807
|
/** @description Current page number of the result set. */
|
|
259
808
|
page?: number;
|
|
260
809
|
/** @description Number of items per page. */
|
|
@@ -262,851 +811,36 @@ export interface components {
|
|
|
262
811
|
/** @description Total number of items available. */
|
|
263
812
|
total_count?: number;
|
|
264
813
|
/** @description The data of the teammemberspage. */
|
|
265
|
-
data?: {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
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
|
-
};
|
|
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
|
+
};
|
|
1111
842
|
};
|
|
843
|
+
};
|
|
1112
844
|
}
|
|
845
|
+
|
|
846
|
+
export interface external {}
|