@talonic/docs 0.21.6 → 0.21.7
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 +91 -18
- package/dist/index.js +62 -3
- package/dist/index.js.map +1 -1
- package/dist/seo.js +249 -7
- package/openapi.json +249 -7
- package/package.json +1 -1
package/dist/seo.js
CHANGED
|
@@ -60,7 +60,7 @@ var openapi_default = {
|
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
name: "Delivery",
|
|
63
|
-
description: 'Outbound delivery. Configure destinations (six live connectors: webhook, sftp,\ns3, azure_blob, google_drive, onedrive), create bindings that join signal filters\nto deliverable types + destinations + serializers, and inspect the\nhistory/DLQ/events log. Every delivery is at-least-once with an idempotency key\non the wire.\n\n## Webhook Contract\n\n**Event payload:**\n```json\n{\n "event": {\n "event_type": "document.extracted",\n "event_id": "42",\n "binding_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",\n "idempotency_key": "c9f3a7e1b2d4f6a8e0c2d4f6a8e0c2d4",\n "attempt": 1,\n "delivered_at": "2026-04-25T14:30:00.000Z"\n },\n "payload": { "document_id": "...", "data": { "...extracted fields..." } }\n}\n```\n\n**Event types:** `document.extracted`, `document.extraction_failed`,\n`document.structured` (per-document structured fields from a Spec pipeline / `/v1/run`; deliver with the `pipeline.capture` deliverable \u2014 its payload carries `run_id` (null outside `/v1/run`), `document_id`, `pipeline_id`, and `fields` for submission correlation),\n`run.dataspace.completed`, `run.dataspace.failed`, `result.dataspace.completed`,\n`result.dataspace.failed`, `run.structuring.completed`, `run.structuring.failed`,\n`run.resolution.completed`, `run.resolution.failed`, `run.extraction.completed`,\n`run.extraction.failed`, `result.flagged`, `result.approved`, `result.rejected`,\n`delivery.item.completed`, `delivery.item.failed`.\n\n**Signature verification (HMAC-SHA256):**\n\nHeader: `X-Talonic-Signature: t=1714060200000,v1=abc123...`\n\n```javascript\nconst crypto = require(\'crypto\');\nconst [tPart, vPart] = signature.split(\',\');\nconst timestamp = tPart.split(\'=\')[1];\nconst received = vPart.split(\'=\')[1];\nconst expected = crypto.createHmac(\'sha256\', signingSecret)\n .update(timestamp + \'.\' + rawBody).digest(\'hex\');\nconst valid = crypto.timingSafeEqual(\n Buffer.from(received), Buffer.from(expected));\n```\n\n**Retry policy:** Up to 7 attempts \u2014 0s, 30s, 2m, 8m, 30m, 2h, 8h (~10.5h total).\nHTTP 429/5xx are retryable. HTTP 4xx (except 408) goes to DLQ immediately.\n\n**Dead-letter queue recovery:** When all retries are exhausted, the delivery\nlands in the DLQ. List failed deliveries with `GET /v1/delivery/dlq`\n(filterable by `binding_id` and `error_code`). Inspect a single entry with\n`GET /v1/delivery/dlq/{id}`. Replay with `POST /v1/delivery/dlq/{id}/replay`\n\u2014 this deletes the DLQ entry, re-signs the payload with the current\nsigning secret, resets the retry counter to attempt 1, and re-enqueues\nthe delivery through the full backoff ladder.\n'
|
|
63
|
+
description: 'Outbound delivery. Configure destinations (six live connectors: webhook, sftp,\ns3, azure_blob, google_drive, onedrive), create bindings that join signal filters\nto deliverable types + destinations + serializers, and inspect the\nhistory/DLQ/events log. Every delivery is at-least-once with an idempotency key\non the wire.\n\n## Webhook Contract\n\n**Event payload:**\n```json\n{\n "event": {\n "event_type": "document.extracted",\n "event_id": "42",\n "binding_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",\n "idempotency_key": "c9f3a7e1b2d4f6a8e0c2d4f6a8e0c2d4",\n "attempt": 1,\n "delivered_at": "2026-04-25T14:30:00.000Z"\n },\n "payload": { "document_id": "...", "data": { "...extracted fields..." } }\n}\n```\n\n**Event types:** `document.extracted`, `document.extraction_failed`,\n`document.structured` (per-document structured fields from a Spec pipeline / `/v1/run`; deliver with the `pipeline.capture` deliverable \u2014 its payload carries `run_id` (null outside `/v1/run`), `document_id`, `pipeline_id`, and `fields` for submission correlation),\n`run.completed` (a `POST /v1/run` pipeline finished; payload adds `records` \u2014\nan array of `{ document_id, filename, data }`, one entry per output row,\nALWAYS an array even for a single document; assembled runs attribute each\ncomposed row to its anchor document; `document_id` and `filename` are\nnullable \u2014 null when a row\'s document identity cannot be resolved \u2014\nalongside the legacy `structured_data`,\nstill emitted but considered legacy in favor of `records`),\n`run.failed` (a `POST /v1/run` pipeline failed \u2014 every document errored\nduring ingest or extraction; the `error` object\'s shape varies by failure\nstage and may include `document_ids`, a best-effort array of the input\ndocument ids),\n`run.dataspace.completed`, `run.dataspace.failed`, `result.dataspace.completed`,\n`result.dataspace.failed`, `run.structuring.completed`, `run.structuring.failed`,\n`run.resolution.completed`, `run.resolution.failed`, `run.extraction.completed`,\n`run.extraction.failed`, `result.flagged`, `result.approved`, `result.rejected`,\n`delivery.item.completed`, `delivery.item.failed`.\n\n**Signature verification (HMAC-SHA256):**\n\nHeader: `X-Talonic-Signature: t=1714060200000,v1=abc123...`\n\n```javascript\nconst crypto = require(\'crypto\');\nconst [tPart, vPart] = signature.split(\',\');\nconst timestamp = tPart.split(\'=\')[1];\nconst received = vPart.split(\'=\')[1];\nconst expected = crypto.createHmac(\'sha256\', signingSecret)\n .update(timestamp + \'.\' + rawBody).digest(\'hex\');\nconst valid = crypto.timingSafeEqual(\n Buffer.from(received), Buffer.from(expected));\n```\n\n**Retry policy:** Up to 7 attempts \u2014 0s, 30s, 2m, 8m, 30m, 2h, 8h (~10.5h total).\nHTTP 429/5xx are retryable. HTTP 4xx (except 408) goes to DLQ immediately.\n\n**Dead-letter queue recovery:** When all retries are exhausted, the delivery\nlands in the DLQ. List failed deliveries with `GET /v1/delivery/dlq`\n(filterable by `binding_id` and `error_code`). Inspect a single entry with\n`GET /v1/delivery/dlq/{id}`. Replay with `POST /v1/delivery/dlq/{id}/replay`\n\u2014 this deletes the DLQ entry, re-signs the payload with the current\nsigning secret, resets the retry counter to attempt 1, and re-enqueues\nthe delivery through the full backoff ladder.\n'
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
name: "Filter",
|
|
@@ -2390,6 +2390,7 @@ var openapi_default = {
|
|
|
2390
2390
|
example: {
|
|
2391
2391
|
document_id: "f0e1d2c3-b4a5-9687-8765-432109876543",
|
|
2392
2392
|
filename: "receipt-march.pdf",
|
|
2393
|
+
size_bytes: 148213,
|
|
2393
2394
|
status: "queued",
|
|
2394
2395
|
processing_mode: "realtime",
|
|
2395
2396
|
source_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
@@ -17366,7 +17367,7 @@ var openapi_default = {
|
|
|
17366
17367
|
"Run"
|
|
17367
17368
|
],
|
|
17368
17369
|
summary: "Ingest documents and run a Spec's pipeline in one call",
|
|
17369
|
-
description: 'Accepts one or more files, one or more `file_urls`, or a mix of both \u2014 at least one input is required. Ingests every input (metering each ingest leg), waits for OCR to finish, then compiles the named Spec\'s saved rail into a pipeline and starts it \u2014 the same compile step `POST /v1/pipelines` uses, minus the separate "upload documents first" step. Always returns 202; poll `GET /v1/run/{id}` or listen for the `run.completed` / `run.failed` webhook (`POST /v1/webhooks`). Requires write scope. Unlike `POST /v1/process`, this endpoint does not dedup \u2014 every call starts a fresh run.\n',
|
|
17370
|
+
description: 'Accepts one or more files, one or more `file_urls`, or a mix of both \u2014 at least one input is required. Ingests every input (metering each ingest leg), waits for OCR to finish, then compiles the named Spec\'s saved rail into a pipeline and starts it \u2014 the same compile step `POST /v1/pipelines` uses, minus the separate "upload documents first" step. Always returns 202; poll `GET /v1/run/{id}` or listen for the `run.completed` / `run.failed` webhook (`POST /v1/webhooks`). Requires write scope. Unlike `POST /v1/process`, this endpoint does not dedup \u2014 every call starts a fresh run. Content-based document dedup still applies per input within the call \u2014 see the `documents` response field.\n',
|
|
17370
17371
|
operationId: "createRun",
|
|
17371
17372
|
security: [
|
|
17372
17373
|
{
|
|
@@ -17452,6 +17453,59 @@ var openapi_default = {
|
|
|
17452
17453
|
poll_url: {
|
|
17453
17454
|
type: "string",
|
|
17454
17455
|
example: "/v1/run/3d44a4dc-e3e4-4bca-b079-a9c85bf75026"
|
|
17456
|
+
},
|
|
17457
|
+
documents: {
|
|
17458
|
+
type: "array",
|
|
17459
|
+
description: "One entry per input, in input order \u2014 multipart files (in request order) first, then file_urls; documents.length === input_count. Identical files submitted in the same call resolve to the same document_id, so GET /v1/run/{id}'s progress.total_documents can be lower than input_count.\n",
|
|
17460
|
+
items: {
|
|
17461
|
+
type: "object",
|
|
17462
|
+
required: [
|
|
17463
|
+
"document_id",
|
|
17464
|
+
"filename",
|
|
17465
|
+
"size_bytes",
|
|
17466
|
+
"source",
|
|
17467
|
+
"deduplicated"
|
|
17468
|
+
],
|
|
17469
|
+
properties: {
|
|
17470
|
+
document_id: {
|
|
17471
|
+
type: "string",
|
|
17472
|
+
format: "uuid",
|
|
17473
|
+
description: "The CANONICAL document \u2014 the same id result rows and the run.completed webhook's records[] carry. A byte-identical re-upload resolves to an existing document whose filename/tags may pre-date this run. This deliberately diverges from the sources/ingest dedup shape, where document_id is the link row and existing_document_id is the canonical.\n"
|
|
17474
|
+
},
|
|
17475
|
+
filename: {
|
|
17476
|
+
type: "string",
|
|
17477
|
+
nullable: true,
|
|
17478
|
+
description: "For file inputs, the caller's uploaded filename (even when deduplicated). For file_url inputs, the filename derived at download \u2014 for a deduplicated URL input this is the canonical document's stored filename, which may differ from the URL.\n"
|
|
17479
|
+
},
|
|
17480
|
+
size_bytes: {
|
|
17481
|
+
type: "integer",
|
|
17482
|
+
nullable: true
|
|
17483
|
+
},
|
|
17484
|
+
source: {
|
|
17485
|
+
type: "string",
|
|
17486
|
+
enum: [
|
|
17487
|
+
"file",
|
|
17488
|
+
"file_url"
|
|
17489
|
+
]
|
|
17490
|
+
},
|
|
17491
|
+
deduplicated: {
|
|
17492
|
+
type: "boolean",
|
|
17493
|
+
description: "True when this input resolved to a pre-existing document instead of creating a new one."
|
|
17494
|
+
},
|
|
17495
|
+
linked_document_id: {
|
|
17496
|
+
type: "string",
|
|
17497
|
+
format: "uuid",
|
|
17498
|
+
description: "Present only when deduplicated is true \u2014 the thin per-upload link row created for this input."
|
|
17499
|
+
}
|
|
17500
|
+
},
|
|
17501
|
+
example: {
|
|
17502
|
+
document_id: "3d44a4dc-e3e4-4bca-b079-a9c85bf75026",
|
|
17503
|
+
filename: "invoice.pdf",
|
|
17504
|
+
size_bytes: 148213,
|
|
17505
|
+
source: "file",
|
|
17506
|
+
deduplicated: false
|
|
17507
|
+
}
|
|
17508
|
+
}
|
|
17455
17509
|
}
|
|
17456
17510
|
}
|
|
17457
17511
|
}
|
|
@@ -17479,7 +17533,7 @@ var openapi_default = {
|
|
|
17479
17533
|
"Run"
|
|
17480
17534
|
],
|
|
17481
17535
|
summary: "Poll a /v1/run request",
|
|
17482
|
-
description: "Row status, folded with the compiled pipeline's live progress once one exists (`pipeline_id` set). `status` is `processing` (in flight), `completed`, or `failed` \u2014 the same vocabulary `POST /v1/run` returns. A non-null `pipeline_id` plus the `progress` object indicate the pipeline has started. Requires read scope.\n",
|
|
17536
|
+
description: "Row status, folded with the compiled pipeline's live progress once one exists (`pipeline_id` set). `status` is `processing` (in flight), `completed`, or `failed` \u2014 the same vocabulary `POST /v1/run` returns. A non-null `pipeline_id` plus the `progress` object indicate the pipeline has started. `documents` (when present) echoes each input's resolved document plus a per-entry live `status` \u2014 omitted entirely for runs submitted before this field shipped. Requires read scope.\n",
|
|
17483
17537
|
operationId: "pollRunRequest",
|
|
17484
17538
|
security: [
|
|
17485
17539
|
{
|
|
@@ -17567,6 +17621,59 @@ var openapi_default = {
|
|
|
17567
17621
|
type: "integer"
|
|
17568
17622
|
}
|
|
17569
17623
|
}
|
|
17624
|
+
},
|
|
17625
|
+
documents: {
|
|
17626
|
+
type: "array",
|
|
17627
|
+
nullable: true,
|
|
17628
|
+
description: "Same items as POST /v1/run's response, each with an added per-entry status folded from the compiled pipeline's live per-document state (falls back to the run's own status when no pipeline is running yet, or the per-document fold could not be read). OPTIONAL \u2014 omitted entirely for runs submitted before this field shipped.\n",
|
|
17629
|
+
items: {
|
|
17630
|
+
type: "object",
|
|
17631
|
+
required: [
|
|
17632
|
+
"document_id",
|
|
17633
|
+
"filename",
|
|
17634
|
+
"size_bytes",
|
|
17635
|
+
"source",
|
|
17636
|
+
"deduplicated",
|
|
17637
|
+
"status"
|
|
17638
|
+
],
|
|
17639
|
+
properties: {
|
|
17640
|
+
document_id: {
|
|
17641
|
+
type: "string",
|
|
17642
|
+
format: "uuid"
|
|
17643
|
+
},
|
|
17644
|
+
filename: {
|
|
17645
|
+
type: "string",
|
|
17646
|
+
nullable: true
|
|
17647
|
+
},
|
|
17648
|
+
size_bytes: {
|
|
17649
|
+
type: "integer",
|
|
17650
|
+
nullable: true
|
|
17651
|
+
},
|
|
17652
|
+
source: {
|
|
17653
|
+
type: "string",
|
|
17654
|
+
enum: [
|
|
17655
|
+
"file",
|
|
17656
|
+
"file_url"
|
|
17657
|
+
]
|
|
17658
|
+
},
|
|
17659
|
+
deduplicated: {
|
|
17660
|
+
type: "boolean"
|
|
17661
|
+
},
|
|
17662
|
+
linked_document_id: {
|
|
17663
|
+
type: "string",
|
|
17664
|
+
format: "uuid",
|
|
17665
|
+
description: "Present only when deduplicated is true."
|
|
17666
|
+
},
|
|
17667
|
+
status: {
|
|
17668
|
+
type: "string",
|
|
17669
|
+
enum: [
|
|
17670
|
+
"processing",
|
|
17671
|
+
"completed",
|
|
17672
|
+
"failed"
|
|
17673
|
+
]
|
|
17674
|
+
}
|
|
17675
|
+
}
|
|
17676
|
+
}
|
|
17570
17677
|
}
|
|
17571
17678
|
}
|
|
17572
17679
|
}
|
|
@@ -17631,7 +17738,7 @@ var openapi_default = {
|
|
|
17631
17738
|
items: {
|
|
17632
17739
|
type: "string"
|
|
17633
17740
|
},
|
|
17634
|
-
description: "Event types to subscribe to (default: extraction.complete, extraction.failed). Includes run.completed / run.failed \u2014 fired on POST /v1/run pipeline completion (
|
|
17741
|
+
description: "Event types to subscribe to (default: extraction.complete, extraction.failed). Includes run.completed / run.failed \u2014 fired on POST /v1/run pipeline completion. run.completed's payload carries records (array of { document_id, filename, data }, always present; document_id and filename are nullable \u2014 null when a row's document identity cannot be resolved) alongside the legacy structured_data; run.failed's error object may carry document_ids (best effort, present on some failure paths only). See GET /v1/webhooks/events for the full, current catalog."
|
|
17635
17742
|
},
|
|
17636
17743
|
source_connection_id: {
|
|
17637
17744
|
type: "string",
|
|
@@ -17873,7 +17980,7 @@ var openapi_default = {
|
|
|
17873
17980
|
"Webhooks"
|
|
17874
17981
|
],
|
|
17875
17982
|
summary: "List supported webhook event types",
|
|
17876
|
-
description: 'Live catalog served from code (not a static enum) \u2014 includes run.completed ("A /v1/run pipeline finished; structured output is available, review-held fields null") and run.failed ("A /v1/run pipeline failed \u2014 all documents errored during ingest or extraction") alongside the document/extraction/job/delivery/process event families.\n',
|
|
17983
|
+
description: 'Live catalog served from code (not a static enum) \u2014 includes run.completed ("A /v1/run pipeline finished; structured output is available, review-held fields null" \u2014 payload adds `records`, an array of `{ document_id, filename, data }` always present even for a single document (`document_id` and `filename` are nullable \u2014 null when a row\'s document identity cannot be resolved), alongside the legacy `structured_data`, which is still emitted but considered legacy in favor of `records`) and run.failed ("A /v1/run pipeline failed \u2014 all documents errored during ingest or extraction" \u2014 its `error` object may include `document_ids`, a best-effort array of the input document ids, present only on some failure paths) alongside the document/extraction/job/delivery/process event families.\n',
|
|
17877
17984
|
operationId: "listWebhookEvents",
|
|
17878
17985
|
security: [
|
|
17879
17986
|
{
|
|
@@ -18704,7 +18811,126 @@ var openapi_default = {
|
|
|
18704
18811
|
},
|
|
18705
18812
|
responses: {
|
|
18706
18813
|
"200": {
|
|
18707
|
-
description: "{ document_id, filename, status: queued, processing_mode, source_id, links }"
|
|
18814
|
+
description: "{ document_id, filename, size_bytes, status: queued, processing_mode, source_id, links } \u2014 same shape as POST /v1/sources/{id}/documents (this route is an alias); duplicate branch is { status: duplicate, message, document_id, existing_document_id, filename, size_bytes }"
|
|
18815
|
+
}
|
|
18816
|
+
}
|
|
18817
|
+
}
|
|
18818
|
+
},
|
|
18819
|
+
"/v1/ingest": {
|
|
18820
|
+
post: {
|
|
18821
|
+
tags: [
|
|
18822
|
+
"Sources"
|
|
18823
|
+
],
|
|
18824
|
+
summary: "Ingest a document via a standalone source API key",
|
|
18825
|
+
description: "Multipart upload of one document (\u226450 MB), authenticated by a source's own `Authorization: Bearer tlnc_...` API key \u2014 no source id in the path, the key resolves it. Duplicate files (by content hash) return a `duplicate` status with the existing document's id. A narrower sibling of `POST /v1/sources/{id}/documents`: the queued response has no `processing_mode`/`source_id`, and `links` carries only `document` (no `source` link).\n",
|
|
18826
|
+
operationId: "ingestViaApiKey",
|
|
18827
|
+
security: [
|
|
18828
|
+
{
|
|
18829
|
+
BearerAuth: []
|
|
18830
|
+
}
|
|
18831
|
+
],
|
|
18832
|
+
requestBody: {
|
|
18833
|
+
required: true,
|
|
18834
|
+
content: {
|
|
18835
|
+
"multipart/form-data": {
|
|
18836
|
+
schema: {
|
|
18837
|
+
type: "object",
|
|
18838
|
+
required: [
|
|
18839
|
+
"file"
|
|
18840
|
+
],
|
|
18841
|
+
properties: {
|
|
18842
|
+
file: {
|
|
18843
|
+
type: "string",
|
|
18844
|
+
format: "binary",
|
|
18845
|
+
description: "The document file. Max 50 MB."
|
|
18846
|
+
},
|
|
18847
|
+
batch_id: {
|
|
18848
|
+
type: "string",
|
|
18849
|
+
maxLength: 200,
|
|
18850
|
+
description: "Optional caller grouping key stamped on the document (documents.client_batch_id)."
|
|
18851
|
+
},
|
|
18852
|
+
metadata: {
|
|
18853
|
+
type: "string",
|
|
18854
|
+
description: "Optional JSON string of a FLAT object `{ [key]: string | number | boolean | null }` (nested objects/arrays rejected 400; \u226450 keys, key \u2264128, string value \u22641024), stamped on the document as documents.client_metadata.\n"
|
|
18855
|
+
}
|
|
18856
|
+
}
|
|
18857
|
+
}
|
|
18858
|
+
}
|
|
18859
|
+
}
|
|
18860
|
+
},
|
|
18861
|
+
responses: {
|
|
18862
|
+
"200": {
|
|
18863
|
+
description: "Document ingested (or duplicate detected).",
|
|
18864
|
+
content: {
|
|
18865
|
+
"application/json": {
|
|
18866
|
+
schema: {
|
|
18867
|
+
type: "object",
|
|
18868
|
+
properties: {
|
|
18869
|
+
document_id: {
|
|
18870
|
+
type: "string",
|
|
18871
|
+
format: "uuid",
|
|
18872
|
+
description: "When status is `duplicate`, the id of the linked-duplicate row created for this upload (see `existing_document_id` for the canonical)."
|
|
18873
|
+
},
|
|
18874
|
+
filename: {
|
|
18875
|
+
type: "string",
|
|
18876
|
+
description: "The uploaded file's own name."
|
|
18877
|
+
},
|
|
18878
|
+
size_bytes: {
|
|
18879
|
+
type: [
|
|
18880
|
+
"integer",
|
|
18881
|
+
"null"
|
|
18882
|
+
],
|
|
18883
|
+
description: "The uploaded file's own size in bytes."
|
|
18884
|
+
},
|
|
18885
|
+
status: {
|
|
18886
|
+
type: "string",
|
|
18887
|
+
enum: [
|
|
18888
|
+
"queued",
|
|
18889
|
+
"duplicate"
|
|
18890
|
+
]
|
|
18891
|
+
},
|
|
18892
|
+
existing_document_id: {
|
|
18893
|
+
type: [
|
|
18894
|
+
"string",
|
|
18895
|
+
"null"
|
|
18896
|
+
],
|
|
18897
|
+
format: "uuid",
|
|
18898
|
+
description: "Present when status is duplicate \u2014 the canonical document this upload deduplicated to."
|
|
18899
|
+
},
|
|
18900
|
+
message: {
|
|
18901
|
+
type: "string",
|
|
18902
|
+
description: "Present when status is duplicate."
|
|
18903
|
+
},
|
|
18904
|
+
links: {
|
|
18905
|
+
type: "object",
|
|
18906
|
+
properties: {
|
|
18907
|
+
document: {
|
|
18908
|
+
type: "string"
|
|
18909
|
+
}
|
|
18910
|
+
}
|
|
18911
|
+
}
|
|
18912
|
+
}
|
|
18913
|
+
},
|
|
18914
|
+
example: {
|
|
18915
|
+
document_id: "f0e1d2c3-b4a5-9687-8765-432109876543",
|
|
18916
|
+
filename: "receipt-march.pdf",
|
|
18917
|
+
size_bytes: 148213,
|
|
18918
|
+
status: "queued",
|
|
18919
|
+
links: {
|
|
18920
|
+
document: "/v1/documents/f0e1d2c3-b4a5-9687-8765-432109876543"
|
|
18921
|
+
}
|
|
18922
|
+
}
|
|
18923
|
+
}
|
|
18924
|
+
}
|
|
18925
|
+
},
|
|
18926
|
+
"400": {
|
|
18927
|
+
$ref: "#/components/responses/BadRequest"
|
|
18928
|
+
},
|
|
18929
|
+
"401": {
|
|
18930
|
+
$ref: "#/components/responses/Unauthorized"
|
|
18931
|
+
},
|
|
18932
|
+
"413": {
|
|
18933
|
+
$ref: "#/components/responses/PayloadTooLarge"
|
|
18708
18934
|
}
|
|
18709
18935
|
}
|
|
18710
18936
|
}
|
|
@@ -19738,6 +19964,13 @@ var openapi_default = {
|
|
|
19738
19964
|
},
|
|
19739
19965
|
pages: {
|
|
19740
19966
|
type: "integer"
|
|
19967
|
+
},
|
|
19968
|
+
size_bytes: {
|
|
19969
|
+
type: [
|
|
19970
|
+
"integer",
|
|
19971
|
+
"null"
|
|
19972
|
+
],
|
|
19973
|
+
example: 148213
|
|
19741
19974
|
}
|
|
19742
19975
|
}
|
|
19743
19976
|
},
|
|
@@ -20633,7 +20866,16 @@ var openapi_default = {
|
|
|
20633
20866
|
},
|
|
20634
20867
|
filename: {
|
|
20635
20868
|
type: "string",
|
|
20636
|
-
example: "invoice-042.pdf"
|
|
20869
|
+
example: "invoice-042.pdf",
|
|
20870
|
+
description: "The uploaded file's own name \u2014 present on both the `queued` and `duplicate` branches."
|
|
20871
|
+
},
|
|
20872
|
+
size_bytes: {
|
|
20873
|
+
type: [
|
|
20874
|
+
"integer",
|
|
20875
|
+
"null"
|
|
20876
|
+
],
|
|
20877
|
+
example: 148213,
|
|
20878
|
+
description: "The uploaded file's own size in bytes \u2014 present on both the `queued` and `duplicate` branches."
|
|
20637
20879
|
},
|
|
20638
20880
|
status: {
|
|
20639
20881
|
type: "string",
|