@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/dist/index.js CHANGED
@@ -292050,7 +292050,7 @@ var state = {
292050
292050
  "expiresAt": {
292051
292051
  "type": "string",
292052
292052
  "format": "date-time",
292053
- "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."
292053
+ "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."
292054
292054
  }
292055
292055
  },
292056
292056
  "required": [
@@ -292512,7 +292512,7 @@ var state = {
292512
292512
  "expiresAt": {
292513
292513
  "type": "string",
292514
292514
  "format": "date-time",
292515
- "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.",
292515
+ "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.",
292516
292516
  "nullable": true
292517
292517
  }
292518
292518
  },
@@ -292663,6 +292663,11 @@ var state = {
292663
292663
  "in": "query",
292664
292664
  "type": "integer",
292665
292665
  "description": "The maximum number of passages to return."
292666
+ },
292667
+ "includeBreadcrumb": {
292668
+ "in": "query",
292669
+ "type": "boolean",
292670
+ "description": "Prepend a breadcrumb to each passage, containing the title and subtitle(s) the passage belongs to in the file."
292666
292671
  }
292667
292672
  },
292668
292673
  "response": {
@@ -293780,7 +293785,7 @@ var state = {
293780
293785
  "title": "Botpress API",
293781
293786
  "description": "API for Botpress Cloud",
293782
293787
  "server": "https://api.botpress.cloud",
293783
- "version": "0.38.2",
293788
+ "version": "0.39.0",
293784
293789
  "prefix": "v1"
293785
293790
  },
293786
293791
  "errors": [
@@ -296243,6 +296248,7 @@ var state = {
296243
296248
  "type": "string",
296244
296249
  "enum": [
296245
296250
  "ai",
296251
+ "code",
296246
296252
  "workflow"
296247
296253
  ]
296248
296254
  },
@@ -296257,6 +296263,10 @@ var state = {
296257
296263
  "type": "string",
296258
296264
  "description": 'Prompt when action is "ai"'
296259
296265
  },
296266
+ "code": {
296267
+ "type": "string",
296268
+ "description": 'Code to execute when action is "code"'
296269
+ },
296260
296270
  "model": {
296261
296271
  "default": "gpt-4o",
296262
296272
  "type": "string",
@@ -296400,6 +296410,7 @@ var state = {
296400
296410
  "type": "string",
296401
296411
  "enum": [
296402
296412
  "ai",
296413
+ "code",
296403
296414
  "workflow"
296404
296415
  ]
296405
296416
  },
@@ -296414,6 +296425,10 @@ var state = {
296414
296425
  "type": "string",
296415
296426
  "description": 'Prompt when action is "ai"'
296416
296427
  },
296428
+ "code": {
296429
+ "type": "string",
296430
+ "description": 'Code to execute when action is "code"'
296431
+ },
296417
296432
  "model": {
296418
296433
  "default": "gpt-4o",
296419
296434
  "type": "string",
@@ -8826,6 +8826,11 @@ export declare const state: {
8826
8826
  type: "integer";
8827
8827
  description: string;
8828
8828
  };
8829
+ includeBreadcrumb: {
8830
+ in: "query";
8831
+ type: "boolean";
8832
+ description: string;
8833
+ };
8829
8834
  };
8830
8835
  response: {
8831
8836
  description: string;
@@ -11870,6 +11875,10 @@ export declare const state: {
11870
11875
  type: "string";
11871
11876
  description: string;
11872
11877
  };
11878
+ code: {
11879
+ type: "string";
11880
+ description: string;
11881
+ };
11873
11882
  model: {
11874
11883
  default: string;
11875
11884
  type: "string";
@@ -11998,6 +12007,10 @@ export declare const state: {
11998
12007
  type: "string";
11999
12008
  description: string;
12000
12009
  };
12010
+ code: {
12011
+ type: "string";
12012
+ description: string;
12013
+ };
12001
12014
  model: {
12002
12015
  default: string;
12003
12016
  type: "string";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.38.2",
3
+ "version": "0.39.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {