@talonic/docs 0.21.69 → 0.21.70

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 CHANGED
@@ -1698,7 +1698,7 @@ var openapi_default = {
1698
1698
  post: {
1699
1699
  operationId: "createUploadSession",
1700
1700
  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\nThe created document is targeted at extraction only\n(`ingestion_target: extract`): once uploaded, call `POST /v1/extract`\nwith the returned `document_id`.\n",
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\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
1702
  tags: [
1703
1703
  "Documents"
1704
1704
  ],
@@ -1722,6 +1722,21 @@ var openapi_default = {
1722
1722
  maxLength: 512,
1723
1723
  description: "Filename of the file the user will upload.",
1724
1724
  example: "invoice-2026-04.pdf"
1725
+ },
1726
+ account_id: {
1727
+ type: "string",
1728
+ maxLength: 255,
1729
+ description: "Account (company) the document belongs to, by id, name or alias. See `GET /v1/accounts`.",
1730
+ example: "Filu"
1731
+ },
1732
+ ingestion_target: {
1733
+ type: "string",
1734
+ enum: [
1735
+ "extract",
1736
+ "ingest"
1737
+ ],
1738
+ default: "extract",
1739
+ description: "`extract`: text only, for a following `POST /v1/extract`. `ingest`: full processing into workspace data."
1725
1740
  }
1726
1741
  }
1727
1742
  }
@@ -11575,6 +11590,116 @@ var openapi_default = {
11575
11590
  }
11576
11591
  }
11577
11592
  },
