@botpress/api 0.34.2 → 0.35.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.
package/dist/index.js CHANGED
@@ -274905,7 +274905,9 @@ var state = {
274905
274905
  "subtitle",
274906
274906
  "paragraph",
274907
274907
  "list",
274908
- "note"
274908
+ "blockquote",
274909
+ "table",
274910
+ "code"
274909
274911
  ],
274910
274912
  "description": "The subtype of passage, if any."
274911
274913
  },
@@ -275866,7 +275868,7 @@ var state = {
275866
275868
  "title": "Botpress API",
275867
275869
  "description": "API for Botpress Cloud",
275868
275870
  "server": "https://api.botpress.cloud",
275869
- "version": "0.34.2",
275871
+ "version": "0.35.1",
275870
275872
  "prefix": "v1"
275871
275873
  },
275872
275874
  "errors": [
@@ -278321,21 +278323,12 @@ var state = {
278321
278323
  "model": {
278322
278324
  "default": "gpt-4o",
278323
278325
  "type": "string",
278324
- "enum": [
278325
- "gpt-3.5-turbo",
278326
- "gpt-3.5-turbo-0125",
278327
- "gpt-3.5-turbo-1106",
278328
- "gpt-3.5-turbo-16k",
278329
- "gpt-4o",
278330
- "gpt-4",
278331
- "gpt-4-turbo",
278332
- "gpt-4-0125-preview",
278333
- "gpt-4-1106-preview"
278334
- ],
278326
+ "maxLength": 80,
278335
278327
  "description": 'Model to use when action is "ai"'
278336
278328
  },
278337
278329
  "workflowId": {
278338
278330
  "type": "string",
278331
+ "maxLength": 20,
278339
278332
  "description": 'ID of Workflow to execute when action is "workflow"'
278340
278333
  },
278341
278334
  "enabled": {
@@ -278487,21 +278480,12 @@ var state = {
278487
278480
  "model": {
278488
278481
  "default": "gpt-4o",
278489
278482
  "type": "string",
278490
- "enum": [
278491
- "gpt-3.5-turbo",
278492
- "gpt-3.5-turbo-0125",
278493
- "gpt-3.5-turbo-1106",
278494
- "gpt-3.5-turbo-16k",
278495
- "gpt-4o",
278496
- "gpt-4",
278497
- "gpt-4-turbo",
278498
- "gpt-4-0125-preview",
278499
- "gpt-4-1106-preview"
278500
- ],
278483
+ "maxLength": 80,
278501
278484
  "description": 'Model to use when action is "ai"'
278502
278485
  },
278503
278486
  "workflowId": {
278504
278487
  "type": "string",
278488
+ "maxLength": 20,
278505
278489
  "description": 'ID of Workflow to execute when action is "workflow"'
278506
278490
  },
278507
278491
  "enabled": {
@@ -11673,11 +11673,12 @@ export declare const state: {
11673
11673
  model: {
11674
11674
  default: string;
11675
11675
  type: "string";
11676
- enum: string[];
11676
+ maxLength: number;
11677
11677
  description: string;
11678
11678
  };
11679
11679
  workflowId: {
11680
11680
  type: "string";
11681
+ maxLength: number;
11681
11682
  description: string;
11682
11683
  };
11683
11684
  enabled: {
@@ -11800,11 +11801,12 @@ export declare const state: {
11800
11801
  model: {
11801
11802
  default: string;
11802
11803
  type: "string";
11803
- enum: string[];
11804
+ maxLength: number;
11804
11805
  description: string;
11805
11806
  };
11806
11807
  workflowId: {
11807
11808
  type: "string";
11809
+ maxLength: number;
11808
11810
  description: string;
11809
11811
  };
11810
11812
  enabled: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.34.2",
3
+ "version": "0.35.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {