@talonic/docs 0.5.0
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/dist/index.d.ts +670 -0
- package/dist/index.js +4785 -0
- package/dist/index.js.map +1 -0
- package/dist/seo.d.ts +555 -0
- package/dist/seo.js +358 -0
- package/dist/styles/void-docs.css +53 -0
- package/dist/tailwind-preset.cjs +64 -0
- package/dist/tailwind-preset.d.cts +45 -0
- package/dist/tailwind-preset.d.ts +45 -0
- package/dist/tailwind-preset.js +43 -0
- package/package.json +48 -0
package/dist/seo.d.ts
ADDED
|
@@ -0,0 +1,555 @@
|
|
|
1
|
+
interface NavSection {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
children?: {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}[];
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* SEO metadata, navigation data, and machine-readable content exports
|
|
12
|
+
* for @talonic/docs consumers to build sitemaps, JSON-LD, llms.txt, etc.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
declare const API_NAV_SECTIONS: NavSection[];
|
|
16
|
+
declare const PLATFORM_NAV_SECTIONS: NavSection[];
|
|
17
|
+
interface SectionMeta {
|
|
18
|
+
id: string;
|
|
19
|
+
title: string;
|
|
20
|
+
description: string;
|
|
21
|
+
}
|
|
22
|
+
declare const API_SECTION_META: SectionMeta[];
|
|
23
|
+
declare const PLATFORM_SECTION_META: SectionMeta[];
|
|
24
|
+
declare const OPENAPI_SPEC: {
|
|
25
|
+
openapi: string;
|
|
26
|
+
info: {
|
|
27
|
+
title: string;
|
|
28
|
+
version: string;
|
|
29
|
+
description: string;
|
|
30
|
+
contact: {
|
|
31
|
+
url: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
servers: {
|
|
35
|
+
url: string;
|
|
36
|
+
description: string;
|
|
37
|
+
}[];
|
|
38
|
+
security: {
|
|
39
|
+
bearerAuth: never[];
|
|
40
|
+
}[];
|
|
41
|
+
components: {
|
|
42
|
+
securitySchemes: {
|
|
43
|
+
bearerAuth: {
|
|
44
|
+
type: "http";
|
|
45
|
+
scheme: string;
|
|
46
|
+
description: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
paths: {
|
|
51
|
+
'/v1/extract': {
|
|
52
|
+
post: {
|
|
53
|
+
operationId: string;
|
|
54
|
+
summary: string;
|
|
55
|
+
description: string;
|
|
56
|
+
tags: string[];
|
|
57
|
+
requestBody: {
|
|
58
|
+
content: {
|
|
59
|
+
'multipart/form-data': {
|
|
60
|
+
schema: {
|
|
61
|
+
type: string;
|
|
62
|
+
properties: {
|
|
63
|
+
file: {
|
|
64
|
+
type: string;
|
|
65
|
+
format: string;
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
file_url: {
|
|
69
|
+
type: string;
|
|
70
|
+
description: string;
|
|
71
|
+
};
|
|
72
|
+
document_id: {
|
|
73
|
+
type: string;
|
|
74
|
+
description: string;
|
|
75
|
+
};
|
|
76
|
+
schema: {
|
|
77
|
+
type: string;
|
|
78
|
+
description: string;
|
|
79
|
+
};
|
|
80
|
+
schema_id: {
|
|
81
|
+
type: string;
|
|
82
|
+
description: string;
|
|
83
|
+
};
|
|
84
|
+
instructions: {
|
|
85
|
+
type: string;
|
|
86
|
+
description: string;
|
|
87
|
+
};
|
|
88
|
+
include_markdown: {
|
|
89
|
+
type: string;
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
responses: {
|
|
98
|
+
'200': {
|
|
99
|
+
description: string;
|
|
100
|
+
};
|
|
101
|
+
'202': {
|
|
102
|
+
description: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
'/v1/documents': {
|
|
108
|
+
get: {
|
|
109
|
+
operationId: string;
|
|
110
|
+
summary: string;
|
|
111
|
+
tags: string[];
|
|
112
|
+
parameters: ({
|
|
113
|
+
name: string;
|
|
114
|
+
in: string;
|
|
115
|
+
schema: {
|
|
116
|
+
type: string;
|
|
117
|
+
enum?: undefined;
|
|
118
|
+
default?: undefined;
|
|
119
|
+
};
|
|
120
|
+
} | {
|
|
121
|
+
name: string;
|
|
122
|
+
in: string;
|
|
123
|
+
schema: {
|
|
124
|
+
type: string;
|
|
125
|
+
enum: string[];
|
|
126
|
+
default?: undefined;
|
|
127
|
+
};
|
|
128
|
+
} | {
|
|
129
|
+
name: string;
|
|
130
|
+
in: string;
|
|
131
|
+
schema: {
|
|
132
|
+
type: string;
|
|
133
|
+
default: number;
|
|
134
|
+
enum?: undefined;
|
|
135
|
+
};
|
|
136
|
+
})[];
|
|
137
|
+
responses: {
|
|
138
|
+
'200': {
|
|
139
|
+
description: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
'/v1/documents/{id}': {
|
|
145
|
+
get: {
|
|
146
|
+
operationId: string;
|
|
147
|
+
summary: string;
|
|
148
|
+
tags: string[];
|
|
149
|
+
parameters: {
|
|
150
|
+
name: string;
|
|
151
|
+
in: string;
|
|
152
|
+
required: boolean;
|
|
153
|
+
schema: {
|
|
154
|
+
type: string;
|
|
155
|
+
};
|
|
156
|
+
}[];
|
|
157
|
+
responses: {
|
|
158
|
+
'200': {
|
|
159
|
+
description: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
delete: {
|
|
164
|
+
operationId: string;
|
|
165
|
+
summary: string;
|
|
166
|
+
tags: string[];
|
|
167
|
+
parameters: {
|
|
168
|
+
name: string;
|
|
169
|
+
in: string;
|
|
170
|
+
required: boolean;
|
|
171
|
+
schema: {
|
|
172
|
+
type: string;
|
|
173
|
+
};
|
|
174
|
+
}[];
|
|
175
|
+
responses: {
|
|
176
|
+
'200': {
|
|
177
|
+
description: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
'/v1/documents/{id}/markdown': {
|
|
183
|
+
get: {
|
|
184
|
+
operationId: string;
|
|
185
|
+
summary: string;
|
|
186
|
+
tags: string[];
|
|
187
|
+
parameters: {
|
|
188
|
+
name: string;
|
|
189
|
+
in: string;
|
|
190
|
+
required: boolean;
|
|
191
|
+
schema: {
|
|
192
|
+
type: string;
|
|
193
|
+
};
|
|
194
|
+
}[];
|
|
195
|
+
responses: {
|
|
196
|
+
'200': {
|
|
197
|
+
description: string;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
'/v1/extractions': {
|
|
203
|
+
get: {
|
|
204
|
+
operationId: string;
|
|
205
|
+
summary: string;
|
|
206
|
+
tags: string[];
|
|
207
|
+
parameters: ({
|
|
208
|
+
name: string;
|
|
209
|
+
in: string;
|
|
210
|
+
schema: {
|
|
211
|
+
type: string;
|
|
212
|
+
default?: undefined;
|
|
213
|
+
};
|
|
214
|
+
} | {
|
|
215
|
+
name: string;
|
|
216
|
+
in: string;
|
|
217
|
+
schema: {
|
|
218
|
+
type: string;
|
|
219
|
+
default: number;
|
|
220
|
+
};
|
|
221
|
+
})[];
|
|
222
|
+
responses: {
|
|
223
|
+
'200': {
|
|
224
|
+
description: string;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
'/v1/extractions/{id}': {
|
|
230
|
+
get: {
|
|
231
|
+
operationId: string;
|
|
232
|
+
summary: string;
|
|
233
|
+
tags: string[];
|
|
234
|
+
parameters: {
|
|
235
|
+
name: string;
|
|
236
|
+
in: string;
|
|
237
|
+
required: boolean;
|
|
238
|
+
schema: {
|
|
239
|
+
type: string;
|
|
240
|
+
};
|
|
241
|
+
}[];
|
|
242
|
+
responses: {
|
|
243
|
+
'200': {
|
|
244
|
+
description: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
'/v1/extractions/{id}/data': {
|
|
250
|
+
get: {
|
|
251
|
+
operationId: string;
|
|
252
|
+
summary: string;
|
|
253
|
+
tags: string[];
|
|
254
|
+
parameters: ({
|
|
255
|
+
name: string;
|
|
256
|
+
in: string;
|
|
257
|
+
required: boolean;
|
|
258
|
+
schema: {
|
|
259
|
+
type: string;
|
|
260
|
+
default?: undefined;
|
|
261
|
+
};
|
|
262
|
+
} | {
|
|
263
|
+
name: string;
|
|
264
|
+
in: string;
|
|
265
|
+
schema: {
|
|
266
|
+
type: string;
|
|
267
|
+
default: string;
|
|
268
|
+
};
|
|
269
|
+
required?: undefined;
|
|
270
|
+
})[];
|
|
271
|
+
responses: {
|
|
272
|
+
'200': {
|
|
273
|
+
description: string;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
patch: {
|
|
278
|
+
operationId: string;
|
|
279
|
+
summary: string;
|
|
280
|
+
tags: string[];
|
|
281
|
+
parameters: {
|
|
282
|
+
name: string;
|
|
283
|
+
in: string;
|
|
284
|
+
required: boolean;
|
|
285
|
+
schema: {
|
|
286
|
+
type: string;
|
|
287
|
+
};
|
|
288
|
+
}[];
|
|
289
|
+
responses: {
|
|
290
|
+
'200': {
|
|
291
|
+
description: string;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
'/v1/schemas': {
|
|
297
|
+
get: {
|
|
298
|
+
operationId: string;
|
|
299
|
+
summary: string;
|
|
300
|
+
tags: string[];
|
|
301
|
+
responses: {
|
|
302
|
+
'200': {
|
|
303
|
+
description: string;
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
post: {
|
|
308
|
+
operationId: string;
|
|
309
|
+
summary: string;
|
|
310
|
+
tags: string[];
|
|
311
|
+
responses: {
|
|
312
|
+
'201': {
|
|
313
|
+
description: string;
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
'/v1/schemas/{id}': {
|
|
319
|
+
get: {
|
|
320
|
+
operationId: string;
|
|
321
|
+
summary: string;
|
|
322
|
+
tags: string[];
|
|
323
|
+
parameters: {
|
|
324
|
+
name: string;
|
|
325
|
+
in: string;
|
|
326
|
+
required: boolean;
|
|
327
|
+
schema: {
|
|
328
|
+
type: string;
|
|
329
|
+
};
|
|
330
|
+
}[];
|
|
331
|
+
responses: {
|
|
332
|
+
'200': {
|
|
333
|
+
description: string;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
put: {
|
|
338
|
+
operationId: string;
|
|
339
|
+
summary: string;
|
|
340
|
+
tags: string[];
|
|
341
|
+
parameters: {
|
|
342
|
+
name: string;
|
|
343
|
+
in: string;
|
|
344
|
+
required: boolean;
|
|
345
|
+
schema: {
|
|
346
|
+
type: string;
|
|
347
|
+
};
|
|
348
|
+
}[];
|
|
349
|
+
responses: {
|
|
350
|
+
'200': {
|
|
351
|
+
description: string;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
delete: {
|
|
356
|
+
operationId: string;
|
|
357
|
+
summary: string;
|
|
358
|
+
tags: string[];
|
|
359
|
+
parameters: {
|
|
360
|
+
name: string;
|
|
361
|
+
in: string;
|
|
362
|
+
required: boolean;
|
|
363
|
+
schema: {
|
|
364
|
+
type: string;
|
|
365
|
+
};
|
|
366
|
+
}[];
|
|
367
|
+
responses: {
|
|
368
|
+
'200': {
|
|
369
|
+
description: string;
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
'/v1/jobs': {
|
|
375
|
+
get: {
|
|
376
|
+
operationId: string;
|
|
377
|
+
summary: string;
|
|
378
|
+
tags: string[];
|
|
379
|
+
responses: {
|
|
380
|
+
'200': {
|
|
381
|
+
description: string;
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
'/v1/jobs/{id}': {
|
|
387
|
+
get: {
|
|
388
|
+
operationId: string;
|
|
389
|
+
summary: string;
|
|
390
|
+
tags: string[];
|
|
391
|
+
parameters: {
|
|
392
|
+
name: string;
|
|
393
|
+
in: string;
|
|
394
|
+
required: boolean;
|
|
395
|
+
schema: {
|
|
396
|
+
type: string;
|
|
397
|
+
};
|
|
398
|
+
}[];
|
|
399
|
+
responses: {
|
|
400
|
+
'200': {
|
|
401
|
+
description: string;
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
'/v1/jobs/{id}/cancel': {
|
|
407
|
+
post: {
|
|
408
|
+
operationId: string;
|
|
409
|
+
summary: string;
|
|
410
|
+
tags: string[];
|
|
411
|
+
parameters: {
|
|
412
|
+
name: string;
|
|
413
|
+
in: string;
|
|
414
|
+
required: boolean;
|
|
415
|
+
schema: {
|
|
416
|
+
type: string;
|
|
417
|
+
};
|
|
418
|
+
}[];
|
|
419
|
+
responses: {
|
|
420
|
+
'200': {
|
|
421
|
+
description: string;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
};
|
|
426
|
+
'/v1/sources': {
|
|
427
|
+
get: {
|
|
428
|
+
operationId: string;
|
|
429
|
+
summary: string;
|
|
430
|
+
tags: string[];
|
|
431
|
+
responses: {
|
|
432
|
+
'200': {
|
|
433
|
+
description: string;
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
post: {
|
|
438
|
+
operationId: string;
|
|
439
|
+
summary: string;
|
|
440
|
+
tags: string[];
|
|
441
|
+
responses: {
|
|
442
|
+
'201': {
|
|
443
|
+
description: string;
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
'/v1/sources/{id}': {
|
|
449
|
+
get: {
|
|
450
|
+
operationId: string;
|
|
451
|
+
summary: string;
|
|
452
|
+
tags: string[];
|
|
453
|
+
parameters: {
|
|
454
|
+
name: string;
|
|
455
|
+
in: string;
|
|
456
|
+
required: boolean;
|
|
457
|
+
schema: {
|
|
458
|
+
type: string;
|
|
459
|
+
};
|
|
460
|
+
}[];
|
|
461
|
+
responses: {
|
|
462
|
+
'200': {
|
|
463
|
+
description: string;
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
patch: {
|
|
468
|
+
operationId: string;
|
|
469
|
+
summary: string;
|
|
470
|
+
tags: string[];
|
|
471
|
+
parameters: {
|
|
472
|
+
name: string;
|
|
473
|
+
in: string;
|
|
474
|
+
required: boolean;
|
|
475
|
+
schema: {
|
|
476
|
+
type: string;
|
|
477
|
+
};
|
|
478
|
+
}[];
|
|
479
|
+
responses: {
|
|
480
|
+
'200': {
|
|
481
|
+
description: string;
|
|
482
|
+
};
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
delete: {
|
|
486
|
+
operationId: string;
|
|
487
|
+
summary: string;
|
|
488
|
+
tags: string[];
|
|
489
|
+
parameters: {
|
|
490
|
+
name: string;
|
|
491
|
+
in: string;
|
|
492
|
+
required: boolean;
|
|
493
|
+
schema: {
|
|
494
|
+
type: string;
|
|
495
|
+
};
|
|
496
|
+
}[];
|
|
497
|
+
responses: {
|
|
498
|
+
'200': {
|
|
499
|
+
description: string;
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
'/v1/sources/{id}/documents': {
|
|
505
|
+
get: {
|
|
506
|
+
operationId: string;
|
|
507
|
+
summary: string;
|
|
508
|
+
tags: string[];
|
|
509
|
+
parameters: {
|
|
510
|
+
name: string;
|
|
511
|
+
in: string;
|
|
512
|
+
required: boolean;
|
|
513
|
+
schema: {
|
|
514
|
+
type: string;
|
|
515
|
+
};
|
|
516
|
+
}[];
|
|
517
|
+
responses: {
|
|
518
|
+
'200': {
|
|
519
|
+
description: string;
|
|
520
|
+
};
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
post: {
|
|
524
|
+
operationId: string;
|
|
525
|
+
summary: string;
|
|
526
|
+
tags: string[];
|
|
527
|
+
parameters: {
|
|
528
|
+
name: string;
|
|
529
|
+
in: string;
|
|
530
|
+
required: boolean;
|
|
531
|
+
schema: {
|
|
532
|
+
type: string;
|
|
533
|
+
};
|
|
534
|
+
}[];
|
|
535
|
+
responses: {
|
|
536
|
+
'200': {
|
|
537
|
+
description: string;
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
declare const API_FAQ: {
|
|
545
|
+
question: string;
|
|
546
|
+
answer: string;
|
|
547
|
+
}[];
|
|
548
|
+
declare const PLATFORM_FAQ: {
|
|
549
|
+
question: string;
|
|
550
|
+
answer: string;
|
|
551
|
+
}[];
|
|
552
|
+
declare const LLMS_TXT = "# Talonic\n\n> Extract any document into schema-validated data with a single API call.\n\nTalonic is an AI-powered document structuring platform. It ingests unstructured documents (PDFs, scans, images, spreadsheets), discovers fields through semantic clustering, and produces structured datasets with per-cell provenance, confidence scores, and reasoning traces.\n\n## Documentation\n\n- [API Documentation](https://talonic.com/docs): Complete REST API reference\n- [Platform Guide](https://talonic.com/docs/platform): Product documentation and feature guide\n- [OpenAPI Spec](https://talonic.com/docs/openapi.json): Machine-readable API specification\n\n## API Quick Start\n\nBase URL: https://api.talonic.com\nAuth: Bearer token (tlnc_ prefix)\n\nExtract a document:\n```\ncurl -X POST https://api.talonic.com/v1/extract \\\n -H \"Authorization: Bearer tlnc_sk_live_...\" \\\n -F \"file=@document.pdf\" \\\n -F 'schema={\"vendor_name\":\"string\",\"total\":\"number\"}'\n```\n\n## Key Endpoints\n\n- POST /v1/extract \u2014 Extract structured data from a document\n- GET /v1/documents \u2014 List and manage documents\n- GET /v1/extractions \u2014 Query extraction results\n- POST /v1/schemas \u2014 Create reusable extraction schemas\n- GET /v1/jobs \u2014 Track async extraction jobs\n- POST /v1/sources \u2014 Manage document sources with API keys\n\n## Platform Features\n\n- 25+ file format support (PDF, DOCX, images, spreadsheets, archives)\n- Field Registry: unified knowledge graph of canonical fields with tier system\n- 4-phase extraction pipeline: Resolve \u2192 Agent \u2192 Validate \u2192 Re-read\n- Document linking and case discovery through shared entities\n- Validation checks, golden samples, and approval gates\n- Export to webhooks, REST APIs, SFTP, email, cloud storage\n- HMAC-SHA256 signed webhooks with retry policy\n\n## Optional\n\n- [API Documentation (Markdown)](https://talonic.com/docs/api.md)\n- [Platform Guide (Markdown)](https://talonic.com/docs/platform.md)\n";
|
|
553
|
+
declare const LLMS_FULL_TXT_HEADER = "# Talonic \u2014 Full Documentation\n\n> This file contains the complete Talonic documentation for LLM consumption.\n> For a summary, see llms.txt.\n\n";
|
|
554
|
+
|
|
555
|
+
export { API_FAQ, API_NAV_SECTIONS, API_SECTION_META, LLMS_FULL_TXT_HEADER, LLMS_TXT, OPENAPI_SPEC, PLATFORM_FAQ, PLATFORM_NAV_SECTIONS, PLATFORM_SECTION_META, type SectionMeta };
|