@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 +19 -13
- package/dist/src/gen/state.d.ts +7 -1
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +19 -13
package/src/gen/state.ts
CHANGED
|
@@ -267,6 +267,9 @@ export const state = {
|
|
|
267
267
|
schema: {
|
|
268
268
|
type: "object",
|
|
269
269
|
properties: {
|
|
270
|
+
currentTaskId: {
|
|
271
|
+
type: "string",
|
|
272
|
+
},
|
|
270
273
|
tags: {
|
|
271
274
|
type: "object",
|
|
272
275
|
additionalProperties: {
|
|
@@ -275,7 +278,6 @@ export const state = {
|
|
|
275
278
|
description: "Tags for the [Conversation](#schema_conversation)",
|
|
276
279
|
},
|
|
277
280
|
},
|
|
278
|
-
required: ["tags"],
|
|
279
281
|
title: "updateConversationBody",
|
|
280
282
|
additionalProperties: false,
|
|
281
283
|
},
|
|
@@ -1305,7 +1307,7 @@ export const state = {
|
|
|
1305
1307
|
in: "path",
|
|
1306
1308
|
type: "string",
|
|
1307
1309
|
description: "State type",
|
|
1308
|
-
enum: ["conversation", "user", "bot", "integration"],
|
|
1310
|
+
enum: ["conversation", "user", "bot", "integration", "task"],
|
|
1309
1311
|
},
|
|
1310
1312
|
id: {
|
|
1311
1313
|
in: "path",
|
|
@@ -1346,7 +1348,7 @@ export const state = {
|
|
|
1346
1348
|
in: "path",
|
|
1347
1349
|
type: "string",
|
|
1348
1350
|
description: "State type",
|
|
1349
|
-
enum: ["conversation", "user", "bot", "integration"],
|
|
1351
|
+
enum: ["conversation", "user", "bot", "integration", "task"],
|
|
1350
1352
|
},
|
|
1351
1353
|
id: {
|
|
1352
1354
|
in: "path",
|
|
@@ -1412,7 +1414,7 @@ export const state = {
|
|
|
1412
1414
|
in: "path",
|
|
1413
1415
|
type: "string",
|
|
1414
1416
|
description: "State type",
|
|
1415
|
-
enum: ["conversation", "user", "bot", "integration"],
|
|
1417
|
+
enum: ["conversation", "user", "bot", "integration", "task"],
|
|
1416
1418
|
},
|
|
1417
1419
|
id: {
|
|
1418
1420
|
in: "path",
|
|
@@ -2329,9 +2331,9 @@ export const state = {
|
|
|
2329
2331
|
properties: {
|
|
2330
2332
|
type: {
|
|
2331
2333
|
type: "string",
|
|
2332
|
-
enum: ["conversation", "user", "bot"],
|
|
2334
|
+
enum: ["conversation", "user", "bot", "task"],
|
|
2333
2335
|
description:
|
|
2334
|
-
"Type of the [State](#schema_state) (`conversation`, `user` or `
|
|
2336
|
+
"Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)",
|
|
2335
2337
|
},
|
|
2336
2338
|
schema: {
|
|
2337
2339
|
type: "object",
|
|
@@ -2756,9 +2758,9 @@ export const state = {
|
|
|
2756
2758
|
properties: {
|
|
2757
2759
|
type: {
|
|
2758
2760
|
type: "string",
|
|
2759
|
-
enum: ["conversation", "user", "bot"],
|
|
2761
|
+
enum: ["conversation", "user", "bot", "task"],
|
|
2760
2762
|
description:
|
|
2761
|
-
"Type of the [State](#schema_state) (`conversation`, `user` or `
|
|
2763
|
+
"Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)",
|
|
2762
2764
|
},
|
|
2763
2765
|
schema: {
|
|
2764
2766
|
type: "object",
|
|
@@ -6631,7 +6633,7 @@ export const state = {
|
|
|
6631
6633
|
title: "Botpress API",
|
|
6632
6634
|
description: "API for Botpress Cloud",
|
|
6633
6635
|
server: "https://api.botpress.cloud",
|
|
6634
|
-
version: "0.16.
|
|
6636
|
+
version: "0.16.4",
|
|
6635
6637
|
prefix: "v1",
|
|
6636
6638
|
},
|
|
6637
6639
|
errors: [
|
|
@@ -7143,9 +7145,9 @@ export const state = {
|
|
|
7143
7145
|
properties: {
|
|
7144
7146
|
type: {
|
|
7145
7147
|
type: "string",
|
|
7146
|
-
enum: ["conversation", "user", "bot"],
|
|
7148
|
+
enum: ["conversation", "user", "bot", "task"],
|
|
7147
7149
|
description:
|
|
7148
|
-
"Type of the [State](#schema_state) (`conversation`, `user` or `
|
|
7150
|
+
"Type of the [State](#schema_state) (`conversation`, `user`, `bot` or `task`)",
|
|
7149
7151
|
},
|
|
7150
7152
|
schema: {
|
|
7151
7153
|
type: "object",
|
|
@@ -8389,9 +8391,9 @@ export const state = {
|
|
|
8389
8391
|
},
|
|
8390
8392
|
type: {
|
|
8391
8393
|
type: "string",
|
|
8392
|
-
enum: ["conversation", "user", "bot", "integration"],
|
|
8394
|
+
enum: ["conversation", "user", "bot", "task", "integration"],
|
|
8393
8395
|
description:
|
|
8394
|
-
"Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot` or `integration`) that the state is related to",
|
|
8396
|
+
"Type of the [State](#schema_state) represents the resource type (`conversation`, `user`, `bot`, `task` or `integration`) that the state is related to",
|
|
8395
8397
|
},
|
|
8396
8398
|
payload: {
|
|
8397
8399
|
type: "object",
|
|
@@ -8620,6 +8622,10 @@ export const state = {
|
|
|
8620
8622
|
index: {
|
|
8621
8623
|
type: "integer",
|
|
8622
8624
|
},
|
|
8625
|
+
id: {
|
|
8626
|
+
type: "string",
|
|
8627
|
+
description: "[deprecated] ID of the column.",
|
|
8628
|
+
},
|
|
8623
8629
|
searchable: {
|
|
8624
8630
|
type: "boolean",
|
|
8625
8631
|
description:
|