11593
+ "/v1/accounts": {
11594
+ get: {
11595
+ operationId: "listAccounts",
11596
+ summary: "List accounts",
11597
+ 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",
11598
+ tags: [
11599
+ "Documents"
11600
+ ],
11601
+ security: [
11602
+ {
11603
+ ApiKeyAuth: []
11604
+ },
11605
+ {
11606
+ OAuthBearerAuth: []
11607
+ }
11608
+ ],
11609
+ responses: {
11610
+ "200": {
11611
+ description: "The workspace's accounts.",
11612
+ content: {
11613
+ "application/json": {
11614
+ schema: {
11615
+ type: "object",
11616
+ properties: {
11617
+ data: {
11618
+ type: "array",
11619
+ items: {
11620
+ $ref: "#/components/schemas/Account"
11621
+ }
11622
+ }
11623
+ }
11624
+ }
11625
+ }
11626
+ }
11627
+ },
11628
+ "401": {
11629
+ $ref: "#/components/responses/Unauthorized"
11630
+ }
11631
+ }
11632
+ },
11633
+ post: {
11634
+ operationId: "createAccount",
11635
+ summary: "Create an account",
11636
+ description: "Creates an account. Requires the `write` scope. 409 when a collection with that name exists.",
11637
+ tags: [
11638
+ "Documents"
11639
+ ],
11640
+ security: [
11641
+ {
11642
+ ApiKeyAuth: []
11643
+ },
11644
+ {
11645
+ OAuthBearerAuth: []
11646
+ }
11647
+ ],
11648
+ requestBody: {
11649
+ required: true,
11650
+ content: {
11651
+ "application/json": {
11652
+ schema: {
11653
+ type: "object",
11654
+ required: [
11655
+ "name"
11656
+ ],
11657
+ properties: {
11658
+ name: {
11659
+ type: "string",
11660
+ maxLength: 255,
11661
+ example: "Filu"
11662
+ },
11663
+ aliases: {
11664
+ type: "array",
11665
+ maxItems: 50,
11666
+ items: {
11667
+ type: "string",
11668
+ maxLength: 255
11669
+ },
11670
+ example: [
11671
+ "Filu Group GmbH"
11672
+ ]
11673
+ },
11674
+ description: {
11675
+ type: "string",
11676
+ maxLength: 2e3
11677
+ }
11678
+ }
11679
+ }
11680
+ }
11681
+ }
11682
+ },
11683
+ responses: {
11684
+ "201": {
11685
+ description: "Account created.",
11686
+ content: {
11687
+ "application/json": {
11688
+ schema: {
11689
+ $ref: "#/components/schemas/Account"
11690
+ }
11691
+ }
11692
+ }
11693
+ },
11694
+ "401": {
11695
+ $ref: "#/components/responses/Unauthorized"
11696
+ },
11697
+ "409": {
11698
+ description: "A collection with that name already exists."
11699
+ }
11700
+ }
11701
+ }
11702
+ },
11578
11703
  "/v1/account": {
11579
11704
  get: {
11580
11705
  operationId: "getAccount",
@@ -43298,6 +43423,41 @@ var openapi_default = {
43298
43423
  }
43299
43424
  },
43300
43425
  schemas: {
43426
+ Account: {
43427
+ type: "object",
43428
+ required: [
43429
+ "id",
43430
+ "name",
43431
+ "aliases"
43432
+ ],
43433
+ properties: {
43434
+ id: {
43435
+ type: "string",
43436
+ format: "uuid"
43437
+ },
43438
+ name: {
43439
+ type: "string",
43440
+ example: "Filu"
43441
+ },
43442
+ aliases: {
43443
+ type: "array",
43444
+ items: {
43445
+ type: "string"
43446
+ },
43447
+ example: [
43448
+ "Filu Group GmbH"
43449
+ ]
43450
+ },
43451
+ description: {
43452
+ type: "string",
43453
+ nullable: true
43454
+ },
43455
+ created_at: {
43456
+ type: "string",
43457
+ format: "date-time"
43458
+ }
43459
+ }
43460
+ },
43301
43461
  PipelineCancelResponse: {
43302
43462
  type: "object",
43303
43463
  required: [
@@ -0,0 +1,45 @@
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 };
@@ -0,0 +1,45 @@
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 };
package/openapi.json CHANGED
@@ -1692,7 +1692,7 @@
1692
1692
  "post": {
1693
1693
  "operationId": "createUploadSession",
1694
1694
  "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\nThe created document is targeted at extraction only\n(`ingestion_target: extract`): once uploaded, call `POST /v1/extract`\nwith the returned `document_id`.\n",
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\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
1696
  "tags": [
1697
1697
  "Documents"
1698
1698
  ],
@@ -1716,6 +1716,21 @@
1716
1716
  "maxLength": 512,
1717
1717
  "description": "Filename of the file the user will upload.",
1718
1718
  "example": "invoice-2026-04.pdf"
1719
+ },
1720
+ "account_id": {
1721
+ "type": "string",
1722
+ "maxLength": 255,
1723
+ "description": "Account (company) the document belongs to, by id, name or alias. See `GET /v1/accounts`.",
1724
+ "example": "Filu"
1725
+ },
1726
+ "ingestion_target": {
1727
+ "type": "string",
1728
+ "enum": [
1729
+ "extract",
1730
+ "ingest"
1731
+ ],
1732
+ "default": "extract",
1733
+ "description": "`extract`: text only, for a following `POST /v1/extract`. `ingest`: full processing into workspace data."
1719
1734
  }
1720
1735
  }
1721
1736
  }
@@ -11555,6 +11570,116 @@
11555
11570
  }
11556
11571
  }
11557
11572
  },
