@semiont/api-client 0.1.0-build.6
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/README.md +85 -0
- package/dist/__tests__/client.test.d.ts +28 -0
- package/dist/__tests__/client.test.d.ts.map +1 -0
- package/dist/__tests__/client.test.js +567 -0
- package/dist/__tests__/client.test.js.map +1 -0
- package/dist/__tests__/sse-client.test.d.ts +7 -0
- package/dist/__tests__/sse-client.test.d.ts.map +1 -0
- package/dist/__tests__/sse-client.test.js +421 -0
- package/dist/__tests__/sse-client.test.js.map +1 -0
- package/dist/__tests__/sse-stream.test.d.ts +7 -0
- package/dist/__tests__/sse-stream.test.d.ts.map +1 -0
- package/dist/__tests__/sse-stream.test.js +394 -0
- package/dist/__tests__/sse-stream.test.js.map +1 -0
- package/dist/__tests__/svg-selectors.test.d.ts +5 -0
- package/dist/__tests__/svg-selectors.test.d.ts.map +1 -0
- package/dist/__tests__/svg-selectors.test.js +124 -0
- package/dist/__tests__/svg-selectors.test.js.map +1 -0
- package/dist/branded-types.d.ts +70 -0
- package/dist/branded-types.d.ts.map +1 -0
- package/dist/branded-types.js +62 -0
- package/dist/branded-types.js.map +1 -0
- package/dist/client.d.ts +243 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +460 -0
- package/dist/client.js.map +1 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +62 -0
- package/dist/index.js.map +1 -0
- package/dist/mime-utils.d.ts +27 -0
- package/dist/mime-utils.d.ts.map +1 -0
- package/dist/mime-utils.js +49 -0
- package/dist/mime-utils.js.map +1 -0
- package/dist/sse/index.d.ts +343 -0
- package/dist/sse/index.d.ts.map +1 -0
- package/dist/sse/index.js +404 -0
- package/dist/sse/index.js.map +1 -0
- package/dist/sse/stream.d.ts +58 -0
- package/dist/sse/stream.d.ts.map +1 -0
- package/dist/sse/stream.js +187 -0
- package/dist/sse/stream.js.map +1 -0
- package/dist/sse/types.d.ts +295 -0
- package/dist/sse/types.d.ts.map +1 -0
- package/dist/sse/types.js +10 -0
- package/dist/sse/types.js.map +1 -0
- package/dist/types.d.ts +3177 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +7 -0
- package/dist/types.js.map +1 -0
- package/dist/utils/annotations.d.ts +191 -0
- package/dist/utils/annotations.d.ts.map +1 -0
- package/dist/utils/annotations.js +404 -0
- package/dist/utils/annotations.js.map +1 -0
- package/dist/utils/events.d.ts +74 -0
- package/dist/utils/events.d.ts.map +1 -0
- package/dist/utils/events.js +329 -0
- package/dist/utils/events.js.map +1 -0
- package/dist/utils/index.d.ts +12 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +28 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/locales.d.ts +31 -0
- package/dist/utils/locales.d.ts.map +1 -0
- package/dist/utils/locales.js +83 -0
- package/dist/utils/locales.js.map +1 -0
- package/dist/utils/resources.d.ts +34 -0
- package/dist/utils/resources.d.ts.map +1 -0
- package/dist/utils/resources.js +63 -0
- package/dist/utils/resources.js.map +1 -0
- package/dist/utils/validation.d.ts +57 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/utils/validation.js +89 -0
- package/dist/utils/validation.js.map +1 -0
- package/package.json +65 -0
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,3177 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export interface paths {
|
|
7
|
+
"/resources/{id}": {
|
|
8
|
+
parameters: {
|
|
9
|
+
query?: never;
|
|
10
|
+
header?: never;
|
|
11
|
+
path?: never;
|
|
12
|
+
cookie?: never;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Get Resource by URI (W3C Content Negotiation)
|
|
16
|
+
* @description W3C-compliant globally resolvable resource URI with content negotiation. Returns JSON-LD metadata (Accept: application/ld+json), raw representation (Accept: text/plain, text/markdown, etc.), or redirects to frontend (?view=semiont). Requires authentication.
|
|
17
|
+
*/
|
|
18
|
+
get: {
|
|
19
|
+
parameters: {
|
|
20
|
+
query?: {
|
|
21
|
+
/** @description Optional view parameter. If set to 'semiont', redirects to frontend viewer. */
|
|
22
|
+
view?: "semiont";
|
|
23
|
+
};
|
|
24
|
+
header?: never;
|
|
25
|
+
path: {
|
|
26
|
+
/** @description Resource ID */
|
|
27
|
+
id: string;
|
|
28
|
+
};
|
|
29
|
+
cookie?: never;
|
|
30
|
+
};
|
|
31
|
+
requestBody?: never;
|
|
32
|
+
responses: {
|
|
33
|
+
/** @description Resource metadata (JSON-LD) or raw representation */
|
|
34
|
+
200: {
|
|
35
|
+
headers: {
|
|
36
|
+
[name: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
content: {
|
|
39
|
+
"application/ld+json": components["schemas"]["GetResourceResponse"];
|
|
40
|
+
"text/plain": string;
|
|
41
|
+
"text/markdown": string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
/** @description Redirect to frontend viewer (when ?view=semiont) */
|
|
45
|
+
302: {
|
|
46
|
+
headers: {
|
|
47
|
+
[name: string]: unknown;
|
|
48
|
+
};
|
|
49
|
+
content?: never;
|
|
50
|
+
};
|
|
51
|
+
/** @description Resource not found */
|
|
52
|
+
404: {
|
|
53
|
+
headers: {
|
|
54
|
+
[name: string]: unknown;
|
|
55
|
+
};
|
|
56
|
+
content?: never;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
put?: never;
|
|
61
|
+
post?: never;
|
|
62
|
+
delete?: never;
|
|
63
|
+
options?: never;
|
|
64
|
+
head?: never;
|
|
65
|
+
/**
|
|
66
|
+
* Update Resource
|
|
67
|
+
* @description Update resource metadata (append-only operations - name and content are immutable)
|
|
68
|
+
*/
|
|
69
|
+
patch: {
|
|
70
|
+
parameters: {
|
|
71
|
+
query?: never;
|
|
72
|
+
header?: never;
|
|
73
|
+
path: {
|
|
74
|
+
/** @description Resource ID */
|
|
75
|
+
id: string;
|
|
76
|
+
};
|
|
77
|
+
cookie?: never;
|
|
78
|
+
};
|
|
79
|
+
requestBody?: {
|
|
80
|
+
content: {
|
|
81
|
+
"application/json": components["schemas"]["UpdateResourceRequest"];
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
responses: {
|
|
85
|
+
/** @description Resource updated successfully */
|
|
86
|
+
200: {
|
|
87
|
+
headers: {
|
|
88
|
+
[name: string]: unknown;
|
|
89
|
+
};
|
|
90
|
+
content: {
|
|
91
|
+
"application/json": components["schemas"]["GetResourceResponse"];
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
/** @description Resource not found */
|
|
95
|
+
404: {
|
|
96
|
+
headers: {
|
|
97
|
+
[name: string]: unknown;
|
|
98
|
+
};
|
|
99
|
+
content?: never;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
trace?: never;
|
|
104
|
+
};
|
|
105
|
+
"/annotations/{id}": {
|
|
106
|
+
parameters: {
|
|
107
|
+
query?: never;
|
|
108
|
+
header?: never;
|
|
109
|
+
path?: never;
|
|
110
|
+
cookie?: never;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Get Annotation by URI (W3C Content Negotiation)
|
|
114
|
+
* @description W3C-compliant globally resolvable annotation URI with content negotiation. Returns JSON-LD for API clients (Accept: application/ld+json or application/json). Redirects to frontend for browsers (Accept: text/html or browser User-Agent). Requires authentication and resourceId query parameter.
|
|
115
|
+
*/
|
|
116
|
+
get: {
|
|
117
|
+
parameters: {
|
|
118
|
+
query: {
|
|
119
|
+
/** @description Resource ID or URI containing the annotation */
|
|
120
|
+
resourceId: string;
|
|
121
|
+
};
|
|
122
|
+
header?: never;
|
|
123
|
+
path: {
|
|
124
|
+
/** @description Annotation ID */
|
|
125
|
+
id: string;
|
|
126
|
+
};
|
|
127
|
+
cookie?: never;
|
|
128
|
+
};
|
|
129
|
+
requestBody?: never;
|
|
130
|
+
responses: {
|
|
131
|
+
/** @description Annotation representation (JSON-LD) */
|
|
132
|
+
200: {
|
|
133
|
+
headers: {
|
|
134
|
+
[name: string]: unknown;
|
|
135
|
+
};
|
|
136
|
+
content: {
|
|
137
|
+
"application/ld+json": components["schemas"]["GetAnnotationResponse"];
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
/** @description Redirect to frontend (for browsers) */
|
|
141
|
+
302: {
|
|
142
|
+
headers: {
|
|
143
|
+
[name: string]: unknown;
|
|
144
|
+
};
|
|
145
|
+
content?: never;
|
|
146
|
+
};
|
|
147
|
+
/** @description Missing resourceId parameter */
|
|
148
|
+
400: {
|
|
149
|
+
headers: {
|
|
150
|
+
[name: string]: unknown;
|
|
151
|
+
};
|
|
152
|
+
content?: never;
|
|
153
|
+
};
|
|
154
|
+
/** @description Annotation not found */
|
|
155
|
+
404: {
|
|
156
|
+
headers: {
|
|
157
|
+
[name: string]: unknown;
|
|
158
|
+
};
|
|
159
|
+
content?: never;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
put?: never;
|
|
164
|
+
post?: never;
|
|
165
|
+
delete?: never;
|
|
166
|
+
options?: never;
|
|
167
|
+
head?: never;
|
|
168
|
+
patch?: never;
|
|
169
|
+
trace?: never;
|
|
170
|
+
};
|
|
171
|
+
"/api/annotations/{id}/context": {
|
|
172
|
+
parameters: {
|
|
173
|
+
query?: never;
|
|
174
|
+
header?: never;
|
|
175
|
+
path?: never;
|
|
176
|
+
cookie?: never;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* Get Annotation Context
|
|
180
|
+
* @description Get the text context around an annotation with configurable before/after window
|
|
181
|
+
*/
|
|
182
|
+
get: {
|
|
183
|
+
parameters: {
|
|
184
|
+
query: {
|
|
185
|
+
/** @description Resource ID containing the annotation */
|
|
186
|
+
resourceId: string;
|
|
187
|
+
/** @description Number of characters before the selection */
|
|
188
|
+
contextBefore?: number;
|
|
189
|
+
/** @description Number of characters after the selection */
|
|
190
|
+
contextAfter?: number;
|
|
191
|
+
};
|
|
192
|
+
header?: never;
|
|
193
|
+
path: {
|
|
194
|
+
/** @description Annotation ID */
|
|
195
|
+
id: string;
|
|
196
|
+
};
|
|
197
|
+
cookie?: never;
|
|
198
|
+
};
|
|
199
|
+
requestBody?: never;
|
|
200
|
+
responses: {
|
|
201
|
+
/** @description Annotation context */
|
|
202
|
+
200: {
|
|
203
|
+
headers: {
|
|
204
|
+
[name: string]: unknown;
|
|
205
|
+
};
|
|
206
|
+
content: {
|
|
207
|
+
"application/json": components["schemas"]["AnnotationContextResponse"];
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
/** @description Invalid query parameters */
|
|
211
|
+
400: {
|
|
212
|
+
headers: {
|
|
213
|
+
[name: string]: unknown;
|
|
214
|
+
};
|
|
215
|
+
content?: never;
|
|
216
|
+
};
|
|
217
|
+
/** @description Authentication required */
|
|
218
|
+
401: {
|
|
219
|
+
headers: {
|
|
220
|
+
[name: string]: unknown;
|
|
221
|
+
};
|
|
222
|
+
content?: never;
|
|
223
|
+
};
|
|
224
|
+
/** @description Annotation not found */
|
|
225
|
+
404: {
|
|
226
|
+
headers: {
|
|
227
|
+
[name: string]: unknown;
|
|
228
|
+
};
|
|
229
|
+
content?: never;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
put?: never;
|
|
234
|
+
post?: never;
|
|
235
|
+
delete?: never;
|
|
236
|
+
options?: never;
|
|
237
|
+
head?: never;
|
|
238
|
+
patch?: never;
|
|
239
|
+
trace?: never;
|
|
240
|
+
};
|
|
241
|
+
"/api/annotations/{id}/summary": {
|
|
242
|
+
parameters: {
|
|
243
|
+
query?: never;
|
|
244
|
+
header?: never;
|
|
245
|
+
path?: never;
|
|
246
|
+
cookie?: never;
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* Get Annotation Summary
|
|
250
|
+
* @description Get an AI-generated summary of the annotation in context
|
|
251
|
+
*/
|
|
252
|
+
get: {
|
|
253
|
+
parameters: {
|
|
254
|
+
query: {
|
|
255
|
+
/** @description Resource ID containing the annotation */
|
|
256
|
+
resourceId: string;
|
|
257
|
+
};
|
|
258
|
+
header?: never;
|
|
259
|
+
path: {
|
|
260
|
+
/** @description Annotation ID */
|
|
261
|
+
id: string;
|
|
262
|
+
};
|
|
263
|
+
cookie?: never;
|
|
264
|
+
};
|
|
265
|
+
requestBody?: never;
|
|
266
|
+
responses: {
|
|
267
|
+
/** @description AI-generated annotation summary */
|
|
268
|
+
200: {
|
|
269
|
+
headers: {
|
|
270
|
+
[name: string]: unknown;
|
|
271
|
+
};
|
|
272
|
+
content: {
|
|
273
|
+
"application/json": components["schemas"]["ContextualSummaryResponse"];
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
/** @description Missing resourceId parameter */
|
|
277
|
+
400: {
|
|
278
|
+
headers: {
|
|
279
|
+
[name: string]: unknown;
|
|
280
|
+
};
|
|
281
|
+
content?: never;
|
|
282
|
+
};
|
|
283
|
+
/** @description Authentication required */
|
|
284
|
+
401: {
|
|
285
|
+
headers: {
|
|
286
|
+
[name: string]: unknown;
|
|
287
|
+
};
|
|
288
|
+
content?: never;
|
|
289
|
+
};
|
|
290
|
+
/** @description Annotation not found */
|
|
291
|
+
404: {
|
|
292
|
+
headers: {
|
|
293
|
+
[name: string]: unknown;
|
|
294
|
+
};
|
|
295
|
+
content?: never;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
put?: never;
|
|
300
|
+
post?: never;
|
|
301
|
+
delete?: never;
|
|
302
|
+
options?: never;
|
|
303
|
+
head?: never;
|
|
304
|
+
patch?: never;
|
|
305
|
+
trace?: never;
|
|
306
|
+
};
|
|
307
|
+
"/api/health": {
|
|
308
|
+
parameters: {
|
|
309
|
+
query?: never;
|
|
310
|
+
header?: never;
|
|
311
|
+
path?: never;
|
|
312
|
+
cookie?: never;
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* Health Check
|
|
316
|
+
* @description Check if the API is operational and database is connected
|
|
317
|
+
*/
|
|
318
|
+
get: {
|
|
319
|
+
parameters: {
|
|
320
|
+
query?: never;
|
|
321
|
+
header?: never;
|
|
322
|
+
path?: never;
|
|
323
|
+
cookie?: never;
|
|
324
|
+
};
|
|
325
|
+
requestBody?: never;
|
|
326
|
+
responses: {
|
|
327
|
+
/** @description Health status of the API */
|
|
328
|
+
200: {
|
|
329
|
+
headers: {
|
|
330
|
+
[name: string]: unknown;
|
|
331
|
+
};
|
|
332
|
+
content: {
|
|
333
|
+
"application/json": components["schemas"]["HealthResponse"];
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
put?: never;
|
|
339
|
+
post?: never;
|
|
340
|
+
delete?: never;
|
|
341
|
+
options?: never;
|
|
342
|
+
head?: never;
|
|
343
|
+
patch?: never;
|
|
344
|
+
trace?: never;
|
|
345
|
+
};
|
|
346
|
+
"/api/tokens/password": {
|
|
347
|
+
parameters: {
|
|
348
|
+
query?: never;
|
|
349
|
+
header?: never;
|
|
350
|
+
path?: never;
|
|
351
|
+
cookie?: never;
|
|
352
|
+
};
|
|
353
|
+
get?: never;
|
|
354
|
+
put?: never;
|
|
355
|
+
/**
|
|
356
|
+
* Password Authentication
|
|
357
|
+
* @description Authenticate with email and password for users with password provider
|
|
358
|
+
*/
|
|
359
|
+
post: {
|
|
360
|
+
parameters: {
|
|
361
|
+
query?: never;
|
|
362
|
+
header?: never;
|
|
363
|
+
path?: never;
|
|
364
|
+
cookie?: never;
|
|
365
|
+
};
|
|
366
|
+
requestBody: {
|
|
367
|
+
content: {
|
|
368
|
+
"application/json": components["schemas"]["PasswordAuthRequest"];
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
responses: {
|
|
372
|
+
/** @description Authentication successful */
|
|
373
|
+
200: {
|
|
374
|
+
headers: {
|
|
375
|
+
[name: string]: unknown;
|
|
376
|
+
};
|
|
377
|
+
content: {
|
|
378
|
+
"application/json": components["schemas"]["AuthResponse"];
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
/** @description Bad request - invalid input or OAuth user attempting password auth */
|
|
382
|
+
400: {
|
|
383
|
+
headers: {
|
|
384
|
+
[name: string]: unknown;
|
|
385
|
+
};
|
|
386
|
+
content: {
|
|
387
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
/** @description Unauthorized - invalid credentials */
|
|
391
|
+
401: {
|
|
392
|
+
headers: {
|
|
393
|
+
[name: string]: unknown;
|
|
394
|
+
};
|
|
395
|
+
content: {
|
|
396
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
/** @description Forbidden - account not active */
|
|
400
|
+
403: {
|
|
401
|
+
headers: {
|
|
402
|
+
[name: string]: unknown;
|
|
403
|
+
};
|
|
404
|
+
content: {
|
|
405
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
delete?: never;
|
|
411
|
+
options?: never;
|
|
412
|
+
head?: never;
|
|
413
|
+
patch?: never;
|
|
414
|
+
trace?: never;
|
|
415
|
+
};
|
|
416
|
+
"/api/tokens/google": {
|
|
417
|
+
parameters: {
|
|
418
|
+
query?: never;
|
|
419
|
+
header?: never;
|
|
420
|
+
path?: never;
|
|
421
|
+
cookie?: never;
|
|
422
|
+
};
|
|
423
|
+
get?: never;
|
|
424
|
+
put?: never;
|
|
425
|
+
/**
|
|
426
|
+
* Google OAuth Authentication
|
|
427
|
+
* @description Authenticate with Google OAuth access token
|
|
428
|
+
*/
|
|
429
|
+
post: {
|
|
430
|
+
parameters: {
|
|
431
|
+
query?: never;
|
|
432
|
+
header?: never;
|
|
433
|
+
path?: never;
|
|
434
|
+
cookie?: never;
|
|
435
|
+
};
|
|
436
|
+
requestBody?: {
|
|
437
|
+
content: {
|
|
438
|
+
"application/json": components["schemas"]["GoogleAuthRequest"];
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
responses: {
|
|
442
|
+
/** @description Successful authentication */
|
|
443
|
+
200: {
|
|
444
|
+
headers: {
|
|
445
|
+
[name: string]: unknown;
|
|
446
|
+
};
|
|
447
|
+
content: {
|
|
448
|
+
"application/json": components["schemas"]["AuthResponse"];
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
/** @description Invalid request or authentication failed */
|
|
452
|
+
400: {
|
|
453
|
+
headers: {
|
|
454
|
+
[name: string]: unknown;
|
|
455
|
+
};
|
|
456
|
+
content: {
|
|
457
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
delete?: never;
|
|
463
|
+
options?: never;
|
|
464
|
+
head?: never;
|
|
465
|
+
patch?: never;
|
|
466
|
+
trace?: never;
|
|
467
|
+
};
|
|
468
|
+
"/api/tokens/refresh": {
|
|
469
|
+
parameters: {
|
|
470
|
+
query?: never;
|
|
471
|
+
header?: never;
|
|
472
|
+
path?: never;
|
|
473
|
+
cookie?: never;
|
|
474
|
+
};
|
|
475
|
+
get?: never;
|
|
476
|
+
put?: never;
|
|
477
|
+
/**
|
|
478
|
+
* Refresh Access Token
|
|
479
|
+
* @description Exchange a refresh token for a new access token
|
|
480
|
+
*/
|
|
481
|
+
post: {
|
|
482
|
+
parameters: {
|
|
483
|
+
query?: never;
|
|
484
|
+
header?: never;
|
|
485
|
+
path?: never;
|
|
486
|
+
cookie?: never;
|
|
487
|
+
};
|
|
488
|
+
requestBody?: {
|
|
489
|
+
content: {
|
|
490
|
+
"application/json": components["schemas"]["TokenRefreshRequest"];
|
|
491
|
+
};
|
|
492
|
+
};
|
|
493
|
+
responses: {
|
|
494
|
+
/** @description New access token generated */
|
|
495
|
+
200: {
|
|
496
|
+
headers: {
|
|
497
|
+
[name: string]: unknown;
|
|
498
|
+
};
|
|
499
|
+
content: {
|
|
500
|
+
"application/json": components["schemas"]["GoogleAuthRequest"];
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
/** @description Invalid or expired refresh token */
|
|
504
|
+
401: {
|
|
505
|
+
headers: {
|
|
506
|
+
[name: string]: unknown;
|
|
507
|
+
};
|
|
508
|
+
content: {
|
|
509
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
delete?: never;
|
|
515
|
+
options?: never;
|
|
516
|
+
head?: never;
|
|
517
|
+
patch?: never;
|
|
518
|
+
trace?: never;
|
|
519
|
+
};
|
|
520
|
+
"/api/tokens/mcp-generate": {
|
|
521
|
+
parameters: {
|
|
522
|
+
query?: never;
|
|
523
|
+
header?: never;
|
|
524
|
+
path?: never;
|
|
525
|
+
cookie?: never;
|
|
526
|
+
};
|
|
527
|
+
get?: never;
|
|
528
|
+
put?: never;
|
|
529
|
+
/**
|
|
530
|
+
* Generate MCP Token
|
|
531
|
+
* @description Generate a short-lived token for MCP server
|
|
532
|
+
*/
|
|
533
|
+
post: {
|
|
534
|
+
parameters: {
|
|
535
|
+
query?: never;
|
|
536
|
+
header?: never;
|
|
537
|
+
path?: never;
|
|
538
|
+
cookie?: never;
|
|
539
|
+
};
|
|
540
|
+
requestBody?: never;
|
|
541
|
+
responses: {
|
|
542
|
+
/** @description MCP token generated */
|
|
543
|
+
200: {
|
|
544
|
+
headers: {
|
|
545
|
+
[name: string]: unknown;
|
|
546
|
+
};
|
|
547
|
+
content: {
|
|
548
|
+
"application/json": components["schemas"]["MCPGenerateResponse"];
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
/** @description Unauthorized */
|
|
552
|
+
401: {
|
|
553
|
+
headers: {
|
|
554
|
+
[name: string]: unknown;
|
|
555
|
+
};
|
|
556
|
+
content: {
|
|
557
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
558
|
+
};
|
|
559
|
+
};
|
|
560
|
+
};
|
|
561
|
+
};
|
|
562
|
+
delete?: never;
|
|
563
|
+
options?: never;
|
|
564
|
+
head?: never;
|
|
565
|
+
patch?: never;
|
|
566
|
+
trace?: never;
|
|
567
|
+
};
|
|
568
|
+
"/api/users/me": {
|
|
569
|
+
parameters: {
|
|
570
|
+
query?: never;
|
|
571
|
+
header?: never;
|
|
572
|
+
path?: never;
|
|
573
|
+
cookie?: never;
|
|
574
|
+
};
|
|
575
|
+
/**
|
|
576
|
+
* Get Current User
|
|
577
|
+
* @description Get information about the authenticated user
|
|
578
|
+
*/
|
|
579
|
+
get: {
|
|
580
|
+
parameters: {
|
|
581
|
+
query?: never;
|
|
582
|
+
header?: never;
|
|
583
|
+
path?: never;
|
|
584
|
+
cookie?: never;
|
|
585
|
+
};
|
|
586
|
+
requestBody?: never;
|
|
587
|
+
responses: {
|
|
588
|
+
/** @description User information */
|
|
589
|
+
200: {
|
|
590
|
+
headers: {
|
|
591
|
+
[name: string]: unknown;
|
|
592
|
+
};
|
|
593
|
+
content: {
|
|
594
|
+
"application/json": components["schemas"]["UserResponse"];
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
/** @description Unauthorized */
|
|
598
|
+
401: {
|
|
599
|
+
headers: {
|
|
600
|
+
[name: string]: unknown;
|
|
601
|
+
};
|
|
602
|
+
content: {
|
|
603
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
604
|
+
};
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
put?: never;
|
|
609
|
+
post?: never;
|
|
610
|
+
delete?: never;
|
|
611
|
+
options?: never;
|
|
612
|
+
head?: never;
|
|
613
|
+
patch?: never;
|
|
614
|
+
trace?: never;
|
|
615
|
+
};
|
|
616
|
+
"/api/users/accept-terms": {
|
|
617
|
+
parameters: {
|
|
618
|
+
query?: never;
|
|
619
|
+
header?: never;
|
|
620
|
+
path?: never;
|
|
621
|
+
cookie?: never;
|
|
622
|
+
};
|
|
623
|
+
get?: never;
|
|
624
|
+
put?: never;
|
|
625
|
+
/**
|
|
626
|
+
* Accept Terms
|
|
627
|
+
* @description Mark terms as accepted for the current user
|
|
628
|
+
*/
|
|
629
|
+
post: {
|
|
630
|
+
parameters: {
|
|
631
|
+
query?: never;
|
|
632
|
+
header?: never;
|
|
633
|
+
path?: never;
|
|
634
|
+
cookie?: never;
|
|
635
|
+
};
|
|
636
|
+
requestBody?: never;
|
|
637
|
+
responses: {
|
|
638
|
+
/** @description Terms accepted successfully */
|
|
639
|
+
200: {
|
|
640
|
+
headers: {
|
|
641
|
+
[name: string]: unknown;
|
|
642
|
+
};
|
|
643
|
+
content: {
|
|
644
|
+
"application/json": components["schemas"]["AcceptTermsResponse"];
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
/** @description Unauthorized */
|
|
648
|
+
401: {
|
|
649
|
+
headers: {
|
|
650
|
+
[name: string]: unknown;
|
|
651
|
+
};
|
|
652
|
+
content: {
|
|
653
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
delete?: never;
|
|
659
|
+
options?: never;
|
|
660
|
+
head?: never;
|
|
661
|
+
patch?: never;
|
|
662
|
+
trace?: never;
|
|
663
|
+
};
|
|
664
|
+
"/api/users/logout": {
|
|
665
|
+
parameters: {
|
|
666
|
+
query?: never;
|
|
667
|
+
header?: never;
|
|
668
|
+
path?: never;
|
|
669
|
+
cookie?: never;
|
|
670
|
+
};
|
|
671
|
+
get?: never;
|
|
672
|
+
put?: never;
|
|
673
|
+
/**
|
|
674
|
+
* Logout
|
|
675
|
+
* @description Logout the current user
|
|
676
|
+
*/
|
|
677
|
+
post: {
|
|
678
|
+
parameters: {
|
|
679
|
+
query?: never;
|
|
680
|
+
header?: never;
|
|
681
|
+
path?: never;
|
|
682
|
+
cookie?: never;
|
|
683
|
+
};
|
|
684
|
+
requestBody?: never;
|
|
685
|
+
responses: {
|
|
686
|
+
/** @description Logged out successfully */
|
|
687
|
+
200: {
|
|
688
|
+
headers: {
|
|
689
|
+
[name: string]: unknown;
|
|
690
|
+
};
|
|
691
|
+
content: {
|
|
692
|
+
"application/json": components["schemas"]["AcceptTermsResponse"];
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
delete?: never;
|
|
698
|
+
options?: never;
|
|
699
|
+
head?: never;
|
|
700
|
+
patch?: never;
|
|
701
|
+
trace?: never;
|
|
702
|
+
};
|
|
703
|
+
"/api/status": {
|
|
704
|
+
parameters: {
|
|
705
|
+
query?: never;
|
|
706
|
+
header?: never;
|
|
707
|
+
path?: never;
|
|
708
|
+
cookie?: never;
|
|
709
|
+
};
|
|
710
|
+
/**
|
|
711
|
+
* Get Service Status
|
|
712
|
+
* @description Get service status and feature availability
|
|
713
|
+
*/
|
|
714
|
+
get: {
|
|
715
|
+
parameters: {
|
|
716
|
+
query?: never;
|
|
717
|
+
header?: never;
|
|
718
|
+
path?: never;
|
|
719
|
+
cookie?: never;
|
|
720
|
+
};
|
|
721
|
+
requestBody?: never;
|
|
722
|
+
responses: {
|
|
723
|
+
/** @description Service status information */
|
|
724
|
+
200: {
|
|
725
|
+
headers: {
|
|
726
|
+
[name: string]: unknown;
|
|
727
|
+
};
|
|
728
|
+
content: {
|
|
729
|
+
"application/json": components["schemas"]["StatusResponse"];
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
/** @description Unauthorized */
|
|
733
|
+
401: {
|
|
734
|
+
headers: {
|
|
735
|
+
[name: string]: unknown;
|
|
736
|
+
};
|
|
737
|
+
content: {
|
|
738
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
739
|
+
};
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
put?: never;
|
|
744
|
+
post?: never;
|
|
745
|
+
delete?: never;
|
|
746
|
+
options?: never;
|
|
747
|
+
head?: never;
|
|
748
|
+
patch?: never;
|
|
749
|
+
trace?: never;
|
|
750
|
+
};
|
|
751
|
+
"/api/admin/users": {
|
|
752
|
+
parameters: {
|
|
753
|
+
query?: never;
|
|
754
|
+
header?: never;
|
|
755
|
+
path?: never;
|
|
756
|
+
cookie?: never;
|
|
757
|
+
};
|
|
758
|
+
/**
|
|
759
|
+
* List All Users
|
|
760
|
+
* @description Get a list of all users (admin only)
|
|
761
|
+
*/
|
|
762
|
+
get: {
|
|
763
|
+
parameters: {
|
|
764
|
+
query?: never;
|
|
765
|
+
header?: never;
|
|
766
|
+
path?: never;
|
|
767
|
+
cookie?: never;
|
|
768
|
+
};
|
|
769
|
+
requestBody?: never;
|
|
770
|
+
responses: {
|
|
771
|
+
/** @description List of users */
|
|
772
|
+
200: {
|
|
773
|
+
headers: {
|
|
774
|
+
[name: string]: unknown;
|
|
775
|
+
};
|
|
776
|
+
content: {
|
|
777
|
+
"application/json": components["schemas"]["AdminUsersListResponse"];
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
/** @description Unauthorized */
|
|
781
|
+
401: {
|
|
782
|
+
headers: {
|
|
783
|
+
[name: string]: unknown;
|
|
784
|
+
};
|
|
785
|
+
content: {
|
|
786
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
/** @description Forbidden - Admin access required */
|
|
790
|
+
403: {
|
|
791
|
+
headers: {
|
|
792
|
+
[name: string]: unknown;
|
|
793
|
+
};
|
|
794
|
+
content: {
|
|
795
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
796
|
+
};
|
|
797
|
+
};
|
|
798
|
+
};
|
|
799
|
+
};
|
|
800
|
+
put?: never;
|
|
801
|
+
post?: never;
|
|
802
|
+
delete?: never;
|
|
803
|
+
options?: never;
|
|
804
|
+
head?: never;
|
|
805
|
+
patch?: never;
|
|
806
|
+
trace?: never;
|
|
807
|
+
};
|
|
808
|
+
"/api/admin/users/stats": {
|
|
809
|
+
parameters: {
|
|
810
|
+
query?: never;
|
|
811
|
+
header?: never;
|
|
812
|
+
path?: never;
|
|
813
|
+
cookie?: never;
|
|
814
|
+
};
|
|
815
|
+
/**
|
|
816
|
+
* User Statistics
|
|
817
|
+
* @description Get user statistics (admin only)
|
|
818
|
+
*/
|
|
819
|
+
get: {
|
|
820
|
+
parameters: {
|
|
821
|
+
query?: never;
|
|
822
|
+
header?: never;
|
|
823
|
+
path?: never;
|
|
824
|
+
cookie?: never;
|
|
825
|
+
};
|
|
826
|
+
requestBody?: never;
|
|
827
|
+
responses: {
|
|
828
|
+
/** @description User statistics */
|
|
829
|
+
200: {
|
|
830
|
+
headers: {
|
|
831
|
+
[name: string]: unknown;
|
|
832
|
+
};
|
|
833
|
+
content: {
|
|
834
|
+
"application/json": components["schemas"]["AdminUserStatsResponse"];
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
/** @description Unauthorized */
|
|
838
|
+
401: {
|
|
839
|
+
headers: {
|
|
840
|
+
[name: string]: unknown;
|
|
841
|
+
};
|
|
842
|
+
content: {
|
|
843
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
844
|
+
};
|
|
845
|
+
};
|
|
846
|
+
/** @description Forbidden - Admin access required */
|
|
847
|
+
403: {
|
|
848
|
+
headers: {
|
|
849
|
+
[name: string]: unknown;
|
|
850
|
+
};
|
|
851
|
+
content: {
|
|
852
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
};
|
|
857
|
+
put?: never;
|
|
858
|
+
post?: never;
|
|
859
|
+
delete?: never;
|
|
860
|
+
options?: never;
|
|
861
|
+
head?: never;
|
|
862
|
+
patch?: never;
|
|
863
|
+
trace?: never;
|
|
864
|
+
};
|
|
865
|
+
"/api/admin/users/{id}": {
|
|
866
|
+
parameters: {
|
|
867
|
+
query?: never;
|
|
868
|
+
header?: never;
|
|
869
|
+
path?: never;
|
|
870
|
+
cookie?: never;
|
|
871
|
+
};
|
|
872
|
+
get?: never;
|
|
873
|
+
put?: never;
|
|
874
|
+
post?: never;
|
|
875
|
+
/**
|
|
876
|
+
* Delete User
|
|
877
|
+
* @description Delete a user account (admin only, cannot delete own account)
|
|
878
|
+
*/
|
|
879
|
+
delete: {
|
|
880
|
+
parameters: {
|
|
881
|
+
query?: never;
|
|
882
|
+
header?: never;
|
|
883
|
+
path: {
|
|
884
|
+
id: string;
|
|
885
|
+
};
|
|
886
|
+
cookie?: never;
|
|
887
|
+
};
|
|
888
|
+
requestBody?: never;
|
|
889
|
+
responses: {
|
|
890
|
+
/** @description User deleted successfully */
|
|
891
|
+
200: {
|
|
892
|
+
headers: {
|
|
893
|
+
[name: string]: unknown;
|
|
894
|
+
};
|
|
895
|
+
content: {
|
|
896
|
+
"application/json": components["schemas"]["AcceptTermsResponse"];
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
/** @description Cannot delete own account */
|
|
900
|
+
400: {
|
|
901
|
+
headers: {
|
|
902
|
+
[name: string]: unknown;
|
|
903
|
+
};
|
|
904
|
+
content: {
|
|
905
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
906
|
+
};
|
|
907
|
+
};
|
|
908
|
+
/** @description Unauthorized */
|
|
909
|
+
401: {
|
|
910
|
+
headers: {
|
|
911
|
+
[name: string]: unknown;
|
|
912
|
+
};
|
|
913
|
+
content: {
|
|
914
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
/** @description Forbidden - Admin access required */
|
|
918
|
+
403: {
|
|
919
|
+
headers: {
|
|
920
|
+
[name: string]: unknown;
|
|
921
|
+
};
|
|
922
|
+
content: {
|
|
923
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
/** @description User not found */
|
|
927
|
+
404: {
|
|
928
|
+
headers: {
|
|
929
|
+
[name: string]: unknown;
|
|
930
|
+
};
|
|
931
|
+
content: {
|
|
932
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
933
|
+
};
|
|
934
|
+
};
|
|
935
|
+
};
|
|
936
|
+
};
|
|
937
|
+
options?: never;
|
|
938
|
+
head?: never;
|
|
939
|
+
/**
|
|
940
|
+
* Update User
|
|
941
|
+
* @description Update user properties (admin only)
|
|
942
|
+
*/
|
|
943
|
+
patch: {
|
|
944
|
+
parameters: {
|
|
945
|
+
query?: never;
|
|
946
|
+
header?: never;
|
|
947
|
+
path: {
|
|
948
|
+
id: string;
|
|
949
|
+
};
|
|
950
|
+
cookie?: never;
|
|
951
|
+
};
|
|
952
|
+
requestBody?: {
|
|
953
|
+
content: {
|
|
954
|
+
"application/json": components["schemas"]["UpdateUserRequest"];
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
responses: {
|
|
958
|
+
/** @description User updated successfully */
|
|
959
|
+
200: {
|
|
960
|
+
headers: {
|
|
961
|
+
[name: string]: unknown;
|
|
962
|
+
};
|
|
963
|
+
content: {
|
|
964
|
+
"application/json": components["schemas"]["AdminUpdateUserResponse"];
|
|
965
|
+
};
|
|
966
|
+
};
|
|
967
|
+
/** @description Invalid request */
|
|
968
|
+
400: {
|
|
969
|
+
headers: {
|
|
970
|
+
[name: string]: unknown;
|
|
971
|
+
};
|
|
972
|
+
content: {
|
|
973
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
974
|
+
};
|
|
975
|
+
};
|
|
976
|
+
/** @description Unauthorized */
|
|
977
|
+
401: {
|
|
978
|
+
headers: {
|
|
979
|
+
[name: string]: unknown;
|
|
980
|
+
};
|
|
981
|
+
content: {
|
|
982
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
983
|
+
};
|
|
984
|
+
};
|
|
985
|
+
/** @description Forbidden - Admin access required */
|
|
986
|
+
403: {
|
|
987
|
+
headers: {
|
|
988
|
+
[name: string]: unknown;
|
|
989
|
+
};
|
|
990
|
+
content: {
|
|
991
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
992
|
+
};
|
|
993
|
+
};
|
|
994
|
+
/** @description User not found */
|
|
995
|
+
404: {
|
|
996
|
+
headers: {
|
|
997
|
+
[name: string]: unknown;
|
|
998
|
+
};
|
|
999
|
+
content: {
|
|
1000
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
trace?: never;
|
|
1006
|
+
};
|
|
1007
|
+
"/api/admin/oauth/config": {
|
|
1008
|
+
parameters: {
|
|
1009
|
+
query?: never;
|
|
1010
|
+
header?: never;
|
|
1011
|
+
path?: never;
|
|
1012
|
+
cookie?: never;
|
|
1013
|
+
};
|
|
1014
|
+
/**
|
|
1015
|
+
* Get OAuth Configuration
|
|
1016
|
+
* @description Get OAuth provider configuration (admin only, read-only)
|
|
1017
|
+
*/
|
|
1018
|
+
get: {
|
|
1019
|
+
parameters: {
|
|
1020
|
+
query?: never;
|
|
1021
|
+
header?: never;
|
|
1022
|
+
path?: never;
|
|
1023
|
+
cookie?: never;
|
|
1024
|
+
};
|
|
1025
|
+
requestBody?: never;
|
|
1026
|
+
responses: {
|
|
1027
|
+
/** @description OAuth configuration */
|
|
1028
|
+
200: {
|
|
1029
|
+
headers: {
|
|
1030
|
+
[name: string]: unknown;
|
|
1031
|
+
};
|
|
1032
|
+
content: {
|
|
1033
|
+
"application/json": components["schemas"]["OAuthConfigResponse"];
|
|
1034
|
+
};
|
|
1035
|
+
};
|
|
1036
|
+
/** @description Unauthorized */
|
|
1037
|
+
401: {
|
|
1038
|
+
headers: {
|
|
1039
|
+
[name: string]: unknown;
|
|
1040
|
+
};
|
|
1041
|
+
content: {
|
|
1042
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1043
|
+
};
|
|
1044
|
+
};
|
|
1045
|
+
/** @description Forbidden - Admin access required */
|
|
1046
|
+
403: {
|
|
1047
|
+
headers: {
|
|
1048
|
+
[name: string]: unknown;
|
|
1049
|
+
};
|
|
1050
|
+
content: {
|
|
1051
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
1052
|
+
};
|
|
1053
|
+
};
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1056
|
+
put?: never;
|
|
1057
|
+
post?: never;
|
|
1058
|
+
delete?: never;
|
|
1059
|
+
options?: never;
|
|
1060
|
+
head?: never;
|
|
1061
|
+
patch?: never;
|
|
1062
|
+
trace?: never;
|
|
1063
|
+
};
|
|
1064
|
+
"/resources": {
|
|
1065
|
+
parameters: {
|
|
1066
|
+
query?: never;
|
|
1067
|
+
header?: never;
|
|
1068
|
+
path?: never;
|
|
1069
|
+
cookie?: never;
|
|
1070
|
+
};
|
|
1071
|
+
/**
|
|
1072
|
+
* List Resources
|
|
1073
|
+
* @description List all resources with optional filters
|
|
1074
|
+
*/
|
|
1075
|
+
get: {
|
|
1076
|
+
parameters: {
|
|
1077
|
+
query?: {
|
|
1078
|
+
offset?: number | null;
|
|
1079
|
+
limit?: number | null;
|
|
1080
|
+
entityType?: string;
|
|
1081
|
+
archived?: "true" | "false" | boolean;
|
|
1082
|
+
search?: string;
|
|
1083
|
+
/** @description Search query */
|
|
1084
|
+
q?: string;
|
|
1085
|
+
};
|
|
1086
|
+
header?: never;
|
|
1087
|
+
path?: never;
|
|
1088
|
+
cookie?: never;
|
|
1089
|
+
};
|
|
1090
|
+
requestBody?: never;
|
|
1091
|
+
responses: {
|
|
1092
|
+
/** @description Resources listed successfully */
|
|
1093
|
+
200: {
|
|
1094
|
+
headers: {
|
|
1095
|
+
[name: string]: unknown;
|
|
1096
|
+
};
|
|
1097
|
+
content: {
|
|
1098
|
+
"application/json": components["schemas"]["ListResourcesResponse"];
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
};
|
|
1102
|
+
};
|
|
1103
|
+
put?: never;
|
|
1104
|
+
/**
|
|
1105
|
+
* Create Resource
|
|
1106
|
+
* @description Create a new resource
|
|
1107
|
+
*/
|
|
1108
|
+
post: {
|
|
1109
|
+
parameters: {
|
|
1110
|
+
query?: never;
|
|
1111
|
+
header?: never;
|
|
1112
|
+
path?: never;
|
|
1113
|
+
cookie?: never;
|
|
1114
|
+
};
|
|
1115
|
+
requestBody: {
|
|
1116
|
+
content: {
|
|
1117
|
+
"multipart/form-data": {
|
|
1118
|
+
/** @description Resource name */
|
|
1119
|
+
name: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* Format: binary
|
|
1122
|
+
* @description Binary content of the resource
|
|
1123
|
+
*/
|
|
1124
|
+
file: string;
|
|
1125
|
+
/** @description MIME type (e.g., text/markdown, image/png) */
|
|
1126
|
+
format: string;
|
|
1127
|
+
/** @description JSON-encoded array of entity types */
|
|
1128
|
+
entityTypes?: string;
|
|
1129
|
+
/** @description ISO 639-1 language code */
|
|
1130
|
+
language?: string;
|
|
1131
|
+
/** @description How the resource was created */
|
|
1132
|
+
creationMethod?: string;
|
|
1133
|
+
/** @description Source annotation ID (for generated resources) */
|
|
1134
|
+
sourceAnnotationId?: string;
|
|
1135
|
+
/** @description Source resource ID (for cloned resources) */
|
|
1136
|
+
sourceResourceId?: string;
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
responses: {
|
|
1141
|
+
/** @description Resource created successfully */
|
|
1142
|
+
201: {
|
|
1143
|
+
headers: {
|
|
1144
|
+
[name: string]: unknown;
|
|
1145
|
+
};
|
|
1146
|
+
content: {
|
|
1147
|
+
"application/json": components["schemas"]["CreateResourceResponse"];
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
};
|
|
1152
|
+
delete?: never;
|
|
1153
|
+
options?: never;
|
|
1154
|
+
head?: never;
|
|
1155
|
+
patch?: never;
|
|
1156
|
+
trace?: never;
|
|
1157
|
+
};
|
|
1158
|
+
"/resources/{id}/detect-annotations-stream": {
|
|
1159
|
+
parameters: {
|
|
1160
|
+
query?: never;
|
|
1161
|
+
header?: never;
|
|
1162
|
+
path?: never;
|
|
1163
|
+
cookie?: never;
|
|
1164
|
+
};
|
|
1165
|
+
get?: never;
|
|
1166
|
+
put?: never;
|
|
1167
|
+
/**
|
|
1168
|
+
* Detect Annotations with Progress (SSE)
|
|
1169
|
+
* @description Stream real-time entity detection progress via Server-Sent Events
|
|
1170
|
+
*/
|
|
1171
|
+
post: {
|
|
1172
|
+
parameters: {
|
|
1173
|
+
query?: never;
|
|
1174
|
+
header?: never;
|
|
1175
|
+
path: {
|
|
1176
|
+
id: string;
|
|
1177
|
+
};
|
|
1178
|
+
cookie?: never;
|
|
1179
|
+
};
|
|
1180
|
+
requestBody?: {
|
|
1181
|
+
content: {
|
|
1182
|
+
"application/json": components["schemas"]["GetEntityTypesResponse"];
|
|
1183
|
+
};
|
|
1184
|
+
};
|
|
1185
|
+
responses: {
|
|
1186
|
+
/** @description SSE stream opened successfully */
|
|
1187
|
+
200: {
|
|
1188
|
+
headers: {
|
|
1189
|
+
[name: string]: unknown;
|
|
1190
|
+
};
|
|
1191
|
+
content: {
|
|
1192
|
+
"text/event-stream": components["schemas"]["EventStreamResponse"];
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
/** @description Authentication required */
|
|
1196
|
+
401: {
|
|
1197
|
+
headers: {
|
|
1198
|
+
[name: string]: unknown;
|
|
1199
|
+
};
|
|
1200
|
+
content?: never;
|
|
1201
|
+
};
|
|
1202
|
+
/** @description Resource not found */
|
|
1203
|
+
404: {
|
|
1204
|
+
headers: {
|
|
1205
|
+
[name: string]: unknown;
|
|
1206
|
+
};
|
|
1207
|
+
content?: never;
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
};
|
|
1211
|
+
delete?: never;
|
|
1212
|
+
options?: never;
|
|
1213
|
+
head?: never;
|
|
1214
|
+
patch?: never;
|
|
1215
|
+
trace?: never;
|
|
1216
|
+
};
|
|
1217
|
+
"/resources/{id}/detect-highlights-stream": {
|
|
1218
|
+
parameters: {
|
|
1219
|
+
query?: never;
|
|
1220
|
+
header?: never;
|
|
1221
|
+
path?: never;
|
|
1222
|
+
cookie?: never;
|
|
1223
|
+
};
|
|
1224
|
+
get?: never;
|
|
1225
|
+
put?: never;
|
|
1226
|
+
/**
|
|
1227
|
+
* Detect Highlights with Progress (SSE)
|
|
1228
|
+
* @description Stream real-time highlight detection progress via Server-Sent Events
|
|
1229
|
+
*/
|
|
1230
|
+
post: {
|
|
1231
|
+
parameters: {
|
|
1232
|
+
query?: never;
|
|
1233
|
+
header?: never;
|
|
1234
|
+
path: {
|
|
1235
|
+
id: string;
|
|
1236
|
+
};
|
|
1237
|
+
cookie?: never;
|
|
1238
|
+
};
|
|
1239
|
+
requestBody?: {
|
|
1240
|
+
content: {
|
|
1241
|
+
"application/json": components["schemas"]["DetectHighlightsStreamRequest"];
|
|
1242
|
+
};
|
|
1243
|
+
};
|
|
1244
|
+
responses: {
|
|
1245
|
+
/** @description SSE stream opened successfully */
|
|
1246
|
+
200: {
|
|
1247
|
+
headers: {
|
|
1248
|
+
[name: string]: unknown;
|
|
1249
|
+
};
|
|
1250
|
+
content: {
|
|
1251
|
+
"text/event-stream": components["schemas"]["EventStreamResponse"];
|
|
1252
|
+
};
|
|
1253
|
+
};
|
|
1254
|
+
/** @description Authentication required */
|
|
1255
|
+
401: {
|
|
1256
|
+
headers: {
|
|
1257
|
+
[name: string]: unknown;
|
|
1258
|
+
};
|
|
1259
|
+
content?: never;
|
|
1260
|
+
};
|
|
1261
|
+
/** @description Resource not found */
|
|
1262
|
+
404: {
|
|
1263
|
+
headers: {
|
|
1264
|
+
[name: string]: unknown;
|
|
1265
|
+
};
|
|
1266
|
+
content?: never;
|
|
1267
|
+
};
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1270
|
+
delete?: never;
|
|
1271
|
+
options?: never;
|
|
1272
|
+
head?: never;
|
|
1273
|
+
patch?: never;
|
|
1274
|
+
trace?: never;
|
|
1275
|
+
};
|
|
1276
|
+
"/resources/{id}/detect-assessments-stream": {
|
|
1277
|
+
parameters: {
|
|
1278
|
+
query?: never;
|
|
1279
|
+
header?: never;
|
|
1280
|
+
path?: never;
|
|
1281
|
+
cookie?: never;
|
|
1282
|
+
};
|
|
1283
|
+
get?: never;
|
|
1284
|
+
put?: never;
|
|
1285
|
+
/**
|
|
1286
|
+
* Detect Assessments with Progress (SSE)
|
|
1287
|
+
* @description Stream real-time assessment detection progress via Server-Sent Events
|
|
1288
|
+
*/
|
|
1289
|
+
post: {
|
|
1290
|
+
parameters: {
|
|
1291
|
+
query?: never;
|
|
1292
|
+
header?: never;
|
|
1293
|
+
path: {
|
|
1294
|
+
id: string;
|
|
1295
|
+
};
|
|
1296
|
+
cookie?: never;
|
|
1297
|
+
};
|
|
1298
|
+
requestBody?: {
|
|
1299
|
+
content: {
|
|
1300
|
+
"application/json": components["schemas"]["DetectAssessmentsStreamRequest"];
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1303
|
+
responses: {
|
|
1304
|
+
/** @description SSE stream opened successfully */
|
|
1305
|
+
200: {
|
|
1306
|
+
headers: {
|
|
1307
|
+
[name: string]: unknown;
|
|
1308
|
+
};
|
|
1309
|
+
content: {
|
|
1310
|
+
"text/event-stream": components["schemas"]["EventStreamResponse"];
|
|
1311
|
+
};
|
|
1312
|
+
};
|
|
1313
|
+
/** @description Authentication required */
|
|
1314
|
+
401: {
|
|
1315
|
+
headers: {
|
|
1316
|
+
[name: string]: unknown;
|
|
1317
|
+
};
|
|
1318
|
+
content?: never;
|
|
1319
|
+
};
|
|
1320
|
+
/** @description Resource not found */
|
|
1321
|
+
404: {
|
|
1322
|
+
headers: {
|
|
1323
|
+
[name: string]: unknown;
|
|
1324
|
+
};
|
|
1325
|
+
content?: never;
|
|
1326
|
+
};
|
|
1327
|
+
};
|
|
1328
|
+
};
|
|
1329
|
+
delete?: never;
|
|
1330
|
+
options?: never;
|
|
1331
|
+
head?: never;
|
|
1332
|
+
patch?: never;
|
|
1333
|
+
trace?: never;
|
|
1334
|
+
};
|
|
1335
|
+
"/resources/{id}/detect-comments-stream": {
|
|
1336
|
+
parameters: {
|
|
1337
|
+
query?: never;
|
|
1338
|
+
header?: never;
|
|
1339
|
+
path?: never;
|
|
1340
|
+
cookie?: never;
|
|
1341
|
+
};
|
|
1342
|
+
get?: never;
|
|
1343
|
+
put?: never;
|
|
1344
|
+
/**
|
|
1345
|
+
* Detect Comments with Progress (SSE)
|
|
1346
|
+
* @description Stream real-time comment detection progress via Server-Sent Events
|
|
1347
|
+
*/
|
|
1348
|
+
post: {
|
|
1349
|
+
parameters: {
|
|
1350
|
+
query?: never;
|
|
1351
|
+
header?: never;
|
|
1352
|
+
path: {
|
|
1353
|
+
id: string;
|
|
1354
|
+
};
|
|
1355
|
+
cookie?: never;
|
|
1356
|
+
};
|
|
1357
|
+
requestBody?: {
|
|
1358
|
+
content: {
|
|
1359
|
+
"application/json": components["schemas"]["DetectCommentsStreamRequest"];
|
|
1360
|
+
};
|
|
1361
|
+
};
|
|
1362
|
+
responses: {
|
|
1363
|
+
/** @description SSE stream opened successfully */
|
|
1364
|
+
200: {
|
|
1365
|
+
headers: {
|
|
1366
|
+
[name: string]: unknown;
|
|
1367
|
+
};
|
|
1368
|
+
content: {
|
|
1369
|
+
"text/event-stream": components["schemas"]["EventStreamResponse"];
|
|
1370
|
+
};
|
|
1371
|
+
};
|
|
1372
|
+
/** @description Authentication required */
|
|
1373
|
+
401: {
|
|
1374
|
+
headers: {
|
|
1375
|
+
[name: string]: unknown;
|
|
1376
|
+
};
|
|
1377
|
+
content?: never;
|
|
1378
|
+
};
|
|
1379
|
+
/** @description Resource not found */
|
|
1380
|
+
404: {
|
|
1381
|
+
headers: {
|
|
1382
|
+
[name: string]: unknown;
|
|
1383
|
+
};
|
|
1384
|
+
content?: never;
|
|
1385
|
+
};
|
|
1386
|
+
};
|
|
1387
|
+
};
|
|
1388
|
+
delete?: never;
|
|
1389
|
+
options?: never;
|
|
1390
|
+
head?: never;
|
|
1391
|
+
patch?: never;
|
|
1392
|
+
trace?: never;
|
|
1393
|
+
};
|
|
1394
|
+
"/resources/{id}/detect-tags-stream": {
|
|
1395
|
+
parameters: {
|
|
1396
|
+
query?: never;
|
|
1397
|
+
header?: never;
|
|
1398
|
+
path?: never;
|
|
1399
|
+
cookie?: never;
|
|
1400
|
+
};
|
|
1401
|
+
get?: never;
|
|
1402
|
+
put?: never;
|
|
1403
|
+
/**
|
|
1404
|
+
* Detect Tags with Progress (SSE)
|
|
1405
|
+
* @description Stream real-time tag detection progress via Server-Sent Events. Identifies passages serving specific structural roles (IRAC, IMRAD, Toulmin frameworks).
|
|
1406
|
+
*/
|
|
1407
|
+
post: {
|
|
1408
|
+
parameters: {
|
|
1409
|
+
query?: never;
|
|
1410
|
+
header?: never;
|
|
1411
|
+
path: {
|
|
1412
|
+
id: string;
|
|
1413
|
+
};
|
|
1414
|
+
cookie?: never;
|
|
1415
|
+
};
|
|
1416
|
+
requestBody?: {
|
|
1417
|
+
content: {
|
|
1418
|
+
"application/json": components["schemas"]["DetectTagsStreamRequest"];
|
|
1419
|
+
};
|
|
1420
|
+
};
|
|
1421
|
+
responses: {
|
|
1422
|
+
/** @description SSE stream opened successfully */
|
|
1423
|
+
200: {
|
|
1424
|
+
headers: {
|
|
1425
|
+
[name: string]: unknown;
|
|
1426
|
+
};
|
|
1427
|
+
content: {
|
|
1428
|
+
"text/event-stream": components["schemas"]["EventStreamResponse"];
|
|
1429
|
+
};
|
|
1430
|
+
};
|
|
1431
|
+
/** @description Authentication required */
|
|
1432
|
+
401: {
|
|
1433
|
+
headers: {
|
|
1434
|
+
[name: string]: unknown;
|
|
1435
|
+
};
|
|
1436
|
+
content?: never;
|
|
1437
|
+
};
|
|
1438
|
+
/** @description Resource not found */
|
|
1439
|
+
404: {
|
|
1440
|
+
headers: {
|
|
1441
|
+
[name: string]: unknown;
|
|
1442
|
+
};
|
|
1443
|
+
content?: never;
|
|
1444
|
+
};
|
|
1445
|
+
};
|
|
1446
|
+
};
|
|
1447
|
+
delete?: never;
|
|
1448
|
+
options?: never;
|
|
1449
|
+
head?: never;
|
|
1450
|
+
patch?: never;
|
|
1451
|
+
trace?: never;
|
|
1452
|
+
};
|
|
1453
|
+
"/resources/{id}/llm-context": {
|
|
1454
|
+
parameters: {
|
|
1455
|
+
query?: never;
|
|
1456
|
+
header?: never;
|
|
1457
|
+
path?: never;
|
|
1458
|
+
cookie?: never;
|
|
1459
|
+
};
|
|
1460
|
+
/**
|
|
1461
|
+
* Get Resource LLM Context
|
|
1462
|
+
* @description Get resource with full context for LLM processing
|
|
1463
|
+
*/
|
|
1464
|
+
get: {
|
|
1465
|
+
parameters: {
|
|
1466
|
+
query?: {
|
|
1467
|
+
depth?: number;
|
|
1468
|
+
maxResources?: number;
|
|
1469
|
+
includeContent?: "true" | "false" | boolean;
|
|
1470
|
+
includeSummary?: "true" | "false" | boolean;
|
|
1471
|
+
};
|
|
1472
|
+
header?: never;
|
|
1473
|
+
path: {
|
|
1474
|
+
id: string;
|
|
1475
|
+
};
|
|
1476
|
+
cookie?: never;
|
|
1477
|
+
};
|
|
1478
|
+
requestBody?: never;
|
|
1479
|
+
responses: {
|
|
1480
|
+
/** @description LLM context */
|
|
1481
|
+
200: {
|
|
1482
|
+
headers: {
|
|
1483
|
+
[name: string]: unknown;
|
|
1484
|
+
};
|
|
1485
|
+
content: {
|
|
1486
|
+
"application/json": components["schemas"]["ResourceLLMContextResponse"];
|
|
1487
|
+
};
|
|
1488
|
+
};
|
|
1489
|
+
};
|
|
1490
|
+
};
|
|
1491
|
+
put?: never;
|
|
1492
|
+
post?: never;
|
|
1493
|
+
delete?: never;
|
|
1494
|
+
options?: never;
|
|
1495
|
+
head?: never;
|
|
1496
|
+
patch?: never;
|
|
1497
|
+
trace?: never;
|
|
1498
|
+
};
|
|
1499
|
+
"/resources/{resourceId}/annotations/{annotationId}/llm-context": {
|
|
1500
|
+
parameters: {
|
|
1501
|
+
query?: never;
|
|
1502
|
+
header?: never;
|
|
1503
|
+
path?: never;
|
|
1504
|
+
cookie?: never;
|
|
1505
|
+
};
|
|
1506
|
+
/**
|
|
1507
|
+
* Get Annotation LLM Context
|
|
1508
|
+
* @description Get annotation with full context for LLM processing
|
|
1509
|
+
*/
|
|
1510
|
+
get: {
|
|
1511
|
+
parameters: {
|
|
1512
|
+
query?: {
|
|
1513
|
+
includeSourceContext?: "true" | "false" | boolean;
|
|
1514
|
+
includeTargetContext?: "true" | "false" | boolean;
|
|
1515
|
+
contextWindow?: number;
|
|
1516
|
+
};
|
|
1517
|
+
header?: never;
|
|
1518
|
+
path: {
|
|
1519
|
+
resourceId: string;
|
|
1520
|
+
annotationId: string;
|
|
1521
|
+
};
|
|
1522
|
+
cookie?: never;
|
|
1523
|
+
};
|
|
1524
|
+
requestBody?: never;
|
|
1525
|
+
responses: {
|
|
1526
|
+
/** @description Annotation LLM context */
|
|
1527
|
+
200: {
|
|
1528
|
+
headers: {
|
|
1529
|
+
[name: string]: unknown;
|
|
1530
|
+
};
|
|
1531
|
+
content: {
|
|
1532
|
+
"application/json": components["schemas"]["AnnotationLLMContextResponse"];
|
|
1533
|
+
};
|
|
1534
|
+
};
|
|
1535
|
+
};
|
|
1536
|
+
};
|
|
1537
|
+
put?: never;
|
|
1538
|
+
post?: never;
|
|
1539
|
+
delete?: never;
|
|
1540
|
+
options?: never;
|
|
1541
|
+
head?: never;
|
|
1542
|
+
patch?: never;
|
|
1543
|
+
trace?: never;
|
|
1544
|
+
};
|
|
1545
|
+
"/resources/{id}/referenced-by": {
|
|
1546
|
+
parameters: {
|
|
1547
|
+
query?: never;
|
|
1548
|
+
header?: never;
|
|
1549
|
+
path?: never;
|
|
1550
|
+
cookie?: never;
|
|
1551
|
+
};
|
|
1552
|
+
/**
|
|
1553
|
+
* Get Referenced By
|
|
1554
|
+
* @description Get resources that reference this resource
|
|
1555
|
+
*/
|
|
1556
|
+
get: {
|
|
1557
|
+
parameters: {
|
|
1558
|
+
query?: {
|
|
1559
|
+
/** @description Filter incoming references by W3C motivation type (e.g., 'linking', 'commenting', 'highlighting') */
|
|
1560
|
+
motivation?: components["schemas"]["Motivation"];
|
|
1561
|
+
};
|
|
1562
|
+
header?: never;
|
|
1563
|
+
path: {
|
|
1564
|
+
id: string;
|
|
1565
|
+
};
|
|
1566
|
+
cookie?: never;
|
|
1567
|
+
};
|
|
1568
|
+
requestBody?: never;
|
|
1569
|
+
responses: {
|
|
1570
|
+
/** @description Resources that reference this resource */
|
|
1571
|
+
200: {
|
|
1572
|
+
headers: {
|
|
1573
|
+
[name: string]: unknown;
|
|
1574
|
+
};
|
|
1575
|
+
content: {
|
|
1576
|
+
"application/json": components["schemas"]["GetReferencedByResponse"];
|
|
1577
|
+
};
|
|
1578
|
+
};
|
|
1579
|
+
};
|
|
1580
|
+
};
|
|
1581
|
+
put?: never;
|
|
1582
|
+
post?: never;
|
|
1583
|
+
delete?: never;
|
|
1584
|
+
options?: never;
|
|
1585
|
+
head?: never;
|
|
1586
|
+
patch?: never;
|
|
1587
|
+
trace?: never;
|
|
1588
|
+
};
|
|
1589
|
+
"/api/resources/token/{token}": {
|
|
1590
|
+
parameters: {
|
|
1591
|
+
query?: never;
|
|
1592
|
+
header?: never;
|
|
1593
|
+
path?: never;
|
|
1594
|
+
cookie?: never;
|
|
1595
|
+
};
|
|
1596
|
+
/**
|
|
1597
|
+
* Get Resource by Clone Token
|
|
1598
|
+
* @description Retrieve a resource using a clone token
|
|
1599
|
+
*/
|
|
1600
|
+
get: {
|
|
1601
|
+
parameters: {
|
|
1602
|
+
query?: never;
|
|
1603
|
+
header?: never;
|
|
1604
|
+
path: {
|
|
1605
|
+
token: string;
|
|
1606
|
+
};
|
|
1607
|
+
cookie?: never;
|
|
1608
|
+
};
|
|
1609
|
+
requestBody?: never;
|
|
1610
|
+
responses: {
|
|
1611
|
+
/** @description Resource retrieved successfully */
|
|
1612
|
+
200: {
|
|
1613
|
+
headers: {
|
|
1614
|
+
[name: string]: unknown;
|
|
1615
|
+
};
|
|
1616
|
+
content: {
|
|
1617
|
+
"application/json": components["schemas"]["GetResourceByTokenResponse"];
|
|
1618
|
+
};
|
|
1619
|
+
};
|
|
1620
|
+
};
|
|
1621
|
+
};
|
|
1622
|
+
put?: never;
|
|
1623
|
+
post?: never;
|
|
1624
|
+
delete?: never;
|
|
1625
|
+
options?: never;
|
|
1626
|
+
head?: never;
|
|
1627
|
+
patch?: never;
|
|
1628
|
+
trace?: never;
|
|
1629
|
+
};
|
|
1630
|
+
"/api/resources/create-from-token": {
|
|
1631
|
+
parameters: {
|
|
1632
|
+
query?: never;
|
|
1633
|
+
header?: never;
|
|
1634
|
+
path?: never;
|
|
1635
|
+
cookie?: never;
|
|
1636
|
+
};
|
|
1637
|
+
get?: never;
|
|
1638
|
+
put?: never;
|
|
1639
|
+
/**
|
|
1640
|
+
* Create Resource from Clone Token
|
|
1641
|
+
* @description Create a new resource using a clone token
|
|
1642
|
+
*/
|
|
1643
|
+
post: {
|
|
1644
|
+
parameters: {
|
|
1645
|
+
query?: never;
|
|
1646
|
+
header?: never;
|
|
1647
|
+
path?: never;
|
|
1648
|
+
cookie?: never;
|
|
1649
|
+
};
|
|
1650
|
+
requestBody?: {
|
|
1651
|
+
content: {
|
|
1652
|
+
"application/json": components["schemas"]["CreateResourceFromTokenRequest"];
|
|
1653
|
+
};
|
|
1654
|
+
};
|
|
1655
|
+
responses: {
|
|
1656
|
+
/** @description Resource created successfully */
|
|
1657
|
+
201: {
|
|
1658
|
+
headers: {
|
|
1659
|
+
[name: string]: unknown;
|
|
1660
|
+
};
|
|
1661
|
+
content: {
|
|
1662
|
+
"application/json": components["schemas"]["CreateResourceResponse"];
|
|
1663
|
+
};
|
|
1664
|
+
};
|
|
1665
|
+
};
|
|
1666
|
+
};
|
|
1667
|
+
delete?: never;
|
|
1668
|
+
options?: never;
|
|
1669
|
+
head?: never;
|
|
1670
|
+
patch?: never;
|
|
1671
|
+
trace?: never;
|
|
1672
|
+
};
|
|
1673
|
+
"/resources/{id}/clone-with-token": {
|
|
1674
|
+
parameters: {
|
|
1675
|
+
query?: never;
|
|
1676
|
+
header?: never;
|
|
1677
|
+
path?: never;
|
|
1678
|
+
cookie?: never;
|
|
1679
|
+
};
|
|
1680
|
+
get?: never;
|
|
1681
|
+
put?: never;
|
|
1682
|
+
/**
|
|
1683
|
+
* Clone Resource with Token
|
|
1684
|
+
* @description Generate a temporary token for cloning a resource
|
|
1685
|
+
*/
|
|
1686
|
+
post: {
|
|
1687
|
+
parameters: {
|
|
1688
|
+
query?: never;
|
|
1689
|
+
header?: never;
|
|
1690
|
+
path: {
|
|
1691
|
+
id: string;
|
|
1692
|
+
};
|
|
1693
|
+
cookie?: never;
|
|
1694
|
+
};
|
|
1695
|
+
requestBody?: never;
|
|
1696
|
+
responses: {
|
|
1697
|
+
/** @description Clone token generated successfully */
|
|
1698
|
+
200: {
|
|
1699
|
+
headers: {
|
|
1700
|
+
[name: string]: unknown;
|
|
1701
|
+
};
|
|
1702
|
+
content: {
|
|
1703
|
+
"application/json": components["schemas"]["CloneResourceWithTokenResponse"];
|
|
1704
|
+
};
|
|
1705
|
+
};
|
|
1706
|
+
};
|
|
1707
|
+
};
|
|
1708
|
+
delete?: never;
|
|
1709
|
+
options?: never;
|
|
1710
|
+
head?: never;
|
|
1711
|
+
patch?: never;
|
|
1712
|
+
trace?: never;
|
|
1713
|
+
};
|
|
1714
|
+
"/resources/{id}/annotations": {
|
|
1715
|
+
parameters: {
|
|
1716
|
+
query?: never;
|
|
1717
|
+
header?: never;
|
|
1718
|
+
path?: never;
|
|
1719
|
+
cookie?: never;
|
|
1720
|
+
};
|
|
1721
|
+
/**
|
|
1722
|
+
* Get Resource Annotations
|
|
1723
|
+
* @description Get all annotations (both highlights and references) in a resource
|
|
1724
|
+
*/
|
|
1725
|
+
get: {
|
|
1726
|
+
parameters: {
|
|
1727
|
+
query?: never;
|
|
1728
|
+
header?: never;
|
|
1729
|
+
path: {
|
|
1730
|
+
id: string;
|
|
1731
|
+
};
|
|
1732
|
+
cookie?: never;
|
|
1733
|
+
};
|
|
1734
|
+
requestBody?: never;
|
|
1735
|
+
responses: {
|
|
1736
|
+
/** @description Resource annotations */
|
|
1737
|
+
200: {
|
|
1738
|
+
headers: {
|
|
1739
|
+
[name: string]: unknown;
|
|
1740
|
+
};
|
|
1741
|
+
content: {
|
|
1742
|
+
"application/json": components["schemas"]["CreateResourceResponse"];
|
|
1743
|
+
};
|
|
1744
|
+
};
|
|
1745
|
+
};
|
|
1746
|
+
};
|
|
1747
|
+
put?: never;
|
|
1748
|
+
/**
|
|
1749
|
+
* Create Annotation
|
|
1750
|
+
* @description Create a new annotation/reference in a resource
|
|
1751
|
+
*/
|
|
1752
|
+
post: {
|
|
1753
|
+
parameters: {
|
|
1754
|
+
query?: never;
|
|
1755
|
+
header?: never;
|
|
1756
|
+
path: {
|
|
1757
|
+
/** @description Resource ID */
|
|
1758
|
+
id: string;
|
|
1759
|
+
};
|
|
1760
|
+
cookie?: never;
|
|
1761
|
+
};
|
|
1762
|
+
requestBody?: {
|
|
1763
|
+
content: {
|
|
1764
|
+
"application/json": components["schemas"]["CreateAnnotationRequest"];
|
|
1765
|
+
};
|
|
1766
|
+
};
|
|
1767
|
+
responses: {
|
|
1768
|
+
/** @description Annotation created successfully */
|
|
1769
|
+
201: {
|
|
1770
|
+
headers: {
|
|
1771
|
+
[name: string]: unknown;
|
|
1772
|
+
};
|
|
1773
|
+
content: {
|
|
1774
|
+
"application/json": components["schemas"]["CreateAnnotationResponse"];
|
|
1775
|
+
};
|
|
1776
|
+
};
|
|
1777
|
+
};
|
|
1778
|
+
};
|
|
1779
|
+
delete?: never;
|
|
1780
|
+
options?: never;
|
|
1781
|
+
head?: never;
|
|
1782
|
+
patch?: never;
|
|
1783
|
+
trace?: never;
|
|
1784
|
+
};
|
|
1785
|
+
"/resources/{id}/events": {
|
|
1786
|
+
parameters: {
|
|
1787
|
+
query?: never;
|
|
1788
|
+
header?: never;
|
|
1789
|
+
path?: never;
|
|
1790
|
+
cookie?: never;
|
|
1791
|
+
};
|
|
1792
|
+
/**
|
|
1793
|
+
* Get Resource Event History
|
|
1794
|
+
* @description Get full event history for a resource with optional filtering
|
|
1795
|
+
*/
|
|
1796
|
+
get: {
|
|
1797
|
+
parameters: {
|
|
1798
|
+
query?: {
|
|
1799
|
+
type?: "resource.created" | "resource.cloned" | "resource.archived" | "resource.unarchived" | "annotation.added" | "annotation.removed" | "annotation.body.updated" | "entitytag.added" | "entitytag.removed" | "entitytype.added";
|
|
1800
|
+
userId?: string;
|
|
1801
|
+
limit?: number;
|
|
1802
|
+
};
|
|
1803
|
+
header?: never;
|
|
1804
|
+
path: {
|
|
1805
|
+
id: string;
|
|
1806
|
+
};
|
|
1807
|
+
cookie?: never;
|
|
1808
|
+
};
|
|
1809
|
+
requestBody?: never;
|
|
1810
|
+
responses: {
|
|
1811
|
+
/** @description Events retrieved successfully */
|
|
1812
|
+
200: {
|
|
1813
|
+
headers: {
|
|
1814
|
+
[name: string]: unknown;
|
|
1815
|
+
};
|
|
1816
|
+
content: {
|
|
1817
|
+
"application/json": components["schemas"]["GetEventsResponse"];
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
};
|
|
1821
|
+
};
|
|
1822
|
+
put?: never;
|
|
1823
|
+
post?: never;
|
|
1824
|
+
delete?: never;
|
|
1825
|
+
options?: never;
|
|
1826
|
+
head?: never;
|
|
1827
|
+
patch?: never;
|
|
1828
|
+
trace?: never;
|
|
1829
|
+
};
|
|
1830
|
+
"/resources/{id}/events/stream": {
|
|
1831
|
+
parameters: {
|
|
1832
|
+
query?: never;
|
|
1833
|
+
header?: never;
|
|
1834
|
+
path?: never;
|
|
1835
|
+
cookie?: never;
|
|
1836
|
+
};
|
|
1837
|
+
/**
|
|
1838
|
+
* Subscribe to Resource Events (SSE)
|
|
1839
|
+
* @description Open a Server-Sent Events stream to receive real-time resource events
|
|
1840
|
+
*/
|
|
1841
|
+
get: {
|
|
1842
|
+
parameters: {
|
|
1843
|
+
query?: never;
|
|
1844
|
+
header?: never;
|
|
1845
|
+
path: {
|
|
1846
|
+
id: string;
|
|
1847
|
+
};
|
|
1848
|
+
cookie?: never;
|
|
1849
|
+
};
|
|
1850
|
+
requestBody?: never;
|
|
1851
|
+
responses: {
|
|
1852
|
+
/** @description SSE stream opened successfully */
|
|
1853
|
+
200: {
|
|
1854
|
+
headers: {
|
|
1855
|
+
[name: string]: unknown;
|
|
1856
|
+
};
|
|
1857
|
+
content: {
|
|
1858
|
+
"text/event-stream": components["schemas"]["EventStreamResponse"];
|
|
1859
|
+
};
|
|
1860
|
+
};
|
|
1861
|
+
};
|
|
1862
|
+
};
|
|
1863
|
+
put?: never;
|
|
1864
|
+
post?: never;
|
|
1865
|
+
delete?: never;
|
|
1866
|
+
options?: never;
|
|
1867
|
+
head?: never;
|
|
1868
|
+
patch?: never;
|
|
1869
|
+
trace?: never;
|
|
1870
|
+
};
|
|
1871
|
+
"/resources/{resourceId}/annotations/{annotationId}": {
|
|
1872
|
+
parameters: {
|
|
1873
|
+
query?: never;
|
|
1874
|
+
header?: never;
|
|
1875
|
+
path?: never;
|
|
1876
|
+
cookie?: never;
|
|
1877
|
+
};
|
|
1878
|
+
/**
|
|
1879
|
+
* Get Annotation
|
|
1880
|
+
* @description Get a specific annotation from a resource using nested path
|
|
1881
|
+
*/
|
|
1882
|
+
get: {
|
|
1883
|
+
parameters: {
|
|
1884
|
+
query?: never;
|
|
1885
|
+
header?: never;
|
|
1886
|
+
path: {
|
|
1887
|
+
/** @description Resource ID */
|
|
1888
|
+
resourceId: string;
|
|
1889
|
+
/** @description Annotation ID */
|
|
1890
|
+
annotationId: string;
|
|
1891
|
+
};
|
|
1892
|
+
cookie?: never;
|
|
1893
|
+
};
|
|
1894
|
+
requestBody?: never;
|
|
1895
|
+
responses: {
|
|
1896
|
+
/** @description Annotation retrieved successfully */
|
|
1897
|
+
200: {
|
|
1898
|
+
headers: {
|
|
1899
|
+
[name: string]: unknown;
|
|
1900
|
+
};
|
|
1901
|
+
content: {
|
|
1902
|
+
"application/json": components["schemas"]["GetAnnotationResponse"];
|
|
1903
|
+
};
|
|
1904
|
+
};
|
|
1905
|
+
/** @description Annotation not found */
|
|
1906
|
+
404: {
|
|
1907
|
+
headers: {
|
|
1908
|
+
[name: string]: unknown;
|
|
1909
|
+
};
|
|
1910
|
+
content?: never;
|
|
1911
|
+
};
|
|
1912
|
+
};
|
|
1913
|
+
};
|
|
1914
|
+
put?: never;
|
|
1915
|
+
post?: never;
|
|
1916
|
+
/**
|
|
1917
|
+
* Delete Annotation
|
|
1918
|
+
* @description Delete an annotation from a resource
|
|
1919
|
+
*/
|
|
1920
|
+
delete: {
|
|
1921
|
+
parameters: {
|
|
1922
|
+
query?: never;
|
|
1923
|
+
header?: never;
|
|
1924
|
+
path: {
|
|
1925
|
+
/** @description Resource ID */
|
|
1926
|
+
resourceId: string;
|
|
1927
|
+
/** @description Annotation ID */
|
|
1928
|
+
annotationId: string;
|
|
1929
|
+
};
|
|
1930
|
+
cookie?: never;
|
|
1931
|
+
};
|
|
1932
|
+
requestBody?: never;
|
|
1933
|
+
responses: {
|
|
1934
|
+
/** @description Annotation deleted successfully */
|
|
1935
|
+
204: {
|
|
1936
|
+
headers: {
|
|
1937
|
+
[name: string]: unknown;
|
|
1938
|
+
};
|
|
1939
|
+
content?: never;
|
|
1940
|
+
};
|
|
1941
|
+
/** @description Annotation not found */
|
|
1942
|
+
404: {
|
|
1943
|
+
headers: {
|
|
1944
|
+
[name: string]: unknown;
|
|
1945
|
+
};
|
|
1946
|
+
content?: never;
|
|
1947
|
+
};
|
|
1948
|
+
};
|
|
1949
|
+
};
|
|
1950
|
+
options?: never;
|
|
1951
|
+
head?: never;
|
|
1952
|
+
patch?: never;
|
|
1953
|
+
trace?: never;
|
|
1954
|
+
};
|
|
1955
|
+
"/resources/{resourceId}/annotations/{annotationId}/body": {
|
|
1956
|
+
parameters: {
|
|
1957
|
+
query?: never;
|
|
1958
|
+
header?: never;
|
|
1959
|
+
path?: never;
|
|
1960
|
+
cookie?: never;
|
|
1961
|
+
};
|
|
1962
|
+
get?: never;
|
|
1963
|
+
/**
|
|
1964
|
+
* Update Annotation Body
|
|
1965
|
+
* @description Apply fine-grained operations to modify annotation body items (add, remove, or replace TextualBody and SpecificResource items)
|
|
1966
|
+
*/
|
|
1967
|
+
put: {
|
|
1968
|
+
parameters: {
|
|
1969
|
+
query?: never;
|
|
1970
|
+
header?: never;
|
|
1971
|
+
path: {
|
|
1972
|
+
/** @description Resource ID */
|
|
1973
|
+
resourceId: string;
|
|
1974
|
+
/** @description Annotation ID */
|
|
1975
|
+
annotationId: string;
|
|
1976
|
+
};
|
|
1977
|
+
cookie?: never;
|
|
1978
|
+
};
|
|
1979
|
+
requestBody?: {
|
|
1980
|
+
content: {
|
|
1981
|
+
"application/json": components["schemas"]["UpdateAnnotationBodyRequest"];
|
|
1982
|
+
};
|
|
1983
|
+
};
|
|
1984
|
+
responses: {
|
|
1985
|
+
/** @description Annotation body updated successfully */
|
|
1986
|
+
200: {
|
|
1987
|
+
headers: {
|
|
1988
|
+
[name: string]: unknown;
|
|
1989
|
+
};
|
|
1990
|
+
content: {
|
|
1991
|
+
"application/json": components["schemas"]["UpdateAnnotationBodyResponse"];
|
|
1992
|
+
};
|
|
1993
|
+
};
|
|
1994
|
+
};
|
|
1995
|
+
};
|
|
1996
|
+
post?: never;
|
|
1997
|
+
delete?: never;
|
|
1998
|
+
options?: never;
|
|
1999
|
+
head?: never;
|
|
2000
|
+
patch?: never;
|
|
2001
|
+
trace?: never;
|
|
2002
|
+
};
|
|
2003
|
+
"/resources/{resourceId}/annotations/{annotationId}/generate-resource-stream": {
|
|
2004
|
+
parameters: {
|
|
2005
|
+
query?: never;
|
|
2006
|
+
header?: never;
|
|
2007
|
+
path?: never;
|
|
2008
|
+
cookie?: never;
|
|
2009
|
+
};
|
|
2010
|
+
get?: never;
|
|
2011
|
+
put?: never;
|
|
2012
|
+
/**
|
|
2013
|
+
* Generate Resource (SSE Stream)
|
|
2014
|
+
* @description Stream real-time resource generation progress via Server-Sent Events
|
|
2015
|
+
*/
|
|
2016
|
+
post: {
|
|
2017
|
+
parameters: {
|
|
2018
|
+
query?: never;
|
|
2019
|
+
header?: never;
|
|
2020
|
+
path: {
|
|
2021
|
+
/** @description Resource ID */
|
|
2022
|
+
resourceId: string;
|
|
2023
|
+
/** @description Annotation ID */
|
|
2024
|
+
annotationId: string;
|
|
2025
|
+
};
|
|
2026
|
+
cookie?: never;
|
|
2027
|
+
};
|
|
2028
|
+
requestBody?: {
|
|
2029
|
+
content: {
|
|
2030
|
+
"application/json": components["schemas"]["GenerateResourceStreamRequest"];
|
|
2031
|
+
};
|
|
2032
|
+
};
|
|
2033
|
+
responses: {
|
|
2034
|
+
/** @description SSE stream opened successfully */
|
|
2035
|
+
200: {
|
|
2036
|
+
headers: {
|
|
2037
|
+
[name: string]: unknown;
|
|
2038
|
+
};
|
|
2039
|
+
content: {
|
|
2040
|
+
"text/event-stream": components["schemas"]["EventStreamResponse"];
|
|
2041
|
+
};
|
|
2042
|
+
};
|
|
2043
|
+
/** @description Authentication required */
|
|
2044
|
+
401: {
|
|
2045
|
+
headers: {
|
|
2046
|
+
[name: string]: unknown;
|
|
2047
|
+
};
|
|
2048
|
+
content?: never;
|
|
2049
|
+
};
|
|
2050
|
+
/** @description Annotation not found */
|
|
2051
|
+
404: {
|
|
2052
|
+
headers: {
|
|
2053
|
+
[name: string]: unknown;
|
|
2054
|
+
};
|
|
2055
|
+
content?: never;
|
|
2056
|
+
};
|
|
2057
|
+
};
|
|
2058
|
+
};
|
|
2059
|
+
delete?: never;
|
|
2060
|
+
options?: never;
|
|
2061
|
+
head?: never;
|
|
2062
|
+
patch?: never;
|
|
2063
|
+
trace?: never;
|
|
2064
|
+
};
|
|
2065
|
+
"/resources/{resourceId}/annotations/{annotationId}/history": {
|
|
2066
|
+
parameters: {
|
|
2067
|
+
query?: never;
|
|
2068
|
+
header?: never;
|
|
2069
|
+
path?: never;
|
|
2070
|
+
cookie?: never;
|
|
2071
|
+
};
|
|
2072
|
+
/**
|
|
2073
|
+
* Get Annotation History
|
|
2074
|
+
* @description Get full event history for a specific annotation (highlight or reference)
|
|
2075
|
+
*/
|
|
2076
|
+
get: {
|
|
2077
|
+
parameters: {
|
|
2078
|
+
query?: never;
|
|
2079
|
+
header?: never;
|
|
2080
|
+
path: {
|
|
2081
|
+
resourceId: string;
|
|
2082
|
+
annotationId: string;
|
|
2083
|
+
};
|
|
2084
|
+
cookie?: never;
|
|
2085
|
+
};
|
|
2086
|
+
requestBody?: never;
|
|
2087
|
+
responses: {
|
|
2088
|
+
/** @description Annotation history retrieved successfully */
|
|
2089
|
+
200: {
|
|
2090
|
+
headers: {
|
|
2091
|
+
[name: string]: unknown;
|
|
2092
|
+
};
|
|
2093
|
+
content: {
|
|
2094
|
+
"application/json": components["schemas"]["GetAnnotationHistoryResponse"];
|
|
2095
|
+
};
|
|
2096
|
+
};
|
|
2097
|
+
/** @description Annotation not found */
|
|
2098
|
+
404: {
|
|
2099
|
+
headers: {
|
|
2100
|
+
[name: string]: unknown;
|
|
2101
|
+
};
|
|
2102
|
+
content?: never;
|
|
2103
|
+
};
|
|
2104
|
+
};
|
|
2105
|
+
};
|
|
2106
|
+
put?: never;
|
|
2107
|
+
post?: never;
|
|
2108
|
+
delete?: never;
|
|
2109
|
+
options?: never;
|
|
2110
|
+
head?: never;
|
|
2111
|
+
patch?: never;
|
|
2112
|
+
trace?: never;
|
|
2113
|
+
};
|
|
2114
|
+
"/api/entity-types": {
|
|
2115
|
+
parameters: {
|
|
2116
|
+
query?: never;
|
|
2117
|
+
header?: never;
|
|
2118
|
+
path?: never;
|
|
2119
|
+
cookie?: never;
|
|
2120
|
+
};
|
|
2121
|
+
/**
|
|
2122
|
+
* Get Entity Types
|
|
2123
|
+
* @description Get list of available entity types for references
|
|
2124
|
+
*/
|
|
2125
|
+
get: {
|
|
2126
|
+
parameters: {
|
|
2127
|
+
query?: never;
|
|
2128
|
+
header?: never;
|
|
2129
|
+
path?: never;
|
|
2130
|
+
cookie?: never;
|
|
2131
|
+
};
|
|
2132
|
+
requestBody?: never;
|
|
2133
|
+
responses: {
|
|
2134
|
+
/** @description Entity types retrieved successfully */
|
|
2135
|
+
200: {
|
|
2136
|
+
headers: {
|
|
2137
|
+
[name: string]: unknown;
|
|
2138
|
+
};
|
|
2139
|
+
content: {
|
|
2140
|
+
"application/json": components["schemas"]["GetEntityTypesResponse"];
|
|
2141
|
+
};
|
|
2142
|
+
};
|
|
2143
|
+
};
|
|
2144
|
+
};
|
|
2145
|
+
put?: never;
|
|
2146
|
+
/**
|
|
2147
|
+
* Add Entity Type
|
|
2148
|
+
* @description Add a new entity type to the collection (append-only, requires moderator/admin)
|
|
2149
|
+
*/
|
|
2150
|
+
post: {
|
|
2151
|
+
parameters: {
|
|
2152
|
+
query?: never;
|
|
2153
|
+
header?: never;
|
|
2154
|
+
path?: never;
|
|
2155
|
+
cookie?: never;
|
|
2156
|
+
};
|
|
2157
|
+
requestBody?: {
|
|
2158
|
+
content: {
|
|
2159
|
+
"application/json": components["schemas"]["AddEntityTypeRequest"];
|
|
2160
|
+
};
|
|
2161
|
+
};
|
|
2162
|
+
responses: {
|
|
2163
|
+
/** @description Entity type added successfully */
|
|
2164
|
+
200: {
|
|
2165
|
+
headers: {
|
|
2166
|
+
[name: string]: unknown;
|
|
2167
|
+
};
|
|
2168
|
+
content: {
|
|
2169
|
+
"application/json": components["schemas"]["AddEntityTypeResponse"];
|
|
2170
|
+
};
|
|
2171
|
+
};
|
|
2172
|
+
/** @description Forbidden - Moderator or Admin access required */
|
|
2173
|
+
403: {
|
|
2174
|
+
headers: {
|
|
2175
|
+
[name: string]: unknown;
|
|
2176
|
+
};
|
|
2177
|
+
content: {
|
|
2178
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
2179
|
+
};
|
|
2180
|
+
};
|
|
2181
|
+
};
|
|
2182
|
+
};
|
|
2183
|
+
delete?: never;
|
|
2184
|
+
options?: never;
|
|
2185
|
+
head?: never;
|
|
2186
|
+
patch?: never;
|
|
2187
|
+
trace?: never;
|
|
2188
|
+
};
|
|
2189
|
+
"/api/entity-types/bulk": {
|
|
2190
|
+
parameters: {
|
|
2191
|
+
query?: never;
|
|
2192
|
+
header?: never;
|
|
2193
|
+
path?: never;
|
|
2194
|
+
cookie?: never;
|
|
2195
|
+
};
|
|
2196
|
+
get?: never;
|
|
2197
|
+
put?: never;
|
|
2198
|
+
/**
|
|
2199
|
+
* Bulk Add Entity Types
|
|
2200
|
+
* @description Add multiple entity types to the collection (append-only, requires moderator/admin)
|
|
2201
|
+
*/
|
|
2202
|
+
post: {
|
|
2203
|
+
parameters: {
|
|
2204
|
+
query?: never;
|
|
2205
|
+
header?: never;
|
|
2206
|
+
path?: never;
|
|
2207
|
+
cookie?: never;
|
|
2208
|
+
};
|
|
2209
|
+
requestBody?: {
|
|
2210
|
+
content: {
|
|
2211
|
+
"application/json": components["schemas"]["BulkAddEntityTypesRequest"];
|
|
2212
|
+
};
|
|
2213
|
+
};
|
|
2214
|
+
responses: {
|
|
2215
|
+
/** @description Entity types added successfully */
|
|
2216
|
+
200: {
|
|
2217
|
+
headers: {
|
|
2218
|
+
[name: string]: unknown;
|
|
2219
|
+
};
|
|
2220
|
+
content: {
|
|
2221
|
+
"application/json": components["schemas"]["AddEntityTypeResponse"];
|
|
2222
|
+
};
|
|
2223
|
+
};
|
|
2224
|
+
/** @description Forbidden - Moderator or Admin access required */
|
|
2225
|
+
403: {
|
|
2226
|
+
headers: {
|
|
2227
|
+
[name: string]: unknown;
|
|
2228
|
+
};
|
|
2229
|
+
content: {
|
|
2230
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
2231
|
+
};
|
|
2232
|
+
};
|
|
2233
|
+
};
|
|
2234
|
+
};
|
|
2235
|
+
delete?: never;
|
|
2236
|
+
options?: never;
|
|
2237
|
+
head?: never;
|
|
2238
|
+
patch?: never;
|
|
2239
|
+
trace?: never;
|
|
2240
|
+
};
|
|
2241
|
+
"/api/jobs/{id}": {
|
|
2242
|
+
parameters: {
|
|
2243
|
+
query?: never;
|
|
2244
|
+
header?: never;
|
|
2245
|
+
path?: never;
|
|
2246
|
+
cookie?: never;
|
|
2247
|
+
};
|
|
2248
|
+
/**
|
|
2249
|
+
* Get Job Status
|
|
2250
|
+
* @description Get the current status and progress of an async job
|
|
2251
|
+
*/
|
|
2252
|
+
get: {
|
|
2253
|
+
parameters: {
|
|
2254
|
+
query?: never;
|
|
2255
|
+
header?: never;
|
|
2256
|
+
path: {
|
|
2257
|
+
id: string;
|
|
2258
|
+
};
|
|
2259
|
+
cookie?: never;
|
|
2260
|
+
};
|
|
2261
|
+
requestBody?: never;
|
|
2262
|
+
responses: {
|
|
2263
|
+
/** @description Job status retrieved successfully */
|
|
2264
|
+
200: {
|
|
2265
|
+
headers: {
|
|
2266
|
+
[name: string]: unknown;
|
|
2267
|
+
};
|
|
2268
|
+
content: {
|
|
2269
|
+
"application/json": components["schemas"]["JobStatusResponse"];
|
|
2270
|
+
};
|
|
2271
|
+
};
|
|
2272
|
+
/** @description Job not found */
|
|
2273
|
+
404: {
|
|
2274
|
+
headers: {
|
|
2275
|
+
[name: string]: unknown;
|
|
2276
|
+
};
|
|
2277
|
+
content?: never;
|
|
2278
|
+
};
|
|
2279
|
+
};
|
|
2280
|
+
};
|
|
2281
|
+
put?: never;
|
|
2282
|
+
post?: never;
|
|
2283
|
+
delete?: never;
|
|
2284
|
+
options?: never;
|
|
2285
|
+
head?: never;
|
|
2286
|
+
patch?: never;
|
|
2287
|
+
trace?: never;
|
|
2288
|
+
};
|
|
2289
|
+
}
|
|
2290
|
+
export type webhooks = Record<string, never>;
|
|
2291
|
+
export interface components {
|
|
2292
|
+
schemas: {
|
|
2293
|
+
AcceptTermsResponse: {
|
|
2294
|
+
success: boolean;
|
|
2295
|
+
message: string;
|
|
2296
|
+
};
|
|
2297
|
+
AddEntityTypeRequest: {
|
|
2298
|
+
tag: string;
|
|
2299
|
+
};
|
|
2300
|
+
AddEntityTypeResponse: {
|
|
2301
|
+
success: boolean;
|
|
2302
|
+
entityTypes: string[];
|
|
2303
|
+
};
|
|
2304
|
+
AdminUpdateUserResponse: {
|
|
2305
|
+
success: boolean;
|
|
2306
|
+
user: {
|
|
2307
|
+
id: string;
|
|
2308
|
+
email: string;
|
|
2309
|
+
name: string | null;
|
|
2310
|
+
image: string | null;
|
|
2311
|
+
domain: string;
|
|
2312
|
+
provider: string;
|
|
2313
|
+
isAdmin: boolean;
|
|
2314
|
+
isActive: boolean;
|
|
2315
|
+
lastLogin: string | null;
|
|
2316
|
+
created: string;
|
|
2317
|
+
updatedAt: string;
|
|
2318
|
+
};
|
|
2319
|
+
};
|
|
2320
|
+
AdminUsersListResponse: {
|
|
2321
|
+
success: boolean;
|
|
2322
|
+
users: {
|
|
2323
|
+
id: string;
|
|
2324
|
+
email: string;
|
|
2325
|
+
name: string | null;
|
|
2326
|
+
image: string | null;
|
|
2327
|
+
domain: string;
|
|
2328
|
+
provider: string;
|
|
2329
|
+
isAdmin: boolean;
|
|
2330
|
+
isActive: boolean;
|
|
2331
|
+
lastLogin: string | null;
|
|
2332
|
+
created: string;
|
|
2333
|
+
updatedAt: string;
|
|
2334
|
+
}[];
|
|
2335
|
+
};
|
|
2336
|
+
AdminUserStatsResponse: {
|
|
2337
|
+
success: boolean;
|
|
2338
|
+
stats: {
|
|
2339
|
+
totalUsers: number;
|
|
2340
|
+
activeUsers: number;
|
|
2341
|
+
adminUsers: number;
|
|
2342
|
+
regularUsers: number;
|
|
2343
|
+
domainBreakdown: {
|
|
2344
|
+
domain: string;
|
|
2345
|
+
count: number;
|
|
2346
|
+
}[];
|
|
2347
|
+
recentSignups: {
|
|
2348
|
+
id: string;
|
|
2349
|
+
email: string;
|
|
2350
|
+
name: string | null;
|
|
2351
|
+
created: string;
|
|
2352
|
+
}[];
|
|
2353
|
+
};
|
|
2354
|
+
};
|
|
2355
|
+
/** @description Minimal Person/Organization for attribution (W3C PROV compatible) */
|
|
2356
|
+
Agent: {
|
|
2357
|
+
/**
|
|
2358
|
+
* Format: uri
|
|
2359
|
+
* @description Unique identifier for the agent
|
|
2360
|
+
*/
|
|
2361
|
+
"@id"?: string;
|
|
2362
|
+
/** @description Type(s) of agent (Person, Organization, Software) */
|
|
2363
|
+
"@type"?: string | string[];
|
|
2364
|
+
name: string;
|
|
2365
|
+
nickname?: string;
|
|
2366
|
+
email?: string;
|
|
2367
|
+
email_sha1?: string;
|
|
2368
|
+
homepage?: string;
|
|
2369
|
+
} & {
|
|
2370
|
+
[key: string]: unknown;
|
|
2371
|
+
};
|
|
2372
|
+
Annotation: {
|
|
2373
|
+
/**
|
|
2374
|
+
* @description W3C Web Annotation JSON-LD context
|
|
2375
|
+
* @default http://www.w3.org/ns/anno.jsonld
|
|
2376
|
+
* @constant
|
|
2377
|
+
*/
|
|
2378
|
+
"@context": "http://www.w3.org/ns/anno.jsonld";
|
|
2379
|
+
/**
|
|
2380
|
+
* @description W3C Annotation type
|
|
2381
|
+
* @default Annotation
|
|
2382
|
+
* @constant
|
|
2383
|
+
*/
|
|
2384
|
+
type: "Annotation";
|
|
2385
|
+
id: string;
|
|
2386
|
+
motivation: components["schemas"]["Motivation"];
|
|
2387
|
+
/** @description W3C Web Annotation target - can be a simple IRI string (entire resource) or an object with source and optional selector (fragment) */
|
|
2388
|
+
target: string | components["schemas"]["AnnotationTarget"];
|
|
2389
|
+
/** @description W3C Web Annotation body - can be empty array, single body, or array of bodies */
|
|
2390
|
+
body: components["schemas"]["AnnotationBody"][] | components["schemas"]["AnnotationBody"] | components["schemas"]["AnnotationBody"][];
|
|
2391
|
+
creator?: components["schemas"]["Agent"];
|
|
2392
|
+
created?: string;
|
|
2393
|
+
modified?: string;
|
|
2394
|
+
generator?: components["schemas"]["Agent"];
|
|
2395
|
+
};
|
|
2396
|
+
/** @description Phase 2: Body can be TextualBody (for entity tags, descriptions) or SpecificResource (for links) */
|
|
2397
|
+
AnnotationBody: components["schemas"]["TextualBody"] | components["schemas"]["SpecificResource"];
|
|
2398
|
+
AnnotationContextResponse: {
|
|
2399
|
+
annotation: components["schemas"]["Annotation"];
|
|
2400
|
+
context: {
|
|
2401
|
+
before?: string;
|
|
2402
|
+
selected: string;
|
|
2403
|
+
after?: string;
|
|
2404
|
+
};
|
|
2405
|
+
resource: components["schemas"]["ResourceDescriptor"];
|
|
2406
|
+
};
|
|
2407
|
+
AnnotationLLMContextResponse: {
|
|
2408
|
+
annotation: components["schemas"]["Annotation"];
|
|
2409
|
+
sourceResource: components["schemas"]["ResourceDescriptor"];
|
|
2410
|
+
targetResource?: components["schemas"]["ResourceDescriptor"] | null;
|
|
2411
|
+
/** @description Generation context for this annotation */
|
|
2412
|
+
context?: components["schemas"]["GenerationContext"];
|
|
2413
|
+
/** @description DEPRECATED: Use 'context' instead. Legacy source context format. */
|
|
2414
|
+
sourceContext?: {
|
|
2415
|
+
before: string;
|
|
2416
|
+
selected: string;
|
|
2417
|
+
after: string;
|
|
2418
|
+
};
|
|
2419
|
+
targetContext?: {
|
|
2420
|
+
content: string;
|
|
2421
|
+
summary?: string;
|
|
2422
|
+
};
|
|
2423
|
+
suggestedResolution?: {
|
|
2424
|
+
resourceId: string;
|
|
2425
|
+
resourceName: string;
|
|
2426
|
+
confidence: number;
|
|
2427
|
+
reasoning: string;
|
|
2428
|
+
};
|
|
2429
|
+
};
|
|
2430
|
+
/** @description W3C Web Annotation target object - source is required, selector is optional */
|
|
2431
|
+
AnnotationTarget: {
|
|
2432
|
+
/** @description IRI of the resource being annotated */
|
|
2433
|
+
source: string;
|
|
2434
|
+
/** @description Optional selector to identify a specific segment of the source resource */
|
|
2435
|
+
selector?: components["schemas"]["TextPositionSelector"] | components["schemas"]["TextQuoteSelector"] | components["schemas"]["SvgSelector"] | (components["schemas"]["TextPositionSelector"] | components["schemas"]["TextQuoteSelector"] | components["schemas"]["SvgSelector"])[];
|
|
2436
|
+
};
|
|
2437
|
+
AsyncJobResponse: {
|
|
2438
|
+
jobId: string;
|
|
2439
|
+
/** @enum {string} */
|
|
2440
|
+
status: "pending" | "running" | "complete" | "failed" | "cancelled";
|
|
2441
|
+
/** @enum {string} */
|
|
2442
|
+
type: "detection" | "generation";
|
|
2443
|
+
created: string;
|
|
2444
|
+
};
|
|
2445
|
+
AuthResponse: {
|
|
2446
|
+
success: boolean;
|
|
2447
|
+
user: {
|
|
2448
|
+
id: string;
|
|
2449
|
+
email: string;
|
|
2450
|
+
name: string | null;
|
|
2451
|
+
image: string | null;
|
|
2452
|
+
domain: string;
|
|
2453
|
+
isAdmin: boolean;
|
|
2454
|
+
};
|
|
2455
|
+
token: string;
|
|
2456
|
+
isNewUser: boolean;
|
|
2457
|
+
};
|
|
2458
|
+
BodyOperationAdd: {
|
|
2459
|
+
/** @constant */
|
|
2460
|
+
op: "add";
|
|
2461
|
+
item: components["schemas"]["TextualBody"] | components["schemas"]["SpecificResource"];
|
|
2462
|
+
};
|
|
2463
|
+
BodyOperationRemove: {
|
|
2464
|
+
/** @constant */
|
|
2465
|
+
op: "remove";
|
|
2466
|
+
item: components["schemas"]["TextualBody"] | components["schemas"]["SpecificResource"];
|
|
2467
|
+
};
|
|
2468
|
+
BodyOperationReplace: {
|
|
2469
|
+
/** @constant */
|
|
2470
|
+
op: "replace";
|
|
2471
|
+
oldItem: components["schemas"]["TextualBody"] | components["schemas"]["SpecificResource"];
|
|
2472
|
+
newItem: components["schemas"]["TextualBody"] | components["schemas"]["SpecificResource"];
|
|
2473
|
+
};
|
|
2474
|
+
/**
|
|
2475
|
+
* @description Annotation body type - TextualBody for textual content, SpecificResource for resource links
|
|
2476
|
+
* @enum {string}
|
|
2477
|
+
*/
|
|
2478
|
+
BodyType: "TextualBody" | "SpecificResource";
|
|
2479
|
+
BulkAddEntityTypesRequest: {
|
|
2480
|
+
tags: string[];
|
|
2481
|
+
};
|
|
2482
|
+
CloneResourceWithTokenResponse: {
|
|
2483
|
+
/** @description Generated clone token */
|
|
2484
|
+
token: string;
|
|
2485
|
+
/** @description ISO 8601 timestamp when token expires */
|
|
2486
|
+
expiresAt: string;
|
|
2487
|
+
resource: components["schemas"]["ResourceDescriptor"];
|
|
2488
|
+
};
|
|
2489
|
+
/**
|
|
2490
|
+
* @description Content format as MIME type, optionally with charset parameter (e.g., 'text/plain', 'text/plain; charset=iso-8859-1')
|
|
2491
|
+
* @example text/plain
|
|
2492
|
+
* @example text/plain; charset=utf-8
|
|
2493
|
+
* @example text/plain; charset=iso-8859-1
|
|
2494
|
+
* @example text/markdown
|
|
2495
|
+
* @example text/markdown; charset=windows-1252
|
|
2496
|
+
* @example image/png
|
|
2497
|
+
* @example image/jpeg
|
|
2498
|
+
*/
|
|
2499
|
+
ContentFormat: string;
|
|
2500
|
+
ContextualSummaryResponse: {
|
|
2501
|
+
summary: string;
|
|
2502
|
+
relevantFields: {
|
|
2503
|
+
[key: string]: unknown;
|
|
2504
|
+
};
|
|
2505
|
+
context: {
|
|
2506
|
+
before?: string;
|
|
2507
|
+
selected: string;
|
|
2508
|
+
after?: string;
|
|
2509
|
+
};
|
|
2510
|
+
};
|
|
2511
|
+
CreateAnnotationRequest: {
|
|
2512
|
+
motivation: components["schemas"]["Motivation"];
|
|
2513
|
+
target: {
|
|
2514
|
+
source: string;
|
|
2515
|
+
selector: components["schemas"]["TextPositionSelector"] | {
|
|
2516
|
+
/** @enum {string} */
|
|
2517
|
+
type: "TextQuoteSelector";
|
|
2518
|
+
exact: string;
|
|
2519
|
+
prefix?: string;
|
|
2520
|
+
suffix?: string;
|
|
2521
|
+
} | components["schemas"]["SvgSelector"] | (components["schemas"]["TextPositionSelector"] | {
|
|
2522
|
+
/** @enum {string} */
|
|
2523
|
+
type: "TextQuoteSelector";
|
|
2524
|
+
exact: string;
|
|
2525
|
+
prefix?: string;
|
|
2526
|
+
suffix?: string;
|
|
2527
|
+
} | components["schemas"]["SvgSelector"])[];
|
|
2528
|
+
};
|
|
2529
|
+
body: unknown[] | components["schemas"]["AnnotationBody"] | components["schemas"]["AnnotationBody"][];
|
|
2530
|
+
};
|
|
2531
|
+
CreateAnnotationResponse: {
|
|
2532
|
+
annotation: components["schemas"]["Annotation"];
|
|
2533
|
+
};
|
|
2534
|
+
CreateFromAnnotationRequest: {
|
|
2535
|
+
/** @description ID of the resource containing the annotation */
|
|
2536
|
+
resourceId: string;
|
|
2537
|
+
name: string;
|
|
2538
|
+
content: string;
|
|
2539
|
+
format: components["schemas"]["ContentFormat"];
|
|
2540
|
+
};
|
|
2541
|
+
CreateFromAnnotationResponse: {
|
|
2542
|
+
resource: components["schemas"]["ResourceDescriptor"];
|
|
2543
|
+
annotations: components["schemas"]["Annotation"][];
|
|
2544
|
+
};
|
|
2545
|
+
CreateJobResponse: {
|
|
2546
|
+
jobId: string;
|
|
2547
|
+
/** @enum {string} */
|
|
2548
|
+
type: "detection" | "generation";
|
|
2549
|
+
/** @enum {string} */
|
|
2550
|
+
status: "pending" | "running" | "complete" | "failed" | "cancelled";
|
|
2551
|
+
created: string;
|
|
2552
|
+
resourceId?: string;
|
|
2553
|
+
};
|
|
2554
|
+
CreateResourceFromAnnotationResponse: {
|
|
2555
|
+
resource: components["schemas"]["ResourceDescriptor"];
|
|
2556
|
+
annotation: components["schemas"]["Annotation"];
|
|
2557
|
+
};
|
|
2558
|
+
CreateResourceFromSelectionRequest: {
|
|
2559
|
+
/** @description ID of the resource containing the annotation */
|
|
2560
|
+
resourceId: string;
|
|
2561
|
+
content: string;
|
|
2562
|
+
name: string;
|
|
2563
|
+
format: components["schemas"]["ContentFormat"];
|
|
2564
|
+
entityTypes?: string[];
|
|
2565
|
+
metadata?: {
|
|
2566
|
+
[key: string]: unknown;
|
|
2567
|
+
};
|
|
2568
|
+
prompt?: string;
|
|
2569
|
+
language?: string;
|
|
2570
|
+
};
|
|
2571
|
+
CreateResourceFromSelectionResponse: {
|
|
2572
|
+
resource: components["schemas"]["ResourceDescriptor"];
|
|
2573
|
+
annotation: components["schemas"]["Annotation"];
|
|
2574
|
+
};
|
|
2575
|
+
CreateResourceFromTokenRequest: {
|
|
2576
|
+
/** @description Clone token */
|
|
2577
|
+
token: string;
|
|
2578
|
+
/** @description Name for the new resource */
|
|
2579
|
+
name: string;
|
|
2580
|
+
/** @description Content for the new resource */
|
|
2581
|
+
content: string;
|
|
2582
|
+
/** @description Whether to archive the original resource */
|
|
2583
|
+
archiveOriginal?: boolean;
|
|
2584
|
+
};
|
|
2585
|
+
CreateResourceFromTokenResponse: {
|
|
2586
|
+
resource: components["schemas"]["ResourceDescriptor"];
|
|
2587
|
+
annotations: components["schemas"]["Annotation"][];
|
|
2588
|
+
};
|
|
2589
|
+
CreateResourceRequest: {
|
|
2590
|
+
name: string;
|
|
2591
|
+
content: string;
|
|
2592
|
+
format: components["schemas"]["ContentFormat"];
|
|
2593
|
+
entityTypes: string[];
|
|
2594
|
+
language?: string;
|
|
2595
|
+
creationMethod?: string;
|
|
2596
|
+
sourceAnnotationId?: string;
|
|
2597
|
+
sourceResourceId?: string;
|
|
2598
|
+
};
|
|
2599
|
+
CreateResourceResponse: {
|
|
2600
|
+
resource: components["schemas"]["ResourceDescriptor"];
|
|
2601
|
+
annotations: components["schemas"]["Annotation"][];
|
|
2602
|
+
};
|
|
2603
|
+
DeleteAnnotationRequest: {
|
|
2604
|
+
/**
|
|
2605
|
+
* Format: uri
|
|
2606
|
+
* @description Resource URI containing the annotation (required for O(1) Layer 3 lookup)
|
|
2607
|
+
*/
|
|
2608
|
+
resourceId: string;
|
|
2609
|
+
};
|
|
2610
|
+
DeleteUserResponse: {
|
|
2611
|
+
success: boolean;
|
|
2612
|
+
message: string;
|
|
2613
|
+
};
|
|
2614
|
+
DetectAnnotationsStreamRequest: {
|
|
2615
|
+
/** @description Entity types to detect (e.g., 'Person', 'Organization', 'Location') */
|
|
2616
|
+
entityTypes: string[];
|
|
2617
|
+
/** @description Include anaphoric/cataphoric references (e.g., 'the CEO', 'the tech giant') in addition to direct mentions */
|
|
2618
|
+
includeDescriptiveReferences?: boolean;
|
|
2619
|
+
};
|
|
2620
|
+
DetectHighlightsStreamRequest: {
|
|
2621
|
+
/** @description Optional instructions to guide AI highlight detection */
|
|
2622
|
+
instructions?: string;
|
|
2623
|
+
/** @description Optional density: desired number of highlights per 2000 words of text (1-15) */
|
|
2624
|
+
density?: number;
|
|
2625
|
+
};
|
|
2626
|
+
DetectAssessmentsStreamRequest: {
|
|
2627
|
+
/** @description Optional instructions to guide AI assessment detection */
|
|
2628
|
+
instructions?: string;
|
|
2629
|
+
/**
|
|
2630
|
+
* @description Optional tone/style for generated assessments
|
|
2631
|
+
* @enum {string}
|
|
2632
|
+
*/
|
|
2633
|
+
tone?: "analytical" | "critical" | "balanced" | "constructive";
|
|
2634
|
+
/** @description Optional density: desired number of assessments per 2000 words of text (1-10) */
|
|
2635
|
+
density?: number;
|
|
2636
|
+
};
|
|
2637
|
+
DetectCommentsStreamRequest: {
|
|
2638
|
+
/** @description Optional instructions to guide AI comment detection */
|
|
2639
|
+
instructions?: string;
|
|
2640
|
+
/**
|
|
2641
|
+
* @description Optional tone/style for generated comments
|
|
2642
|
+
* @enum {string}
|
|
2643
|
+
*/
|
|
2644
|
+
tone?: "scholarly" | "explanatory" | "conversational" | "technical";
|
|
2645
|
+
/** @description Optional density: desired number of comments per 2000 words of text (2-12) */
|
|
2646
|
+
density?: number;
|
|
2647
|
+
};
|
|
2648
|
+
DetectTagsStreamRequest: {
|
|
2649
|
+
/** @description Tag schema ID (e.g., 'legal-irac', 'scientific-imrad', 'argument-toulmin') */
|
|
2650
|
+
schemaId: string;
|
|
2651
|
+
/** @description Categories to detect from the selected schema (e.g., ['Issue', 'Rule', 'Application', 'Conclusion']) */
|
|
2652
|
+
categories: string[];
|
|
2653
|
+
};
|
|
2654
|
+
ErrorResponse: {
|
|
2655
|
+
error: string;
|
|
2656
|
+
code?: string;
|
|
2657
|
+
details?: unknown;
|
|
2658
|
+
};
|
|
2659
|
+
EventStreamResponse: {
|
|
2660
|
+
event: string;
|
|
2661
|
+
data: string;
|
|
2662
|
+
id?: string;
|
|
2663
|
+
};
|
|
2664
|
+
GenerateResourceFromAnnotationRequest: {
|
|
2665
|
+
/** @description Optional name for the generated resource */
|
|
2666
|
+
name?: string;
|
|
2667
|
+
/** @description Entity types for the generated resource */
|
|
2668
|
+
entityTypes?: string[];
|
|
2669
|
+
/** @description Optional AI prompt for generation */
|
|
2670
|
+
prompt?: string;
|
|
2671
|
+
/** @description Language code (e.g., 'en', 'es') */
|
|
2672
|
+
language?: string;
|
|
2673
|
+
};
|
|
2674
|
+
GenerateResourceFromAnnotationResponse: {
|
|
2675
|
+
resource: components["schemas"]["ResourceDescriptor"];
|
|
2676
|
+
annotation: components["schemas"]["Annotation"];
|
|
2677
|
+
generated: boolean;
|
|
2678
|
+
};
|
|
2679
|
+
GenerateResourceRequest: {
|
|
2680
|
+
/** @description Resource ID containing the annotation */
|
|
2681
|
+
resourceId: string;
|
|
2682
|
+
/** @description Custom title for generated resource */
|
|
2683
|
+
title?: string;
|
|
2684
|
+
/** @description Custom prompt for content generation */
|
|
2685
|
+
prompt?: string;
|
|
2686
|
+
/** @description Language locale (e.g., "es", "fr", "ja") */
|
|
2687
|
+
language?: string;
|
|
2688
|
+
};
|
|
2689
|
+
GenerateResourceStreamRequest: {
|
|
2690
|
+
/** @description Custom title for generated resource */
|
|
2691
|
+
title?: string;
|
|
2692
|
+
/** @description Custom prompt for content generation */
|
|
2693
|
+
prompt?: string;
|
|
2694
|
+
/** @description Language locale for generated content (e.g., "es", "fr", "ja") */
|
|
2695
|
+
language?: string;
|
|
2696
|
+
/** @description Generation context including source document excerpts and metadata */
|
|
2697
|
+
context: components["schemas"]["GenerationContext"];
|
|
2698
|
+
/** @description Inference temperature (0.0 = focused, 1.0 = creative) */
|
|
2699
|
+
temperature?: number;
|
|
2700
|
+
/** @description Maximum tokens to generate */
|
|
2701
|
+
maxTokens?: number;
|
|
2702
|
+
};
|
|
2703
|
+
GetAnnotationHistoryResponse: {
|
|
2704
|
+
events: {
|
|
2705
|
+
id: string;
|
|
2706
|
+
type: string;
|
|
2707
|
+
timestamp: string;
|
|
2708
|
+
userId: string;
|
|
2709
|
+
resourceId: string;
|
|
2710
|
+
payload: {
|
|
2711
|
+
name: string;
|
|
2712
|
+
format: components["schemas"]["ContentFormat"];
|
|
2713
|
+
contentChecksum: string;
|
|
2714
|
+
/** @enum {string} */
|
|
2715
|
+
creationMethod: "api" | "upload" | "ui" | "reference" | "clone" | "generated";
|
|
2716
|
+
entityTypes?: string[];
|
|
2717
|
+
metadata?: {
|
|
2718
|
+
[key: string]: unknown;
|
|
2719
|
+
};
|
|
2720
|
+
} | {
|
|
2721
|
+
name: string;
|
|
2722
|
+
format: components["schemas"]["ContentFormat"];
|
|
2723
|
+
contentChecksum: string;
|
|
2724
|
+
parentResourceId: string;
|
|
2725
|
+
/** @enum {string} */
|
|
2726
|
+
creationMethod: "api" | "upload" | "ui" | "reference" | "clone" | "generated";
|
|
2727
|
+
entityTypes?: string[];
|
|
2728
|
+
metadata?: {
|
|
2729
|
+
[key: string]: unknown;
|
|
2730
|
+
};
|
|
2731
|
+
} | {
|
|
2732
|
+
reason?: string;
|
|
2733
|
+
} | Record<string, never> | {
|
|
2734
|
+
/** @description W3C Annotation (creator/created fields are optional in events - they're derived from event userId/timestamp) */
|
|
2735
|
+
annotation: components["schemas"]["Annotation"];
|
|
2736
|
+
} | {
|
|
2737
|
+
/** @description Unified annotation ID */
|
|
2738
|
+
annotationId: string;
|
|
2739
|
+
} | {
|
|
2740
|
+
/** @description Unified annotation ID */
|
|
2741
|
+
annotationId: string;
|
|
2742
|
+
/** @description For linking motivation */
|
|
2743
|
+
targetResourceId: string;
|
|
2744
|
+
} | {
|
|
2745
|
+
entityType: string;
|
|
2746
|
+
} | {
|
|
2747
|
+
entityType: string;
|
|
2748
|
+
};
|
|
2749
|
+
metadata: {
|
|
2750
|
+
sequenceNumber: number;
|
|
2751
|
+
prevEventHash?: string;
|
|
2752
|
+
checksum?: string;
|
|
2753
|
+
};
|
|
2754
|
+
}[];
|
|
2755
|
+
total: number;
|
|
2756
|
+
annotationId: string;
|
|
2757
|
+
resourceId: string;
|
|
2758
|
+
};
|
|
2759
|
+
GetAnnotationResponse: {
|
|
2760
|
+
annotation: components["schemas"]["Annotation"];
|
|
2761
|
+
resource: components["schemas"]["ResourceDescriptor"] | null;
|
|
2762
|
+
resolvedResource: components["schemas"]["ResourceDescriptor"] | null;
|
|
2763
|
+
};
|
|
2764
|
+
GetAnnotationsResponse: {
|
|
2765
|
+
annotations: components["schemas"]["Annotation"][];
|
|
2766
|
+
/** @description Total number of annotations */
|
|
2767
|
+
total: number;
|
|
2768
|
+
/** @description Motivation filter applied (if any) */
|
|
2769
|
+
motivation?: components["schemas"]["Motivation"] | null;
|
|
2770
|
+
};
|
|
2771
|
+
GetEntityTypesResponse: {
|
|
2772
|
+
entityTypes: string[];
|
|
2773
|
+
};
|
|
2774
|
+
GetEventsResponse: {
|
|
2775
|
+
events: {
|
|
2776
|
+
event: {
|
|
2777
|
+
id: string;
|
|
2778
|
+
type: string;
|
|
2779
|
+
timestamp: string;
|
|
2780
|
+
userId: string;
|
|
2781
|
+
resourceId: string;
|
|
2782
|
+
payload?: unknown;
|
|
2783
|
+
};
|
|
2784
|
+
metadata: {
|
|
2785
|
+
sequenceNumber: number;
|
|
2786
|
+
prevEventHash?: string;
|
|
2787
|
+
checksum?: string;
|
|
2788
|
+
};
|
|
2789
|
+
}[];
|
|
2790
|
+
total: number;
|
|
2791
|
+
resourceId: string;
|
|
2792
|
+
};
|
|
2793
|
+
GetReferencedByResponse: {
|
|
2794
|
+
referencedBy: {
|
|
2795
|
+
/** @description Reference annotation ID */
|
|
2796
|
+
id: string;
|
|
2797
|
+
/** @description Name of resource containing the reference */
|
|
2798
|
+
resourceName: string;
|
|
2799
|
+
target: {
|
|
2800
|
+
/** @description ID of resource containing the reference */
|
|
2801
|
+
source: string;
|
|
2802
|
+
selector: {
|
|
2803
|
+
/** @description The selected text that references this resource */
|
|
2804
|
+
exact: string;
|
|
2805
|
+
};
|
|
2806
|
+
};
|
|
2807
|
+
}[];
|
|
2808
|
+
};
|
|
2809
|
+
GetResourceByTokenResponse: {
|
|
2810
|
+
sourceResource: components["schemas"]["ResourceDescriptor"];
|
|
2811
|
+
/** @description ISO 8601 timestamp when token expires */
|
|
2812
|
+
expiresAt: string;
|
|
2813
|
+
};
|
|
2814
|
+
GetResourceResponse: {
|
|
2815
|
+
resource: components["schemas"]["ResourceDescriptor"];
|
|
2816
|
+
/** @description All annotations for the resource (highlights, references, assessments, etc.) */
|
|
2817
|
+
annotations: components["schemas"]["Annotation"][];
|
|
2818
|
+
/** @description Annotations that reference this resource from other resources */
|
|
2819
|
+
entityReferences: components["schemas"]["Annotation"][];
|
|
2820
|
+
};
|
|
2821
|
+
GoogleAuthRequest: {
|
|
2822
|
+
access_token: string;
|
|
2823
|
+
};
|
|
2824
|
+
HealthResponse: {
|
|
2825
|
+
status: string;
|
|
2826
|
+
message: string;
|
|
2827
|
+
version: string;
|
|
2828
|
+
timestamp: string;
|
|
2829
|
+
/** @enum {string} */
|
|
2830
|
+
database: "connected" | "disconnected" | "unknown";
|
|
2831
|
+
environment: string;
|
|
2832
|
+
};
|
|
2833
|
+
JobStatusResponse: {
|
|
2834
|
+
jobId: string;
|
|
2835
|
+
/** @enum {string} */
|
|
2836
|
+
type: "detection" | "generation" | "highlight-detection" | "assessment-detection" | "comment-detection" | "tag-detection";
|
|
2837
|
+
/** @enum {string} */
|
|
2838
|
+
status: "pending" | "running" | "complete" | "failed" | "cancelled";
|
|
2839
|
+
userId: string;
|
|
2840
|
+
created: string;
|
|
2841
|
+
startedAt?: string;
|
|
2842
|
+
completedAt?: string;
|
|
2843
|
+
error?: string;
|
|
2844
|
+
progress?: unknown;
|
|
2845
|
+
result?: unknown;
|
|
2846
|
+
};
|
|
2847
|
+
ListAnnotationsResponse: {
|
|
2848
|
+
annotations: components["schemas"]["Annotation"][];
|
|
2849
|
+
total: number;
|
|
2850
|
+
offset: number;
|
|
2851
|
+
limit: number;
|
|
2852
|
+
};
|
|
2853
|
+
ListResourcesResponse: {
|
|
2854
|
+
resources: components["schemas"]["ResourceDescriptor"][];
|
|
2855
|
+
total: number;
|
|
2856
|
+
offset: number;
|
|
2857
|
+
limit: number;
|
|
2858
|
+
};
|
|
2859
|
+
PasswordAuthRequest: {
|
|
2860
|
+
/**
|
|
2861
|
+
* Format: email
|
|
2862
|
+
* @description User email address
|
|
2863
|
+
*/
|
|
2864
|
+
email: string;
|
|
2865
|
+
/** @description User password (minimum 8 characters) */
|
|
2866
|
+
password: string;
|
|
2867
|
+
};
|
|
2868
|
+
MCPGenerateResponse: {
|
|
2869
|
+
refresh_token: string;
|
|
2870
|
+
};
|
|
2871
|
+
/**
|
|
2872
|
+
* @description W3C Web Annotation motivation vocabulary - https://www.w3.org/TR/annotation-vocab/#motivation
|
|
2873
|
+
* @enum {string}
|
|
2874
|
+
*/
|
|
2875
|
+
Motivation: "assessing" | "bookmarking" | "classifying" | "commenting" | "describing" | "editing" | "highlighting" | "identifying" | "linking" | "moderating" | "questioning" | "replying" | "tagging";
|
|
2876
|
+
OAuthConfigResponse: {
|
|
2877
|
+
providers: {
|
|
2878
|
+
name: string;
|
|
2879
|
+
isConfigured: boolean;
|
|
2880
|
+
clientId: string;
|
|
2881
|
+
}[];
|
|
2882
|
+
allowedDomains: string[];
|
|
2883
|
+
};
|
|
2884
|
+
/** @description A specific, byte-addressable rendition of a resource (file/asset/variant). */
|
|
2885
|
+
Representation: {
|
|
2886
|
+
/**
|
|
2887
|
+
* Format: uri
|
|
2888
|
+
* @description Stable ID for this representation.
|
|
2889
|
+
*/
|
|
2890
|
+
"@id"?: string;
|
|
2891
|
+
/** @description Type(s), e.g., schema:MediaObject. */
|
|
2892
|
+
"@type"?: string | string[];
|
|
2893
|
+
/** @description MIME/media type (e.g., text/markdown, image/png). */
|
|
2894
|
+
mediaType: string;
|
|
2895
|
+
/** @description Where the bytes live (s3://, file://, https://, ipfs://, etc.). */
|
|
2896
|
+
storageUri?: string;
|
|
2897
|
+
filename?: string;
|
|
2898
|
+
/** @description Size of the payload in bytes. */
|
|
2899
|
+
byteSize?: number;
|
|
2900
|
+
/** @description Integrity hash (e.g., sha256:abcd…). */
|
|
2901
|
+
checksum?: string;
|
|
2902
|
+
/** @description Compression/transfer encoding if applicable. */
|
|
2903
|
+
encoding?: string;
|
|
2904
|
+
/** @description IETF BCP 47 language tag (e.g., en, es-ES). */
|
|
2905
|
+
language?: string;
|
|
2906
|
+
/** @description Pixels (images/video). */
|
|
2907
|
+
width?: number;
|
|
2908
|
+
/** @description Pixels (images/video). */
|
|
2909
|
+
height?: number;
|
|
2910
|
+
/** @description Seconds (audio/video). */
|
|
2911
|
+
duration?: number;
|
|
2912
|
+
/** Format: date-time */
|
|
2913
|
+
created?: string;
|
|
2914
|
+
/** Format: date-time */
|
|
2915
|
+
modified?: string;
|
|
2916
|
+
/** @description Profile/shape the bytes conform to (e.g., a JSON profile or SVG profile). */
|
|
2917
|
+
conformsTo?: string | string[];
|
|
2918
|
+
tags?: string[];
|
|
2919
|
+
/**
|
|
2920
|
+
* @description Semantics of this rendition relative to the resource (e.g., original, thumbnail, preview, derived).
|
|
2921
|
+
* @enum {string}
|
|
2922
|
+
*/
|
|
2923
|
+
rel?: "original" | "thumbnail" | "preview" | "optimized" | "derived" | "other";
|
|
2924
|
+
} & {
|
|
2925
|
+
[key: string]: unknown;
|
|
2926
|
+
};
|
|
2927
|
+
ResolveAnnotationRequest: {
|
|
2928
|
+
/** @description Target resource ID to resolve reference to */
|
|
2929
|
+
resourceId: string;
|
|
2930
|
+
};
|
|
2931
|
+
ResolveAnnotationResponse: {
|
|
2932
|
+
annotation: components["schemas"]["Annotation"];
|
|
2933
|
+
targetResource?: components["schemas"]["ResourceDescriptor"] | null;
|
|
2934
|
+
};
|
|
2935
|
+
/** @description Metadata about a resource (1:1 with its URI). JSON-LD subject is @id. Link to concrete bytes via representations. */
|
|
2936
|
+
ResourceDescriptor: {
|
|
2937
|
+
/** @description JSON-LD context; URI, object, or array of these. */
|
|
2938
|
+
"@context": string | {
|
|
2939
|
+
[key: string]: unknown;
|
|
2940
|
+
} | (string | {
|
|
2941
|
+
[key: string]: unknown;
|
|
2942
|
+
})[];
|
|
2943
|
+
/**
|
|
2944
|
+
* Format: uri
|
|
2945
|
+
* @description Canonical URI/URN of the resource being described.
|
|
2946
|
+
*/
|
|
2947
|
+
"@id": string;
|
|
2948
|
+
/** @description Type(s) of the resource (IRIs/CURIEs via @context). */
|
|
2949
|
+
"@type"?: string | string[];
|
|
2950
|
+
name: string;
|
|
2951
|
+
description?: string;
|
|
2952
|
+
/** @description Persistent identifiers (e.g., DOI, URN). */
|
|
2953
|
+
identifier?: string | string[] | ({
|
|
2954
|
+
/** Format: uri */
|
|
2955
|
+
"@id"?: string;
|
|
2956
|
+
value?: string;
|
|
2957
|
+
scheme?: string;
|
|
2958
|
+
} & {
|
|
2959
|
+
[key: string]: unknown;
|
|
2960
|
+
});
|
|
2961
|
+
/** @description Topics (IRIs or strings). */
|
|
2962
|
+
about?: string | string[];
|
|
2963
|
+
/** @description Equivalent/authoritative references. */
|
|
2964
|
+
sameAs?: string[];
|
|
2965
|
+
isPartOf?: string[];
|
|
2966
|
+
hasPart?: string[];
|
|
2967
|
+
/** Format: uri */
|
|
2968
|
+
license?: string;
|
|
2969
|
+
version?: string;
|
|
2970
|
+
/** Format: date-time */
|
|
2971
|
+
dateCreated?: string;
|
|
2972
|
+
/** Format: date-time */
|
|
2973
|
+
dateModified?: string;
|
|
2974
|
+
/** @description W3C PROV - source resources this was derived from */
|
|
2975
|
+
wasDerivedFrom?: string | string[];
|
|
2976
|
+
/** @description W3C PROV - agents responsible for this resource */
|
|
2977
|
+
wasAttributedTo?: components["schemas"]["Agent"] | components["schemas"]["Agent"][];
|
|
2978
|
+
/** @description Profile/shape URI this resource description conforms to. */
|
|
2979
|
+
conformsTo?: string | string[];
|
|
2980
|
+
/** @description Convenience set summarizing media types across representations. */
|
|
2981
|
+
availableFormats?: string[];
|
|
2982
|
+
/** @description Managed or referenced byte-level renditions of this resource. */
|
|
2983
|
+
representations: components["schemas"]["Representation"] | components["schemas"]["Representation"][];
|
|
2984
|
+
/** @description Application-specific: Whether this resource is archived */
|
|
2985
|
+
archived?: boolean;
|
|
2986
|
+
/** @description Application-specific: Entity types for this resource */
|
|
2987
|
+
entityTypes?: string[];
|
|
2988
|
+
/** @description Application-specific: Whether this resource is a draft */
|
|
2989
|
+
isDraft?: boolean;
|
|
2990
|
+
/**
|
|
2991
|
+
* @description Application-specific: How this resource was created
|
|
2992
|
+
* @enum {string}
|
|
2993
|
+
*/
|
|
2994
|
+
creationMethod?: "api" | "upload" | "ui" | "reference" | "clone" | "generated";
|
|
2995
|
+
/** @description Application-specific: ID of annotation that triggered generation */
|
|
2996
|
+
sourceAnnotationId?: string;
|
|
2997
|
+
/** @description Application-specific: ID of source resource for clones/derivatives */
|
|
2998
|
+
sourceResourceId?: string;
|
|
2999
|
+
} & {
|
|
3000
|
+
[key: string]: unknown;
|
|
3001
|
+
};
|
|
3002
|
+
ResourceLLMContextResponse: {
|
|
3003
|
+
mainResource: components["schemas"]["ResourceDescriptor"];
|
|
3004
|
+
relatedResources: components["schemas"]["ResourceDescriptor"][];
|
|
3005
|
+
annotations: components["schemas"]["Annotation"][];
|
|
3006
|
+
graph: {
|
|
3007
|
+
nodes: {
|
|
3008
|
+
id: string;
|
|
3009
|
+
type: string;
|
|
3010
|
+
label: string;
|
|
3011
|
+
metadata: {
|
|
3012
|
+
[key: string]: unknown;
|
|
3013
|
+
};
|
|
3014
|
+
}[];
|
|
3015
|
+
edges: {
|
|
3016
|
+
source: string;
|
|
3017
|
+
target: string;
|
|
3018
|
+
type: string;
|
|
3019
|
+
metadata: {
|
|
3020
|
+
[key: string]: unknown;
|
|
3021
|
+
};
|
|
3022
|
+
}[];
|
|
3023
|
+
};
|
|
3024
|
+
summary?: string;
|
|
3025
|
+
suggestedReferences?: string[];
|
|
3026
|
+
/** @description The content of the main resource (included if includeContent=true) */
|
|
3027
|
+
mainResourceContent?: string;
|
|
3028
|
+
/** @description Map of resource IDs to their content (included if includeContent=true) */
|
|
3029
|
+
relatedResourcesContent?: {
|
|
3030
|
+
[key: string]: string;
|
|
3031
|
+
};
|
|
3032
|
+
};
|
|
3033
|
+
SpecificResource: {
|
|
3034
|
+
/** @constant */
|
|
3035
|
+
type: "SpecificResource";
|
|
3036
|
+
/** @description IRI of the target resource */
|
|
3037
|
+
source: string;
|
|
3038
|
+
/**
|
|
3039
|
+
* @description Why this body is included
|
|
3040
|
+
* @enum {string}
|
|
3041
|
+
*/
|
|
3042
|
+
purpose?: "linking";
|
|
3043
|
+
};
|
|
3044
|
+
StatusResponse: {
|
|
3045
|
+
status: string;
|
|
3046
|
+
version: string;
|
|
3047
|
+
features: {
|
|
3048
|
+
semanticContent: string;
|
|
3049
|
+
collaboration: string;
|
|
3050
|
+
rbac: string;
|
|
3051
|
+
};
|
|
3052
|
+
message: string;
|
|
3053
|
+
authenticatedAs?: string;
|
|
3054
|
+
};
|
|
3055
|
+
TextPositionSelector: {
|
|
3056
|
+
/** @enum {string} */
|
|
3057
|
+
type: "TextPositionSelector";
|
|
3058
|
+
/** @description Character offset from resource start */
|
|
3059
|
+
start: number;
|
|
3060
|
+
/** @description Character offset from resource start */
|
|
3061
|
+
end: number;
|
|
3062
|
+
};
|
|
3063
|
+
TextQuoteSelector: {
|
|
3064
|
+
/** @enum {string} */
|
|
3065
|
+
type: "TextQuoteSelector";
|
|
3066
|
+
exact: string;
|
|
3067
|
+
prefix?: string;
|
|
3068
|
+
suffix?: string;
|
|
3069
|
+
};
|
|
3070
|
+
TextualBody: {
|
|
3071
|
+
/** @constant */
|
|
3072
|
+
type: "TextualBody";
|
|
3073
|
+
/** @description The text content (e.g., entity type name) */
|
|
3074
|
+
value: string;
|
|
3075
|
+
/**
|
|
3076
|
+
* @description Why this body is included
|
|
3077
|
+
* @enum {string}
|
|
3078
|
+
*/
|
|
3079
|
+
purpose?: "tagging" | "describing" | "commenting" | "classifying";
|
|
3080
|
+
/** @description MIME type (defaults to text/plain) */
|
|
3081
|
+
format?: string;
|
|
3082
|
+
/** @description BCP 47 language tag */
|
|
3083
|
+
language?: string;
|
|
3084
|
+
};
|
|
3085
|
+
TokenRefreshRequest: {
|
|
3086
|
+
/**
|
|
3087
|
+
* @description Refresh token obtained during login
|
|
3088
|
+
* @example eyJhbGciOiJIUzI1NiIs...
|
|
3089
|
+
*/
|
|
3090
|
+
refreshToken: string;
|
|
3091
|
+
};
|
|
3092
|
+
TokenRefreshResponse: {
|
|
3093
|
+
access_token: string;
|
|
3094
|
+
};
|
|
3095
|
+
UpdateAnnotationBodyRequest: {
|
|
3096
|
+
/** @description Resource ID containing the annotation (required for O(1) Layer 3 lookup) */
|
|
3097
|
+
resourceId: string;
|
|
3098
|
+
/** @description Array of body modification operations to apply */
|
|
3099
|
+
operations: (components["schemas"]["BodyOperationAdd"] | components["schemas"]["BodyOperationRemove"] | components["schemas"]["BodyOperationReplace"])[];
|
|
3100
|
+
};
|
|
3101
|
+
UpdateAnnotationBodyResponse: {
|
|
3102
|
+
annotation: components["schemas"]["Annotation"];
|
|
3103
|
+
};
|
|
3104
|
+
UpdateResourceRequest: {
|
|
3105
|
+
entityTypes?: string[];
|
|
3106
|
+
archived?: boolean;
|
|
3107
|
+
};
|
|
3108
|
+
UpdateUserRequest: {
|
|
3109
|
+
isAdmin?: boolean;
|
|
3110
|
+
isActive?: boolean;
|
|
3111
|
+
name?: string;
|
|
3112
|
+
};
|
|
3113
|
+
UpdateUserResponse: {
|
|
3114
|
+
success: boolean;
|
|
3115
|
+
user: {
|
|
3116
|
+
id: string;
|
|
3117
|
+
email: string;
|
|
3118
|
+
name?: string | null;
|
|
3119
|
+
image?: string | null;
|
|
3120
|
+
domain: string;
|
|
3121
|
+
provider: string;
|
|
3122
|
+
isAdmin: boolean;
|
|
3123
|
+
isActive: boolean;
|
|
3124
|
+
lastLogin?: string | null;
|
|
3125
|
+
created: string;
|
|
3126
|
+
updatedAt: string;
|
|
3127
|
+
};
|
|
3128
|
+
};
|
|
3129
|
+
UserResponse: {
|
|
3130
|
+
id: string;
|
|
3131
|
+
email: string;
|
|
3132
|
+
name: string | null;
|
|
3133
|
+
image: string | null;
|
|
3134
|
+
domain: string;
|
|
3135
|
+
provider: string;
|
|
3136
|
+
isAdmin: boolean;
|
|
3137
|
+
isActive: boolean;
|
|
3138
|
+
termsAcceptedAt: string | null;
|
|
3139
|
+
lastLogin: string | null;
|
|
3140
|
+
created: string;
|
|
3141
|
+
};
|
|
3142
|
+
SvgSelector: {
|
|
3143
|
+
/** @enum {string} */
|
|
3144
|
+
type: "SvgSelector";
|
|
3145
|
+
/** @description SVG markup defining the region (must include xmlns attribute) */
|
|
3146
|
+
value: string;
|
|
3147
|
+
};
|
|
3148
|
+
/** @description Context information used for AI generation. Includes source document excerpts and metadata. */
|
|
3149
|
+
GenerationContext: {
|
|
3150
|
+
/** @description Text context from the source document */
|
|
3151
|
+
sourceContext: {
|
|
3152
|
+
/** @description Text appearing before the selected passage */
|
|
3153
|
+
before?: string;
|
|
3154
|
+
/** @description The selected text passage (the annotation target) */
|
|
3155
|
+
selected: string;
|
|
3156
|
+
/** @description Text appearing after the selected passage */
|
|
3157
|
+
after?: string;
|
|
3158
|
+
};
|
|
3159
|
+
/** @description Additional context metadata (reserved for future use) */
|
|
3160
|
+
metadata?: {
|
|
3161
|
+
/** @description Type of source resource (e.g., 'document', 'image', 'video') */
|
|
3162
|
+
resourceType?: string;
|
|
3163
|
+
/** @description BCP 47 language tag of source content */
|
|
3164
|
+
language?: string;
|
|
3165
|
+
/** @description Entity types associated with the annotation */
|
|
3166
|
+
entityTypes?: string[];
|
|
3167
|
+
};
|
|
3168
|
+
};
|
|
3169
|
+
};
|
|
3170
|
+
responses: never;
|
|
3171
|
+
parameters: never;
|
|
3172
|
+
requestBodies: never;
|
|
3173
|
+
headers: never;
|
|
3174
|
+
pathItems: never;
|
|
3175
|
+
}
|
|
3176
|
+
export type $defs = Record<string, never>;
|
|
3177
|
+
export type operations = Record<string, never>;
|