@nestbox-ai/admin 1.0.38 → 1.0.42
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 +144 -2
- package/api.ts +222 -468
- package/dist/api.d.ts +118 -231
- package/dist/api.js +209 -448
- package/dist/esm/api.d.ts +118 -231
- package/dist/esm/api.js +204 -443
- 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 +66 -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,22 @@
|
|
|
1
|
+
# AddProjectMemberData
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | | [default to undefined]
|
|
9
|
+
**project** | **object** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { AddProjectMemberData } from '@nestbox-ai/admin';
|
|
15
|
+
|
|
16
|
+
const instance: AddProjectMemberData = {
|
|
17
|
+
message,
|
|
18
|
+
project,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# AddProjectMemberDto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**firstName** | **string** | | [default to undefined]
|
|
9
|
+
**lastName** | **string** | | [default to undefined]
|
|
10
|
+
**email** | **string** | | [default to undefined]
|
|
11
|
+
**roleId** | **number** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { AddProjectMemberDto } from '@nestbox-ai/admin';
|
|
17
|
+
|
|
18
|
+
const instance: AddProjectMemberDto = {
|
|
19
|
+
firstName,
|
|
20
|
+
lastName,
|
|
21
|
+
email,
|
|
22
|
+
roleId,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# AddProjectMemberResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**AddProjectMemberData**](AddProjectMemberData.md) | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { AddProjectMemberResponseDTO } from '@nestbox-ai/admin';
|
|
14
|
+
|
|
15
|
+
const instance: AddProjectMemberResponseDTO = {
|
|
16
|
+
data,
|
|
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)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# AllProjectResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**name** | **string** | | [default to undefined]
|
|
10
|
+
**description** | **string** | | [default to undefined]
|
|
11
|
+
**createdAt** | **string** | | [default to undefined]
|
|
12
|
+
**updatedAt** | **string** | | [default to undefined]
|
|
13
|
+
**deletedAt** | **string** | | [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { AllProjectResponse } from '@nestbox-ai/admin';
|
|
19
|
+
|
|
20
|
+
const instance: AllProjectResponse = {
|
|
21
|
+
id,
|
|
22
|
+
name,
|
|
23
|
+
description,
|
|
24
|
+
createdAt,
|
|
25
|
+
updatedAt,
|
|
26
|
+
deletedAt,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# AllProjectResponseModel
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**projects** | [**Array<AllProjectResponse>**](AllProjectResponse.md) | | [default to undefined]
|
|
9
|
+
**totalCount** | **number** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { AllProjectResponseModel } from '@nestbox-ai/admin';
|
|
15
|
+
|
|
16
|
+
const instance: AllProjectResponseModel = {
|
|
17
|
+
projects,
|
|
18
|
+
totalCount,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/AuthApi.md
ADDED
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
# AuthApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**authControllerExchangeToken**](#authcontrollerexchangetoken) | **POST** /auth/google/{token} | Exchange token|
|
|
8
|
+
|[**authControllerForgetPassword**](#authcontrollerforgetpassword) | **POST** /auth/forget-password | Forget password initiate|
|
|
9
|
+
|[**authControllerForgetPasswordVerification**](#authcontrollerforgetpasswordverification) | **POST** /auth/forget-password/verification | Forget password verification|
|
|
10
|
+
|[**authControllerLogin**](#authcontrollerlogin) | **POST** /auth/login | Login to the application|
|
|
11
|
+
|[**authControllerOAuthLogin**](#authcontrolleroauthlogin) | **POST** /auth/login/oauth | Login with OAuth apps|
|
|
12
|
+
|[**authControllerResetPassword**](#authcontrollerresetpassword) | **POST** /auth/reset-password | Forget password initiate|
|
|
13
|
+
|[**authControllerSignup**](#authcontrollersignup) | **POST** /auth/signup | Signup in the application|
|
|
14
|
+
|
|
15
|
+
# **authControllerExchangeToken**
|
|
16
|
+
> object authControllerExchangeToken()
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import {
|
|
23
|
+
AuthApi,
|
|
24
|
+
Configuration
|
|
25
|
+
} from '@nestbox-ai/admin';
|
|
26
|
+
|
|
27
|
+
const configuration = new Configuration();
|
|
28
|
+
const apiInstance = new AuthApi(configuration);
|
|
29
|
+
|
|
30
|
+
let token: string; // (default to undefined)
|
|
31
|
+
|
|
32
|
+
const { status, data } = await apiInstance.authControllerExchangeToken(
|
|
33
|
+
token
|
|
34
|
+
);
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Parameters
|
|
38
|
+
|
|
39
|
+
|Name | Type | Description | Notes|
|
|
40
|
+
|------------- | ------------- | ------------- | -------------|
|
|
41
|
+
| **token** | [**string**] | | defaults to undefined|
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Return type
|
|
45
|
+
|
|
46
|
+
**object**
|
|
47
|
+
|
|
48
|
+
### Authorization
|
|
49
|
+
|
|
50
|
+
No authorization required
|
|
51
|
+
|
|
52
|
+
### HTTP request headers
|
|
53
|
+
|
|
54
|
+
- **Content-Type**: Not defined
|
|
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
|
+
# **authControllerForgetPassword**
|
|
71
|
+
> ForgetPasswordResponseDTO authControllerForgetPassword(forgetPasswordRequestDTO)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Example
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
import {
|
|
78
|
+
AuthApi,
|
|
79
|
+
Configuration,
|
|
80
|
+
ForgetPasswordRequestDTO
|
|
81
|
+
} from '@nestbox-ai/admin';
|
|
82
|
+
|
|
83
|
+
const configuration = new Configuration();
|
|
84
|
+
const apiInstance = new AuthApi(configuration);
|
|
85
|
+
|
|
86
|
+
let forgetPasswordRequestDTO: ForgetPasswordRequestDTO; //
|
|
87
|
+
|
|
88
|
+
const { status, data } = await apiInstance.authControllerForgetPassword(
|
|
89
|
+
forgetPasswordRequestDTO
|
|
90
|
+
);
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Parameters
|
|
94
|
+
|
|
95
|
+
|Name | Type | Description | Notes|
|
|
96
|
+
|------------- | ------------- | ------------- | -------------|
|
|
97
|
+
| **forgetPasswordRequestDTO** | **ForgetPasswordRequestDTO**| | |
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
### Return type
|
|
101
|
+
|
|
102
|
+
**ForgetPasswordResponseDTO**
|
|
103
|
+
|
|
104
|
+
### Authorization
|
|
105
|
+
|
|
106
|
+
No authorization required
|
|
107
|
+
|
|
108
|
+
### HTTP request headers
|
|
109
|
+
|
|
110
|
+
- **Content-Type**: application/json
|
|
111
|
+
- **Accept**: application/json
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
### HTTP response details
|
|
115
|
+
| Status code | Description | Response headers |
|
|
116
|
+
|-------------|-------------|------------------|
|
|
117
|
+
|**200** | | - |
|
|
118
|
+
|**400** | | - |
|
|
119
|
+
|**401** | | - |
|
|
120
|
+
|**403** | | - |
|
|
121
|
+
|**404** | | - |
|
|
122
|
+
|**500** | | - |
|
|
123
|
+
|
|
124
|
+
[[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)
|
|
125
|
+
|
|
126
|
+
# **authControllerForgetPasswordVerification**
|
|
127
|
+
> ForgetPasswordVerificationResponseDTO authControllerForgetPasswordVerification(forgetPasswordVerificationRequestDTO)
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
### Example
|
|
131
|
+
|
|
132
|
+
```typescript
|
|
133
|
+
import {
|
|
134
|
+
AuthApi,
|
|
135
|
+
Configuration,
|
|
136
|
+
ForgetPasswordVerificationRequestDTO
|
|
137
|
+
} from '@nestbox-ai/admin';
|
|
138
|
+
|
|
139
|
+
const configuration = new Configuration();
|
|
140
|
+
const apiInstance = new AuthApi(configuration);
|
|
141
|
+
|
|
142
|
+
let forgetPasswordVerificationRequestDTO: ForgetPasswordVerificationRequestDTO; //
|
|
143
|
+
|
|
144
|
+
const { status, data } = await apiInstance.authControllerForgetPasswordVerification(
|
|
145
|
+
forgetPasswordVerificationRequestDTO
|
|
146
|
+
);
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Parameters
|
|
150
|
+
|
|
151
|
+
|Name | Type | Description | Notes|
|
|
152
|
+
|------------- | ------------- | ------------- | -------------|
|
|
153
|
+
| **forgetPasswordVerificationRequestDTO** | **ForgetPasswordVerificationRequestDTO**| | |
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
### Return type
|
|
157
|
+
|
|
158
|
+
**ForgetPasswordVerificationResponseDTO**
|
|
159
|
+
|
|
160
|
+
### Authorization
|
|
161
|
+
|
|
162
|
+
No authorization required
|
|
163
|
+
|
|
164
|
+
### HTTP request headers
|
|
165
|
+
|
|
166
|
+
- **Content-Type**: application/json
|
|
167
|
+
- **Accept**: application/json
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
### HTTP response details
|
|
171
|
+
| Status code | Description | Response headers |
|
|
172
|
+
|-------------|-------------|------------------|
|
|
173
|
+
|**200** | | - |
|
|
174
|
+
|**400** | | - |
|
|
175
|
+
|**401** | | - |
|
|
176
|
+
|**403** | | - |
|
|
177
|
+
|**404** | | - |
|
|
178
|
+
|**500** | | - |
|
|
179
|
+
|
|
180
|
+
[[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)
|
|
181
|
+
|
|
182
|
+
# **authControllerLogin**
|
|
183
|
+
> LoginResponseDTO authControllerLogin(loginRequestDTO)
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
### Example
|
|
187
|
+
|
|
188
|
+
```typescript
|
|
189
|
+
import {
|
|
190
|
+
AuthApi,
|
|
191
|
+
Configuration,
|
|
192
|
+
LoginRequestDTO
|
|
193
|
+
} from '@nestbox-ai/admin';
|
|
194
|
+
|
|
195
|
+
const configuration = new Configuration();
|
|
196
|
+
const apiInstance = new AuthApi(configuration);
|
|
197
|
+
|
|
198
|
+
let loginRequestDTO: LoginRequestDTO; //
|
|
199
|
+
|
|
200
|
+
const { status, data } = await apiInstance.authControllerLogin(
|
|
201
|
+
loginRequestDTO
|
|
202
|
+
);
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Parameters
|
|
206
|
+
|
|
207
|
+
|Name | Type | Description | Notes|
|
|
208
|
+
|------------- | ------------- | ------------- | -------------|
|
|
209
|
+
| **loginRequestDTO** | **LoginRequestDTO**| | |
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
### Return type
|
|
213
|
+
|
|
214
|
+
**LoginResponseDTO**
|
|
215
|
+
|
|
216
|
+
### Authorization
|
|
217
|
+
|
|
218
|
+
No authorization required
|
|
219
|
+
|
|
220
|
+
### HTTP request headers
|
|
221
|
+
|
|
222
|
+
- **Content-Type**: application/json
|
|
223
|
+
- **Accept**: application/json
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
### HTTP response details
|
|
227
|
+
| Status code | Description | Response headers |
|
|
228
|
+
|-------------|-------------|------------------|
|
|
229
|
+
|**200** | | - |
|
|
230
|
+
|**400** | | - |
|
|
231
|
+
|**401** | | - |
|
|
232
|
+
|**403** | | - |
|
|
233
|
+
|**404** | | - |
|
|
234
|
+
|**500** | | - |
|
|
235
|
+
|
|
236
|
+
[[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)
|
|
237
|
+
|
|
238
|
+
# **authControllerOAuthLogin**
|
|
239
|
+
> LoginResponseDTO authControllerOAuthLogin(oAuthLoginRequestDTO)
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
### Example
|
|
243
|
+
|
|
244
|
+
```typescript
|
|
245
|
+
import {
|
|
246
|
+
AuthApi,
|
|
247
|
+
Configuration,
|
|
248
|
+
OAuthLoginRequestDTO
|
|
249
|
+
} from '@nestbox-ai/admin';
|
|
250
|
+
|
|
251
|
+
const configuration = new Configuration();
|
|
252
|
+
const apiInstance = new AuthApi(configuration);
|
|
253
|
+
|
|
254
|
+
let oAuthLoginRequestDTO: OAuthLoginRequestDTO; //
|
|
255
|
+
|
|
256
|
+
const { status, data } = await apiInstance.authControllerOAuthLogin(
|
|
257
|
+
oAuthLoginRequestDTO
|
|
258
|
+
);
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
### Parameters
|
|
262
|
+
|
|
263
|
+
|Name | Type | Description | Notes|
|
|
264
|
+
|------------- | ------------- | ------------- | -------------|
|
|
265
|
+
| **oAuthLoginRequestDTO** | **OAuthLoginRequestDTO**| | |
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
### Return type
|
|
269
|
+
|
|
270
|
+
**LoginResponseDTO**
|
|
271
|
+
|
|
272
|
+
### Authorization
|
|
273
|
+
|
|
274
|
+
No authorization required
|
|
275
|
+
|
|
276
|
+
### HTTP request headers
|
|
277
|
+
|
|
278
|
+
- **Content-Type**: application/json
|
|
279
|
+
- **Accept**: application/json
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
### HTTP response details
|
|
283
|
+
| Status code | Description | Response headers |
|
|
284
|
+
|-------------|-------------|------------------|
|
|
285
|
+
|**200** | | - |
|
|
286
|
+
|**400** | | - |
|
|
287
|
+
|**401** | | - |
|
|
288
|
+
|**403** | | - |
|
|
289
|
+
|**404** | | - |
|
|
290
|
+
|**500** | | - |
|
|
291
|
+
|
|
292
|
+
[[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)
|
|
293
|
+
|
|
294
|
+
# **authControllerResetPassword**
|
|
295
|
+
> BooleanResponseDTO authControllerResetPassword(resetPasswordRequestDTO)
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
### Example
|
|
299
|
+
|
|
300
|
+
```typescript
|
|
301
|
+
import {
|
|
302
|
+
AuthApi,
|
|
303
|
+
Configuration,
|
|
304
|
+
ResetPasswordRequestDTO
|
|
305
|
+
} from '@nestbox-ai/admin';
|
|
306
|
+
|
|
307
|
+
const configuration = new Configuration();
|
|
308
|
+
const apiInstance = new AuthApi(configuration);
|
|
309
|
+
|
|
310
|
+
let resetPasswordRequestDTO: ResetPasswordRequestDTO; //
|
|
311
|
+
|
|
312
|
+
const { status, data } = await apiInstance.authControllerResetPassword(
|
|
313
|
+
resetPasswordRequestDTO
|
|
314
|
+
);
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
### Parameters
|
|
318
|
+
|
|
319
|
+
|Name | Type | Description | Notes|
|
|
320
|
+
|------------- | ------------- | ------------- | -------------|
|
|
321
|
+
| **resetPasswordRequestDTO** | **ResetPasswordRequestDTO**| | |
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
### Return type
|
|
325
|
+
|
|
326
|
+
**BooleanResponseDTO**
|
|
327
|
+
|
|
328
|
+
### Authorization
|
|
329
|
+
|
|
330
|
+
No authorization required
|
|
331
|
+
|
|
332
|
+
### HTTP request headers
|
|
333
|
+
|
|
334
|
+
- **Content-Type**: application/json
|
|
335
|
+
- **Accept**: application/json
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
### HTTP response details
|
|
339
|
+
| Status code | Description | Response headers |
|
|
340
|
+
|-------------|-------------|------------------|
|
|
341
|
+
|**200** | | - |
|
|
342
|
+
|**400** | | - |
|
|
343
|
+
|**401** | | - |
|
|
344
|
+
|**403** | | - |
|
|
345
|
+
|**404** | | - |
|
|
346
|
+
|**500** | | - |
|
|
347
|
+
|
|
348
|
+
[[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)
|
|
349
|
+
|
|
350
|
+
# **authControllerSignup**
|
|
351
|
+
> SignupResponseDTO authControllerSignup(signupRequestDTO)
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
### Example
|
|
355
|
+
|
|
356
|
+
```typescript
|
|
357
|
+
import {
|
|
358
|
+
AuthApi,
|
|
359
|
+
Configuration,
|
|
360
|
+
SignupRequestDTO
|
|
361
|
+
} from '@nestbox-ai/admin';
|
|
362
|
+
|
|
363
|
+
const configuration = new Configuration();
|
|
364
|
+
const apiInstance = new AuthApi(configuration);
|
|
365
|
+
|
|
366
|
+
let signupRequestDTO: SignupRequestDTO; //
|
|
367
|
+
|
|
368
|
+
const { status, data } = await apiInstance.authControllerSignup(
|
|
369
|
+
signupRequestDTO
|
|
370
|
+
);
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
### Parameters
|
|
374
|
+
|
|
375
|
+
|Name | Type | Description | Notes|
|
|
376
|
+
|------------- | ------------- | ------------- | -------------|
|
|
377
|
+
| **signupRequestDTO** | **SignupRequestDTO**| | |
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
### Return type
|
|
381
|
+
|
|
382
|
+
**SignupResponseDTO**
|
|
383
|
+
|
|
384
|
+
### Authorization
|
|
385
|
+
|
|
386
|
+
No authorization required
|
|
387
|
+
|
|
388
|
+
### HTTP request headers
|
|
389
|
+
|
|
390
|
+
- **Content-Type**: application/json
|
|
391
|
+
- **Accept**: application/json
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
### HTTP response details
|
|
395
|
+
| Status code | Description | Response headers |
|
|
396
|
+
|-------------|-------------|------------------|
|
|
397
|
+
|**200** | | - |
|
|
398
|
+
|**400** | | - |
|
|
399
|
+
|**401** | | - |
|
|
400
|
+
|**403** | | - |
|
|
401
|
+
|**404** | | - |
|
|
402
|
+
|**500** | | - |
|
|
403
|
+
|
|
404
|
+
[[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)
|
|
405
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# BadRequestExceptionResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | | [default to 'Bad Request. Check Input']
|
|
9
|
+
**errors** | **object** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { BadRequestExceptionResponse } from '@nestbox-ai/admin';
|
|
15
|
+
|
|
16
|
+
const instance: BadRequestExceptionResponse = {
|
|
17
|
+
message,
|
|
18
|
+
errors,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# BooleanResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | **boolean** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { BooleanResponseDTO } from '@nestbox-ai/admin';
|
|
14
|
+
|
|
15
|
+
const instance: BooleanResponseDTO = {
|
|
16
|
+
data,
|
|
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)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ChunkFileRequestDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**type** | **string** | | [default to undefined]
|
|
9
|
+
**url** | **string** | | [default to undefined]
|
|
10
|
+
**_options** | **object** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ChunkFileRequestDTO } from '@nestbox-ai/admin';
|
|
16
|
+
|
|
17
|
+
const instance: ChunkFileRequestDTO = {
|
|
18
|
+
type,
|
|
19
|
+
url,
|
|
20
|
+
_options,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# CreateCollectionRequestDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [default to undefined]
|
|
9
|
+
**metadata** | **object** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { CreateCollectionRequestDTO } from '@nestbox-ai/admin';
|
|
15
|
+
|
|
16
|
+
const instance: CreateCollectionRequestDTO = {
|
|
17
|
+
name,
|
|
18
|
+
metadata,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# CreateDocumentRequestDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**document** | **string** | | [default to undefined]
|
|
10
|
+
**metadata** | **object** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { CreateDocumentRequestDTO } from '@nestbox-ai/admin';
|
|
16
|
+
|
|
17
|
+
const instance: CreateDocumentRequestDTO = {
|
|
18
|
+
id,
|
|
19
|
+
document,
|
|
20
|
+
metadata,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# CreateMachineAgentDto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**agentName** | **string** | | [default to undefined]
|
|
9
|
+
**goal** | **string** | | [default to undefined]
|
|
10
|
+
**modelBaseId** | **string** | | [default to undefined]
|
|
11
|
+
**machineName** | **string** | | [default to undefined]
|
|
12
|
+
**machineInstanceId** | **number** | | [default to undefined]
|
|
13
|
+
**instanceIP** | **string** | | [default to undefined]
|
|
14
|
+
**entryFunctionName** | **string** | | [default to undefined]
|
|
15
|
+
**machineManifestId** | **string** | | [default to undefined]
|
|
16
|
+
**type** | **string** | | [default to undefined]
|
|
17
|
+
**parameters** | **Array<object>** | | [default to undefined]
|
|
18
|
+
**projectId** | **string** | | [default to undefined]
|
|
19
|
+
**userId** | **number** | | [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { CreateMachineAgentDto } from '@nestbox-ai/admin';
|
|
25
|
+
|
|
26
|
+
const instance: CreateMachineAgentDto = {
|
|
27
|
+
agentName,
|
|
28
|
+
goal,
|
|
29
|
+
modelBaseId,
|
|
30
|
+
machineName,
|
|
31
|
+
machineInstanceId,
|
|
32
|
+
instanceIP,
|
|
33
|
+
entryFunctionName,
|
|
34
|
+
machineManifestId,
|
|
35
|
+
type,
|
|
36
|
+
parameters,
|
|
37
|
+
projectId,
|
|
38
|
+
userId,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|