@talonic/docs 0.21.69 → 0.21.71
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/seo.js +370 -1
- package/openapi.json +370 -1
- package/package.json +1 -1
package/dist/seo.js
CHANGED
|
@@ -254,6 +254,10 @@ var openapi_default = {
|
|
|
254
254
|
name: "Contract Pricing",
|
|
255
255
|
description: "Contract Pricing turns a supply contract's price clause (heat, cooling, power, gas) into one standard, evaluable price model, recomputes every price per price period from the public indices the clause names, and checks invoices against those prices. Every number in a model, an index table or a comparison carries its source: a verified quote from a workspace document, or a publisher URL plus the publisher's own line. These endpoints belong to the Contract Pricing app (catalog slug `price-baseline`); they return 404 in a workspace that has not added the app \u2014 `GET /v1/apps` lists a workspace's apps by slug."
|
|
256
256
|
},
|
|
257
|
+
{
|
|
258
|
+
name: "Transport Folders",
|
|
259
|
+
description: "The Transport Folders app (`transport-folders`): every scanned transport folder of a workspace as one row, its documents matched to the loads of that transport (records of a reference table), and each load judged for missing papers, delivery confirmation and quantity. Routes answer 404 until the app is added to the workspace."
|
|
260
|
+
},
|
|
257
261
|
{
|
|
258
262
|
name: "Reinsurance Submission",
|
|
259
263
|
description: "Reads every reinsurance workbook of a workspace cell by cell, maps its labels into a client target structure, checks the figures against each other, and exports the facts in the client's own layout. An agentic review settles the label mappings and leaves only a few questions for the client's experts. These endpoints belong to the Reinsurance Submission app (catalog slug `submissions`); they return 404 in a workspace that has not added the app \u2014 `GET /v1/apps` lists a workspace's apps by slug."
|
|
@@ -1698,7 +1702,7 @@ var openapi_default = {
|
|
|
1698
1702
|
post: {
|
|
1699
1703
|
operationId: "createUploadSession",
|
|
1700
1704
|
summary: "Create a browser-handoff upload session",
|
|
1701
|
-
description: "Creates a pending document row plus a short-lived upload token and\nreturns a browser `upload_url` for it. This is the first half of the\nbrowser-handoff upload pair used by the hosted MCP connector: an\nagent creates the session, the user opens `upload_url` in a browser\nand picks the file, and the browser posts it to\n`POST /v1/upload/{token}`.\n\n**Auth is asymmetric across the pair.** This route requires an\nOAuth 2.1 bearer token (the connector OAuth session) and REJECTS\n`tlnc_` API keys with `401`. The upload route is unauthenticated\nbecause the short-lived token IS the credential. The token expires\nafter 15 minutes by default and is single-use.\n\
|
|
1705
|
+
description: "Creates a pending document row plus a short-lived upload token and\nreturns a browser `upload_url` for it. This is the first half of the\nbrowser-handoff upload pair used by the hosted MCP connector: an\nagent creates the session, the user opens `upload_url` in a browser\nand picks the file, and the browser posts it to\n`POST /v1/upload/{token}`.\n\n**Auth is asymmetric across the pair.** This route requires an\nOAuth 2.1 bearer token (the connector OAuth session) and REJECTS\n`tlnc_` API keys with `401`. The upload route is unauthenticated\nbecause the short-lived token IS the credential. The token expires\nafter 15 minutes by default and is single-use.\n\nBy default the document is targeted at extraction only\n(`ingestion_target: extract`): once uploaded, call `POST /v1/extract`\nwith the returned `document_id`. Pass `ingestion_target: ingest` to add\nthe file to the workspace instead: it is processed like an in-app upload\n(values, Field Registry, `/v1/ask`, `query_data`).\n",
|
|
1702
1706
|
tags: [
|
|
1703
1707
|
"Documents"
|
|
1704
1708
|
],
|
|
@@ -1722,6 +1726,21 @@ var openapi_default = {
|
|
|
1722
1726
|
maxLength: 512,
|
|
1723
1727
|
description: "Filename of the file the user will upload.",
|
|
1724
1728
|
example: "invoice-2026-04.pdf"
|
|
1729
|
+
},
|
|
1730
|
+
account_id: {
|
|
1731
|
+
type: "string",
|
|
1732
|
+
maxLength: 255,
|
|
1733
|
+
description: "Account (company) the document belongs to, by id, name or alias. See `GET /v1/accounts`.",
|
|
1734
|
+
example: "Filu"
|
|
1735
|
+
},
|
|
1736
|
+
ingestion_target: {
|
|
1737
|
+
type: "string",
|
|
1738
|
+
enum: [
|
|
1739
|
+
"extract",
|
|
1740
|
+
"ingest"
|
|
1741
|
+
],
|
|
1742
|
+
default: "extract",
|
|
1743
|
+
description: "`extract`: text only, for a following `POST /v1/extract`. `ingest`: full processing into workspace data."
|
|
1725
1744
|
}
|
|
1726
1745
|
}
|
|
1727
1746
|
}
|
|
@@ -11575,6 +11594,116 @@ var openapi_default = {
|
|
|
11575
11594
|
}
|
|
11576
11595
|
}
|
|
11577
11596
|
},
|
|
11597
|
+
"/v1/accounts": {
|
|
11598
|
+
get: {
|
|
11599
|
+
operationId: "listAccounts",
|
|
11600
|
+
summary: "List accounts",
|
|
11601
|
+
description: "The companies (portfolio companies, clients, entities) this workspace\nkeeps apart. Each document belongs to at most one account; uploads name\nit by id, name or alias, and `query_data` exposes it as `account`.\n",
|
|
11602
|
+
tags: [
|
|
11603
|
+
"Documents"
|
|
11604
|
+
],
|
|
11605
|
+
security: [
|
|
11606
|
+
{
|
|
11607
|
+
ApiKeyAuth: []
|
|
11608
|
+
},
|
|
11609
|
+
{
|
|
11610
|
+
OAuthBearerAuth: []
|
|
11611
|
+
}
|
|
11612
|
+
],
|
|
11613
|
+
responses: {
|
|
11614
|
+
"200": {
|
|
11615
|
+
description: "The workspace's accounts.",
|
|
11616
|
+
content: {
|
|
11617
|
+
"application/json": {
|
|
11618
|
+
schema: {
|
|
11619
|
+
type: "object",
|
|
11620
|
+
properties: {
|
|
11621
|
+
data: {
|
|
11622
|
+
type: "array",
|
|
11623
|
+
items: {
|
|
11624
|
+
$ref: "#/components/schemas/Account"
|
|
11625
|
+
}
|
|
11626
|
+
}
|
|
11627
|
+
}
|
|
11628
|
+
}
|
|
11629
|
+
}
|
|
11630
|
+
}
|
|
11631
|
+
},
|
|
11632
|
+
"401": {
|
|
11633
|
+
$ref: "#/components/responses/Unauthorized"
|
|
11634
|
+
}
|
|
11635
|
+
}
|
|
11636
|
+
},
|
|
11637
|
+
post: {
|
|
11638
|
+
operationId: "createAccount",
|
|
11639
|
+
summary: "Create an account",
|
|
11640
|
+
description: "Creates an account. Requires the `write` scope. 409 when a collection with that name exists.",
|
|
11641
|
+
tags: [
|
|
11642
|
+
"Documents"
|
|
11643
|
+
],
|
|
11644
|
+
security: [
|
|
11645
|
+
{
|
|
11646
|
+
ApiKeyAuth: []
|
|
11647
|
+
},
|
|
11648
|
+
{
|
|
11649
|
+
OAuthBearerAuth: []
|
|
11650
|
+
}
|
|
11651
|
+
],
|
|
11652
|
+
requestBody: {
|
|
11653
|
+
required: true,
|
|
11654
|
+
content: {
|
|
11655
|
+
"application/json": {
|
|
11656
|
+
schema: {
|
|
11657
|
+
type: "object",
|
|
11658
|
+
required: [
|
|
11659
|
+
"name"
|
|
11660
|
+
],
|
|
11661
|
+
properties: {
|
|
11662
|
+
name: {
|
|
11663
|
+
type: "string",
|
|
11664
|
+
maxLength: 255,
|
|
11665
|
+
example: "Filu"
|
|
11666
|
+
},
|
|
11667
|
+
aliases: {
|
|
11668
|
+
type: "array",
|
|
11669
|
+
maxItems: 50,
|
|
11670
|
+
items: {
|
|
11671
|
+
type: "string",
|
|
11672
|
+
maxLength: 255
|
|
11673
|
+
},
|
|
11674
|
+
example: [
|
|
11675
|
+
"Filu Group GmbH"
|
|
11676
|
+
]
|
|
11677
|
+
},
|
|
11678
|
+
description: {
|
|
11679
|
+
type: "string",
|
|
11680
|
+
maxLength: 2e3
|
|
11681
|
+
}
|
|
11682
|
+
}
|
|
11683
|
+
}
|
|
11684
|
+
}
|
|
11685
|
+
}
|
|
11686
|
+
},
|
|
11687
|
+
responses: {
|
|
11688
|
+
"201": {
|
|
11689
|
+
description: "Account created.",
|
|
11690
|
+
content: {
|
|
11691
|
+
"application/json": {
|
|
11692
|
+
schema: {
|
|
11693
|
+
$ref: "#/components/schemas/Account"
|
|
11694
|
+
}
|
|
11695
|
+
}
|
|
11696
|
+
}
|
|
11697
|
+
},
|
|
11698
|
+
"401": {
|
|
11699
|
+
$ref: "#/components/responses/Unauthorized"
|
|
11700
|
+
},
|
|
11701
|
+
"409": {
|
|
11702
|
+
description: "A collection with that name already exists."
|
|
11703
|
+
}
|
|
11704
|
+
}
|
|
11705
|
+
}
|
|
11706
|
+
},
|
|
11578
11707
|
"/v1/account": {
|
|
11579
11708
|
get: {
|
|
11580
11709
|
operationId: "getAccount",
|
|
@@ -42941,6 +43070,211 @@ var openapi_default = {
|
|
|
42941
43070
|
}
|
|
42942
43071
|
}
|
|
42943
43072
|
}
|
|
43073
|
+
},
|
|
43074
|
+
"/v1/transport-folders": {
|
|
43075
|
+
get: {
|
|
43076
|
+
operationId: "listTransportFolders",
|
|
43077
|
+
summary: "List transport folders",
|
|
43078
|
+
description: "One row per transport folder: a split packet, or a single scan the configured pipeline read. Each row carries the transport number read from the file name, the number of loads by result, and how many documents were matched or wait for review. `configured` is false until the pipeline and the load table are set.",
|
|
43079
|
+
tags: [
|
|
43080
|
+
"Transport Folders"
|
|
43081
|
+
],
|
|
43082
|
+
responses: {
|
|
43083
|
+
"200": {
|
|
43084
|
+
description: "The folders, newest first.",
|
|
43085
|
+
content: {
|
|
43086
|
+
"application/json": {
|
|
43087
|
+
schema: {
|
|
43088
|
+
type: "object",
|
|
43089
|
+
properties: {
|
|
43090
|
+
configured: {
|
|
43091
|
+
type: "boolean"
|
|
43092
|
+
},
|
|
43093
|
+
data: {
|
|
43094
|
+
type: "array",
|
|
43095
|
+
items: {
|
|
43096
|
+
type: "object"
|
|
43097
|
+
}
|
|
43098
|
+
}
|
|
43099
|
+
}
|
|
43100
|
+
}
|
|
43101
|
+
}
|
|
43102
|
+
}
|
|
43103
|
+
}
|
|
43104
|
+
}
|
|
43105
|
+
}
|
|
43106
|
+
},
|
|
43107
|
+
"/v1/transport-folders/settings": {
|
|
43108
|
+
get: {
|
|
43109
|
+
operationId: "getTransportFolderSettings",
|
|
43110
|
+
summary: "Get the app's settings and what they can be set to",
|
|
43111
|
+
tags: [
|
|
43112
|
+
"Transport Folders"
|
|
43113
|
+
],
|
|
43114
|
+
responses: {
|
|
43115
|
+
"200": {
|
|
43116
|
+
description: "Settings, the workspace's pipelines and its reference tables."
|
|
43117
|
+
}
|
|
43118
|
+
}
|
|
43119
|
+
},
|
|
43120
|
+
put: {
|
|
43121
|
+
operationId: "saveTransportFolderSettings",
|
|
43122
|
+
summary: "Change the app's settings",
|
|
43123
|
+
description: "Only the keys sent are changed. Requires the `write` scope and an owner-level key.",
|
|
43124
|
+
tags: [
|
|
43125
|
+
"Transport Folders"
|
|
43126
|
+
],
|
|
43127
|
+
requestBody: {
|
|
43128
|
+
required: true,
|
|
43129
|
+
content: {
|
|
43130
|
+
"application/json": {
|
|
43131
|
+
schema: {
|
|
43132
|
+
type: "object",
|
|
43133
|
+
properties: {
|
|
43134
|
+
pipeline_id: {
|
|
43135
|
+
type: "string",
|
|
43136
|
+
format: "uuid",
|
|
43137
|
+
nullable: true
|
|
43138
|
+
},
|
|
43139
|
+
reference_data_id: {
|
|
43140
|
+
type: "string",
|
|
43141
|
+
format: "uuid",
|
|
43142
|
+
nullable: true
|
|
43143
|
+
},
|
|
43144
|
+
folder_key_pattern: {
|
|
43145
|
+
type: "string",
|
|
43146
|
+
nullable: true
|
|
43147
|
+
},
|
|
43148
|
+
matcher: {
|
|
43149
|
+
type: "object",
|
|
43150
|
+
nullable: true
|
|
43151
|
+
}
|
|
43152
|
+
}
|
|
43153
|
+
}
|
|
43154
|
+
}
|
|
43155
|
+
}
|
|
43156
|
+
},
|
|
43157
|
+
responses: {
|
|
43158
|
+
"200": {
|
|
43159
|
+
description: "The resulting settings."
|
|
43160
|
+
}
|
|
43161
|
+
}
|
|
43162
|
+
}
|
|
43163
|
+
},
|
|
43164
|
+
"/v1/transport-folders/{folderId}": {
|
|
43165
|
+
get: {
|
|
43166
|
+
operationId: "getTransportFolder",
|
|
43167
|
+
summary: "Get one transport folder with its loads and matched documents",
|
|
43168
|
+
description: "`load_records` holds every load of the transport with its reference-table record, required document types, flags and result. `matched` holds every document of the folder with its page range, document type, captured fields, the load(s) it was matched to, and the evidence.",
|
|
43169
|
+
tags: [
|
|
43170
|
+
"Transport Folders"
|
|
43171
|
+
],
|
|
43172
|
+
parameters: [
|
|
43173
|
+
{
|
|
43174
|
+
name: "folderId",
|
|
43175
|
+
in: "path",
|
|
43176
|
+
required: true,
|
|
43177
|
+
schema: {
|
|
43178
|
+
type: "string",
|
|
43179
|
+
format: "uuid"
|
|
43180
|
+
}
|
|
43181
|
+
}
|
|
43182
|
+
],
|
|
43183
|
+
responses: {
|
|
43184
|
+
"200": {
|
|
43185
|
+
description: "The folder."
|
|
43186
|
+
},
|
|
43187
|
+
"404": {
|
|
43188
|
+
description: "Folder not found."
|
|
43189
|
+
}
|
|
43190
|
+
}
|
|
43191
|
+
}
|
|
43192
|
+
},
|
|
43193
|
+
"/v1/transport-folders/{folderId}/documents/{documentId}/assign": {
|
|
43194
|
+
post: {
|
|
43195
|
+
operationId: "assignTransportDocument",
|
|
43196
|
+
summary: "Assign a document to a load",
|
|
43197
|
+
description: "A person's decision; it wins over the evidence. `load_key` null means the document belongs to no load. Requires the `write` scope.",
|
|
43198
|
+
tags: [
|
|
43199
|
+
"Transport Folders"
|
|
43200
|
+
],
|
|
43201
|
+
parameters: [
|
|
43202
|
+
{
|
|
43203
|
+
name: "folderId",
|
|
43204
|
+
in: "path",
|
|
43205
|
+
required: true,
|
|
43206
|
+
schema: {
|
|
43207
|
+
type: "string",
|
|
43208
|
+
format: "uuid"
|
|
43209
|
+
}
|
|
43210
|
+
},
|
|
43211
|
+
{
|
|
43212
|
+
name: "documentId",
|
|
43213
|
+
in: "path",
|
|
43214
|
+
required: true,
|
|
43215
|
+
schema: {
|
|
43216
|
+
type: "string",
|
|
43217
|
+
format: "uuid"
|
|
43218
|
+
}
|
|
43219
|
+
}
|
|
43220
|
+
],
|
|
43221
|
+
requestBody: {
|
|
43222
|
+
required: true,
|
|
43223
|
+
content: {
|
|
43224
|
+
"application/json": {
|
|
43225
|
+
schema: {
|
|
43226
|
+
type: "object",
|
|
43227
|
+
required: [
|
|
43228
|
+
"load_key"
|
|
43229
|
+
],
|
|
43230
|
+
properties: {
|
|
43231
|
+
load_key: {
|
|
43232
|
+
type: "string",
|
|
43233
|
+
nullable: true
|
|
43234
|
+
}
|
|
43235
|
+
}
|
|
43236
|
+
}
|
|
43237
|
+
}
|
|
43238
|
+
}
|
|
43239
|
+
},
|
|
43240
|
+
responses: {
|
|
43241
|
+
"201": {
|
|
43242
|
+
description: "The folder after the decision."
|
|
43243
|
+
}
|
|
43244
|
+
}
|
|
43245
|
+
},
|
|
43246
|
+
delete: {
|
|
43247
|
+
operationId: "unassignTransportDocument",
|
|
43248
|
+
summary: "Withdraw a document's assignment",
|
|
43249
|
+
tags: [
|
|
43250
|
+
"Transport Folders"
|
|
43251
|
+
],
|
|
43252
|
+
parameters: [
|
|
43253
|
+
{
|
|
43254
|
+
name: "folderId",
|
|
43255
|
+
in: "path",
|
|
43256
|
+
required: true,
|
|
43257
|
+
schema: {
|
|
43258
|
+
type: "string",
|
|
43259
|
+
format: "uuid"
|
|
43260
|
+
}
|
|
43261
|
+
},
|
|
43262
|
+
{
|
|
43263
|
+
name: "documentId",
|
|
43264
|
+
in: "path",
|
|
43265
|
+
required: true,
|
|
43266
|
+
schema: {
|
|
43267
|
+
type: "string",
|
|
43268
|
+
format: "uuid"
|
|
43269
|
+
}
|
|
43270
|
+
}
|
|
43271
|
+
],
|
|
43272
|
+
responses: {
|
|
43273
|
+
"200": {
|
|
43274
|
+
description: "The folder, matched on evidence again."
|
|
43275
|
+
}
|
|
43276
|
+
}
|
|
43277
|
+
}
|
|
42944
43278
|
}
|
|
42945
43279
|
},
|
|
42946
43280
|
components: {
|
|
@@ -43298,6 +43632,41 @@ var openapi_default = {
|
|
|
43298
43632
|
}
|
|
43299
43633
|
},
|
|
43300
43634
|
schemas: {
|
|
43635
|
+
Account: {
|
|
43636
|
+
type: "object",
|
|
43637
|
+
required: [
|
|
43638
|
+
"id",
|
|
43639
|
+
"name",
|
|
43640
|
+
"aliases"
|
|
43641
|
+
],
|
|
43642
|
+
properties: {
|
|
43643
|
+
id: {
|
|
43644
|
+
type: "string",
|
|
43645
|
+
format: "uuid"
|
|
43646
|
+
},
|
|
43647
|
+
name: {
|
|
43648
|
+
type: "string",
|
|
43649
|
+
example: "Filu"
|
|
43650
|
+
},
|
|
43651
|
+
aliases: {
|
|
43652
|
+
type: "array",
|
|
43653
|
+
items: {
|
|
43654
|
+
type: "string"
|
|
43655
|
+
},
|
|
43656
|
+
example: [
|
|
43657
|
+
"Filu Group GmbH"
|
|
43658
|
+
]
|
|
43659
|
+
},
|
|
43660
|
+
description: {
|
|
43661
|
+
type: "string",
|
|
43662
|
+
nullable: true
|
|
43663
|
+
},
|
|
43664
|
+
created_at: {
|
|
43665
|
+
type: "string",
|
|
43666
|
+
format: "date-time"
|
|
43667
|
+
}
|
|
43668
|
+
}
|
|
43669
|
+
},
|
|
43301
43670
|
PipelineCancelResponse: {
|
|
43302
43671
|
type: "object",
|
|
43303
43672
|
required: [
|
package/openapi.json
CHANGED
|
@@ -253,6 +253,10 @@
|
|
|
253
253
|
"name": "Contract Pricing",
|
|
254
254
|
"description": "Contract Pricing turns a supply contract's price clause (heat, cooling, power, gas) into one standard, evaluable price model, recomputes every price per price period from the public indices the clause names, and checks invoices against those prices. Every number in a model, an index table or a comparison carries its source: a verified quote from a workspace document, or a publisher URL plus the publisher's own line. These endpoints belong to the Contract Pricing app (catalog slug `price-baseline`); they return 404 in a workspace that has not added the app — `GET /v1/apps` lists a workspace's apps by slug."
|
|
255
255
|
},
|
|
256
|
+
{
|
|
257
|
+
"name": "Transport Folders",
|
|
258
|
+
"description": "The Transport Folders app (`transport-folders`): every scanned transport folder of a workspace as one row, its documents matched to the loads of that transport (records of a reference table), and each load judged for missing papers, delivery confirmation and quantity. Routes answer 404 until the app is added to the workspace."
|
|
259
|
+
},
|
|
256
260
|
{
|
|
257
261
|
"name": "Reinsurance Submission",
|
|
258
262
|
"description": "Reads every reinsurance workbook of a workspace cell by cell, maps its labels into a client target structure, checks the figures against each other, and exports the facts in the client's own layout. An agentic review settles the label mappings and leaves only a few questions for the client's experts. These endpoints belong to the Reinsurance Submission app (catalog slug `submissions`); they return 404 in a workspace that has not added the app — `GET /v1/apps` lists a workspace's apps by slug."
|
|
@@ -1692,7 +1696,7 @@
|
|
|
1692
1696
|
"post": {
|
|
1693
1697
|
"operationId": "createUploadSession",
|
|
1694
1698
|
"summary": "Create a browser-handoff upload session",
|
|
1695
|
-
"description": "Creates a pending document row plus a short-lived upload token and\nreturns a browser `upload_url` for it. This is the first half of the\nbrowser-handoff upload pair used by the hosted MCP connector: an\nagent creates the session, the user opens `upload_url` in a browser\nand picks the file, and the browser posts it to\n`POST /v1/upload/{token}`.\n\n**Auth is asymmetric across the pair.** This route requires an\nOAuth 2.1 bearer token (the connector OAuth session) and REJECTS\n`tlnc_` API keys with `401`. The upload route is unauthenticated\nbecause the short-lived token IS the credential. The token expires\nafter 15 minutes by default and is single-use.\n\
|
|
1699
|
+
"description": "Creates a pending document row plus a short-lived upload token and\nreturns a browser `upload_url` for it. This is the first half of the\nbrowser-handoff upload pair used by the hosted MCP connector: an\nagent creates the session, the user opens `upload_url` in a browser\nand picks the file, and the browser posts it to\n`POST /v1/upload/{token}`.\n\n**Auth is asymmetric across the pair.** This route requires an\nOAuth 2.1 bearer token (the connector OAuth session) and REJECTS\n`tlnc_` API keys with `401`. The upload route is unauthenticated\nbecause the short-lived token IS the credential. The token expires\nafter 15 minutes by default and is single-use.\n\nBy default the document is targeted at extraction only\n(`ingestion_target: extract`): once uploaded, call `POST /v1/extract`\nwith the returned `document_id`. Pass `ingestion_target: ingest` to add\nthe file to the workspace instead: it is processed like an in-app upload\n(values, Field Registry, `/v1/ask`, `query_data`).\n",
|
|
1696
1700
|
"tags": [
|
|
1697
1701
|
"Documents"
|
|
1698
1702
|
],
|
|
@@ -1716,6 +1720,21 @@
|
|
|
1716
1720
|
"maxLength": 512,
|
|
1717
1721
|
"description": "Filename of the file the user will upload.",
|
|
1718
1722
|
"example": "invoice-2026-04.pdf"
|
|
1723
|
+
},
|
|
1724
|
+
"account_id": {
|
|
1725
|
+
"type": "string",
|
|
1726
|
+
"maxLength": 255,
|
|
1727
|
+
"description": "Account (company) the document belongs to, by id, name or alias. See `GET /v1/accounts`.",
|
|
1728
|
+
"example": "Filu"
|
|
1729
|
+
},
|
|
1730
|
+
"ingestion_target": {
|
|
1731
|
+
"type": "string",
|
|
1732
|
+
"enum": [
|
|
1733
|
+
"extract",
|
|
1734
|
+
"ingest"
|
|
1735
|
+
],
|
|
1736
|
+
"default": "extract",
|
|
1737
|
+
"description": "`extract`: text only, for a following `POST /v1/extract`. `ingest`: full processing into workspace data."
|
|
1719
1738
|
}
|
|
1720
1739
|
}
|
|
1721
1740
|
}
|
|
@@ -11555,6 +11574,116 @@
|
|
|
11555
11574
|
}
|
|
11556
11575
|
}
|
|
11557
11576
|
},
|
|
11577
|
+
"/v1/accounts": {
|
|
11578
|
+
"get": {
|
|
11579
|
+
"operationId": "listAccounts",
|
|
11580
|
+
"summary": "List accounts",
|
|
11581
|
+
"description": "The companies (portfolio companies, clients, entities) this workspace\nkeeps apart. Each document belongs to at most one account; uploads name\nit by id, name or alias, and `query_data` exposes it as `account`.\n",
|
|
11582
|
+
"tags": [
|
|
11583
|
+
"Documents"
|
|
11584
|
+
],
|
|
11585
|
+
"security": [
|
|
11586
|
+
{
|
|
11587
|
+
"ApiKeyAuth": []
|
|
11588
|
+
},
|
|
11589
|
+
{
|
|
11590
|
+
"OAuthBearerAuth": []
|
|
11591
|
+
}
|
|
11592
|
+
],
|
|
11593
|
+
"responses": {
|
|
11594
|
+
"200": {
|
|
11595
|
+
"description": "The workspace's accounts.",
|
|
11596
|
+
"content": {
|
|
11597
|
+
"application/json": {
|
|
11598
|
+
"schema": {
|
|
11599
|
+
"type": "object",
|
|
11600
|
+
"properties": {
|
|
11601
|
+
"data": {
|
|
11602
|
+
"type": "array",
|
|
11603
|
+
"items": {
|
|
11604
|
+
"$ref": "#/components/schemas/Account"
|
|
11605
|
+
}
|
|
11606
|
+
}
|
|
11607
|
+
}
|
|
11608
|
+
}
|
|
11609
|
+
}
|
|
11610
|
+
}
|
|
11611
|
+
},
|
|
11612
|
+
"401": {
|
|
11613
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
11614
|
+
}
|
|
11615
|
+
}
|
|
11616
|
+
},
|
|
11617
|
+
"post": {
|
|
11618
|
+
"operationId": "createAccount",
|
|
11619
|
+
"summary": "Create an account",
|
|
11620
|
+
"description": "Creates an account. Requires the `write` scope. 409 when a collection with that name exists.",
|
|
11621
|
+
"tags": [
|
|
11622
|
+
"Documents"
|
|
11623
|
+
],
|
|
11624
|
+
"security": [
|
|
11625
|
+
{
|
|
11626
|
+
"ApiKeyAuth": []
|
|
11627
|
+
},
|
|
11628
|
+
{
|
|
11629
|
+
"OAuthBearerAuth": []
|
|
11630
|
+
}
|
|
11631
|
+
],
|
|
11632
|
+
"requestBody": {
|
|
11633
|
+
"required": true,
|
|
11634
|
+
"content": {
|
|
11635
|
+
"application/json": {
|
|
11636
|
+
"schema": {
|
|
11637
|
+
"type": "object",
|
|
11638
|
+
"required": [
|
|
11639
|
+
"name"
|
|
11640
|
+
],
|
|
11641
|
+
"properties": {
|
|
11642
|
+
"name": {
|
|
11643
|
+
"type": "string",
|
|
11644
|
+
"maxLength": 255,
|
|
11645
|
+
"example": "Filu"
|
|
11646
|
+
},
|
|
11647
|
+
"aliases": {
|
|
11648
|
+
"type": "array",
|
|
11649
|
+
"maxItems": 50,
|
|
11650
|
+
"items": {
|
|
11651
|
+
"type": "string",
|
|
11652
|
+
"maxLength": 255
|
|
11653
|
+
},
|
|
11654
|
+
"example": [
|
|
11655
|
+
"Filu Group GmbH"
|
|
11656
|
+
]
|
|
11657
|
+
},
|
|
11658
|
+
"description": {
|
|
11659
|
+
"type": "string",
|
|
11660
|
+
"maxLength": 2000
|
|
11661
|
+
}
|
|
11662
|
+
}
|
|
11663
|
+
}
|
|
11664
|
+
}
|
|
11665
|
+
}
|
|
11666
|
+
},
|
|
11667
|
+
"responses": {
|
|
11668
|
+
"201": {
|
|
11669
|
+
"description": "Account created.",
|
|
11670
|
+
"content": {
|
|
11671
|
+
"application/json": {
|
|
11672
|
+
"schema": {
|
|
11673
|
+
"$ref": "#/components/schemas/Account"
|
|
11674
|
+
}
|
|
11675
|
+
}
|
|
11676
|
+
}
|
|
11677
|
+
},
|
|
11678
|
+
"401": {
|
|
11679
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
11680
|
+
},
|
|
11681
|
+
"409": {
|
|
11682
|
+
"description": "A collection with that name already exists."
|
|
11683
|
+
}
|
|
11684
|
+
}
|
|
11685
|
+
}
|
|
11686
|
+
},
|
|
11558
11687
|
"/v1/account": {
|
|
11559
11688
|
"get": {
|
|
11560
11689
|
"operationId": "getAccount",
|
|
@@ -42921,6 +43050,211 @@
|
|
|
42921
43050
|
}
|
|
42922
43051
|
}
|
|
42923
43052
|
}
|
|
43053
|
+
},
|
|
43054
|
+
"/v1/transport-folders": {
|
|
43055
|
+
"get": {
|
|
43056
|
+
"operationId": "listTransportFolders",
|
|
43057
|
+
"summary": "List transport folders",
|
|
43058
|
+
"description": "One row per transport folder: a split packet, or a single scan the configured pipeline read. Each row carries the transport number read from the file name, the number of loads by result, and how many documents were matched or wait for review. `configured` is false until the pipeline and the load table are set.",
|
|
43059
|
+
"tags": [
|
|
43060
|
+
"Transport Folders"
|
|
43061
|
+
],
|
|
43062
|
+
"responses": {
|
|
43063
|
+
"200": {
|
|
43064
|
+
"description": "The folders, newest first.",
|
|
43065
|
+
"content": {
|
|
43066
|
+
"application/json": {
|
|
43067
|
+
"schema": {
|
|
43068
|
+
"type": "object",
|
|
43069
|
+
"properties": {
|
|
43070
|
+
"configured": {
|
|
43071
|
+
"type": "boolean"
|
|
43072
|
+
},
|
|
43073
|
+
"data": {
|
|
43074
|
+
"type": "array",
|
|
43075
|
+
"items": {
|
|
43076
|
+
"type": "object"
|
|
43077
|
+
}
|
|
43078
|
+
}
|
|
43079
|
+
}
|
|
43080
|
+
}
|
|
43081
|
+
}
|
|
43082
|
+
}
|
|
43083
|
+
}
|
|
43084
|
+
}
|
|
43085
|
+
}
|
|
43086
|
+
},
|
|
43087
|
+
"/v1/transport-folders/settings": {
|
|
43088
|
+
"get": {
|
|
43089
|
+
"operationId": "getTransportFolderSettings",
|
|
43090
|
+
"summary": "Get the app's settings and what they can be set to",
|
|
43091
|
+
"tags": [
|
|
43092
|
+
"Transport Folders"
|
|
43093
|
+
],
|
|
43094
|
+
"responses": {
|
|
43095
|
+
"200": {
|
|
43096
|
+
"description": "Settings, the workspace's pipelines and its reference tables."
|
|
43097
|
+
}
|
|
43098
|
+
}
|
|
43099
|
+
},
|
|
43100
|
+
"put": {
|
|
43101
|
+
"operationId": "saveTransportFolderSettings",
|
|
43102
|
+
"summary": "Change the app's settings",
|
|
43103
|
+
"description": "Only the keys sent are changed. Requires the `write` scope and an owner-level key.",
|
|
43104
|
+
"tags": [
|
|
43105
|
+
"Transport Folders"
|
|
43106
|
+
],
|
|
43107
|
+
"requestBody": {
|
|
43108
|
+
"required": true,
|
|
43109
|
+
"content": {
|
|
43110
|
+
"application/json": {
|
|
43111
|
+
"schema": {
|
|
43112
|
+
"type": "object",
|
|
43113
|
+
"properties": {
|
|
43114
|
+
"pipeline_id": {
|
|
43115
|
+
"type": "string",
|
|
43116
|
+
"format": "uuid",
|
|
43117
|
+
"nullable": true
|
|
43118
|
+
},
|
|
43119
|
+
"reference_data_id": {
|
|
43120
|
+
"type": "string",
|
|
43121
|
+
"format": "uuid",
|
|
43122
|
+
"nullable": true
|
|
43123
|
+
},
|
|
43124
|
+
"folder_key_pattern": {
|
|
43125
|
+
"type": "string",
|
|
43126
|
+
"nullable": true
|
|
43127
|
+
},
|
|
43128
|
+
"matcher": {
|
|
43129
|
+
"type": "object",
|
|
43130
|
+
"nullable": true
|
|
43131
|
+
}
|
|
43132
|
+
}
|
|
43133
|
+
}
|
|
43134
|
+
}
|
|
43135
|
+
}
|
|
43136
|
+
},
|
|
43137
|
+
"responses": {
|
|
43138
|
+
"200": {
|
|
43139
|
+
"description": "The resulting settings."
|
|
43140
|
+
}
|
|
43141
|
+
}
|
|
43142
|
+
}
|
|
43143
|
+
},
|
|
43144
|
+
"/v1/transport-folders/{folderId}": {
|
|
43145
|
+
"get": {
|
|
43146
|
+
"operationId": "getTransportFolder",
|
|
43147
|
+
"summary": "Get one transport folder with its loads and matched documents",
|
|
43148
|
+
"description": "`load_records` holds every load of the transport with its reference-table record, required document types, flags and result. `matched` holds every document of the folder with its page range, document type, captured fields, the load(s) it was matched to, and the evidence.",
|
|
43149
|
+
"tags": [
|
|
43150
|
+
"Transport Folders"
|
|
43151
|
+
],
|
|
43152
|
+
"parameters": [
|
|
43153
|
+
{
|
|
43154
|
+
"name": "folderId",
|
|
43155
|
+
"in": "path",
|
|
43156
|
+
"required": true,
|
|
43157
|
+
"schema": {
|
|
43158
|
+
"type": "string",
|
|
43159
|
+
"format": "uuid"
|
|
43160
|
+
}
|
|
43161
|
+
}
|
|
43162
|
+
],
|
|
43163
|
+
"responses": {
|
|
43164
|
+
"200": {
|
|
43165
|
+
"description": "The folder."
|
|
43166
|
+
},
|
|
43167
|
+
"404": {
|
|
43168
|
+
"description": "Folder not found."
|
|
43169
|
+
}
|
|
43170
|
+
}
|
|
43171
|
+
}
|
|
43172
|
+
},
|
|
43173
|
+
"/v1/transport-folders/{folderId}/documents/{documentId}/assign": {
|
|
43174
|
+
"post": {
|
|
43175
|
+
"operationId": "assignTransportDocument",
|
|
43176
|
+
"summary": "Assign a document to a load",
|
|
43177
|
+
"description": "A person's decision; it wins over the evidence. `load_key` null means the document belongs to no load. Requires the `write` scope.",
|
|
43178
|
+
"tags": [
|
|
43179
|
+
"Transport Folders"
|
|
43180
|
+
],
|
|
43181
|
+
"parameters": [
|
|
43182
|
+
{
|
|
43183
|
+
"name": "folderId",
|
|
43184
|
+
"in": "path",
|
|
43185
|
+
"required": true,
|
|
43186
|
+
"schema": {
|
|
43187
|
+
"type": "string",
|
|
43188
|
+
"format": "uuid"
|
|
43189
|
+
}
|
|
43190
|
+
},
|
|
43191
|
+
{
|
|
43192
|
+
"name": "documentId",
|
|
43193
|
+
"in": "path",
|
|
43194
|
+
"required": true,
|
|
43195
|
+
"schema": {
|
|
43196
|
+
"type": "string",
|
|
43197
|
+
"format": "uuid"
|
|
43198
|
+
}
|
|
43199
|
+
}
|
|
43200
|
+
],
|
|
43201
|
+
"requestBody": {
|
|
43202
|
+
"required": true,
|
|
43203
|
+
"content": {
|
|
43204
|
+
"application/json": {
|
|
43205
|
+
"schema": {
|
|
43206
|
+
"type": "object",
|
|
43207
|
+
"required": [
|
|
43208
|
+
"load_key"
|
|
43209
|
+
],
|
|
43210
|
+
"properties": {
|
|
43211
|
+
"load_key": {
|
|
43212
|
+
"type": "string",
|
|
43213
|
+
"nullable": true
|
|
43214
|
+
}
|
|
43215
|
+
}
|
|
43216
|
+
}
|
|
43217
|
+
}
|
|
43218
|
+
}
|
|
43219
|
+
},
|
|
43220
|
+
"responses": {
|
|
43221
|
+
"201": {
|
|
43222
|
+
"description": "The folder after the decision."
|
|
43223
|
+
}
|
|
43224
|
+
}
|
|
43225
|
+
},
|
|
43226
|
+
"delete": {
|
|
43227
|
+
"operationId": "unassignTransportDocument",
|
|
43228
|
+
"summary": "Withdraw a document's assignment",
|
|
43229
|
+
"tags": [
|
|
43230
|
+
"Transport Folders"
|
|
43231
|
+
],
|
|
43232
|
+
"parameters": [
|
|
43233
|
+
{
|
|
43234
|
+
"name": "folderId",
|
|
43235
|
+
"in": "path",
|
|
43236
|
+
"required": true,
|
|
43237
|
+
"schema": {
|
|
43238
|
+
"type": "string",
|
|
43239
|
+
"format": "uuid"
|
|
43240
|
+
}
|
|
43241
|
+
},
|
|
43242
|
+
{
|
|
43243
|
+
"name": "documentId",
|
|
43244
|
+
"in": "path",
|
|
43245
|
+
"required": true,
|
|
43246
|
+
"schema": {
|
|
43247
|
+
"type": "string",
|
|
43248
|
+
"format": "uuid"
|
|
43249
|
+
}
|
|
43250
|
+
}
|
|
43251
|
+
],
|
|
43252
|
+
"responses": {
|
|
43253
|
+
"200": {
|
|
43254
|
+
"description": "The folder, matched on evidence again."
|
|
43255
|
+
}
|
|
43256
|
+
}
|
|
43257
|
+
}
|
|
42924
43258
|
}
|
|
42925
43259
|
},
|
|
42926
43260
|
"components": {
|
|
@@ -43278,6 +43612,41 @@
|
|
|
43278
43612
|
}
|
|
43279
43613
|
},
|
|
43280
43614
|
"schemas": {
|
|
43615
|
+
"Account": {
|
|
43616
|
+
"type": "object",
|
|
43617
|
+
"required": [
|
|
43618
|
+
"id",
|
|
43619
|
+
"name",
|
|
43620
|
+
"aliases"
|
|
43621
|
+
],
|
|
43622
|
+
"properties": {
|
|
43623
|
+
"id": {
|
|
43624
|
+
"type": "string",
|
|
43625
|
+
"format": "uuid"
|
|
43626
|
+
},
|
|
43627
|
+
"name": {
|
|
43628
|
+
"type": "string",
|
|
43629
|
+
"example": "Filu"
|
|
43630
|
+
},
|
|
43631
|
+
"aliases": {
|
|
43632
|
+
"type": "array",
|
|
43633
|
+
"items": {
|
|
43634
|
+
"type": "string"
|
|
43635
|
+
},
|
|
43636
|
+
"example": [
|
|
43637
|
+
"Filu Group GmbH"
|
|
43638
|
+
]
|
|
43639
|
+
},
|
|
43640
|
+
"description": {
|
|
43641
|
+
"type": "string",
|
|
43642
|
+
"nullable": true
|
|
43643
|
+
},
|
|
43644
|
+
"created_at": {
|
|
43645
|
+
"type": "string",
|
|
43646
|
+
"format": "date-time"
|
|
43647
|
+
}
|
|
43648
|
+
}
|
|
43649
|
+
},
|
|
43281
43650
|
"PipelineCancelResponse": {
|
|
43282
43651
|
"type": "object",
|
|
43283
43652
|
"required": [
|