@botpress/api 1.2.0 → 1.3.1

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.1",
2611
2611
  "prefix": "v1"
2612
2612
  },
2613
2613
  "errors": [
@@ -4633,7 +4633,6 @@ export const state = {
4633
4633
  "type": "boolean"
4634
4634
  },
4635
4635
  "handle": {
4636
- "default": "",
4637
4636
  "type": "string"
4638
4637
  }
4639
4638
  },
package/src/gen/state.ts CHANGED
@@ -5381,6 +5381,12 @@ export const state = {
5381
5381
  ]
5382
5382
  },
5383
5383
  "description": "Media files associated with the [Bot](#schema_bot)"
5384
+ },
5385
+ "layers": {
5386
+ "type": "array",
5387
+ "items": {
5388
+ "type": "string"
5389
+ }
5384
5390
  }
5385
5391
  },
5386
5392
  "title": "updateBotBody",
@@ -6978,7 +6984,6 @@ export const state = {
6978
6984
  "type": "boolean"
6979
6985
  },
6980
6986
  "handle": {
6981
- "default": "",
6982
6987
  "type": "string"
6983
6988
  }
6984
6989
  },
@@ -7161,7 +7166,6 @@ export const state = {
7161
7166
  "type": "boolean"
7162
7167
  },
7163
7168
  "handle": {
7164
- "default": "",
7165
7169
  "type": "string"
7166
7170
  }
7167
7171
  },
@@ -7677,7 +7681,6 @@ export const state = {
7677
7681
  "type": "boolean"
7678
7682
  },
7679
7683
  "handle": {
7680
- "default": "",
7681
7684
  "type": "string"
7682
7685
  }
7683
7686
  },
@@ -7854,7 +7857,6 @@ export const state = {
7854
7857
  "type": "boolean"
7855
7858
  },
7856
7859
  "handle": {
7857
- "default": "",
7858
7860
  "type": "string"
7859
7861
  }
7860
7862
  },
@@ -14410,6 +14412,39 @@ export const state = {
14410
14412
  "createdAt",
14411
14413
  "updatedAt"
14412
14414
  ]
14415
+ },
14416
+ "context": {
14417
+ "type": "array",
14418
+ "items": {
14419
+ "type": "object",
14420
+ "properties": {
14421
+ "id": {
14422
+ "type": "string",
14423
+ "format": "uuid"
14424
+ },
14425
+ "text": {
14426
+ "type": "string"
14427
+ },
14428
+ "offset": {
14429
+ "type": "integer",
14430
+ "description": "Position of the context passage relative to the current passage. Negative for preceding passages, positive for subsequent, ommited for breadcrumbs."
14431
+ },
14432
+ "type": {
14433
+ "type": "string",
14434
+ "enum": [
14435
+ "preceding",
14436
+ "subsequent",
14437
+ "breadcrumb"
14438
+ ],
14439
+ "description": "The type of context passage"
14440
+ }
14441
+ },
14442
+ "required": [
14443
+ "id",
14444
+ "text",
14445
+ "type"
14446
+ ]
14447
+ }
14413
14448
  }
14414
14449
  },
14415
14450
  "required": [
@@ -16051,7 +16086,7 @@ export const state = {
16051
16086
  "title": "Botpress API",
16052
16087
  "description": "API for Botpress Cloud",
16053
16088
  "server": "https://api.botpress.cloud",
16054
- "version": "1.2.0",
16089
+ "version": "1.3.1",
16055
16090
  "prefix": "v1"
16056
16091
  },
16057
16092
  "errors": [
@@ -18239,7 +18274,6 @@ export const state = {
18239
18274
  "type": "boolean"
18240
18275
  },
18241
18276
  "handle": {
18242
- "default": "",
18243
18277
  "type": "string"
18244
18278
  }
18245
18279
  },