@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/dist/gen/state.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const state: {
|
|
|
27
27
|
type: "string";
|
|
28
28
|
maxLength: number;
|
|
29
29
|
description: string;
|
|
30
|
+
deprecated: true;
|
|
30
31
|
};
|
|
31
32
|
};
|
|
32
33
|
required: string[];
|
|
@@ -164,6 +165,7 @@ export declare const state: {
|
|
|
164
165
|
type: "string";
|
|
165
166
|
maxLength: number;
|
|
166
167
|
description: string;
|
|
168
|
+
deprecated: true;
|
|
167
169
|
};
|
|
168
170
|
};
|
|
169
171
|
required: string[];
|
|
@@ -911,6 +913,7 @@ export declare const state: {
|
|
|
911
913
|
type: "string";
|
|
912
914
|
maxLength: number;
|
|
913
915
|
description: string;
|
|
916
|
+
deprecated: true;
|
|
914
917
|
};
|
|
915
918
|
name: {
|
|
916
919
|
type: "string";
|
|
@@ -1053,6 +1056,7 @@ export declare const state: {
|
|
|
1053
1056
|
type: "string";
|
|
1054
1057
|
maxLength: number;
|
|
1055
1058
|
description: string;
|
|
1059
|
+
deprecated: true;
|
|
1056
1060
|
};
|
|
1057
1061
|
name: {
|
|
1058
1062
|
type: "string";
|
|
@@ -2222,6 +2226,10 @@ export declare const state: {
|
|
|
2222
2226
|
};
|
|
2223
2227
|
description: string;
|
|
2224
2228
|
};
|
|
2229
|
+
alwaysAlive: {
|
|
2230
|
+
type: "boolean";
|
|
2231
|
+
description: string;
|
|
2232
|
+
};
|
|
2225
2233
|
};
|
|
2226
2234
|
title: string;
|
|
2227
2235
|
additionalProperties: false;
|
|
@@ -5772,6 +5780,15 @@ export declare const state: {
|
|
|
5772
5780
|
type: "string";
|
|
5773
5781
|
description: string;
|
|
5774
5782
|
};
|
|
5783
|
+
alwaysAlive: {
|
|
5784
|
+
type: "boolean";
|
|
5785
|
+
description: string;
|
|
5786
|
+
};
|
|
5787
|
+
status: {
|
|
5788
|
+
type: "string";
|
|
5789
|
+
enum: string[];
|
|
5790
|
+
description: string;
|
|
5791
|
+
};
|
|
5775
5792
|
medias: {
|
|
5776
5793
|
type: "array";
|
|
5777
5794
|
items: {
|
package/dist/index.js
CHANGED
|
@@ -426740,7 +426740,8 @@ var state = {
|
|
|
426740
426740
|
integrationName: {
|
|
426741
426741
|
type: "string",
|
|
426742
426742
|
maxLength: 200,
|
|
426743
|
-
description: "[DEPRECATED] To create a conversation from within a bot, call an action of the integration instead."
|
|
426743
|
+
description: "[DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.",
|
|
426744
|
+
deprecated: true
|
|
426744
426745
|
}
|
|
426745
426746
|
},
|
|
426746
426747
|
required: ["channel", "tags"],
|
|
@@ -426877,7 +426878,8 @@ var state = {
|
|
|
426877
426878
|
integrationName: {
|
|
426878
426879
|
type: "string",
|
|
426879
426880
|
maxLength: 200,
|
|
426880
|
-
description: "[DEPRECATED] To create a conversation from within a bot, call an action of the integration instead."
|
|
426881
|
+
description: "[DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.",
|
|
426882
|
+
deprecated: true
|
|
426881
426883
|
}
|
|
426882
426884
|
},
|
|
426883
426885
|
required: ["channel", "tags"],
|
|
@@ -427624,7 +427626,8 @@ var state = {
|
|
|
427624
427626
|
integrationName: {
|
|
427625
427627
|
type: "string",
|
|
427626
427628
|
maxLength: 200,
|
|
427627
|
-
description: "[DEPRECATED] To create a user from within a bot, call an action of the integration instead."
|
|
427629
|
+
description: "[DEPRECATED] To create a user from within a bot, call an action of the integration instead.",
|
|
427630
|
+
deprecated: true
|
|
427628
427631
|
},
|
|
427629
427632
|
name: {
|
|
427630
427633
|
type: "string",
|
|
@@ -427766,7 +427769,8 @@ var state = {
|
|
|
427766
427769
|
integrationName: {
|
|
427767
427770
|
type: "string",
|
|
427768
427771
|
maxLength: 200,
|
|
427769
|
-
description: "[DEPRECATED] To create a user from within a bot, call an action of the integration instead."
|
|
427772
|
+
description: "[DEPRECATED] To create a user from within a bot, call an action of the integration instead.",
|
|
427773
|
+
deprecated: true
|
|
427770
427774
|
},
|
|
427771
427775
|
name: {
|
|
427772
427776
|
type: "string",
|
|
@@ -428944,6 +428948,10 @@ var state = {
|
|
|
428944
428948
|
required: ["url", "name"]
|
|
428945
428949
|
},
|
|
428946
428950
|
description: "Media files associated with the [Bot](#schema_bot)"
|
|
428951
|
+
},
|
|
428952
|
+
alwaysAlive: {
|
|
428953
|
+
type: "boolean",
|
|
428954
|
+
description: "Indicates if the [Bot](#schema_bot) should be executed in accelerated mode"
|
|
428947
428955
|
}
|
|
428948
428956
|
},
|
|
428949
428957
|
title: "updateBotBody",
|
|
@@ -430053,7 +430061,8 @@ var state = {
|
|
|
430053
430061
|
"integrations_owned_count",
|
|
430054
430062
|
"ai_spend",
|
|
430055
430063
|
"openai_spend",
|
|
430056
|
-
"bing_search_spend"
|
|
430064
|
+
"bing_search_spend",
|
|
430065
|
+
"always_alive"
|
|
430057
430066
|
],
|
|
430058
430067
|
required: true
|
|
430059
430068
|
},
|
|
@@ -430113,7 +430122,8 @@ var state = {
|
|
|
430113
430122
|
"integrations_owned_count",
|
|
430114
430123
|
"ai_spend",
|
|
430115
430124
|
"openai_spend",
|
|
430116
|
-
"bing_search_spend"
|
|
430125
|
+
"bing_search_spend",
|
|
430126
|
+
"always_alive"
|
|
430117
430127
|
],
|
|
430118
430128
|
required: true
|
|
430119
430129
|
},
|
|
@@ -430182,7 +430192,8 @@ var state = {
|
|
|
430182
430192
|
"integrations_owned_count",
|
|
430183
430193
|
"ai_spend",
|
|
430184
430194
|
"openai_spend",
|
|
430185
|
-
"bing_search_spend"
|
|
430195
|
+
"bing_search_spend",
|
|
430196
|
+
"always_alive"
|
|
430186
430197
|
],
|
|
430187
430198
|
required: true
|
|
430188
430199
|
},
|
|
@@ -430223,7 +430234,8 @@ var state = {
|
|
|
430223
430234
|
"integrations_owned_count",
|
|
430224
430235
|
"ai_spend",
|
|
430225
430236
|
"openai_spend",
|
|
430226
|
-
"bing_search_spend"
|
|
430237
|
+
"bing_search_spend",
|
|
430238
|
+
"always_alive"
|
|
430227
430239
|
],
|
|
430228
430240
|
description: "Usage type that can be used"
|
|
430229
430241
|
}
|
|
@@ -430292,7 +430304,8 @@ var state = {
|
|
|
430292
430304
|
"integrations_owned_count",
|
|
430293
430305
|
"ai_spend",
|
|
430294
430306
|
"openai_spend",
|
|
430295
|
-
"bing_search_spend"
|
|
430307
|
+
"bing_search_spend",
|
|
430308
|
+
"always_alive"
|
|
430296
430309
|
],
|
|
430297
430310
|
description: "Usage type that can be used"
|
|
430298
430311
|
}
|
|
@@ -431932,7 +431945,8 @@ var state = {
|
|
|
431932
431945
|
"integrations_owned_count",
|
|
431933
431946
|
"ai_spend",
|
|
431934
431947
|
"openai_spend",
|
|
431935
|
-
"bing_search_spend"
|
|
431948
|
+
"bing_search_spend",
|
|
431949
|
+
"always_alive"
|
|
431936
431950
|
],
|
|
431937
431951
|
required: true
|
|
431938
431952
|
},
|
|
@@ -431985,7 +431999,8 @@ var state = {
|
|
|
431985
431999
|
"integrations_owned_count",
|
|
431986
432000
|
"ai_spend",
|
|
431987
432001
|
"openai_spend",
|
|
431988
|
-
"bing_search_spend"
|
|
432002
|
+
"bing_search_spend",
|
|
432003
|
+
"always_alive"
|
|
431989
432004
|
],
|
|
431990
432005
|
required: true
|
|
431991
432006
|
},
|
|
@@ -432261,7 +432276,7 @@ var state = {
|
|
|
432261
432276
|
title: "Botpress API",
|
|
432262
432277
|
description: "API for Botpress Cloud",
|
|
432263
432278
|
server: "https://api.botpress.cloud",
|
|
432264
|
-
version: "0.15.
|
|
432279
|
+
version: "0.15.6",
|
|
432265
432280
|
prefix: "v1"
|
|
432266
432281
|
},
|
|
432267
432282
|
errors: [
|
|
@@ -432845,6 +432860,15 @@ var state = {
|
|
|
432845
432860
|
type: "string",
|
|
432846
432861
|
description: "Id of the user that created the bot"
|
|
432847
432862
|
},
|
|
432863
|
+
alwaysAlive: {
|
|
432864
|
+
type: "boolean",
|
|
432865
|
+
description: "Indicates if the [Bot](#schema_bot) should be executed in accelerated mode"
|
|
432866
|
+
},
|
|
432867
|
+
status: {
|
|
432868
|
+
type: "string",
|
|
432869
|
+
enum: ["active", "deploying"],
|
|
432870
|
+
description: "Status of the bot"
|
|
432871
|
+
},
|
|
432848
432872
|
medias: {
|
|
432849
432873
|
type: "array",
|
|
432850
432874
|
items: {
|
|
@@ -432879,6 +432903,8 @@ var state = {
|
|
|
432879
432903
|
"recurringEvents",
|
|
432880
432904
|
"name",
|
|
432881
432905
|
"dev",
|
|
432906
|
+
"alwaysAlive",
|
|
432907
|
+
"status",
|
|
432882
432908
|
"medias"
|
|
432883
432909
|
],
|
|
432884
432910
|
additionalProperties: false
|
|
@@ -433399,7 +433425,8 @@ var state = {
|
|
|
433399
433425
|
"integrations_owned_count",
|
|
433400
433426
|
"ai_spend",
|
|
433401
433427
|
"openai_spend",
|
|
433402
|
-
"bing_search_spend"
|
|
433428
|
+
"bing_search_spend",
|
|
433429
|
+
"always_alive"
|
|
433403
433430
|
],
|
|
433404
433431
|
description: "Usage type that can be used"
|
|
433405
433432
|
}
|