@botpress/api 0.15.8 → 0.15.9
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 +13 -0
- package/dist/index.js +34 -10
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +27 -1
package/src/gen/state.ts
CHANGED
|
@@ -2445,6 +2445,11 @@ export const state = {
|
|
|
2445
2445
|
},
|
|
2446
2446
|
description: "Media files associated with the [Bot](#schema_bot)",
|
|
2447
2447
|
},
|
|
2448
|
+
alwaysAlive: {
|
|
2449
|
+
type: "boolean",
|
|
2450
|
+
description:
|
|
2451
|
+
"Indicates if the [Bot](#schema_bot) should be in always alive mode",
|
|
2452
|
+
},
|
|
2448
2453
|
},
|
|
2449
2454
|
title: "updateBotBody",
|
|
2450
2455
|
additionalProperties: false,
|
|
@@ -3572,6 +3577,7 @@ export const state = {
|
|
|
3572
3577
|
"ai_spend",
|
|
3573
3578
|
"openai_spend",
|
|
3574
3579
|
"bing_search_spend",
|
|
3580
|
+
"always_alive",
|
|
3575
3581
|
],
|
|
3576
3582
|
required: true,
|
|
3577
3583
|
},
|
|
@@ -3632,6 +3638,7 @@ export const state = {
|
|
|
3632
3638
|
"ai_spend",
|
|
3633
3639
|
"openai_spend",
|
|
3634
3640
|
"bing_search_spend",
|
|
3641
|
+
"always_alive",
|
|
3635
3642
|
],
|
|
3636
3643
|
required: true,
|
|
3637
3644
|
},
|
|
@@ -3701,6 +3708,7 @@ export const state = {
|
|
|
3701
3708
|
"ai_spend",
|
|
3702
3709
|
"openai_spend",
|
|
3703
3710
|
"bing_search_spend",
|
|
3711
|
+
"always_alive",
|
|
3704
3712
|
],
|
|
3705
3713
|
},
|
|
3706
3714
|
completion: {
|
|
@@ -3747,6 +3755,7 @@ export const state = {
|
|
|
3747
3755
|
"ai_spend",
|
|
3748
3756
|
"openai_spend",
|
|
3749
3757
|
"bing_search_spend",
|
|
3758
|
+
"always_alive",
|
|
3750
3759
|
],
|
|
3751
3760
|
required: true,
|
|
3752
3761
|
},
|
|
@@ -3788,6 +3797,7 @@ export const state = {
|
|
|
3788
3797
|
"ai_spend",
|
|
3789
3798
|
"openai_spend",
|
|
3790
3799
|
"bing_search_spend",
|
|
3800
|
+
"always_alive",
|
|
3791
3801
|
],
|
|
3792
3802
|
description: "Usage type that can be used",
|
|
3793
3803
|
},
|
|
@@ -3857,6 +3867,7 @@ export const state = {
|
|
|
3857
3867
|
"ai_spend",
|
|
3858
3868
|
"openai_spend",
|
|
3859
3869
|
"bing_search_spend",
|
|
3870
|
+
"always_alive",
|
|
3860
3871
|
],
|
|
3861
3872
|
description: "Usage type that can be used",
|
|
3862
3873
|
},
|
|
@@ -5549,6 +5560,7 @@ export const state = {
|
|
|
5549
5560
|
"ai_spend",
|
|
5550
5561
|
"openai_spend",
|
|
5551
5562
|
"bing_search_spend",
|
|
5563
|
+
"always_alive",
|
|
5552
5564
|
],
|
|
5553
5565
|
required: true,
|
|
5554
5566
|
},
|
|
@@ -5603,6 +5615,7 @@ export const state = {
|
|
|
5603
5615
|
"ai_spend",
|
|
5604
5616
|
"openai_spend",
|
|
5605
5617
|
"bing_search_spend",
|
|
5618
|
+
"always_alive",
|
|
5606
5619
|
],
|
|
5607
5620
|
required: true,
|
|
5608
5621
|
},
|
|
@@ -5882,7 +5895,7 @@ export const state = {
|
|
|
5882
5895
|
title: "Botpress API",
|
|
5883
5896
|
description: "API for Botpress Cloud",
|
|
5884
5897
|
server: "https://api.botpress.cloud",
|
|
5885
|
-
version: "0.15.
|
|
5898
|
+
version: "0.15.9",
|
|
5886
5899
|
prefix: "v1",
|
|
5887
5900
|
},
|
|
5888
5901
|
errors: [
|
|
@@ -6499,6 +6512,16 @@ export const state = {
|
|
|
6499
6512
|
type: "string",
|
|
6500
6513
|
description: "Id of the user that created the bot",
|
|
6501
6514
|
},
|
|
6515
|
+
alwaysAlive: {
|
|
6516
|
+
type: "boolean",
|
|
6517
|
+
description:
|
|
6518
|
+
"Indicates if the [Bot](#schema_bot) should be in always alive mode",
|
|
6519
|
+
},
|
|
6520
|
+
status: {
|
|
6521
|
+
type: "string",
|
|
6522
|
+
enum: ["active", "deploying"],
|
|
6523
|
+
description: "Status of the bot",
|
|
6524
|
+
},
|
|
6502
6525
|
medias: {
|
|
6503
6526
|
type: "array",
|
|
6504
6527
|
items: {
|
|
@@ -6533,6 +6556,8 @@ export const state = {
|
|
|
6533
6556
|
"recurringEvents",
|
|
6534
6557
|
"name",
|
|
6535
6558
|
"dev",
|
|
6559
|
+
"alwaysAlive",
|
|
6560
|
+
"status",
|
|
6536
6561
|
"medias",
|
|
6537
6562
|
],
|
|
6538
6563
|
additionalProperties: false,
|
|
@@ -7079,6 +7104,7 @@ export const state = {
|
|
|
7079
7104
|
"ai_spend",
|
|
7080
7105
|
"openai_spend",
|
|
7081
7106
|
"bing_search_spend",
|
|
7107
|
+
"always_alive",
|
|
7082
7108
|
],
|
|
7083
7109
|
description: "Usage type that can be used",
|
|
7084
7110
|
},
|