@botpress/api 0.33.0 → 0.33.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
@@ -275798,7 +275798,7 @@ var state = {
275798
275798
  "title": "Botpress API",
275799
275799
  "description": "API for Botpress Cloud",
275800
275800
  "server": "https://api.botpress.cloud",
275801
- "version": "0.33.0",
275801
+ "version": "0.33.1",
275802
275802
  "prefix": "v1"
275803
275803
  },
275804
275804
  "errors": [
@@ -278236,7 +278236,7 @@ var state = {
278236
278236
  "type": "string",
278237
278237
  "enum": [
278238
278238
  "ai",
278239
- "code"
278239
+ "workflow"
278240
278240
  ]
278241
278241
  },
278242
278242
  "dependencies": {
@@ -278266,9 +278266,9 @@ var state = {
278266
278266
  ],
278267
278267
  "description": 'Model to use when action is "ai"'
278268
278268
  },
278269
- "code": {
278269
+ "workflowId": {
278270
278270
  "type": "string",
278271
- "description": 'Code to execute when action is "code"'
278271
+ "description": 'ID of Workflow to execute when action is "workflow"'
278272
278272
  },
278273
278273
  "enabled": {
278274
278274
  "type": "boolean"
@@ -278402,7 +278402,7 @@ var state = {
278402
278402
  "type": "string",
278403
278403
  "enum": [
278404
278404
  "ai",
278405
- "code"
278405
+ "workflow"
278406
278406
  ]
278407
278407
  },
278408
278408
  "dependencies": {
@@ -278432,9 +278432,9 @@ var state = {
278432
278432
  ],
278433
278433
  "description": 'Model to use when action is "ai"'
278434
278434
  },
278435
- "code": {
278435
+ "workflowId": {
278436
278436
  "type": "string",
278437
- "description": 'Code to execute when action is "code"'
278437
+ "description": 'ID of Workflow to execute when action is "workflow"'
278438
278438
  },
278439
278439
  "enabled": {
278440
278440
  "type": "boolean"
@@ -11626,7 +11626,7 @@ export declare const state: {
11626
11626
  enum: string[];
11627
11627
  description: string;
11628
11628
  };
11629
- code: {
11629
+ workflowId: {
11630
11630
  type: "string";
11631
11631
  description: string;
11632
11632
  };
@@ -11753,7 +11753,7 @@ export declare const state: {
11753
11753
  enum: string[];
11754
11754
  description: string;
11755
11755
  };
11756
- code: {
11756
+ workflowId: {
11757
11757
  type: "string";
11758
11758
  description: string;
11759
11759
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.33.0",
3
+ "version": "0.33.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {