@botpress/api 0.38.2 → 0.39.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.
package/src/gen/state.ts CHANGED
@@ -9470,7 +9470,7 @@ export const state = {
9470
9470
  "expiresAt": {
9471
9471
  "type": "string",
9472
9472
  "format": "date-time",
9473
- "description": "Expiry timestamp in ISO 8601 format with UTC timezone. After expiry, the File will be deleted. Must be in the future. Cannot be more than 30 days from now. The value up to minutes is considered. Seconds and milliseconds are ignored."
9473
+ "description": "Expiry timestamp in ISO 8601 format with UTC timezone. After expiry, the File will be deleted. Must be in the future. Cannot be more than 90 days from now. The value up to minutes is considered. Seconds and milliseconds are ignored."
9474
9474
  }
9475
9475
  },
9476
9476
  "required": [
@@ -9932,7 +9932,7 @@ export const state = {
9932
9932
  "expiresAt": {
9933
9933
  "type": "string",
9934
9934
  "format": "date-time",
9935
- "description": "Expiry timestamp in ISO 8601 format with UTC timezone. After expiry, the File will be deleted. Must be in the future. Cannot be more than 30 days from now. The value up to minutes is considered. Seconds and milliseconds are ignored. Omit to keep the existing expiry intact. Set to `null` to remove the expiry.",
9935
+ "description": "Expiry timestamp in ISO 8601 format with UTC timezone. After expiry, the File will be deleted. Must be in the future. Cannot be more than 90 days from now. The value up to minutes is considered. Seconds and milliseconds are ignored. Omit to keep the existing expiry intact. Set to `null` to remove the expiry.",
9936
9936
  "nullable": true
9937
9937
  }
9938
9938
  },
@@ -10083,6 +10083,11 @@ export const state = {
10083
10083
  "in": "query",
10084
10084
  "type": "integer",
10085
10085
  "description": "The maximum number of passages to return."
10086
+ },
10087
+ "includeBreadcrumb": {
10088
+ "in": "query",
10089
+ "type": "boolean",
10090
+ "description": "Prepend a breadcrumb to each passage, containing the title and subtitle(s) the passage belongs to in the file."
10086
10091
  }
10087
10092
  },
10088
10093
  "response": {
@@ -11200,7 +11205,7 @@ export const state = {
11200
11205
  "title": "Botpress API",
11201
11206
  "description": "API for Botpress Cloud",
11202
11207
  "server": "https://api.botpress.cloud",
11203
- "version": "0.38.2",
11208
+ "version": "0.39.0",
11204
11209
  "prefix": "v1"
11205
11210
  },
11206
11211
  "errors": [
@@ -13663,6 +13668,7 @@ export const state = {
13663
13668
  "type": "string",
13664
13669
  "enum": [
13665
13670
  "ai",
13671
+ "code",
13666
13672
  "workflow"
13667
13673
  ]
13668
13674
  },
@@ -13677,6 +13683,10 @@ export const state = {
13677
13683
  "type": "string",
13678
13684
  "description": "Prompt when action is \"ai\""
13679
13685
  },
13686
+ "code": {
13687
+ "type": "string",
13688
+ "description": "Code to execute when action is \"code\""
13689
+ },
13680
13690
  "model": {
13681
13691
  "default": "gpt-4o",
13682
13692
  "type": "string",
@@ -13820,6 +13830,7 @@ export const state = {
13820
13830
  "type": "string",
13821
13831
  "enum": [
13822
13832
  "ai",
13833
+ "code",
13823
13834
  "workflow"
13824
13835
  ]
13825
13836
  },
@@ -13834,6 +13845,10 @@ export const state = {
13834
13845
  "type": "string",
13835
13846
  "description": "Prompt when action is \"ai\""
13836
13847
  },
13848
+ "code": {
13849
+ "type": "string",
13850
+ "description": "Code to execute when action is \"code\""
13851
+ },
13837
13852
  "model": {
13838
13853
  "default": "gpt-4o",
13839
13854
  "type": "string",