@talonic/docs 0.21.56 → 0.21.58
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/content.js +12 -8
- package/dist/seo.js +84 -7
- package/openapi.json +84 -7
- package/package.json +1 -1
- package/dist/tailwind-preset.d.cts +0 -45
- package/dist/tailwind-preset.d.ts +0 -45
package/dist/content.js
CHANGED
|
@@ -35905,9 +35905,9 @@ var sections57 = [
|
|
|
35905
35905
|
{ type: "paragraph", text: "Inputs are flexible: attach up to 20 `files` as multipart parts, pass remote `file_urls` for documents the platform should download, or mix both in one call. At least one input is required. The endpoint always answers `202 Accepted` immediately with a `run_id` and a `poll_url` \u2014 ingestion and the pipeline run continue asynchronously, so the caller never blocks on OCR or LLM work." },
|
|
35906
35906
|
{ type: "paragraph", text: "Two optional tagging fields ride along and are stamped on **every document** the call ingests: `batch_id`, an opaque grouping key for correlating the run with an external job or batch, and `metadata`, a flat key-value object for anything else the caller wants to carry through. Both are echoed back by `GET /v1/run/:id`, and both surface on the ingested documents (`batch_id` / `metadata` on the document reads)." },
|
|
35907
35907
|
{ type: "paragraph", text: "For a multi-file call, `file_metadata` tags individual inputs instead of stamping the same bag on every document: a JSON string keyed by each file's uploaded filename (or the exact `file_urls` entry), each value a flat object with the same shape and limits as `metadata`. Per file, its bag is merged over the call-level `metadata` \u2014 per-file wins on a shared key \u2014 and the resolved, per-input EFFECTIVE bag is what actually lands on the document and is echoed back in `documents[].metadata` on both this response and `GET /v1/run/:id`." },
|
|
35908
|
-
{ type: "paragraph", text: "The 202 response carries a `documents[]` array \u2014 one entry per input, in the order you sent them \u2014 so you always know which platform document each upload became. Each entry has `document_id`, `filename`, `size_bytes`, and `source` (`file` or `file_url`). `document_id`
|
|
35908
|
+
{ type: "paragraph", text: "The 202 response carries a `documents[]` array \u2014 one entry per input, in the order you sent them \u2014 so you always know which platform document each upload became. Each entry has `document_id`, `filename`, `size_bytes`, and `source` (`file` or `file_url`). `document_id` identifies the upload occurrence: a byte-identical re-upload from a later request gets its own occurrence so its batch can be matched and delivered independently, and the entry carries `duplicate_of` for the first upload of those bytes. A deduplicated entry also carries `existing_document_id` (the same first upload) and `linked_document_id`, a deprecated alias of `document_id`. Byte-identical inputs within one request share one processing identity." },
|
|
35909
35909
|
{ type: "paragraph", text: "The `ingestion_target` field controls how deep ingestion goes after OCR. The default, `ingest`, makes every document **askable**: once a document's OCR markdown is ready, Stage-2 field capture runs asynchronously in the background, extracting every field into the workspace corpus that [`POST /v1/ask`](post-ask) answers over and feeding the field registry. Capture follows the answers, it never delays them: the Spec pipeline starts the moment OCR markdown is ready, without waiting for capture. Pass `extract` to restore markdown-only ingestion: no background capture runs, and the documents do not join the askable corpus." },
|
|
35910
|
-
{ type: "callout", variant: "info", text: "
|
|
35910
|
+
{ type: "callout", variant: "info", text: "Every call starts a fresh run. A re-upload gets a new occurrence identity while reusing file bytes and OCR; Spec extraction, matching, validation, and delivery run in the new request context." },
|
|
35911
35911
|
{
|
|
35912
35912
|
type: "endpoint",
|
|
35913
35913
|
method: "POST",
|
|
@@ -35962,13 +35962,15 @@ var sections57 = [
|
|
|
35962
35962
|
{ name: "input_count", type: "integer", description: "Total inputs accepted (files + file_urls)." },
|
|
35963
35963
|
{ name: "poll_url", type: "string", description: "Relative URL to poll: /v1/run/:id." },
|
|
35964
35964
|
{ name: "documents[]", type: "array", description: "One entry per input, in input order." },
|
|
35965
|
-
{ name: "documents[].document_id", type: "uuid", description: "The
|
|
35965
|
+
{ name: "documents[].document_id", type: "uuid", description: "The id output rows carry: one occurrence per upload, so a re-upload of known bytes gets a new id. It is the canonical id only when the occurrence row cannot be created or read. A repeat of a file within one request carries the first copy's id." },
|
|
35966
35966
|
{ name: "documents[].filename", type: "string | null", description: "The uploaded filename (file input), or the acquired document's filename (file_url input)." },
|
|
35967
35967
|
{ name: "documents[].size_bytes", type: "integer | null", description: "File size in bytes." },
|
|
35968
35968
|
{ name: "documents[].source", type: "string", description: '"file" or "file_url" \u2014 which input kind produced this document.' },
|
|
35969
|
-
{ name: "documents[].deduplicated", type: "boolean", description: "true when this
|
|
35970
|
-
{ name: "documents[].
|
|
35971
|
-
{ name: "documents[].
|
|
35969
|
+
{ name: "documents[].deduplicated", type: "boolean", description: "true when this occurrence reuses an existing document's bytes and OCR." },
|
|
35970
|
+
{ name: "documents[].existing_document_id", type: "uuid", description: "Present only when deduplicated is true \u2014 the canonical: the first upload of these bytes, whose bytes and OCR this occurrence reuses. Equals duplicate_of.id when that is present." },
|
|
35971
|
+
{ name: "documents[].duplicate_of", type: "object", description: "For a duplicate occurrence, `{ id, filename }` of the first upload of these bytes, whose bytes and OCR it reuses." },
|
|
35972
|
+
{ name: "documents[].linked_document_id", type: "uuid", description: "Present only when deduplicated is true \u2014 the link row minted for this input. Deprecated alias of document_id; they differ only for a repeat within one request (document_id is the first copy's id) or when the occurrence row cannot be read (document_id is the canonical id)." },
|
|
35973
|
+
{ name: "documents[].metadata", type: "object", description: "This input's effective metadata for this request \u2014 the call-level metadata merged with its file_metadata entry (per-file wins). Present only when set." },
|
|
35972
35974
|
{ name: "warnings[]", type: "array", description: "Present only when delivery controls produced warnings: { code, message } with code no_binding_for_node, node_not_in_live_pipeline, or node_not_on_published_version. The run is accepted either way." }
|
|
35973
35975
|
]
|
|
35974
35976
|
},
|
|
@@ -35991,11 +35993,13 @@ var sections57 = [
|
|
|
35991
35993
|
"metadata": { "source_system": "sap", "priority": 1, "cost_center": "AP-14" }
|
|
35992
35994
|
},
|
|
35993
35995
|
{
|
|
35994
|
-
"document_id": "
|
|
35996
|
+
"document_id": "b7a6c5d4-e3f2-1098-7654-3210fedcba98",
|
|
35995
35997
|
"filename": "msa-2026.pdf",
|
|
35996
35998
|
"size_bytes": 92160,
|
|
35997
35999
|
"source": "file_url",
|
|
35998
36000
|
"deduplicated": true,
|
|
36001
|
+
"existing_document_id": "9f1e2d3c-4b5a-6789-0123-456789abcdef",
|
|
36002
|
+
"duplicate_of": { "id": "9f1e2d3c-4b5a-6789-0123-456789abcdef", "filename": "msa-2026.pdf" },
|
|
35999
36003
|
"linked_document_id": "b7a6c5d4-e3f2-1098-7654-3210fedcba98"
|
|
36000
36004
|
}
|
|
36001
36005
|
]
|
|
@@ -36031,7 +36035,7 @@ var sections57 = [
|
|
|
36031
36035
|
{ question: "Does polling count against my rate limit?", answer: "Polling GET /v1/run/:id is metered under the general read namespace, not the run submission namespace \u2014 frequent polling never burns your daily submission quota." },
|
|
36032
36036
|
{ question: "What happens if I run out of credits?", answer: "The call is rejected up front with 402 insufficient_credits before any document is ingested \u2014 no partial run is created. Top up and resubmit the same call." },
|
|
36033
36037
|
{ question: "What does ingestion_target do?", answer: "It sets how deep ingestion goes after OCR. The default, ingest, kicks asynchronous Stage-2 field capture once a document's OCR markdown is ready, which puts the document into the corpus POST /v1/ask answers over and feeds the field registry. The Spec pipeline starts on the OCR markdown in both modes and never waits for capture, so the default costs you no run latency. Pass extract for the old markdown-only behavior; those documents will not be askable." },
|
|
36034
|
-
{ question: "How do I match run.completed results back to my uploads?", answer: "Use document_id. Each
|
|
36038
|
+
{ question: "How do I match run.completed results back to my uploads?", answer: "Use document_id. Each submit-response entry and run.completed record carries the same processing id. For a duplicate occurrence, duplicate_of.id relates the re-upload to the canonical bytes/OCR source." },
|
|
36035
36039
|
{ question: "Should I use append mode for bulk uploads?", answer: "Yes, when you want one accumulated table: with pipeline_mode=append (or the Spec's Source stage set to append) every call adds its documents to the same pipeline, and each request still gets its own run.completed webhook scoped to its own documents. Keep the default (new) when each call should produce an isolated pipeline \u2014 e.g. one pipeline per customer folder." },
|
|
36036
36040
|
{ question: "How do I tag individual files differently in one call?", answer: "Use file_metadata instead of (or alongside) metadata: a JSON string mapping each file's filename, or each file_urls entry, to its own flat metadata object. Per file, that bag is merged over the call-level metadata \u2014 per-file wins on a shared key \u2014 and the resolved bag lands on the document and is echoed in documents[].metadata. A key that does not match any file or URL in the call fails the whole request with a 400 naming the bad key, so a typo never silently tags nothing." }
|
|
36037
36041
|
],
|
package/dist/seo.js
CHANGED
|
@@ -501,6 +501,7 @@ var openapi_default = {
|
|
|
501
501
|
"pending",
|
|
502
502
|
"processing",
|
|
503
503
|
"completed",
|
|
504
|
+
"duplicate",
|
|
504
505
|
"error"
|
|
505
506
|
]
|
|
506
507
|
},
|
|
@@ -19188,6 +19189,16 @@ var openapi_default = {
|
|
|
19188
19189
|
clear_value: {
|
|
19189
19190
|
type: "boolean",
|
|
19190
19191
|
description: "With `correct`: clear the field instead of promoting `corrected_value`."
|
|
19192
|
+
},
|
|
19193
|
+
evidence_quote: {
|
|
19194
|
+
type: "string",
|
|
19195
|
+
maxLength: 2e3,
|
|
19196
|
+
description: "The document passage a `correct` rests on, copied verbatim; it becomes the value's source span (highlighted in Review Mode). Needs `document_id`; rejected with 422 when not found verbatim in that document's text."
|
|
19197
|
+
},
|
|
19198
|
+
document_id: {
|
|
19199
|
+
type: "string",
|
|
19200
|
+
format: "uuid",
|
|
19201
|
+
description: "Document the `evidence_quote` is copied from (any document of the workspace)."
|
|
19191
19202
|
}
|
|
19192
19203
|
}
|
|
19193
19204
|
}
|
|
@@ -21328,7 +21339,7 @@ var openapi_default = {
|
|
|
21328
21339
|
},
|
|
21329
21340
|
documents: {
|
|
21330
21341
|
type: "array",
|
|
21331
|
-
description: "One entry per input, in input order \u2014 multipart files (in request order) first, then file_urls; documents.length === input_count.
|
|
21342
|
+
description: "One entry per input, in input order \u2014 multipart files (in request order) first, then file_urls; documents.length === input_count. Byte-identical inputs in the same request share one processing identity, so GET /v1/run/{id}'s progress.total_documents can be lower than input_count. A byte-identical re-upload from a later request gets its own occurrence id and carries duplicate_of.\n",
|
|
21332
21343
|
items: {
|
|
21333
21344
|
type: "object",
|
|
21334
21345
|
required: [
|
|
@@ -21342,12 +21353,12 @@ var openapi_default = {
|
|
|
21342
21353
|
document_id: {
|
|
21343
21354
|
type: "string",
|
|
21344
21355
|
format: "uuid",
|
|
21345
|
-
description: "The
|
|
21356
|
+
description: "The id result rows and run.completed records[] carry. Every upload gets its own occurrence id; a byte-identical re-upload from a later request gets a new occurrence (its link row). When that link row cannot be created or read, the re-upload carries the canonical id. A repeat of a file within one request carries the first copy's id.\n"
|
|
21346
21357
|
},
|
|
21347
21358
|
filename: {
|
|
21348
21359
|
type: "string",
|
|
21349
21360
|
nullable: true,
|
|
21350
|
-
description: "For file inputs, the caller's uploaded filename (even when deduplicated). For file_url inputs, the filename derived at download
|
|
21361
|
+
description: "For file inputs, the caller's uploaded filename (even when deduplicated). For file_url inputs, the filename derived at download.\n"
|
|
21351
21362
|
},
|
|
21352
21363
|
size_bytes: {
|
|
21353
21364
|
type: "integer",
|
|
@@ -21362,17 +21373,40 @@ var openapi_default = {
|
|
|
21362
21373
|
},
|
|
21363
21374
|
deduplicated: {
|
|
21364
21375
|
type: "boolean",
|
|
21365
|
-
description: "True when this
|
|
21376
|
+
description: "True when this occurrence reused a pre-existing document's bytes and OCR."
|
|
21377
|
+
},
|
|
21378
|
+
existing_document_id: {
|
|
21379
|
+
type: "string",
|
|
21380
|
+
format: "uuid",
|
|
21381
|
+
description: "Present only when deduplicated is true \u2014 the canonical, i.e. the first upload of these bytes, whose file bytes and OCR are reused (equals duplicate_of.id when that is present)."
|
|
21382
|
+
},
|
|
21383
|
+
duplicate_of: {
|
|
21384
|
+
type: "object",
|
|
21385
|
+
required: [
|
|
21386
|
+
"id",
|
|
21387
|
+
"filename"
|
|
21388
|
+
],
|
|
21389
|
+
description: "Present on a duplicate occurrence \u2014 the first upload of these bytes, whose file bytes and OCR this occurrence reuses.",
|
|
21390
|
+
properties: {
|
|
21391
|
+
id: {
|
|
21392
|
+
type: "string",
|
|
21393
|
+
format: "uuid"
|
|
21394
|
+
},
|
|
21395
|
+
filename: {
|
|
21396
|
+
type: "string",
|
|
21397
|
+
nullable: true
|
|
21398
|
+
}
|
|
21399
|
+
}
|
|
21366
21400
|
},
|
|
21367
21401
|
linked_document_id: {
|
|
21368
21402
|
type: "string",
|
|
21369
21403
|
format: "uuid",
|
|
21370
|
-
description: "Present only when deduplicated is true \u2014 the
|
|
21404
|
+
description: "Present only when deduplicated is true \u2014 the link row minted for this input. Deprecated alias of document_id: it equals document_id when this input is the first copy of its bytes in the request and the link row resolves. Otherwise document_id is the canonical id, or the first copy's id for a repeat within the request.\n"
|
|
21371
21405
|
},
|
|
21372
21406
|
metadata: {
|
|
21373
21407
|
type: "object",
|
|
21374
21408
|
additionalProperties: true,
|
|
21375
|
-
description: "This input's EFFECTIVE metadata for THIS request \u2014 the call-level `metadata` merged with its `file_metadata` entry (per-file wins), captured at submit. Present only when set.
|
|
21409
|
+
description: "This input's EFFECTIVE metadata for THIS request \u2014 the call-level `metadata` merged with its `file_metadata` entry (per-file wins), captured at submit. Present only when set. It is stored on this occurrence and is the authoritative request tag source.\n"
|
|
21376
21410
|
}
|
|
21377
21411
|
},
|
|
21378
21412
|
example: {
|
|
@@ -21592,10 +21626,33 @@ var openapi_default = {
|
|
|
21592
21626
|
deduplicated: {
|
|
21593
21627
|
type: "boolean"
|
|
21594
21628
|
},
|
|
21629
|
+
existing_document_id: {
|
|
21630
|
+
type: "string",
|
|
21631
|
+
format: "uuid",
|
|
21632
|
+
description: "Present only when deduplicated is true \u2014 the canonical, i.e. the first upload of these bytes (equals duplicate_of.id when that is present)."
|
|
21633
|
+
},
|
|
21634
|
+
duplicate_of: {
|
|
21635
|
+
type: "object",
|
|
21636
|
+
required: [
|
|
21637
|
+
"id",
|
|
21638
|
+
"filename"
|
|
21639
|
+
],
|
|
21640
|
+
description: "Present on a duplicate occurrence \u2014 the first upload of these bytes, whose file bytes and OCR this occurrence reuses.",
|
|
21641
|
+
properties: {
|
|
21642
|
+
id: {
|
|
21643
|
+
type: "string",
|
|
21644
|
+
format: "uuid"
|
|
21645
|
+
},
|
|
21646
|
+
filename: {
|
|
21647
|
+
type: "string",
|
|
21648
|
+
nullable: true
|
|
21649
|
+
}
|
|
21650
|
+
}
|
|
21651
|
+
},
|
|
21595
21652
|
linked_document_id: {
|
|
21596
21653
|
type: "string",
|
|
21597
21654
|
format: "uuid",
|
|
21598
|
-
description: "Present only when deduplicated is true."
|
|
21655
|
+
description: "Present only when deduplicated is true \u2014 the link row minted for this input (see POST /v1/run's documents[].linked_document_id).\n"
|
|
21599
21656
|
},
|
|
21600
21657
|
metadata: {
|
|
21601
21658
|
type: "object",
|
|
@@ -40585,6 +40642,26 @@ var openapi_default = {
|
|
|
40585
40642
|
type: "string",
|
|
40586
40643
|
description: "Present only when set."
|
|
40587
40644
|
},
|
|
40645
|
+
duplicate_of: {
|
|
40646
|
+
type: "object",
|
|
40647
|
+
required: [
|
|
40648
|
+
"id",
|
|
40649
|
+
"filename"
|
|
40650
|
+
],
|
|
40651
|
+
description: "Present only on a run-scoped duplicate occurrence (GET /v1/run/{id}/results, or the run_id filter) \u2014 the canonical whose bytes/OCR it reused, from the request's documents[] echo.",
|
|
40652
|
+
properties: {
|
|
40653
|
+
id: {
|
|
40654
|
+
type: "string",
|
|
40655
|
+
format: "uuid"
|
|
40656
|
+
},
|
|
40657
|
+
filename: {
|
|
40658
|
+
type: [
|
|
40659
|
+
"string",
|
|
40660
|
+
"null"
|
|
40661
|
+
]
|
|
40662
|
+
}
|
|
40663
|
+
}
|
|
40664
|
+
},
|
|
40588
40665
|
fields: {
|
|
40589
40666
|
type: "object",
|
|
40590
40667
|
additionalProperties: true,
|
package/openapi.json
CHANGED
|
@@ -496,6 +496,7 @@
|
|
|
496
496
|
"pending",
|
|
497
497
|
"processing",
|
|
498
498
|
"completed",
|
|
499
|
+
"duplicate",
|
|
499
500
|
"error"
|
|
500
501
|
]
|
|
501
502
|
},
|
|
@@ -19168,6 +19169,16 @@
|
|
|
19168
19169
|
"clear_value": {
|
|
19169
19170
|
"type": "boolean",
|
|
19170
19171
|
"description": "With `correct`: clear the field instead of promoting `corrected_value`."
|
|
19172
|
+
},
|
|
19173
|
+
"evidence_quote": {
|
|
19174
|
+
"type": "string",
|
|
19175
|
+
"maxLength": 2000,
|
|
19176
|
+
"description": "The document passage a `correct` rests on, copied verbatim; it becomes the value's source span (highlighted in Review Mode). Needs `document_id`; rejected with 422 when not found verbatim in that document's text."
|
|
19177
|
+
},
|
|
19178
|
+
"document_id": {
|
|
19179
|
+
"type": "string",
|
|
19180
|
+
"format": "uuid",
|
|
19181
|
+
"description": "Document the `evidence_quote` is copied from (any document of the workspace)."
|
|
19171
19182
|
}
|
|
19172
19183
|
}
|
|
19173
19184
|
}
|
|
@@ -21308,7 +21319,7 @@
|
|
|
21308
21319
|
},
|
|
21309
21320
|
"documents": {
|
|
21310
21321
|
"type": "array",
|
|
21311
|
-
"description": "One entry per input, in input order — multipart files (in request order) first, then file_urls; documents.length === input_count.
|
|
21322
|
+
"description": "One entry per input, in input order — multipart files (in request order) first, then file_urls; documents.length === input_count. Byte-identical inputs in the same request share one processing identity, so GET /v1/run/{id}'s progress.total_documents can be lower than input_count. A byte-identical re-upload from a later request gets its own occurrence id and carries duplicate_of.\n",
|
|
21312
21323
|
"items": {
|
|
21313
21324
|
"type": "object",
|
|
21314
21325
|
"required": [
|
|
@@ -21322,12 +21333,12 @@
|
|
|
21322
21333
|
"document_id": {
|
|
21323
21334
|
"type": "string",
|
|
21324
21335
|
"format": "uuid",
|
|
21325
|
-
"description": "The
|
|
21336
|
+
"description": "The id result rows and run.completed records[] carry. Every upload gets its own occurrence id; a byte-identical re-upload from a later request gets a new occurrence (its link row). When that link row cannot be created or read, the re-upload carries the canonical id. A repeat of a file within one request carries the first copy's id.\n"
|
|
21326
21337
|
},
|
|
21327
21338
|
"filename": {
|
|
21328
21339
|
"type": "string",
|
|
21329
21340
|
"nullable": true,
|
|
21330
|
-
"description": "For file inputs, the caller's uploaded filename (even when deduplicated). For file_url inputs, the filename derived at download
|
|
21341
|
+
"description": "For file inputs, the caller's uploaded filename (even when deduplicated). For file_url inputs, the filename derived at download.\n"
|
|
21331
21342
|
},
|
|
21332
21343
|
"size_bytes": {
|
|
21333
21344
|
"type": "integer",
|
|
@@ -21342,17 +21353,40 @@
|
|
|
21342
21353
|
},
|
|
21343
21354
|
"deduplicated": {
|
|
21344
21355
|
"type": "boolean",
|
|
21345
|
-
"description": "True when this
|
|
21356
|
+
"description": "True when this occurrence reused a pre-existing document's bytes and OCR."
|
|
21357
|
+
},
|
|
21358
|
+
"existing_document_id": {
|
|
21359
|
+
"type": "string",
|
|
21360
|
+
"format": "uuid",
|
|
21361
|
+
"description": "Present only when deduplicated is true — the canonical, i.e. the first upload of these bytes, whose file bytes and OCR are reused (equals duplicate_of.id when that is present)."
|
|
21362
|
+
},
|
|
21363
|
+
"duplicate_of": {
|
|
21364
|
+
"type": "object",
|
|
21365
|
+
"required": [
|
|
21366
|
+
"id",
|
|
21367
|
+
"filename"
|
|
21368
|
+
],
|
|
21369
|
+
"description": "Present on a duplicate occurrence — the first upload of these bytes, whose file bytes and OCR this occurrence reuses.",
|
|
21370
|
+
"properties": {
|
|
21371
|
+
"id": {
|
|
21372
|
+
"type": "string",
|
|
21373
|
+
"format": "uuid"
|
|
21374
|
+
},
|
|
21375
|
+
"filename": {
|
|
21376
|
+
"type": "string",
|
|
21377
|
+
"nullable": true
|
|
21378
|
+
}
|
|
21379
|
+
}
|
|
21346
21380
|
},
|
|
21347
21381
|
"linked_document_id": {
|
|
21348
21382
|
"type": "string",
|
|
21349
21383
|
"format": "uuid",
|
|
21350
|
-
"description": "Present only when deduplicated is true — the
|
|
21384
|
+
"description": "Present only when deduplicated is true — the link row minted for this input. Deprecated alias of document_id: it equals document_id when this input is the first copy of its bytes in the request and the link row resolves. Otherwise document_id is the canonical id, or the first copy's id for a repeat within the request.\n"
|
|
21351
21385
|
},
|
|
21352
21386
|
"metadata": {
|
|
21353
21387
|
"type": "object",
|
|
21354
21388
|
"additionalProperties": true,
|
|
21355
|
-
"description": "This input's EFFECTIVE metadata for THIS request — the call-level `metadata` merged with its `file_metadata` entry (per-file wins), captured at submit. Present only when set.
|
|
21389
|
+
"description": "This input's EFFECTIVE metadata for THIS request — the call-level `metadata` merged with its `file_metadata` entry (per-file wins), captured at submit. Present only when set. It is stored on this occurrence and is the authoritative request tag source.\n"
|
|
21356
21390
|
}
|
|
21357
21391
|
},
|
|
21358
21392
|
"example": {
|
|
@@ -21572,10 +21606,33 @@
|
|
|
21572
21606
|
"deduplicated": {
|
|
21573
21607
|
"type": "boolean"
|
|
21574
21608
|
},
|
|
21609
|
+
"existing_document_id": {
|
|
21610
|
+
"type": "string",
|
|
21611
|
+
"format": "uuid",
|
|
21612
|
+
"description": "Present only when deduplicated is true — the canonical, i.e. the first upload of these bytes (equals duplicate_of.id when that is present)."
|
|
21613
|
+
},
|
|
21614
|
+
"duplicate_of": {
|
|
21615
|
+
"type": "object",
|
|
21616
|
+
"required": [
|
|
21617
|
+
"id",
|
|
21618
|
+
"filename"
|
|
21619
|
+
],
|
|
21620
|
+
"description": "Present on a duplicate occurrence — the first upload of these bytes, whose file bytes and OCR this occurrence reuses.",
|
|
21621
|
+
"properties": {
|
|
21622
|
+
"id": {
|
|
21623
|
+
"type": "string",
|
|
21624
|
+
"format": "uuid"
|
|
21625
|
+
},
|
|
21626
|
+
"filename": {
|
|
21627
|
+
"type": "string",
|
|
21628
|
+
"nullable": true
|
|
21629
|
+
}
|
|
21630
|
+
}
|
|
21631
|
+
},
|
|
21575
21632
|
"linked_document_id": {
|
|
21576
21633
|
"type": "string",
|
|
21577
21634
|
"format": "uuid",
|
|
21578
|
-
"description": "Present only when deduplicated is true."
|
|
21635
|
+
"description": "Present only when deduplicated is true — the link row minted for this input (see POST /v1/run's documents[].linked_document_id).\n"
|
|
21579
21636
|
},
|
|
21580
21637
|
"metadata": {
|
|
21581
21638
|
"type": "object",
|
|
@@ -40565,6 +40622,26 @@
|
|
|
40565
40622
|
"type": "string",
|
|
40566
40623
|
"description": "Present only when set."
|
|
40567
40624
|
},
|
|
40625
|
+
"duplicate_of": {
|
|
40626
|
+
"type": "object",
|
|
40627
|
+
"required": [
|
|
40628
|
+
"id",
|
|
40629
|
+
"filename"
|
|
40630
|
+
],
|
|
40631
|
+
"description": "Present only on a run-scoped duplicate occurrence (GET /v1/run/{id}/results, or the run_id filter) — the canonical whose bytes/OCR it reused, from the request's documents[] echo.",
|
|
40632
|
+
"properties": {
|
|
40633
|
+
"id": {
|
|
40634
|
+
"type": "string",
|
|
40635
|
+
"format": "uuid"
|
|
40636
|
+
},
|
|
40637
|
+
"filename": {
|
|
40638
|
+
"type": [
|
|
40639
|
+
"string",
|
|
40640
|
+
"null"
|
|
40641
|
+
]
|
|
40642
|
+
}
|
|
40643
|
+
}
|
|
40644
|
+
},
|
|
40568
40645
|
"fields": {
|
|
40569
40646
|
"type": "object",
|
|
40570
40647
|
"additionalProperties": true,
|
package/package.json
CHANGED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tailwind CSS preset for @talonic/docs consumers.
|
|
3
|
-
* Adds the Void design system color tokens and font families
|
|
4
|
-
* so doc components render correctly in any host app.
|
|
5
|
-
*/
|
|
6
|
-
declare const voidDocsPreset: {
|
|
7
|
-
darkMode: "class";
|
|
8
|
-
theme: {
|
|
9
|
-
extend: {
|
|
10
|
-
colors: {
|
|
11
|
-
'void-bg': string;
|
|
12
|
-
'void-bg-elevated': string;
|
|
13
|
-
'void-surface': string;
|
|
14
|
-
'void-surface-2': string;
|
|
15
|
-
'void-surface-3': string;
|
|
16
|
-
'void-border': string;
|
|
17
|
-
'void-border-hover': string;
|
|
18
|
-
'void-text-primary': string;
|
|
19
|
-
'void-text-secondary': string;
|
|
20
|
-
'void-text-muted': string;
|
|
21
|
-
'void-text-tertiary': string;
|
|
22
|
-
'void-accent': string;
|
|
23
|
-
'void-accent-hover': string;
|
|
24
|
-
'void-accent-dim': string;
|
|
25
|
-
'void-accent-tint': string;
|
|
26
|
-
'void-danger': string;
|
|
27
|
-
'void-danger-solid': string;
|
|
28
|
-
'void-divider': string;
|
|
29
|
-
'void-warning': string;
|
|
30
|
-
'void-warning-dim': string;
|
|
31
|
-
'void-tier-1': string;
|
|
32
|
-
'void-tier-2': string;
|
|
33
|
-
'void-tier-3': string;
|
|
34
|
-
};
|
|
35
|
-
fontFamily: {
|
|
36
|
-
space: string[];
|
|
37
|
-
body: string[];
|
|
38
|
-
mono: string[];
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
plugins: never[];
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export { voidDocsPreset as default };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tailwind CSS preset for @talonic/docs consumers.
|
|
3
|
-
* Adds the Void design system color tokens and font families
|
|
4
|
-
* so doc components render correctly in any host app.
|
|
5
|
-
*/
|
|
6
|
-
declare const voidDocsPreset: {
|
|
7
|
-
darkMode: "class";
|
|
8
|
-
theme: {
|
|
9
|
-
extend: {
|
|
10
|
-
colors: {
|
|
11
|
-
'void-bg': string;
|
|
12
|
-
'void-bg-elevated': string;
|
|
13
|
-
'void-surface': string;
|
|
14
|
-
'void-surface-2': string;
|
|
15
|
-
'void-surface-3': string;
|
|
16
|
-
'void-border': string;
|
|
17
|
-
'void-border-hover': string;
|
|
18
|
-
'void-text-primary': string;
|
|
19
|
-
'void-text-secondary': string;
|
|
20
|
-
'void-text-muted': string;
|
|
21
|
-
'void-text-tertiary': string;
|
|
22
|
-
'void-accent': string;
|
|
23
|
-
'void-accent-hover': string;
|
|
24
|
-
'void-accent-dim': string;
|
|
25
|
-
'void-accent-tint': string;
|
|
26
|
-
'void-danger': string;
|
|
27
|
-
'void-danger-solid': string;
|
|
28
|
-
'void-divider': string;
|
|
29
|
-
'void-warning': string;
|
|
30
|
-
'void-warning-dim': string;
|
|
31
|
-
'void-tier-1': string;
|
|
32
|
-
'void-tier-2': string;
|
|
33
|
-
'void-tier-3': string;
|
|
34
|
-
};
|
|
35
|
-
fontFamily: {
|
|
36
|
-
space: string[];
|
|
37
|
-
body: string[];
|
|
38
|
-
mono: string[];
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
plugins: never[];
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export { voidDocsPreset as default };
|