@nestbox-ai/admin 1.0.39 → 1.0.47
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/.openapi-generator/FILES +77 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +145 -2
- package/api.ts +331 -488
- package/common.ts +4 -4
- package/dist/api.d.ts +155 -227
- package/dist/api.js +329 -484
- package/dist/esm/api.d.ts +155 -227
- package/dist/esm/api.js +324 -479
- package/docs/AddProjectMemberData.md +22 -0
- package/docs/AddProjectMemberDto.md +26 -0
- package/docs/AddProjectMemberResponseDTO.md +20 -0
- package/docs/AllProjectResponse.md +30 -0
- package/docs/AllProjectResponseModel.md +22 -0
- package/docs/AuthApi.md +405 -0
- package/docs/BadRequestExceptionResponse.md +22 -0
- package/docs/BooleanResponseDTO.md +20 -0
- package/docs/ChunkFileRequestDTO.md +24 -0
- package/docs/CreateCollectionRequestDTO.md +22 -0
- package/docs/CreateDocumentRequestDTO.md +24 -0
- package/docs/CreateMachineAgentDto.md +42 -0
- package/docs/CreatePermissionDto.md +26 -0
- package/docs/CreateProjectDTO.md +22 -0
- package/docs/CreateProjectResponseDTO.md +20 -0
- package/docs/CreateProjectRoleResponseDto.md +20 -0
- package/docs/CreateResourceDto.md +22 -0
- package/docs/CreateRoleDTO.md +26 -0
- package/docs/CreateRoleDto.md +24 -0
- package/docs/CreateWebhookDto.md +22 -0
- package/docs/DeleteProjectDto.md +20 -0
- package/docs/DeleteProjectResponseDTO.md +20 -0
- package/docs/DeleteProjectRoleByIdResponseDto.md +20 -0
- package/docs/DocumentsApi.md +781 -0
- package/docs/EvaluationTestApi.md +299 -0
- package/docs/FatalErrorExceptionResponse.md +20 -0
- package/docs/ForbiddenExceptionResponse.md +20 -0
- package/docs/ForgetPasswordRequestDTO.md +20 -0
- package/docs/ForgetPasswordResponseDTO.md +20 -0
- package/docs/ForgetPasswordVerificationRequestDTO.md +20 -0
- package/docs/ForgetPasswordVerificationResponseDTO.md +20 -0
- package/docs/GetAllProjectDto.md +22 -0
- package/docs/GetAllProjectMemberResponse.md +22 -0
- package/docs/GetAllProjectMemberResponseDto.md +20 -0
- package/docs/GetAllProjectRoleResponseDto.md +20 -0
- package/docs/GetAllProjectsResponseDTO.md +20 -0
- package/docs/GetAllRoleDTO.md +32 -0
- package/docs/GetProjectByIDResponseDTO.md +20 -0
- package/docs/GetProjectRoleByIdResponseDto.md +20 -0
- package/docs/GetRoleDTO.md +26 -0
- package/docs/GetUserProjectRoleByRoleIdResponseDto.md +20 -0
- package/docs/LoginRequestDTO.md +22 -0
- package/docs/LoginResponseDTO.md +20 -0
- package/docs/MachineAgentApi.md +253 -0
- package/docs/MachineAgentLogsApi.md +131 -0
- package/docs/MachineInstancesApi.md +361 -0
- package/docs/MembersApi.md +204 -0
- package/docs/MessageResponseDTO.md +20 -0
- package/docs/MiscellaneousApi.md +169 -0
- package/docs/NotFoundExceptionResponse.md +20 -0
- package/docs/NotificationsApi.md +122 -0
- package/docs/OAuthLoginRequestDTO.md +26 -0
- package/docs/PermissionsDTO.md +28 -0
- package/docs/ProjectResponseModel.md +30 -0
- package/docs/ProjectsApi.md +301 -0
- package/docs/QueriesAndDocumentationsApi.md +125 -0
- package/docs/ResetPasswordRequestDTO.md +22 -0
- package/docs/ResourceDTO.md +24 -0
- package/docs/RoleDto.md +22 -0
- package/docs/RolesApi.md +372 -0
- package/docs/SignupRequestDTO.md +36 -0
- package/docs/SignupResponseDTO.md +20 -0
- package/docs/SimilaritySearchQueryDTO.md +26 -0
- package/docs/TeamMemberDto.md +26 -0
- package/docs/UnauthorizedExceptionResponse.md +20 -0
- package/docs/UpdateDocumentRequestDTO.md +22 -0
- package/docs/UpdatePermissionDto.md +28 -0
- package/docs/UpdateProjectByIDResponseDTO.md +20 -0
- package/docs/UpdateProjectByIdRequest.md +22 -0
- package/docs/UpdateProjectRoleResponseDto.md +20 -0
- package/docs/UpdateResourceDto.md +24 -0
- package/docs/UpdateRoleByIdDto.md +24 -0
- package/docs/UpdateRoleDTO.md +26 -0
- package/docs/UpdateTeamMemberRequestDTO.md +20 -0
- package/docs/UpdateTeamMemberStatusRequestDTO.md +22 -0
- package/docs/UserDto.md +32 -0
- package/docs/WebhookApi.md +243 -0
- package/package.json +1 -1
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
# MachineInstancesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**machineInstancesControllerCreateMachineInstance**](#machineinstancescontrollercreatemachineinstance) | **POST** /projects/{projectId}/instances | Create Machine Instance|
|
|
8
|
+
|[**machineInstancesControllerDeleteMachineInstance**](#machineinstancescontrollerdeletemachineinstance) | **DELETE** /projects/{projectId}/instances | Delete machine instances by ids|
|
|
9
|
+
|[**machineInstancesControllerGetInstanceRunningStatus**](#machineinstancescontrollergetinstancerunningstatus) | **GET** /projects/{projectId}/instances/status | Retrieve running status of instances|
|
|
10
|
+
|[**machineInstancesControllerGetMachineInstanceById**](#machineinstancescontrollergetmachineinstancebyid) | **GET** /projects/{projectId}/instances/machine/{machineId} | Retrieve running status of instances|
|
|
11
|
+
|[**machineInstancesControllerGetMachineInstanceByUserId**](#machineinstancescontrollergetmachineinstancebyuserid) | **GET** /projects/{projectId}/instances | Retrieve all machine instances with count|
|
|
12
|
+
|[**machineInstancesControllerUpdateRunningStatus**](#machineinstancescontrollerupdaterunningstatus) | **PUT** /projects/{projectId}/instances/status | Update Machine Instance Running Status|
|
|
13
|
+
|
|
14
|
+
# **machineInstancesControllerCreateMachineInstance**
|
|
15
|
+
> object machineInstancesControllerCreateMachineInstance()
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import {
|
|
22
|
+
MachineInstancesApi,
|
|
23
|
+
Configuration
|
|
24
|
+
} from '@nestbox-ai/admin';
|
|
25
|
+
|
|
26
|
+
const configuration = new Configuration();
|
|
27
|
+
const apiInstance = new MachineInstancesApi(configuration);
|
|
28
|
+
|
|
29
|
+
let projectId: string; // (default to undefined)
|
|
30
|
+
|
|
31
|
+
const { status, data } = await apiInstance.machineInstancesControllerCreateMachineInstance(
|
|
32
|
+
projectId
|
|
33
|
+
);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Parameters
|
|
37
|
+
|
|
38
|
+
|Name | Type | Description | Notes|
|
|
39
|
+
|------------- | ------------- | ------------- | -------------|
|
|
40
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Return type
|
|
44
|
+
|
|
45
|
+
**object**
|
|
46
|
+
|
|
47
|
+
### Authorization
|
|
48
|
+
|
|
49
|
+
No authorization required
|
|
50
|
+
|
|
51
|
+
### HTTP request headers
|
|
52
|
+
|
|
53
|
+
- **Content-Type**: Not defined
|
|
54
|
+
- **Accept**: application/json
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### HTTP response details
|
|
58
|
+
| Status code | Description | Response headers |
|
|
59
|
+
|-------------|-------------|------------------|
|
|
60
|
+
|**200** | | - |
|
|
61
|
+
|**400** | | - |
|
|
62
|
+
|**401** | | - |
|
|
63
|
+
|**403** | | - |
|
|
64
|
+
|**404** | | - |
|
|
65
|
+
|**500** | | - |
|
|
66
|
+
|
|
67
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
68
|
+
|
|
69
|
+
# **machineInstancesControllerDeleteMachineInstance**
|
|
70
|
+
> object machineInstancesControllerDeleteMachineInstance()
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### Example
|
|
74
|
+
|
|
75
|
+
```typescript
|
|
76
|
+
import {
|
|
77
|
+
MachineInstancesApi,
|
|
78
|
+
Configuration
|
|
79
|
+
} from '@nestbox-ai/admin';
|
|
80
|
+
|
|
81
|
+
const configuration = new Configuration();
|
|
82
|
+
const apiInstance = new MachineInstancesApi(configuration);
|
|
83
|
+
|
|
84
|
+
let projectId: string; // (default to undefined)
|
|
85
|
+
|
|
86
|
+
const { status, data } = await apiInstance.machineInstancesControllerDeleteMachineInstance(
|
|
87
|
+
projectId
|
|
88
|
+
);
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Parameters
|
|
92
|
+
|
|
93
|
+
|Name | Type | Description | Notes|
|
|
94
|
+
|------------- | ------------- | ------------- | -------------|
|
|
95
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Return type
|
|
99
|
+
|
|
100
|
+
**object**
|
|
101
|
+
|
|
102
|
+
### Authorization
|
|
103
|
+
|
|
104
|
+
No authorization required
|
|
105
|
+
|
|
106
|
+
### HTTP request headers
|
|
107
|
+
|
|
108
|
+
- **Content-Type**: Not defined
|
|
109
|
+
- **Accept**: application/json
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
### HTTP response details
|
|
113
|
+
| Status code | Description | Response headers |
|
|
114
|
+
|-------------|-------------|------------------|
|
|
115
|
+
|**200** | | - |
|
|
116
|
+
|**400** | | - |
|
|
117
|
+
|**401** | | - |
|
|
118
|
+
|**403** | | - |
|
|
119
|
+
|**404** | | - |
|
|
120
|
+
|**500** | | - |
|
|
121
|
+
|
|
122
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
123
|
+
|
|
124
|
+
# **machineInstancesControllerGetInstanceRunningStatus**
|
|
125
|
+
> object machineInstancesControllerGetInstanceRunningStatus()
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
### Example
|
|
129
|
+
|
|
130
|
+
```typescript
|
|
131
|
+
import {
|
|
132
|
+
MachineInstancesApi,
|
|
133
|
+
Configuration
|
|
134
|
+
} from '@nestbox-ai/admin';
|
|
135
|
+
|
|
136
|
+
const configuration = new Configuration();
|
|
137
|
+
const apiInstance = new MachineInstancesApi(configuration);
|
|
138
|
+
|
|
139
|
+
let projectId: string; // (default to undefined)
|
|
140
|
+
|
|
141
|
+
const { status, data } = await apiInstance.machineInstancesControllerGetInstanceRunningStatus(
|
|
142
|
+
projectId
|
|
143
|
+
);
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Parameters
|
|
147
|
+
|
|
148
|
+
|Name | Type | Description | Notes|
|
|
149
|
+
|------------- | ------------- | ------------- | -------------|
|
|
150
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
### Return type
|
|
154
|
+
|
|
155
|
+
**object**
|
|
156
|
+
|
|
157
|
+
### Authorization
|
|
158
|
+
|
|
159
|
+
No authorization required
|
|
160
|
+
|
|
161
|
+
### HTTP request headers
|
|
162
|
+
|
|
163
|
+
- **Content-Type**: Not defined
|
|
164
|
+
- **Accept**: application/json
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
### HTTP response details
|
|
168
|
+
| Status code | Description | Response headers |
|
|
169
|
+
|-------------|-------------|------------------|
|
|
170
|
+
|**200** | | - |
|
|
171
|
+
|**400** | | - |
|
|
172
|
+
|**401** | | - |
|
|
173
|
+
|**403** | | - |
|
|
174
|
+
|**404** | | - |
|
|
175
|
+
|**500** | | - |
|
|
176
|
+
|
|
177
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
178
|
+
|
|
179
|
+
# **machineInstancesControllerGetMachineInstanceById**
|
|
180
|
+
> object machineInstancesControllerGetMachineInstanceById()
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
### Example
|
|
184
|
+
|
|
185
|
+
```typescript
|
|
186
|
+
import {
|
|
187
|
+
MachineInstancesApi,
|
|
188
|
+
Configuration
|
|
189
|
+
} from '@nestbox-ai/admin';
|
|
190
|
+
|
|
191
|
+
const configuration = new Configuration();
|
|
192
|
+
const apiInstance = new MachineInstancesApi(configuration);
|
|
193
|
+
|
|
194
|
+
let projectId: string; // (default to undefined)
|
|
195
|
+
let machineId: string; // (default to undefined)
|
|
196
|
+
let page: number; // (default to undefined)
|
|
197
|
+
let limit: number; // (default to undefined)
|
|
198
|
+
|
|
199
|
+
const { status, data } = await apiInstance.machineInstancesControllerGetMachineInstanceById(
|
|
200
|
+
projectId,
|
|
201
|
+
machineId,
|
|
202
|
+
page,
|
|
203
|
+
limit
|
|
204
|
+
);
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
### Parameters
|
|
208
|
+
|
|
209
|
+
|Name | Type | Description | Notes|
|
|
210
|
+
|------------- | ------------- | ------------- | -------------|
|
|
211
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
212
|
+
| **machineId** | [**string**] | | defaults to undefined|
|
|
213
|
+
| **page** | [**number**] | | defaults to undefined|
|
|
214
|
+
| **limit** | [**number**] | | defaults to undefined|
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
### Return type
|
|
218
|
+
|
|
219
|
+
**object**
|
|
220
|
+
|
|
221
|
+
### Authorization
|
|
222
|
+
|
|
223
|
+
No authorization required
|
|
224
|
+
|
|
225
|
+
### HTTP request headers
|
|
226
|
+
|
|
227
|
+
- **Content-Type**: Not defined
|
|
228
|
+
- **Accept**: application/json
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
### HTTP response details
|
|
232
|
+
| Status code | Description | Response headers |
|
|
233
|
+
|-------------|-------------|------------------|
|
|
234
|
+
|**200** | | - |
|
|
235
|
+
|**400** | | - |
|
|
236
|
+
|**401** | | - |
|
|
237
|
+
|**403** | | - |
|
|
238
|
+
|**404** | | - |
|
|
239
|
+
|**500** | | - |
|
|
240
|
+
|
|
241
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
242
|
+
|
|
243
|
+
# **machineInstancesControllerGetMachineInstanceByUserId**
|
|
244
|
+
> object machineInstancesControllerGetMachineInstanceByUserId()
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
### Example
|
|
248
|
+
|
|
249
|
+
```typescript
|
|
250
|
+
import {
|
|
251
|
+
MachineInstancesApi,
|
|
252
|
+
Configuration
|
|
253
|
+
} from '@nestbox-ai/admin';
|
|
254
|
+
|
|
255
|
+
const configuration = new Configuration();
|
|
256
|
+
const apiInstance = new MachineInstancesApi(configuration);
|
|
257
|
+
|
|
258
|
+
let projectId: string; // (default to undefined)
|
|
259
|
+
let page: number; // (default to undefined)
|
|
260
|
+
let limit: number; // (default to undefined)
|
|
261
|
+
|
|
262
|
+
const { status, data } = await apiInstance.machineInstancesControllerGetMachineInstanceByUserId(
|
|
263
|
+
projectId,
|
|
264
|
+
page,
|
|
265
|
+
limit
|
|
266
|
+
);
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
### Parameters
|
|
270
|
+
|
|
271
|
+
|Name | Type | Description | Notes|
|
|
272
|
+
|------------- | ------------- | ------------- | -------------|
|
|
273
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
274
|
+
| **page** | [**number**] | | defaults to undefined|
|
|
275
|
+
| **limit** | [**number**] | | defaults to undefined|
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
### Return type
|
|
279
|
+
|
|
280
|
+
**object**
|
|
281
|
+
|
|
282
|
+
### Authorization
|
|
283
|
+
|
|
284
|
+
No authorization required
|
|
285
|
+
|
|
286
|
+
### HTTP request headers
|
|
287
|
+
|
|
288
|
+
- **Content-Type**: Not defined
|
|
289
|
+
- **Accept**: application/json
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
### HTTP response details
|
|
293
|
+
| Status code | Description | Response headers |
|
|
294
|
+
|-------------|-------------|------------------|
|
|
295
|
+
|**200** | | - |
|
|
296
|
+
|**400** | | - |
|
|
297
|
+
|**401** | | - |
|
|
298
|
+
|**403** | | - |
|
|
299
|
+
|**404** | | - |
|
|
300
|
+
|**500** | | - |
|
|
301
|
+
|
|
302
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
303
|
+
|
|
304
|
+
# **machineInstancesControllerUpdateRunningStatus**
|
|
305
|
+
> object machineInstancesControllerUpdateRunningStatus(body)
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
### Example
|
|
309
|
+
|
|
310
|
+
```typescript
|
|
311
|
+
import {
|
|
312
|
+
MachineInstancesApi,
|
|
313
|
+
Configuration
|
|
314
|
+
} from '@nestbox-ai/admin';
|
|
315
|
+
|
|
316
|
+
const configuration = new Configuration();
|
|
317
|
+
const apiInstance = new MachineInstancesApi(configuration);
|
|
318
|
+
|
|
319
|
+
let projectId: string; // (default to undefined)
|
|
320
|
+
let body: object; //
|
|
321
|
+
|
|
322
|
+
const { status, data } = await apiInstance.machineInstancesControllerUpdateRunningStatus(
|
|
323
|
+
projectId,
|
|
324
|
+
body
|
|
325
|
+
);
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
### Parameters
|
|
329
|
+
|
|
330
|
+
|Name | Type | Description | Notes|
|
|
331
|
+
|------------- | ------------- | ------------- | -------------|
|
|
332
|
+
| **body** | **object**| | |
|
|
333
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
### Return type
|
|
337
|
+
|
|
338
|
+
**object**
|
|
339
|
+
|
|
340
|
+
### Authorization
|
|
341
|
+
|
|
342
|
+
No authorization required
|
|
343
|
+
|
|
344
|
+
### HTTP request headers
|
|
345
|
+
|
|
346
|
+
- **Content-Type**: application/json
|
|
347
|
+
- **Accept**: application/json
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
### HTTP response details
|
|
351
|
+
| Status code | Description | Response headers |
|
|
352
|
+
|-------------|-------------|------------------|
|
|
353
|
+
|**200** | | - |
|
|
354
|
+
|**400** | | - |
|
|
355
|
+
|**401** | | - |
|
|
356
|
+
|**403** | | - |
|
|
357
|
+
|**404** | | - |
|
|
358
|
+
|**500** | | - |
|
|
359
|
+
|
|
360
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
361
|
+
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
# MembersApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**membersControllerAddTeamMemberToProject**](#memberscontrolleraddteammembertoproject) | **POST** /projects/{projectId}/members | Add a team member|
|
|
8
|
+
|[**membersControllerGetAllTeamMembersOfProject**](#memberscontrollergetallteammembersofproject) | **GET** /projects/{projectId}/members | Retrieve all team members|
|
|
9
|
+
|[**membersControllerUpdateTeamMemberRole**](#memberscontrollerupdateteammemberrole) | **PATCH** /projects/{projectId}/members/{memberId} | Update team member details|
|
|
10
|
+
|
|
11
|
+
# **membersControllerAddTeamMemberToProject**
|
|
12
|
+
> AddProjectMemberResponseDTO membersControllerAddTeamMemberToProject(addProjectMemberDto)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
MembersApi,
|
|
20
|
+
Configuration,
|
|
21
|
+
AddProjectMemberDto
|
|
22
|
+
} from '@nestbox-ai/admin';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new MembersApi(configuration);
|
|
26
|
+
|
|
27
|
+
let projectId: string; // (default to undefined)
|
|
28
|
+
let addProjectMemberDto: AddProjectMemberDto; //
|
|
29
|
+
|
|
30
|
+
const { status, data } = await apiInstance.membersControllerAddTeamMemberToProject(
|
|
31
|
+
projectId,
|
|
32
|
+
addProjectMemberDto
|
|
33
|
+
);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Parameters
|
|
37
|
+
|
|
38
|
+
|Name | Type | Description | Notes|
|
|
39
|
+
|------------- | ------------- | ------------- | -------------|
|
|
40
|
+
| **addProjectMemberDto** | **AddProjectMemberDto**| | |
|
|
41
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Return type
|
|
45
|
+
|
|
46
|
+
**AddProjectMemberResponseDTO**
|
|
47
|
+
|
|
48
|
+
### Authorization
|
|
49
|
+
|
|
50
|
+
No authorization required
|
|
51
|
+
|
|
52
|
+
### HTTP request headers
|
|
53
|
+
|
|
54
|
+
- **Content-Type**: application/json
|
|
55
|
+
- **Accept**: application/json
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### HTTP response details
|
|
59
|
+
| Status code | Description | Response headers |
|
|
60
|
+
|-------------|-------------|------------------|
|
|
61
|
+
|**200** | | - |
|
|
62
|
+
|**400** | | - |
|
|
63
|
+
|**401** | | - |
|
|
64
|
+
|**403** | | - |
|
|
65
|
+
|**404** | | - |
|
|
66
|
+
|**500** | | - |
|
|
67
|
+
|
|
68
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
69
|
+
|
|
70
|
+
# **membersControllerGetAllTeamMembersOfProject**
|
|
71
|
+
> GetAllProjectMemberResponseDto membersControllerGetAllTeamMembersOfProject()
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Example
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
import {
|
|
78
|
+
MembersApi,
|
|
79
|
+
Configuration
|
|
80
|
+
} from '@nestbox-ai/admin';
|
|
81
|
+
|
|
82
|
+
const configuration = new Configuration();
|
|
83
|
+
const apiInstance = new MembersApi(configuration);
|
|
84
|
+
|
|
85
|
+
let projectId: string; // (default to undefined)
|
|
86
|
+
let page: number; // (optional) (default to undefined)
|
|
87
|
+
let limit: number; // (optional) (default to undefined)
|
|
88
|
+
let column: string; // (optional) (default to undefined)
|
|
89
|
+
let direction: 'ASC' | 'DESC'; // (optional) (default to undefined)
|
|
90
|
+
let teamMemberStatus: Array<string>; // (optional) (default to undefined)
|
|
91
|
+
let roleIds: Array<number>; // (optional) (default to undefined)
|
|
92
|
+
|
|
93
|
+
const { status, data } = await apiInstance.membersControllerGetAllTeamMembersOfProject(
|
|
94
|
+
projectId,
|
|
95
|
+
page,
|
|
96
|
+
limit,
|
|
97
|
+
column,
|
|
98
|
+
direction,
|
|
99
|
+
teamMemberStatus,
|
|
100
|
+
roleIds
|
|
101
|
+
);
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Parameters
|
|
105
|
+
|
|
106
|
+
|Name | Type | Description | Notes|
|
|
107
|
+
|------------- | ------------- | ------------- | -------------|
|
|
108
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
109
|
+
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
110
|
+
| **limit** | [**number**] | | (optional) defaults to undefined|
|
|
111
|
+
| **column** | [**string**] | | (optional) defaults to undefined|
|
|
112
|
+
| **direction** | [**'ASC' | 'DESC'**]**Array<'ASC' | 'DESC'>** | | (optional) defaults to undefined|
|
|
113
|
+
| **teamMemberStatus** | **Array<string>** | | (optional) defaults to undefined|
|
|
114
|
+
| **roleIds** | **Array<number>** | | (optional) defaults to undefined|
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### Return type
|
|
118
|
+
|
|
119
|
+
**GetAllProjectMemberResponseDto**
|
|
120
|
+
|
|
121
|
+
### Authorization
|
|
122
|
+
|
|
123
|
+
No authorization required
|
|
124
|
+
|
|
125
|
+
### HTTP request headers
|
|
126
|
+
|
|
127
|
+
- **Content-Type**: Not defined
|
|
128
|
+
- **Accept**: application/json
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
### HTTP response details
|
|
132
|
+
| Status code | Description | Response headers |
|
|
133
|
+
|-------------|-------------|------------------|
|
|
134
|
+
|**200** | | - |
|
|
135
|
+
|**400** | | - |
|
|
136
|
+
|**401** | | - |
|
|
137
|
+
|**403** | | - |
|
|
138
|
+
|**404** | | - |
|
|
139
|
+
|**500** | | - |
|
|
140
|
+
|
|
141
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
142
|
+
|
|
143
|
+
# **membersControllerUpdateTeamMemberRole**
|
|
144
|
+
> AddProjectMemberResponseDTO membersControllerUpdateTeamMemberRole(updateTeamMemberRequestDTO)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
### Example
|
|
148
|
+
|
|
149
|
+
```typescript
|
|
150
|
+
import {
|
|
151
|
+
MembersApi,
|
|
152
|
+
Configuration,
|
|
153
|
+
UpdateTeamMemberRequestDTO
|
|
154
|
+
} from '@nestbox-ai/admin';
|
|
155
|
+
|
|
156
|
+
const configuration = new Configuration();
|
|
157
|
+
const apiInstance = new MembersApi(configuration);
|
|
158
|
+
|
|
159
|
+
let projectId: string; // (default to undefined)
|
|
160
|
+
let memberId: string; // (default to undefined)
|
|
161
|
+
let updateTeamMemberRequestDTO: UpdateTeamMemberRequestDTO; //
|
|
162
|
+
|
|
163
|
+
const { status, data } = await apiInstance.membersControllerUpdateTeamMemberRole(
|
|
164
|
+
projectId,
|
|
165
|
+
memberId,
|
|
166
|
+
updateTeamMemberRequestDTO
|
|
167
|
+
);
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### Parameters
|
|
171
|
+
|
|
172
|
+
|Name | Type | Description | Notes|
|
|
173
|
+
|------------- | ------------- | ------------- | -------------|
|
|
174
|
+
| **updateTeamMemberRequestDTO** | **UpdateTeamMemberRequestDTO**| | |
|
|
175
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
176
|
+
| **memberId** | [**string**] | | defaults to undefined|
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
### Return type
|
|
180
|
+
|
|
181
|
+
**AddProjectMemberResponseDTO**
|
|
182
|
+
|
|
183
|
+
### Authorization
|
|
184
|
+
|
|
185
|
+
No authorization required
|
|
186
|
+
|
|
187
|
+
### HTTP request headers
|
|
188
|
+
|
|
189
|
+
- **Content-Type**: application/json
|
|
190
|
+
- **Accept**: application/json
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
### HTTP response details
|
|
194
|
+
| Status code | Description | Response headers |
|
|
195
|
+
|-------------|-------------|------------------|
|
|
196
|
+
|**200** | | - |
|
|
197
|
+
|**400** | | - |
|
|
198
|
+
|**401** | | - |
|
|
199
|
+
|**403** | | - |
|
|
200
|
+
|**404** | | - |
|
|
201
|
+
|**500** | | - |
|
|
202
|
+
|
|
203
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
204
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# MessageResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { MessageResponseDTO } from '@nestbox-ai/admin';
|
|
14
|
+
|
|
15
|
+
const instance: MessageResponseDTO = {
|
|
16
|
+
message,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|