@botpress/api 1.54.1 → 1.55.0
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 +77 -35
- package/dist/src/gen/runtime/state.d.ts +10 -0
- package/dist/src/gen/state.d.ts +10 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -261210,9 +261210,9 @@ var require_src4 = __commonJS({
|
|
|
261210
261210
|
}
|
|
261211
261211
|
});
|
|
261212
261212
|
|
|
261213
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
261213
|
+
// ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js
|
|
261214
261214
|
var require_common4 = __commonJS({
|
|
261215
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
261215
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js"(exports, module2) {
|
|
261216
261216
|
function setup(env2) {
|
|
261217
261217
|
createDebug.debug = createDebug;
|
|
261218
261218
|
createDebug.default = createDebug;
|
|
@@ -261387,9 +261387,9 @@ var require_common4 = __commonJS({
|
|
|
261387
261387
|
}
|
|
261388
261388
|
});
|
|
261389
261389
|
|
|
261390
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
261390
|
+
// ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js
|
|
261391
261391
|
var require_browser2 = __commonJS({
|
|
261392
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
261392
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js"(exports, module2) {
|
|
261393
261393
|
exports.formatArgs = formatArgs;
|
|
261394
261394
|
exports.save = save;
|
|
261395
261395
|
exports.load = load3;
|
|
@@ -261553,9 +261553,9 @@ var require_browser2 = __commonJS({
|
|
|
261553
261553
|
}
|
|
261554
261554
|
});
|
|
261555
261555
|
|
|
261556
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
261556
|
+
// ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js
|
|
261557
261557
|
var require_node4 = __commonJS({
|
|
261558
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
261558
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js"(exports, module2) {
|
|
261559
261559
|
var tty2 = require("tty");
|
|
261560
261560
|
var util4 = require("util");
|
|
261561
261561
|
exports.init = init;
|
|
@@ -261727,9 +261727,9 @@ var require_node4 = __commonJS({
|
|
|
261727
261727
|
}
|
|
261728
261728
|
});
|
|
261729
261729
|
|
|
261730
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
261730
|
+
// ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js
|
|
261731
261731
|
var require_src5 = __commonJS({
|
|
261732
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
261732
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js"(exports, module2) {
|
|
261733
261733
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
261734
261734
|
module2.exports = require_browser2();
|
|
261735
261735
|
} else {
|
|
@@ -282718,6 +282718,16 @@ var state = {
|
|
|
282718
282718
|
"type": "string",
|
|
282719
282719
|
"description": "Filter by integration channel name"
|
|
282720
282720
|
},
|
|
282721
|
+
"afterDate": {
|
|
282722
|
+
"in": "query",
|
|
282723
|
+
"description": "Date in ISO 8601 string with UTC timezone after which the conversation was created (inclusive)",
|
|
282724
|
+
"type": "string"
|
|
282725
|
+
},
|
|
282726
|
+
"beforeDate": {
|
|
282727
|
+
"in": "query",
|
|
282728
|
+
"description": "Date in ISO 8601 string with UTC timezone before which the conversation was created (inclusive)",
|
|
282729
|
+
"type": "string"
|
|
282730
|
+
},
|
|
282721
282731
|
"x-bot-id": {
|
|
282722
282732
|
"in": "header",
|
|
282723
282733
|
"description": "Bot id",
|
|
@@ -286135,7 +286145,7 @@ var state = {
|
|
|
286135
286145
|
"title": "Botpress Runtime API",
|
|
286136
286146
|
"description": "API for Botpress Runtime",
|
|
286137
286147
|
"server": "https://api.botpress.cloud",
|
|
286138
|
-
"version": "1.
|
|
286148
|
+
"version": "1.55.0",
|
|
286139
286149
|
"prefix": "v1"
|
|
286140
286150
|
},
|
|
286141
286151
|
"defaultParameters": {
|
|
@@ -295088,7 +295098,8 @@ var state2 = {
|
|
|
295088
295098
|
"ai_spend",
|
|
295089
295099
|
"openai_spend",
|
|
295090
295100
|
"bing_search_spend",
|
|
295091
|
-
"always_alive"
|
|
295101
|
+
"always_alive",
|
|
295102
|
+
"indexed_file_count"
|
|
295092
295103
|
],
|
|
295093
295104
|
"required": true
|
|
295094
295105
|
},
|
|
@@ -295157,7 +295168,8 @@ var state2 = {
|
|
|
295157
295168
|
"ai_spend",
|
|
295158
295169
|
"openai_spend",
|
|
295159
295170
|
"bing_search_spend",
|
|
295160
|
-
"always_alive"
|
|
295171
|
+
"always_alive",
|
|
295172
|
+
"indexed_file_count"
|
|
295161
295173
|
],
|
|
295162
295174
|
"required": true
|
|
295163
295175
|
},
|
|
@@ -295237,7 +295249,8 @@ var state2 = {
|
|
|
295237
295249
|
"ai_spend",
|
|
295238
295250
|
"openai_spend",
|
|
295239
295251
|
"bing_search_spend",
|
|
295240
|
-
"always_alive"
|
|
295252
|
+
"always_alive",
|
|
295253
|
+
"indexed_file_count"
|
|
295241
295254
|
]
|
|
295242
295255
|
},
|
|
295243
295256
|
"completion": {
|
|
@@ -295294,7 +295307,8 @@ var state2 = {
|
|
|
295294
295307
|
"ai_spend",
|
|
295295
295308
|
"openai_spend",
|
|
295296
295309
|
"bing_search_spend",
|
|
295297
|
-
"always_alive"
|
|
295310
|
+
"always_alive",
|
|
295311
|
+
"indexed_file_count"
|
|
295298
295312
|
],
|
|
295299
295313
|
"required": true
|
|
295300
295314
|
},
|
|
@@ -295342,7 +295356,8 @@ var state2 = {
|
|
|
295342
295356
|
"ai_spend",
|
|
295343
295357
|
"openai_spend",
|
|
295344
295358
|
"bing_search_spend",
|
|
295345
|
-
"always_alive"
|
|
295359
|
+
"always_alive",
|
|
295360
|
+
"indexed_file_count"
|
|
295346
295361
|
],
|
|
295347
295362
|
"description": "Usage type that can be used"
|
|
295348
295363
|
}
|
|
@@ -295424,7 +295439,8 @@ var state2 = {
|
|
|
295424
295439
|
"ai_spend",
|
|
295425
295440
|
"openai_spend",
|
|
295426
295441
|
"bing_search_spend",
|
|
295427
|
-
"always_alive"
|
|
295442
|
+
"always_alive",
|
|
295443
|
+
"indexed_file_count"
|
|
295428
295444
|
],
|
|
295429
295445
|
"description": "Usage type that can be used"
|
|
295430
295446
|
}
|
|
@@ -301839,7 +301855,8 @@ var state2 = {
|
|
|
301839
301855
|
"ai_spend",
|
|
301840
301856
|
"openai_spend",
|
|
301841
301857
|
"bing_search_spend",
|
|
301842
|
-
"always_alive"
|
|
301858
|
+
"always_alive",
|
|
301859
|
+
"indexed_file_count"
|
|
301843
301860
|
],
|
|
301844
301861
|
"required": true
|
|
301845
301862
|
},
|
|
@@ -301962,7 +301979,8 @@ var state2 = {
|
|
|
301962
301979
|
"ai_spend",
|
|
301963
301980
|
"openai_spend",
|
|
301964
301981
|
"bing_search_spend",
|
|
301965
|
-
"always_alive"
|
|
301982
|
+
"always_alive",
|
|
301983
|
+
"indexed_file_count"
|
|
301966
301984
|
],
|
|
301967
301985
|
"required": true
|
|
301968
301986
|
},
|
|
@@ -302027,7 +302045,8 @@ var state2 = {
|
|
|
302027
302045
|
"ai_spend",
|
|
302028
302046
|
"openai_spend",
|
|
302029
302047
|
"bing_search_spend",
|
|
302030
|
-
"always_alive"
|
|
302048
|
+
"always_alive",
|
|
302049
|
+
"indexed_file_count"
|
|
302031
302050
|
],
|
|
302032
302051
|
"required": true
|
|
302033
302052
|
},
|
|
@@ -302141,7 +302160,8 @@ var state2 = {
|
|
|
302141
302160
|
"ai_spend",
|
|
302142
302161
|
"openai_spend",
|
|
302143
302162
|
"bing_search_spend",
|
|
302144
|
-
"always_alive"
|
|
302163
|
+
"always_alive",
|
|
302164
|
+
"indexed_file_count"
|
|
302145
302165
|
],
|
|
302146
302166
|
"required": true
|
|
302147
302167
|
},
|
|
@@ -302423,7 +302443,7 @@ var state2 = {
|
|
|
302423
302443
|
"title": "Botpress Admin API",
|
|
302424
302444
|
"description": "API for Botpress Cloud Manager",
|
|
302425
302445
|
"server": "https://api.botpress.cloud",
|
|
302426
|
-
"version": "1.
|
|
302446
|
+
"version": "1.55.0",
|
|
302427
302447
|
"prefix": "v1"
|
|
302428
302448
|
},
|
|
302429
302449
|
"defaultParameters": {
|
|
@@ -304990,7 +305010,8 @@ var state2 = {
|
|
|
304990
305010
|
"ai_spend",
|
|
304991
305011
|
"openai_spend",
|
|
304992
305012
|
"bing_search_spend",
|
|
304993
|
-
"always_alive"
|
|
305013
|
+
"always_alive",
|
|
305014
|
+
"indexed_file_count"
|
|
304994
305015
|
],
|
|
304995
305016
|
"description": "Usage type that can be used"
|
|
304996
305017
|
}
|
|
@@ -307858,7 +307879,7 @@ var state3 = {
|
|
|
307858
307879
|
"title": "Botpress Files API",
|
|
307859
307880
|
"description": "API for Botpress Files",
|
|
307860
307881
|
"server": "https://api.botpress.cloud",
|
|
307861
|
-
"version": "1.
|
|
307882
|
+
"version": "1.55.0",
|
|
307862
307883
|
"prefix": "v1"
|
|
307863
307884
|
},
|
|
307864
307885
|
"defaultParameters": {
|
|
@@ -310123,7 +310144,7 @@ var state4 = {
|
|
|
310123
310144
|
"title": "Botpress Tables API",
|
|
310124
310145
|
"description": "API for Botpress Tables",
|
|
310125
310146
|
"server": "https://api.botpress.cloud",
|
|
310126
|
-
"version": "1.
|
|
310147
|
+
"version": "1.55.0",
|
|
310127
310148
|
"prefix": "v1"
|
|
310128
310149
|
},
|
|
310129
310150
|
"defaultParameters": {
|
|
@@ -310945,6 +310966,16 @@ var state5 = {
|
|
|
310945
310966
|
"in": "query",
|
|
310946
310967
|
"type": "string",
|
|
310947
310968
|
"description": "Filter by integration channel name"
|
|
310969
|
+
},
|
|
310970
|
+
"afterDate": {
|
|
310971
|
+
"in": "query",
|
|
310972
|
+
"description": "Date in ISO 8601 string with UTC timezone after which the conversation was created (inclusive)",
|
|
310973
|
+
"type": "string"
|
|
310974
|
+
},
|
|
310975
|
+
"beforeDate": {
|
|
310976
|
+
"in": "query",
|
|
310977
|
+
"description": "Date in ISO 8601 string with UTC timezone before which the conversation was created (inclusive)",
|
|
310978
|
+
"type": "string"
|
|
310948
310979
|
}
|
|
310949
310980
|
},
|
|
310950
310981
|
"section": "conversation",
|
|
@@ -321062,7 +321093,8 @@ var state5 = {
|
|
|
321062
321093
|
"ai_spend",
|
|
321063
321094
|
"openai_spend",
|
|
321064
321095
|
"bing_search_spend",
|
|
321065
|
-
"always_alive"
|
|
321096
|
+
"always_alive",
|
|
321097
|
+
"indexed_file_count"
|
|
321066
321098
|
],
|
|
321067
321099
|
"required": true
|
|
321068
321100
|
},
|
|
@@ -321125,7 +321157,8 @@ var state5 = {
|
|
|
321125
321157
|
"ai_spend",
|
|
321126
321158
|
"openai_spend",
|
|
321127
321159
|
"bing_search_spend",
|
|
321128
|
-
"always_alive"
|
|
321160
|
+
"always_alive",
|
|
321161
|
+
"indexed_file_count"
|
|
321129
321162
|
],
|
|
321130
321163
|
"required": true
|
|
321131
321164
|
},
|
|
@@ -321199,7 +321232,8 @@ var state5 = {
|
|
|
321199
321232
|
"ai_spend",
|
|
321200
321233
|
"openai_spend",
|
|
321201
321234
|
"bing_search_spend",
|
|
321202
|
-
"always_alive"
|
|
321235
|
+
"always_alive",
|
|
321236
|
+
"indexed_file_count"
|
|
321203
321237
|
]
|
|
321204
321238
|
},
|
|
321205
321239
|
"completion": {
|
|
@@ -321249,7 +321283,8 @@ var state5 = {
|
|
|
321249
321283
|
"ai_spend",
|
|
321250
321284
|
"openai_spend",
|
|
321251
321285
|
"bing_search_spend",
|
|
321252
|
-
"always_alive"
|
|
321286
|
+
"always_alive",
|
|
321287
|
+
"indexed_file_count"
|
|
321253
321288
|
],
|
|
321254
321289
|
"required": true
|
|
321255
321290
|
},
|
|
@@ -321291,7 +321326,8 @@ var state5 = {
|
|
|
321291
321326
|
"ai_spend",
|
|
321292
321327
|
"openai_spend",
|
|
321293
321328
|
"bing_search_spend",
|
|
321294
|
-
"always_alive"
|
|
321329
|
+
"always_alive",
|
|
321330
|
+
"indexed_file_count"
|
|
321295
321331
|
],
|
|
321296
321332
|
"description": "Usage type that can be used"
|
|
321297
321333
|
}
|
|
@@ -321367,7 +321403,8 @@ var state5 = {
|
|
|
321367
321403
|
"ai_spend",
|
|
321368
321404
|
"openai_spend",
|
|
321369
321405
|
"bing_search_spend",
|
|
321370
|
-
"always_alive"
|
|
321406
|
+
"always_alive",
|
|
321407
|
+
"indexed_file_count"
|
|
321371
321408
|
],
|
|
321372
321409
|
"description": "Usage type that can be used"
|
|
321373
321410
|
}
|
|
@@ -327342,7 +327379,8 @@ var state5 = {
|
|
|
327342
327379
|
"ai_spend",
|
|
327343
327380
|
"openai_spend",
|
|
327344
327381
|
"bing_search_spend",
|
|
327345
|
-
"always_alive"
|
|
327382
|
+
"always_alive",
|
|
327383
|
+
"indexed_file_count"
|
|
327346
327384
|
],
|
|
327347
327385
|
"required": true
|
|
327348
327386
|
},
|
|
@@ -327447,7 +327485,8 @@ var state5 = {
|
|
|
327447
327485
|
"ai_spend",
|
|
327448
327486
|
"openai_spend",
|
|
327449
327487
|
"bing_search_spend",
|
|
327450
|
-
"always_alive"
|
|
327488
|
+
"always_alive",
|
|
327489
|
+
"indexed_file_count"
|
|
327451
327490
|
],
|
|
327452
327491
|
"required": true
|
|
327453
327492
|
},
|
|
@@ -327500,7 +327539,8 @@ var state5 = {
|
|
|
327500
327539
|
"ai_spend",
|
|
327501
327540
|
"openai_spend",
|
|
327502
327541
|
"bing_search_spend",
|
|
327503
|
-
"always_alive"
|
|
327542
|
+
"always_alive",
|
|
327543
|
+
"indexed_file_count"
|
|
327504
327544
|
],
|
|
327505
327545
|
"required": true
|
|
327506
327546
|
},
|
|
@@ -327602,7 +327642,8 @@ var state5 = {
|
|
|
327602
327642
|
"ai_spend",
|
|
327603
327643
|
"openai_spend",
|
|
327604
327644
|
"bing_search_spend",
|
|
327605
|
-
"always_alive"
|
|
327645
|
+
"always_alive",
|
|
327646
|
+
"indexed_file_count"
|
|
327606
327647
|
],
|
|
327607
327648
|
"required": true
|
|
327608
327649
|
},
|
|
@@ -331015,7 +331056,7 @@ var state5 = {
|
|
|
331015
331056
|
"title": "Botpress API",
|
|
331016
331057
|
"description": "API for Botpress Cloud",
|
|
331017
331058
|
"server": "https://api.botpress.cloud",
|
|
331018
|
-
"version": "1.
|
|
331059
|
+
"version": "1.55.0",
|
|
331019
331060
|
"prefix": "v1"
|
|
331020
331061
|
},
|
|
331021
331062
|
"errors": [
|
|
@@ -333699,7 +333740,8 @@ var state5 = {
|
|
|
333699
333740
|
"ai_spend",
|
|
333700
333741
|
"openai_spend",
|
|
333701
333742
|
"bing_search_spend",
|
|
333702
|
-
"always_alive"
|
|
333743
|
+
"always_alive",
|
|
333744
|
+
"indexed_file_count"
|
|
333703
333745
|
],
|
|
333704
333746
|
"description": "Usage type that can be used"
|
|
333705
333747
|
}
|
|
@@ -171,6 +171,16 @@ export declare const state: {
|
|
|
171
171
|
type: "string";
|
|
172
172
|
description: string;
|
|
173
173
|
};
|
|
174
|
+
afterDate: {
|
|
175
|
+
in: "query";
|
|
176
|
+
description: string;
|
|
177
|
+
type: "string";
|
|
178
|
+
};
|
|
179
|
+
beforeDate: {
|
|
180
|
+
in: "query";
|
|
181
|
+
description: string;
|
|
182
|
+
type: "string";
|
|
183
|
+
};
|
|
174
184
|
"x-bot-id": {
|
|
175
185
|
in: "header";
|
|
176
186
|
description: string;
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -134,6 +134,16 @@ export declare const state: {
|
|
|
134
134
|
type: "string";
|
|
135
135
|
description: string;
|
|
136
136
|
};
|
|
137
|
+
afterDate: {
|
|
138
|
+
in: "query";
|
|
139
|
+
description: string;
|
|
140
|
+
type: "string";
|
|
141
|
+
};
|
|
142
|
+
beforeDate: {
|
|
143
|
+
in: "query";
|
|
144
|
+
description: string;
|
|
145
|
+
type: "string";
|
|
146
|
+
};
|
|
137
147
|
};
|
|
138
148
|
section: "conversation";
|
|
139
149
|
response: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.55.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/src/index.d.ts",
|
|
6
6
|
"devDependencies": {
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"zod": "^3.24.4",
|
|
10
10
|
"typescript": "5.5.4",
|
|
11
11
|
"@botpress/bridge": "1.8.0",
|
|
12
|
-
"@botpress/cloud-manager": "0.2.0",
|
|
13
12
|
"@botpress/common": "0.5.0",
|
|
13
|
+
"@botpress/cloud-manager": "0.2.0",
|
|
14
14
|
"@botpress/files-api": "0.18.0",
|
|
15
|
-
"@bpinternal/const": "0.3.
|
|
15
|
+
"@bpinternal/const": "0.3.9",
|
|
16
16
|
"@bpinternal/tables-api": "0.17.2"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|