11573
+ "/v1/accounts": {
11574
+ "get": {
11575
+ "operationId": "listAccounts",
11576
+ "summary": "List accounts",
11577
+ "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",
11578
+ "tags": [
11579
+ "Documents"
11580
+ ],
11581
+ "security": [
11582
+ {
11583
+ "ApiKeyAuth": []
11584
+ },
11585
+ {
11586
+ "OAuthBearerAuth": []
11587
+ }
11588
+ ],
11589
+ "responses": {
11590
+ "200": {
11591
+ "description": "The workspace's accounts.",
11592
+ "content": {
11593
+ "application/json": {
11594
+ "schema": {
11595
+ "type": "object",
11596
+ "properties": {
11597
+ "data": {
11598
+ "type": "array",
11599
+ "items": {
11600
+ "$ref": "#/components/schemas/Account"
11601
+ }
11602
+ }
11603
+ }
11604
+ }
11605
+ }
11606
+ }
11607
+ },
11608
+ "401": {
11609
+ "$ref": "#/components/responses/Unauthorized"
11610
+ }
11611
+ }
11612
+ },
11613
+ "post": {
11614
+ "operationId": "createAccount",
11615
+ "summary": "Create an account",
11616
+ "description": "Creates an account. Requires the `write` scope. 409 when a collection with that name exists.",
11617
+ "tags": [
11618
+ "Documents"
11619
+ ],
11620
+ "security": [
11621
+ {
11622
+ "ApiKeyAuth": []
11623
+ },
11624
+ {
11625
+ "OAuthBearerAuth": []
11626
+ }
11627
+ ],
11628
+ "requestBody": {
11629
+ "required": true,
11630
+ "content": {
11631
+ "application/json": {
11632
+ "schema": {
11633
+ "type": "object",
11634
+ "required": [
11635
+ "name"
11636
+ ],
11637
+ "properties": {
11638
+ "name": {
11639
+ "type": "string",
11640
+ "maxLength": 255,
11641
+ "example": "Filu"
11642
+ },
11643
+ "aliases": {
11644
+ "type": "array",
11645
+ "maxItems": 50,
11646
+ "items": {
11647
+ "type": "string",
11648
+ "maxLength": 255
11649
+ },
11650
+ "example": [
11651
+ "Filu Group GmbH"
11652
+ ]
11653
+ },
11654
+ "description": {
11655
+ "type": "string",
11656
+ "maxLength": 2000
11657
+ }
11658
+ }
11659
+ }
11660
+ }
11661
+ }
11662
+ },
11663
+ "responses": {
11664
+ "201": {
11665
+ "description": "Account created.",
11666
+ "content": {
11667
+ "application/json": {
11668
+ "schema": {
11669
+ "$ref": "#/components/schemas/Account"
11670
+ }
11671
+ }
11672
+ }
11673
+ },
11674
+ "401": {
11675
+ "$ref": "#/components/responses/Unauthorized"
11676
+ },
11677
+ "409": {
11678
+ "description": "A collection with that name already exists."
11679
+ }
11680
+ }
11681
+ }
11682
+ },
11558
11683
  "/v1/account": {
11559
11684
  "get": {
11560
11685
  "operationId": "getAccount",
@@ -43278,6 +43403,41 @@
43278
43403
  }
43279
43404
  },
43280
43405
  "schemas": {
43406
+ "Account": {
43407
+ "type": "object",
43408
+ "required": [
43409
+ "id",
43410
+ "name",
43411
+ "aliases"
43412
+ ],
43413
+ "properties": {
43414
+ "id": {
43415
+ "type": "string",
43416
+ "format": "uuid"
43417
+ },
43418
+ "name": {
43419
+ "type": "string",
43420
+ "example": "Filu"
43421
+ },
43422
+ "aliases": {
43423
+ "type": "array",
43424
+ "items": {
43425
+ "type": "string"
43426
+ },
43427
+ "example": [
43428
+ "Filu Group GmbH"
43429
+ ]
43430
+ },
43431
+ "description": {
43432
+ "type": "string",
43433
+ "nullable": true
43434
+ },
43435
+ "created_at": {
43436
+ "type": "string",
43437
+ "format": "date-time"
43438
+ }
43439
+ }
43440
+ },
43281
43441
  "PipelineCancelResponse": {
43282
43442
  "type": "object",
43283
43443
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talonic/docs",
3
- "version": "0.21.69",
3
+ "version": "0.21.70",
4
4
  "description": "Talonic documentation components — API Reference & Platform Guide",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,