@nestbox-ai/doc-processing-api 0.0.1 → 1.0.62
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 +53 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +120 -44
- package/api.ts +2970 -0
- package/base.ts +62 -0
- package/common.ts +126 -0
- package/configuration.ts +121 -0
- package/dist/api.d.ts +1771 -0
- package/dist/api.js +2280 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +46 -0
- package/dist/common.d.ts +34 -0
- package/dist/common.js +138 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api.d.ts +1771 -0
- package/dist/esm/api.js +2241 -0
- package/dist/esm/base.d.ts +42 -0
- package/dist/esm/base.js +41 -0
- package/dist/esm/common.d.ts +34 -0
- package/dist/esm/common.js +125 -0
- package/dist/esm/configuration.d.ts +98 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.js +15 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/docs/ArtifactsApi.md +61 -0
- package/docs/BatchQueryDto.md +34 -0
- package/docs/CreateWebhookInputDto.md +20 -0
- package/docs/DocumentCreateResponseDto.md +22 -0
- package/docs/DocumentDto.md +38 -0
- package/docs/DocumentSourcesResponseDto.md +20 -0
- package/docs/DocumentsApi.md +186 -0
- package/docs/ErrorDto.md +26 -0
- package/docs/EvalCreateResponseDto.md +22 -0
- package/docs/EvalDto.md +36 -0
- package/docs/EvalsApi.md +243 -0
- package/docs/GpuDeviceDto.md +28 -0
- package/docs/GpuHealthCheckDto.md +26 -0
- package/docs/HealthApi.md +53 -0
- package/docs/HealthCheckItemDto.md +26 -0
- package/docs/HealthChecksDto.md +24 -0
- package/docs/HealthResponseDto.md +24 -0
- package/docs/JobDto.md +48 -0
- package/docs/JobLinksDto.md +22 -0
- package/docs/JobStatusDto.md +32 -0
- package/docs/JobsApi.md +170 -0
- package/docs/PaginatedDocumentsDto.md +22 -0
- package/docs/PaginatedEvalsDto.md +22 -0
- package/docs/PaginatedJobsDto.md +22 -0
- package/docs/PaginatedProfilesDto.md +22 -0
- package/docs/PaginatedQueriesDto.md +22 -0
- package/docs/PaginatedWebhooksDto.md +22 -0
- package/docs/PaginationDto.md +24 -0
- package/docs/ProfileDto.md +32 -0
- package/docs/ProfilesApi.md +220 -0
- package/docs/QueriesApi.md +232 -0
- package/docs/QueryCreateResponseDto.md +22 -0
- package/docs/SourceItemDto.md +32 -0
- package/docs/SourcesApi.md +67 -0
- package/docs/UpdateWebhookBodyInputDto.md +20 -0
- package/docs/ValidationErrorDto.md +26 -0
- package/docs/ValidationIssueDto.md +24 -0
- package/docs/ValidationResultDto.md +24 -0
- package/docs/WebhookDto.md +26 -0
- package/docs/WebhooksApi.md +280 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +29 -6
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
# QueriesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**queriesControllerCreateQuery**](#queriescontrollercreatequery) | **POST** /query | Create batch query from YAML|
|
|
8
|
+
|[**queriesControllerGetQuery**](#queriescontrollergetquery) | **GET** /query/{queryId} | Read batch query|
|
|
9
|
+
|[**queriesControllerListQueries**](#queriescontrollerlistqueries) | **GET** /query | List batch queries|
|
|
10
|
+
|[**queriesControllerValidateQueryYaml**](#queriescontrollervalidatequeryyaml) | **POST** /query/validate | Validate batch query YAML|
|
|
11
|
+
|
|
12
|
+
# **queriesControllerCreateQuery**
|
|
13
|
+
> QueryCreateResponseDto queriesControllerCreateQuery()
|
|
14
|
+
|
|
15
|
+
Uploads a batch queries YAML (multipart form). Typically schedules a job.
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import {
|
|
21
|
+
QueriesApi,
|
|
22
|
+
Configuration
|
|
23
|
+
} from '@nestbox-ai/doc-processing-api';
|
|
24
|
+
|
|
25
|
+
const configuration = new Configuration();
|
|
26
|
+
const apiInstance = new QueriesApi(configuration);
|
|
27
|
+
|
|
28
|
+
let yaml: File; //Batch queries YAML file. (default to undefined)
|
|
29
|
+
let watch: boolean; // (optional) (default to false)
|
|
30
|
+
|
|
31
|
+
const { status, data } = await apiInstance.queriesControllerCreateQuery(
|
|
32
|
+
yaml,
|
|
33
|
+
watch
|
|
34
|
+
);
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Parameters
|
|
38
|
+
|
|
39
|
+
|Name | Type | Description | Notes|
|
|
40
|
+
|------------- | ------------- | ------------- | -------------|
|
|
41
|
+
| **yaml** | [**File**] | Batch queries YAML file. | defaults to undefined|
|
|
42
|
+
| **watch** | [**boolean**] | | (optional) defaults to false|
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Return type
|
|
46
|
+
|
|
47
|
+
**QueryCreateResponseDto**
|
|
48
|
+
|
|
49
|
+
### Authorization
|
|
50
|
+
|
|
51
|
+
No authorization required
|
|
52
|
+
|
|
53
|
+
### HTTP request headers
|
|
54
|
+
|
|
55
|
+
- **Content-Type**: multipart/form-data
|
|
56
|
+
- **Accept**: application/json
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### HTTP response details
|
|
60
|
+
| Status code | Description | Response headers |
|
|
61
|
+
|-------------|-------------|------------------|
|
|
62
|
+
|**201** | Batch query created | - |
|
|
63
|
+
|**400** | Bad request | - |
|
|
64
|
+
|**401** | Unauthorized | - |
|
|
65
|
+
|**422** | Validation error | - |
|
|
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
|
+
# **queriesControllerGetQuery**
|
|
70
|
+
> BatchQueryDto queriesControllerGetQuery()
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### Example
|
|
74
|
+
|
|
75
|
+
```typescript
|
|
76
|
+
import {
|
|
77
|
+
QueriesApi,
|
|
78
|
+
Configuration
|
|
79
|
+
} from '@nestbox-ai/doc-processing-api';
|
|
80
|
+
|
|
81
|
+
const configuration = new Configuration();
|
|
82
|
+
const apiInstance = new QueriesApi(configuration);
|
|
83
|
+
|
|
84
|
+
let queryId: string; //Batch query ID. (default to undefined)
|
|
85
|
+
|
|
86
|
+
const { status, data } = await apiInstance.queriesControllerGetQuery(
|
|
87
|
+
queryId
|
|
88
|
+
);
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Parameters
|
|
92
|
+
|
|
93
|
+
|Name | Type | Description | Notes|
|
|
94
|
+
|------------- | ------------- | ------------- | -------------|
|
|
95
|
+
| **queryId** | [**string**] | Batch query ID. | defaults to undefined|
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Return type
|
|
99
|
+
|
|
100
|
+
**BatchQueryDto**
|
|
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** | Batch query details | - |
|
|
116
|
+
|**401** | Unauthorized | - |
|
|
117
|
+
|**404** | Not found | - |
|
|
118
|
+
|
|
119
|
+
[[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)
|
|
120
|
+
|
|
121
|
+
# **queriesControllerListQueries**
|
|
122
|
+
> PaginatedQueriesDto queriesControllerListQueries()
|
|
123
|
+
|
|
124
|
+
Lists batch query runs (submitted via YAML).
|
|
125
|
+
|
|
126
|
+
### Example
|
|
127
|
+
|
|
128
|
+
```typescript
|
|
129
|
+
import {
|
|
130
|
+
QueriesApi,
|
|
131
|
+
Configuration
|
|
132
|
+
} from '@nestbox-ai/doc-processing-api';
|
|
133
|
+
|
|
134
|
+
const configuration = new Configuration();
|
|
135
|
+
const apiInstance = new QueriesApi(configuration);
|
|
136
|
+
|
|
137
|
+
let page: number; //1-based page number. (optional) (default to 1)
|
|
138
|
+
let limit: number; //Page size. (optional) (default to 10)
|
|
139
|
+
let documentId: string; //Filter by document ID. (optional) (default to undefined)
|
|
140
|
+
|
|
141
|
+
const { status, data } = await apiInstance.queriesControllerListQueries(
|
|
142
|
+
page,
|
|
143
|
+
limit,
|
|
144
|
+
documentId
|
|
145
|
+
);
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### Parameters
|
|
149
|
+
|
|
150
|
+
|Name | Type | Description | Notes|
|
|
151
|
+
|------------- | ------------- | ------------- | -------------|
|
|
152
|
+
| **page** | [**number**] | 1-based page number. | (optional) defaults to 1|
|
|
153
|
+
| **limit** | [**number**] | Page size. | (optional) defaults to 10|
|
|
154
|
+
| **documentId** | [**string**] | Filter by document ID. | (optional) defaults to undefined|
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
### Return type
|
|
158
|
+
|
|
159
|
+
**PaginatedQueriesDto**
|
|
160
|
+
|
|
161
|
+
### Authorization
|
|
162
|
+
|
|
163
|
+
No authorization required
|
|
164
|
+
|
|
165
|
+
### HTTP request headers
|
|
166
|
+
|
|
167
|
+
- **Content-Type**: Not defined
|
|
168
|
+
- **Accept**: application/json
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
### HTTP response details
|
|
172
|
+
| Status code | Description | Response headers |
|
|
173
|
+
|-------------|-------------|------------------|
|
|
174
|
+
|**200** | Paginated list of batch queries | - |
|
|
175
|
+
|**401** | Unauthorized | - |
|
|
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
|
+
# **queriesControllerValidateQueryYaml**
|
|
180
|
+
> ValidationResultDto queriesControllerValidateQueryYaml()
|
|
181
|
+
|
|
182
|
+
Validates an uploaded batch queries YAML without creating a query.
|
|
183
|
+
|
|
184
|
+
### Example
|
|
185
|
+
|
|
186
|
+
```typescript
|
|
187
|
+
import {
|
|
188
|
+
QueriesApi,
|
|
189
|
+
Configuration
|
|
190
|
+
} from '@nestbox-ai/doc-processing-api';
|
|
191
|
+
|
|
192
|
+
const configuration = new Configuration();
|
|
193
|
+
const apiInstance = new QueriesApi(configuration);
|
|
194
|
+
|
|
195
|
+
let yaml: File; //YAML file to validate. (default to undefined)
|
|
196
|
+
|
|
197
|
+
const { status, data } = await apiInstance.queriesControllerValidateQueryYaml(
|
|
198
|
+
yaml
|
|
199
|
+
);
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### Parameters
|
|
203
|
+
|
|
204
|
+
|Name | Type | Description | Notes|
|
|
205
|
+
|------------- | ------------- | ------------- | -------------|
|
|
206
|
+
| **yaml** | [**File**] | YAML file to validate. | defaults to undefined|
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
### Return type
|
|
210
|
+
|
|
211
|
+
**ValidationResultDto**
|
|
212
|
+
|
|
213
|
+
### Authorization
|
|
214
|
+
|
|
215
|
+
No authorization required
|
|
216
|
+
|
|
217
|
+
### HTTP request headers
|
|
218
|
+
|
|
219
|
+
- **Content-Type**: multipart/form-data
|
|
220
|
+
- **Accept**: application/json
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
### HTTP response details
|
|
224
|
+
| Status code | Description | Response headers |
|
|
225
|
+
|-------------|-------------|------------------|
|
|
226
|
+
|**200** | Validation result | - |
|
|
227
|
+
|**400** | Bad request | - |
|
|
228
|
+
|**401** | Unauthorized | - |
|
|
229
|
+
|**422** | Validation error | - |
|
|
230
|
+
|
|
231
|
+
[[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)
|
|
232
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# QueryCreateResponseDto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**query** | [**BatchQueryDto**](BatchQueryDto.md) | Created batch query | [default to undefined]
|
|
9
|
+
**job** | [**JobDto**](JobDto.md) | Processing job | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { QueryCreateResponseDto } from '@nestbox-ai/doc-processing-api';
|
|
15
|
+
|
|
16
|
+
const instance: QueryCreateResponseDto = {
|
|
17
|
+
query,
|
|
18
|
+
job,
|
|
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,32 @@
|
|
|
1
|
+
# SourceItemDto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Source ID | [default to undefined]
|
|
9
|
+
**documentId** | **string** | Associated document ID | [default to undefined]
|
|
10
|
+
**jobId** | **string** | Associated job ID | [optional] [default to undefined]
|
|
11
|
+
**chunkId** | **string** | Chunk ID | [optional] [default to undefined]
|
|
12
|
+
**page** | **number** | Page number | [optional] [default to undefined]
|
|
13
|
+
**text** | **string** | Source text content | [default to undefined]
|
|
14
|
+
**metadata** | **{ [key: string]: any; }** | Additional metadata | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { SourceItemDto } from '@nestbox-ai/doc-processing-api';
|
|
20
|
+
|
|
21
|
+
const instance: SourceItemDto = {
|
|
22
|
+
id,
|
|
23
|
+
documentId,
|
|
24
|
+
jobId,
|
|
25
|
+
chunkId,
|
|
26
|
+
page,
|
|
27
|
+
text,
|
|
28
|
+
metadata,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[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,67 @@
|
|
|
1
|
+
# SourcesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**sourcesControllerGetDocumentSources**](#sourcescontrollergetdocumentsources) | **GET** /documents/{documentId}/sources | Read document sources|
|
|
8
|
+
|
|
9
|
+
# **sourcesControllerGetDocumentSources**
|
|
10
|
+
> DocumentSourcesResponseDto sourcesControllerGetDocumentSources()
|
|
11
|
+
|
|
12
|
+
Returns source data used to produce answers/results. If sourceId is provided, returns the matching source. Otherwise returns a list.
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
SourcesApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@nestbox-ai/doc-processing-api';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new SourcesApi(configuration);
|
|
24
|
+
|
|
25
|
+
let documentId: string; //Document ID. (default to undefined)
|
|
26
|
+
let jobId: any; //Optional job ID to scope sources to a specific query job. (optional) (default to undefined)
|
|
27
|
+
let sourceId: any; //Optional source ID (full or partial) to retrieve a specific source. (optional) (default to undefined)
|
|
28
|
+
|
|
29
|
+
const { status, data } = await apiInstance.sourcesControllerGetDocumentSources(
|
|
30
|
+
documentId,
|
|
31
|
+
jobId,
|
|
32
|
+
sourceId
|
|
33
|
+
);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Parameters
|
|
37
|
+
|
|
38
|
+
|Name | Type | Description | Notes|
|
|
39
|
+
|------------- | ------------- | ------------- | -------------|
|
|
40
|
+
| **documentId** | [**string**] | Document ID. | defaults to undefined|
|
|
41
|
+
| **jobId** | **any** | Optional job ID to scope sources to a specific query job. | (optional) defaults to undefined|
|
|
42
|
+
| **sourceId** | **any** | Optional source ID (full or partial) to retrieve a specific source. | (optional) defaults to undefined|
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Return type
|
|
46
|
+
|
|
47
|
+
**DocumentSourcesResponseDto**
|
|
48
|
+
|
|
49
|
+
### Authorization
|
|
50
|
+
|
|
51
|
+
No authorization required
|
|
52
|
+
|
|
53
|
+
### HTTP request headers
|
|
54
|
+
|
|
55
|
+
- **Content-Type**: Not defined
|
|
56
|
+
- **Accept**: application/json
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### HTTP response details
|
|
60
|
+
| Status code | Description | Response headers |
|
|
61
|
+
|-------------|-------------|------------------|
|
|
62
|
+
|**200** | Source data | - |
|
|
63
|
+
|**401** | Unauthorized | - |
|
|
64
|
+
|**404** | Not found | - |
|
|
65
|
+
|
|
66
|
+
[[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)
|
|
67
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# UpdateWebhookBodyInputDto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**url** | **string** | Updated webhook target URL | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { UpdateWebhookBodyInputDto } from '@nestbox-ai/doc-processing-api';
|
|
14
|
+
|
|
15
|
+
const instance: UpdateWebhookBodyInputDto = {
|
|
16
|
+
url,
|
|
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,26 @@
|
|
|
1
|
+
# ValidationErrorDto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**error** | **string** | Error type | [default to undefined]
|
|
9
|
+
**message** | **string** | Error message | [default to undefined]
|
|
10
|
+
**issues** | [**Array<ValidationIssueDto>**](ValidationIssueDto.md) | Validation issues | [default to undefined]
|
|
11
|
+
**requestId** | **string** | Request ID for tracking | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ValidationErrorDto } from '@nestbox-ai/doc-processing-api';
|
|
17
|
+
|
|
18
|
+
const instance: ValidationErrorDto = {
|
|
19
|
+
error,
|
|
20
|
+
message,
|
|
21
|
+
issues,
|
|
22
|
+
requestId,
|
|
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,24 @@
|
|
|
1
|
+
# ValidationIssueDto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**path** | **string** | JSON pointer-like path into the YAML document | [default to undefined]
|
|
9
|
+
**message** | **string** | Validation issue message | [default to undefined]
|
|
10
|
+
**severity** | **string** | Issue severity | [optional] [default to SeverityEnum_Error]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ValidationIssueDto } from '@nestbox-ai/doc-processing-api';
|
|
16
|
+
|
|
17
|
+
const instance: ValidationIssueDto = {
|
|
18
|
+
path,
|
|
19
|
+
message,
|
|
20
|
+
severity,
|
|
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,24 @@
|
|
|
1
|
+
# ValidationResultDto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**valid** | **boolean** | Whether the validation passed | [default to undefined]
|
|
9
|
+
**warnings** | [**Array<ValidationIssueDto>**](ValidationIssueDto.md) | Non-fatal issues | [optional] [default to undefined]
|
|
10
|
+
**normalized** | **{ [key: string]: any; }** | Optional normalized representation (if available) | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ValidationResultDto } from '@nestbox-ai/doc-processing-api';
|
|
16
|
+
|
|
17
|
+
const instance: ValidationResultDto = {
|
|
18
|
+
valid,
|
|
19
|
+
warnings,
|
|
20
|
+
normalized,
|
|
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,26 @@
|
|
|
1
|
+
# WebhookDto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Webhook ID | [default to undefined]
|
|
9
|
+
**url** | **string** | Webhook target URL | [default to undefined]
|
|
10
|
+
**createdAt** | **string** | Webhook creation timestamp | [default to undefined]
|
|
11
|
+
**updatedAt** | **string** | Webhook last update timestamp | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { WebhookDto } from '@nestbox-ai/doc-processing-api';
|
|
17
|
+
|
|
18
|
+
const instance: WebhookDto = {
|
|
19
|
+
id,
|
|
20
|
+
url,
|
|
21
|
+
createdAt,
|
|
22
|
+
updatedAt,
|
|
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)
|