@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,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)
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
# MiscellaneousApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**miscellaneousControllerGetData**](#miscellaneouscontrollergetdata) | **GET** /projects/machine/images | Get machine id matching instances.|
|
|
8
|
+
|[**miscellaneousControllerGetMachineInstanceByImageId**](#miscellaneouscontrollergetmachineinstancebyimageid) | **GET** /projects/{projectId}/allMachineInstance | Get machine id matching instances.|
|
|
9
|
+
|[**miscellaneousControllerUpdateTeamMemberStatus**](#miscellaneouscontrollerupdateteammemberstatus) | **PATCH** /projects/member/join | Join project|
|
|
10
|
+
|
|
11
|
+
# **miscellaneousControllerGetData**
|
|
12
|
+
> object miscellaneousControllerGetData()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
MiscellaneousApi,
|
|
20
|
+
Configuration
|
|
21
|
+
} from '@nestbox-ai/admin';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new MiscellaneousApi(configuration);
|
|
25
|
+
|
|
26
|
+
const { status, data } = await apiInstance.miscellaneousControllerGetData();
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Parameters
|
|
30
|
+
This endpoint does not have any parameters.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Return type
|
|
34
|
+
|
|
35
|
+
**object**
|
|
36
|
+
|
|
37
|
+
### Authorization
|
|
38
|
+
|
|
39
|
+
No authorization required
|
|
40
|
+
|
|
41
|
+
### HTTP request headers
|
|
42
|
+
|
|
43
|
+
- **Content-Type**: Not defined
|
|
44
|
+
- **Accept**: application/json
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### HTTP response details
|
|
48
|
+
| Status code | Description | Response headers |
|
|
49
|
+
|-------------|-------------|------------------|
|
|
50
|
+
|**200** | | - |
|
|
51
|
+
|**400** | | - |
|
|
52
|
+
|**401** | | - |
|
|
53
|
+
|**403** | | - |
|
|
54
|
+
|**404** | | - |
|
|
55
|
+
|**500** | | - |
|
|
56
|
+
|
|
57
|
+
[[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)
|
|
58
|
+
|
|
59
|
+
# **miscellaneousControllerGetMachineInstanceByImageId**
|
|
60
|
+
> object miscellaneousControllerGetMachineInstanceByImageId()
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Example
|
|
64
|
+
|
|
65
|
+
```typescript
|
|
66
|
+
import {
|
|
67
|
+
MiscellaneousApi,
|
|
68
|
+
Configuration
|
|
69
|
+
} from '@nestbox-ai/admin';
|
|
70
|
+
|
|
71
|
+
const configuration = new Configuration();
|
|
72
|
+
const apiInstance = new MiscellaneousApi(configuration);
|
|
73
|
+
|
|
74
|
+
let projectId: string; // (default to undefined)
|
|
75
|
+
|
|
76
|
+
const { status, data } = await apiInstance.miscellaneousControllerGetMachineInstanceByImageId(
|
|
77
|
+
projectId
|
|
78
|
+
);
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Parameters
|
|
82
|
+
|
|
83
|
+
|Name | Type | Description | Notes|
|
|
84
|
+
|------------- | ------------- | ------------- | -------------|
|
|
85
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### Return type
|
|
89
|
+
|
|
90
|
+
**object**
|
|
91
|
+
|
|
92
|
+
### Authorization
|
|
93
|
+
|
|
94
|
+
No authorization required
|
|
95
|
+
|
|
96
|
+
### HTTP request headers
|
|
97
|
+
|
|
98
|
+
- **Content-Type**: Not defined
|
|
99
|
+
- **Accept**: application/json
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### HTTP response details
|
|
103
|
+
| Status code | Description | Response headers |
|
|
104
|
+
|-------------|-------------|------------------|
|
|
105
|
+
|**200** | | - |
|
|
106
|
+
|**400** | | - |
|
|
107
|
+
|**401** | | - |
|
|
108
|
+
|**403** | | - |
|
|
109
|
+
|**404** | | - |
|
|
110
|
+
|**500** | | - |
|
|
111
|
+
|
|
112
|
+
[[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)
|
|
113
|
+
|
|
114
|
+
# **miscellaneousControllerUpdateTeamMemberStatus**
|
|
115
|
+
> AddProjectMemberResponseDTO miscellaneousControllerUpdateTeamMemberStatus(updateTeamMemberStatusRequestDTO)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### Example
|
|
119
|
+
|
|
120
|
+
```typescript
|
|
121
|
+
import {
|
|
122
|
+
MiscellaneousApi,
|
|
123
|
+
Configuration,
|
|
124
|
+
UpdateTeamMemberStatusRequestDTO
|
|
125
|
+
} from '@nestbox-ai/admin';
|
|
126
|
+
|
|
127
|
+
const configuration = new Configuration();
|
|
128
|
+
const apiInstance = new MiscellaneousApi(configuration);
|
|
129
|
+
|
|
130
|
+
let updateTeamMemberStatusRequestDTO: UpdateTeamMemberStatusRequestDTO; //
|
|
131
|
+
|
|
132
|
+
const { status, data } = await apiInstance.miscellaneousControllerUpdateTeamMemberStatus(
|
|
133
|
+
updateTeamMemberStatusRequestDTO
|
|
134
|
+
);
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Parameters
|
|
138
|
+
|
|
139
|
+
|Name | Type | Description | Notes|
|
|
140
|
+
|------------- | ------------- | ------------- | -------------|
|
|
141
|
+
| **updateTeamMemberStatusRequestDTO** | **UpdateTeamMemberStatusRequestDTO**| | |
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
### Return type
|
|
145
|
+
|
|
146
|
+
**AddProjectMemberResponseDTO**
|
|
147
|
+
|
|
148
|
+
### Authorization
|
|
149
|
+
|
|
150
|
+
No authorization required
|
|
151
|
+
|
|
152
|
+
### HTTP request headers
|
|
153
|
+
|
|
154
|
+
- **Content-Type**: application/json
|
|
155
|
+
- **Accept**: application/json
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
### HTTP response details
|
|
159
|
+
| Status code | Description | Response headers |
|
|
160
|
+
|-------------|-------------|------------------|
|
|
161
|
+
|**200** | | - |
|
|
162
|
+
|**400** | | - |
|
|
163
|
+
|**401** | | - |
|
|
164
|
+
|**403** | | - |
|
|
165
|
+
|**404** | | - |
|
|
166
|
+
|**500** | | - |
|
|
167
|
+
|
|
168
|
+
[[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)
|
|
169
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# NotFoundExceptionResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | | [default to 'Not Found']
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { NotFoundExceptionResponse } from '@nestbox-ai/admin';
|
|
14
|
+
|
|
15
|
+
const instance: NotFoundExceptionResponse = {
|
|
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)
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# NotificationsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**notificationsControllerGetLastFiveNotifications**](#notificationscontrollergetlastfivenotifications) | **GET** /projects/{projectId}/notifications | Retrieve last notifications|
|
|
8
|
+
|[**notificationsControllerMarkNotificationsAsRead**](#notificationscontrollermarknotificationsasread) | **PUT** /projects/{projectId}/notifications/status | Mark notification as read|
|
|
9
|
+
|
|
10
|
+
# **notificationsControllerGetLastFiveNotifications**
|
|
11
|
+
> object notificationsControllerGetLastFiveNotifications()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
NotificationsApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@nestbox-ai/admin';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new NotificationsApi(configuration);
|
|
24
|
+
|
|
25
|
+
let projectId: string; // (default to undefined)
|
|
26
|
+
|
|
27
|
+
const { status, data } = await apiInstance.notificationsControllerGetLastFiveNotifications(
|
|
28
|
+
projectId
|
|
29
|
+
);
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Parameters
|
|
33
|
+
|
|
34
|
+
|Name | Type | Description | Notes|
|
|
35
|
+
|------------- | ------------- | ------------- | -------------|
|
|
36
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Return type
|
|
40
|
+
|
|
41
|
+
**object**
|
|
42
|
+
|
|
43
|
+
### Authorization
|
|
44
|
+
|
|
45
|
+
No authorization required
|
|
46
|
+
|
|
47
|
+
### HTTP request headers
|
|
48
|
+
|
|
49
|
+
- **Content-Type**: Not defined
|
|
50
|
+
- **Accept**: application/json
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### HTTP response details
|
|
54
|
+
| Status code | Description | Response headers |
|
|
55
|
+
|-------------|-------------|------------------|
|
|
56
|
+
|**200** | | - |
|
|
57
|
+
|**400** | | - |
|
|
58
|
+
|**401** | | - |
|
|
59
|
+
|**403** | | - |
|
|
60
|
+
|**404** | | - |
|
|
61
|
+
|**500** | | - |
|
|
62
|
+
|
|
63
|
+
[[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)
|
|
64
|
+
|
|
65
|
+
# **notificationsControllerMarkNotificationsAsRead**
|
|
66
|
+
> object notificationsControllerMarkNotificationsAsRead(body)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Example
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
import {
|
|
73
|
+
NotificationsApi,
|
|
74
|
+
Configuration
|
|
75
|
+
} from '@nestbox-ai/admin';
|
|
76
|
+
|
|
77
|
+
const configuration = new Configuration();
|
|
78
|
+
const apiInstance = new NotificationsApi(configuration);
|
|
79
|
+
|
|
80
|
+
let projectId: string; // (default to undefined)
|
|
81
|
+
let body: object; //
|
|
82
|
+
|
|
83
|
+
const { status, data } = await apiInstance.notificationsControllerMarkNotificationsAsRead(
|
|
84
|
+
projectId,
|
|
85
|
+
body
|
|
86
|
+
);
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Parameters
|
|
90
|
+
|
|
91
|
+
|Name | Type | Description | Notes|
|
|
92
|
+
|------------- | ------------- | ------------- | -------------|
|
|
93
|
+
| **body** | **object**| | |
|
|
94
|
+
| **projectId** | [**string**] | | defaults to undefined|
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### Return type
|
|
98
|
+
|
|
99
|
+
**object**
|
|
100
|
+
|
|
101
|
+
### Authorization
|
|
102
|
+
|
|
103
|
+
No authorization required
|
|
104
|
+
|
|
105
|
+
### HTTP request headers
|
|
106
|
+
|
|
107
|
+
- **Content-Type**: application/json
|
|
108
|
+
- **Accept**: application/json
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### HTTP response details
|
|
112
|
+
| Status code | Description | Response headers |
|
|
113
|
+
|-------------|-------------|------------------|
|
|
114
|
+
|**200** | | - |
|
|
115
|
+
|**400** | | - |
|
|
116
|
+
|**401** | | - |
|
|
117
|
+
|**403** | | - |
|
|
118
|
+
|**404** | | - |
|
|
119
|
+
|**500** | | - |
|
|
120
|
+
|
|
121
|
+
[[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)
|
|
122
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# OAuthLoginRequestDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**providerId** | **string** | | [default to undefined]
|
|
9
|
+
**type** | **string** | | [default to undefined]
|
|
10
|
+
**email** | **string** | | [default to undefined]
|
|
11
|
+
**profilePictureUrl** | **string** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { OAuthLoginRequestDTO } from '@nestbox-ai/admin';
|
|
17
|
+
|
|
18
|
+
const instance: OAuthLoginRequestDTO = {
|
|
19
|
+
providerId,
|
|
20
|
+
type,
|
|
21
|
+
email,
|
|
22
|
+
profilePictureUrl,
|
|
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,28 @@
|
|
|
1
|
+
# PermissionsDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [default to undefined]
|
|
9
|
+
**read** | **boolean** | | [default to undefined]
|
|
10
|
+
**write** | **boolean** | | [default to undefined]
|
|
11
|
+
**update** | **boolean** | | [default to undefined]
|
|
12
|
+
**_delete** | **boolean** | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PermissionsDTO } from '@nestbox-ai/admin';
|
|
18
|
+
|
|
19
|
+
const instance: PermissionsDTO = {
|
|
20
|
+
id,
|
|
21
|
+
read,
|
|
22
|
+
write,
|
|
23
|
+
update,
|
|
24
|
+
_delete,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[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
|
+
# ProjectResponseModel
|
|
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 { ProjectResponseModel } from '@nestbox-ai/admin';
|
|
19
|
+
|
|
20
|
+
const instance: ProjectResponseModel = {
|
|
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)
|