@botpress/api 1.2.0 → 1.3.0

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.
@@ -2607,7 +2607,7 @@ export const state = {
2607
2607
  "title": "Botpress API",
2608
2608
  "description": "API for Botpress Cloud",
2609
2609
  "server": "https://api.botpress.cloud",
2610
- "version": "1.2.0",
2610
+ "version": "1.3.0",
2611
2611
  "prefix": "v1"
2612
2612
  },
2613
2613
  "errors": [
package/src/gen/state.ts CHANGED
@@ -14410,6 +14410,39 @@ export const state = {
14410
14410
  "createdAt",
14411
14411
  "updatedAt"
14412
14412
  ]
14413
+ },
14414
+ "context": {
14415
+ "type": "array",
14416
+ "items": {
14417
+ "type": "object",
14418
+ "properties": {
14419
+ "id": {
14420
+ "type": "string",
14421
+ "format": "uuid"
14422
+ },
14423
+ "text": {
14424
+ "type": "string"
14425
+ },
14426
+ "offset": {
14427
+ "type": "integer",
14428
+ "description": "Position of the context passage relative to the current passage. Negative for preceding passages, positive for subsequent, ommited for breadcrumbs."
14429
+ },
14430
+ "type": {
14431
+ "type": "string",
14432
+ "enum": [
14433
+ "preceding",
14434
+ "subsequent",
14435
+ "breadcrumb"
14436
+ ],
14437
+ "description": "The type of context passage"
14438
+ }
14439
+ },
14440
+ "required": [
14441
+ "id",
14442
+ "text",
14443
+ "type"
14444
+ ]
14445
+ }
14413
14446
  }
14414
14447
  },
14415
14448
  "required": [
@@ -16051,7 +16084,7 @@ export const state = {
16051
16084
  "title": "Botpress API",
16052
16085
  "description": "API for Botpress Cloud",
16053
16086
  "server": "https://api.botpress.cloud",
16054
- "version": "1.2.0",
16087
+ "version": "1.3.0",
16055
16088
  "prefix": "v1"
16056
16089
  },
16057
16090
  "errors": [