@botpress/api 0.16.3 → 0.16.4

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
@@ -427103,6 +427103,9 @@ var state = {
427103
427103
  schema: {
427104
427104
  type: "object",
427105
427105
  properties: {
427106
+ currentTaskId: {
427107
+ type: "string"
427108
+ },
427106
427109
  tags: {
427107
427110
  type: "object",
427108
427111
  additionalProperties: {
@@ -427111,7 +427114,6 @@ var state = {
427111
427114
  description: "Tags for the [Conversation](#schema_conversation)"
427112
427115
  }
427113
427116
  },
427114
- required: ["tags"],
427115
427117
  title: "updateConversationBody",
427116
427118
  additionalProperties: false
427117
427119
  }
@@ -428076,7 +428078,7 @@ var state = {
428076
428078
  in: "path",
428077
428079
  type: "string",
428078
428080
  description: "State type",
428079
- enum: ["conversation", "user", "bot", "integration"]
428081
+ enum: ["conversation", "user", "bot", "integration", "task"]
428080
428082
  },
428081
428083
  id: {
428082
428084
  in: "path",
@@ -428115,7 +428117,7 @@ var state = {
428115
428117
  in: "path",
428116
428118
  type: "string",
428117
428119
  description: "State type",
428118
- enum: ["conversation", "user", "bot", "integration"]
428120
+ enum: ["conversation", "user", "bot", "integration", "task"]
428119
428121
  },
428120
428122
  id: {
428121
428123
  in: "path",
@@ -428177,7 +428179,7 @@ var state = {
428177
428179
  in: "path",
428178
428180
  type: "string",
428179
428181
  description: "State type",
428180
- enum: ["conversation", "user", "bot", "integration"]
428182
+ enum: ["conversation", "user", "bot", "integration", "task"]
428181
428183
  },
428182
428184
  id: {
428183
428185
  in: "path",
@@ -429060,8 +429062,8 @@ var state = {
429060
429062
  properties: {
429061
429063
  type: {
429062
429064
  type: "string",
429063
- enum: ["conversation", "user", "bot"],
429064
- description: "Type of the [State](#schema_state) (`conversation`, `user` or `bot`)"
429065
+ enum: ["conversation", "user", "bot", "task"],
429066
+ description: "Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)"
429065
429067
  },
429066
429068
  schema: {
429067
429069
  type: "object",
@@ -429467,8 +429469,8 @@ var state = {
429467
429469
  properties: {
429468
429470
  type: {
429469
429471
  type: "string",
429470
- enum: ["conversation", "user", "bot"],
429471
- description: "Type of the [State](#schema_state) (`conversation`, `user` or `bot`)"
429472
+ enum: ["conversation", "user", "bot", "task"],
429473
+ description: "Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)"
429472
429474
  },
429473
429475
  schema: {
429474
429476
  type: "object",
@@ -433256,7 +433258,7 @@ var state = {
433256
433258
  title: "Botpress API",
433257
433259
  description: "API for Botpress Cloud",
433258
433260
  server: "https://api.botpress.cloud",
433259
- version: "0.16.3",
433261
+ version: "0.16.4",
433260
433262
  prefix: "v1"
433261
433263
  },
433262
433264
  errors: [
@@ -433749,8 +433751,8 @@ var state = {
433749
433751
  properties: {
433750
433752
  type: {
433751
433753
  type: "string",
433752
- enum: ["conversation", "user", "bot"],
433753
- description: "Type of the [State](#schema_state) (`conversation`, `user` or `bot`)"
433754
+ enum: ["conversation", "user", "bot", "task"],
433755
+ description: "Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)"
433754
433756
  },
433755
433757
  schema: {
433756
433758
  type: "object",
@@ -434941,8 +434943,8 @@ var state = {
434941
434943
  },
434942
434944
  type: {
434943
434945
  type: "string",
434944
- enum: ["conversation", "user", "bot", "integration"],
434945
- description: "Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot` or `integration`) that the state is related to"
434946
+ enum: ["conversation", "user", "bot", "task", "integration"],
434947
+ description: "Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `task` or `integration`) that the state is related to"
434946
434948
  },
434947
434949
  payload: {
434948
434950
  type: "object",
@@ -435161,6 +435163,10 @@ var state = {
435161
435163
  index: {
435162
435164
  type: "integer"
435163
435165
  },
435166
+ id: {
435167
+ type: "string",
435168
+ description: "[deprecated] ID of the column."
435169
+ },
435164
435170
  searchable: {
435165
435171
  type: "boolean",
435166
435172
  description: "Indicates if the column is vectorized and searchable."
@@ -209,6 +209,9 @@ export declare const state: {
209
209
  schema: {
210
210
  type: "object";
211
211
  properties: {
212
+ currentTaskId: {
213
+ type: "string";
214
+ };
212
215
  tags: {
213
216
  type: "object";
214
217
  additionalProperties: {
@@ -217,7 +220,6 @@ export declare const state: {
217
220
  description: string;
218
221
  };
219
222
  };
220
- required: string[];
221
223
  title: string;
222
224
  additionalProperties: false;
223
225
  };
@@ -7712,6 +7714,10 @@ export declare const state: {
7712
7714
  index: {
7713
7715
  type: "integer";
7714
7716
  };
7717
+ id: {
7718
+ type: "string";
7719
+ description: string;
7720
+ };
7715
7721
  searchable: {
7716
7722
  type: "boolean";
7717
7723
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.16.3",
3
+ "version": "0.16.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {