@botpress/api 0.34.0 → 0.34.2

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/src/gen/state.ts CHANGED
@@ -1300,10 +1300,23 @@ export const state = {
1300
1300
  "properties": {
1301
1301
  "state": {
1302
1302
  "$ref": "#/components/schemas/State"
1303
+ },
1304
+ "meta": {
1305
+ "type": "object",
1306
+ "properties": {
1307
+ "cached": {
1308
+ "type": "boolean"
1309
+ }
1310
+ },
1311
+ "required": [
1312
+ "cached"
1313
+ ],
1314
+ "additionalProperties": false
1303
1315
  }
1304
1316
  },
1305
1317
  "required": [
1306
- "state"
1318
+ "state",
1319
+ "meta"
1307
1320
  ],
1308
1321
  "title": "getStateResponse",
1309
1322
  "additionalProperties": false
@@ -1443,10 +1456,23 @@ export const state = {
1443
1456
  "properties": {
1444
1457
  "state": {
1445
1458
  "$ref": "#/components/schemas/State"
1459
+ },
1460
+ "meta": {
1461
+ "type": "object",
1462
+ "properties": {
1463
+ "cached": {
1464
+ "type": "boolean"
1465
+ }
1466
+ },
1467
+ "required": [
1468
+ "cached"
1469
+ ],
1470
+ "additionalProperties": false
1446
1471
  }
1447
1472
  },
1448
1473
  "required": [
1449
- "state"
1474
+ "state",
1475
+ "meta"
1450
1476
  ],
1451
1477
  "title": "getOrSetStateResponse",
1452
1478
  "additionalProperties": false
@@ -1557,10 +1583,23 @@ export const state = {
1557
1583
  "type": "object",
1558
1584
  "additionalProperties": true,
1559
1585
  "description": "Input of the action"
1586
+ },
1587
+ "meta": {
1588
+ "type": "object",
1589
+ "properties": {
1590
+ "cached": {
1591
+ "type": "boolean"
1592
+ }
1593
+ },
1594
+ "required": [
1595
+ "cached"
1596
+ ],
1597
+ "additionalProperties": false
1560
1598
  }
1561
1599
  },
1562
1600
  "required": [
1563
- "output"
1601
+ "output",
1602
+ "meta"
1564
1603
  ],
1565
1604
  "title": "callActionResponse",
1566
1605
  "additionalProperties": false
@@ -9317,7 +9356,7 @@ export const state = {
9317
9356
  "index": {
9318
9357
  "default": false,
9319
9358
  "type": "boolean",
9320
- "description": "Set to a value of 'true' to index the file in vector storage. Only PDFs, Office documents, and text-based files are currently supported. Note that if a file is indexed, it will count towards both the Vector DB Storage quota and the File Storage quota of the workspace."
9359
+ "description": "Set to a value of 'true' to index the file in vector storage. Only certain file formats are currently supported for indexing. Note that if a file is indexed, it will count towards both the Vector DB Storage quota and the File Storage quota of the workspace."
9321
9360
  },
9322
9361
  "accessPolicies": {
9323
9362
  "type": "array",
@@ -9966,7 +10005,7 @@ export const state = {
9966
10005
  },
9967
10006
  "pageNumber": {
9968
10007
  "type": "integer",
9969
- "description": "Page number the passage is located on, if any. Only applicable if the passage was extracted from a multi-page document (e.g. PDF)."
10008
+ "description": "Page number the passage is located on. Only applicable if the passage was extracted from a PDF file."
9970
10009
  }
9971
10010
  },
9972
10011
  "description": "The passage metadata"
@@ -10921,7 +10960,7 @@ export const state = {
10921
10960
  "title": "Botpress API",
10922
10961
  "description": "API for Botpress Cloud",
10923
10962
  "server": "https://api.botpress.cloud",
10924
- "version": "0.34.0",
10963
+ "version": "0.34.2",
10925
10964
  "prefix": "v1"
10926
10965
  },
10927
10966
  "errors": [
@@ -14015,7 +14054,7 @@ export const state = {
14015
14054
  },
14016
14055
  {
14017
14056
  "title": "Files",
14018
- "description": "The Files API allows you to create, manage, and index files that can be used by your bots and integrations. Files can be in any text or binary format, and documents (such as PDF, Microsoft Office, HTML, CSV, etc.) can be indexed to be used for semantic search in RAG (Retrieval Augmented Generation) implementations. Files are private by default but can be made publicly accessible through a permanent URL that's unique for each file.",
14057
+ "description": "The Files API allows you to create, manage, and index files that can be used by your bots and integrations. Files can be in any text or binary format, and documents (such as PDF, Microsoft Word, HTML, Markdown, etc.) can be indexed to be used for semantic search in RAG (Retrieval Augmented Generation) implementations. Files are private by default but can be made publicly accessible through a permanent URL that's unique for each file.",
14019
14058
  "name": "files",
14020
14059
  "operations": [
14021
14060
  "upsertFile",