@botpress/api 0.15.4 → 0.15.6
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/gen/state.d.ts +17 -0
- package/dist/index.js +40 -13
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +30 -1
package/src/gen/state.ts
CHANGED
|
@@ -34,6 +34,7 @@ export const state = {
|
|
|
34
34
|
maxLength: 200,
|
|
35
35
|
description:
|
|
36
36
|
"[DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.",
|
|
37
|
+
deprecated: true,
|
|
37
38
|
},
|
|
38
39
|
},
|
|
39
40
|
required: ["channel", "tags"],
|
|
@@ -181,6 +182,7 @@ export const state = {
|
|
|
181
182
|
maxLength: 200,
|
|
182
183
|
description:
|
|
183
184
|
"[DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.",
|
|
185
|
+
deprecated: true,
|
|
184
186
|
},
|
|
185
187
|
},
|
|
186
188
|
required: ["channel", "tags"],
|
|
@@ -981,6 +983,7 @@ export const state = {
|
|
|
981
983
|
maxLength: 200,
|
|
982
984
|
description:
|
|
983
985
|
"[DEPRECATED] To create a user from within a bot, call an action of the integration instead.",
|
|
986
|
+
deprecated: true,
|
|
984
987
|
},
|
|
985
988
|
name: {
|
|
986
989
|
type: "string",
|
|
@@ -1132,6 +1135,7 @@ export const state = {
|
|
|
1132
1135
|
maxLength: 200,
|
|
1133
1136
|
description:
|
|
1134
1137
|
"[DEPRECATED] To create a user from within a bot, call an action of the integration instead.",
|
|
1138
|
+
deprecated: true,
|
|
1135
1139
|
},
|
|
1136
1140
|
name: {
|
|
1137
1141
|
type: "string",
|
|
@@ -2363,6 +2367,11 @@ export const state = {
|
|
|
2363
2367
|
},
|
|
2364
2368
|
description: "Media files associated with the [Bot](#schema_bot)",
|
|
2365
2369
|
},
|
|
2370
|
+
alwaysAlive: {
|
|
2371
|
+
type: "boolean",
|
|
2372
|
+
description:
|
|
2373
|
+
"Indicates if the [Bot](#schema_bot) should be executed in accelerated mode",
|
|
2374
|
+
},
|
|
2366
2375
|
},
|
|
2367
2376
|
title: "updateBotBody",
|
|
2368
2377
|
additionalProperties: false,
|
|
@@ -3490,6 +3499,7 @@ export const state = {
|
|
|
3490
3499
|
"ai_spend",
|
|
3491
3500
|
"openai_spend",
|
|
3492
3501
|
"bing_search_spend",
|
|
3502
|
+
"always_alive",
|
|
3493
3503
|
],
|
|
3494
3504
|
required: true,
|
|
3495
3505
|
},
|
|
@@ -3550,6 +3560,7 @@ export const state = {
|
|
|
3550
3560
|
"ai_spend",
|
|
3551
3561
|
"openai_spend",
|
|
3552
3562
|
"bing_search_spend",
|
|
3563
|
+
"always_alive",
|
|
3553
3564
|
],
|
|
3554
3565
|
required: true,
|
|
3555
3566
|
},
|
|
@@ -3619,6 +3630,7 @@ export const state = {
|
|
|
3619
3630
|
"ai_spend",
|
|
3620
3631
|
"openai_spend",
|
|
3621
3632
|
"bing_search_spend",
|
|
3633
|
+
"always_alive",
|
|
3622
3634
|
],
|
|
3623
3635
|
required: true,
|
|
3624
3636
|
},
|
|
@@ -3660,6 +3672,7 @@ export const state = {
|
|
|
3660
3672
|
"ai_spend",
|
|
3661
3673
|
"openai_spend",
|
|
3662
3674
|
"bing_search_spend",
|
|
3675
|
+
"always_alive",
|
|
3663
3676
|
],
|
|
3664
3677
|
description: "Usage type that can be used",
|
|
3665
3678
|
},
|
|
@@ -3729,6 +3742,7 @@ export const state = {
|
|
|
3729
3742
|
"ai_spend",
|
|
3730
3743
|
"openai_spend",
|
|
3731
3744
|
"bing_search_spend",
|
|
3745
|
+
"always_alive",
|
|
3732
3746
|
],
|
|
3733
3747
|
description: "Usage type that can be used",
|
|
3734
3748
|
},
|
|
@@ -5421,6 +5435,7 @@ export const state = {
|
|
|
5421
5435
|
"ai_spend",
|
|
5422
5436
|
"openai_spend",
|
|
5423
5437
|
"bing_search_spend",
|
|
5438
|
+
"always_alive",
|
|
5424
5439
|
],
|
|
5425
5440
|
required: true,
|
|
5426
5441
|
},
|
|
@@ -5475,6 +5490,7 @@ export const state = {
|
|
|
5475
5490
|
"ai_spend",
|
|
5476
5491
|
"openai_spend",
|
|
5477
5492
|
"bing_search_spend",
|
|
5493
|
+
"always_alive",
|
|
5478
5494
|
],
|
|
5479
5495
|
required: true,
|
|
5480
5496
|
},
|
|
@@ -5754,7 +5770,7 @@ export const state = {
|
|
|
5754
5770
|
title: "Botpress API",
|
|
5755
5771
|
description: "API for Botpress Cloud",
|
|
5756
5772
|
server: "https://api.botpress.cloud",
|
|
5757
|
-
version: "0.15.
|
|
5773
|
+
version: "0.15.6",
|
|
5758
5774
|
prefix: "v1",
|
|
5759
5775
|
},
|
|
5760
5776
|
errors: [
|
|
@@ -6368,6 +6384,16 @@ export const state = {
|
|
|
6368
6384
|
type: "string",
|
|
6369
6385
|
description: "Id of the user that created the bot",
|
|
6370
6386
|
},
|
|
6387
|
+
alwaysAlive: {
|
|
6388
|
+
type: "boolean",
|
|
6389
|
+
description:
|
|
6390
|
+
"Indicates if the [Bot](#schema_bot) should be executed in accelerated mode",
|
|
6391
|
+
},
|
|
6392
|
+
status: {
|
|
6393
|
+
type: "string",
|
|
6394
|
+
enum: ["active", "deploying"],
|
|
6395
|
+
description: "Status of the bot",
|
|
6396
|
+
},
|
|
6371
6397
|
medias: {
|
|
6372
6398
|
type: "array",
|
|
6373
6399
|
items: {
|
|
@@ -6402,6 +6428,8 @@ export const state = {
|
|
|
6402
6428
|
"recurringEvents",
|
|
6403
6429
|
"name",
|
|
6404
6430
|
"dev",
|
|
6431
|
+
"alwaysAlive",
|
|
6432
|
+
"status",
|
|
6405
6433
|
"medias",
|
|
6406
6434
|
],
|
|
6407
6435
|
additionalProperties: false,
|
|
@@ -6948,6 +6976,7 @@ export const state = {
|
|
|
6948
6976
|
"ai_spend",
|
|
6949
6977
|
"openai_spend",
|
|
6950
6978
|
"bing_search_spend",
|
|
6979
|
+
"always_alive",
|
|
6951
6980
|
],
|
|
6952
6981
|
description: "Usage type that can be used",
|
|
6953
6982
|
},
|