@botpress/api 0.35.0 → 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
@@ -275868,7 +275868,7 @@ var state = {
275868
275868
  "title": "Botpress API",
275869
275869
  "description": "API for Botpress Cloud",
275870
275870
  "server": "https://api.botpress.cloud",
275871
- "version": "0.35.0",
275871
+ "version": "0.35.1",
275872
275872
  "prefix": "v1"
275873
275873
  },
275874
275874
  "errors": [
@@ -278323,21 +278323,12 @@ var state = {
278323
278323
  "model": {
278324
278324
  "default": "gpt-4o",
278325
278325
  "type": "string",
278326
- "enum": [
278327
- "gpt-3.5-turbo",
278328
- "gpt-3.5-turbo-0125",
278329
- "gpt-3.5-turbo-1106",
278330
- "gpt-3.5-turbo-16k",
278331
- "gpt-4o",
278332
- "gpt-4",
278333
- "gpt-4-turbo",
278334
- "gpt-4-0125-preview",
278335
- "gpt-4-1106-preview"
278336
- ],
278326
+ "maxLength": 80,
278337
278327
  "description": 'Model to use when action is "ai"'
278338
278328
  },
278339
278329
  "workflowId": {
278340
278330
  "type": "string",
278331
+ "maxLength": 20,
278341
278332
  "description": 'ID of Workflow to execute when action is "workflow"'
278342
278333
  },
278343
278334
  "enabled": {
@@ -278489,21 +278480,12 @@ var state = {
278489
278480
  "model": {
278490
278481
  "default": "gpt-4o",
278491
278482
  "type": "string",
278492
- "enum": [
278493
- "gpt-3.5-turbo",
278494
- "gpt-3.5-turbo-0125",
278495
- "gpt-3.5-turbo-1106",
278496
- "gpt-3.5-turbo-16k",
278497
- "gpt-4o",
278498
- "gpt-4",
278499
- "gpt-4-turbo",
278500
- "gpt-4-0125-preview",
278501
- "gpt-4-1106-preview"
278502
- ],
278483
+ "maxLength": 80,
278503
278484
  "description": 'Model to use when action is "ai"'
278504
278485
  },
278505
278486
  "workflowId": {
278506
278487
  "type": "string",
278488
+ "maxLength": 20,
278507
278489
  "description": 'ID of Workflow to execute when action is "workflow"'
278508
278490
  },
278509
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.35.0",
3
+ "version": "0.35.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {