@botpress/api 1.35.0 → 1.35.2
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/.turbo/turbo-openapi.log +5 -5
- package/dist/index.js +65 -66
- package/dist/src/gen/admin/state.d.ts +4 -4
- package/dist/src/gen/state.d.ts +4 -4
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +6 -6
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +1 -1
- package/src/gen/state.ts +6 -6
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +1 -1
package/.turbo/turbo-openapi.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/api@1.35.
|
|
2
|
+
> @botpress/api@1.35.2 openapi /home/runner/work/skynet/skynet/packages/public-api
|
|
3
3
|
> es-node openapi/generator.ts && pnpm run build
|
|
4
4
|
|
|
5
5
|
Generating openapi content
|
|
@@ -34,18 +34,18 @@ Saving openapi.json file
|
|
|
34
34
|
|
|
35
35
|
info: Exit with code {"category":"system","code":0,"label":"Shutdown"}
|
|
36
36
|
|
|
37
|
-
> @botpress/api@1.35.
|
|
37
|
+
> @botpress/api@1.35.2 build /home/runner/work/skynet/skynet/packages/public-api
|
|
38
38
|
> pnpm run build:type && pnpm run build:impl
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
> @botpress/api@1.35.
|
|
41
|
+
> @botpress/api@1.35.2 build:type /home/runner/work/skynet/skynet/packages/public-api
|
|
42
42
|
> tsc -p tsconfig.package.json --emitDeclarationOnly
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
> @botpress/api@1.35.
|
|
45
|
+
> @botpress/api@1.35.2 build:impl /home/runner/work/skynet/skynet/packages/public-api
|
|
46
46
|
> esbuild --bundle --platform=node --outfile=dist/index.js src/index.ts
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
dist/index.js 14.1mb ⚠️
|
|
50
50
|
|
|
51
|
-
⚡ Done in
|
|
51
|
+
⚡ Done in 887ms
|
package/dist/index.js
CHANGED
|
@@ -236617,20 +236617,19 @@ var require_lib4 = __commonJS({
|
|
|
236617
236617
|
}
|
|
236618
236618
|
});
|
|
236619
236619
|
|
|
236620
|
-
// ../../node_modules/.pnpm/picocolors@1.1.
|
|
236620
|
+
// ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
|
|
236621
236621
|
var require_picocolors = __commonJS({
|
|
236622
|
-
"../../node_modules/.pnpm/picocolors@1.1.
|
|
236623
|
-
var
|
|
236624
|
-
var
|
|
236625
|
-
var
|
|
236622
|
+
"../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js"(exports, module2) {
|
|
236623
|
+
var p = process || {};
|
|
236624
|
+
var argv = p.argv || [];
|
|
236625
|
+
var env2 = p.env || {};
|
|
236626
|
+
var isColorSupported = !(!!env2.NO_COLOR || argv.includes("--no-color")) && (!!env2.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env2.TERM !== "dumb" || !!env2.CI);
|
|
236626
236627
|
var formatter = (open, close, replace2 = open) => (input) => {
|
|
236627
|
-
let string = "" + input;
|
|
236628
|
-
let index = string.indexOf(close, open.length);
|
|
236628
|
+
let string = "" + input, index = string.indexOf(close, open.length);
|
|
236629
236629
|
return ~index ? open + replaceClose(string, close, replace2, index) + close : open + string + close;
|
|
236630
236630
|
};
|
|
236631
236631
|
var replaceClose = (string, close, replace2, index) => {
|
|
236632
|
-
let result = "";
|
|
236633
|
-
let cursor = 0;
|
|
236632
|
+
let result = "", cursor = 0;
|
|
236634
236633
|
do {
|
|
236635
236634
|
result += string.substring(cursor, index) + replace2;
|
|
236636
236635
|
cursor = index + close.length;
|
|
@@ -236639,50 +236638,50 @@ var require_picocolors = __commonJS({
|
|
|
236639
236638
|
return result + string.substring(cursor);
|
|
236640
236639
|
};
|
|
236641
236640
|
var createColors = (enabled = isColorSupported) => {
|
|
236642
|
-
let
|
|
236641
|
+
let f = enabled ? formatter : () => String;
|
|
236643
236642
|
return {
|
|
236644
236643
|
isColorSupported: enabled,
|
|
236645
|
-
reset:
|
|
236646
|
-
bold:
|
|
236647
|
-
dim:
|
|
236648
|
-
italic:
|
|
236649
|
-
underline:
|
|
236650
|
-
inverse:
|
|
236651
|
-
hidden:
|
|
236652
|
-
strikethrough:
|
|
236653
|
-
black:
|
|
236654
|
-
red:
|
|
236655
|
-
green:
|
|
236656
|
-
yellow:
|
|
236657
|
-
blue:
|
|
236658
|
-
magenta:
|
|
236659
|
-
cyan:
|
|
236660
|
-
white:
|
|
236661
|
-
gray:
|
|
236662
|
-
bgBlack:
|
|
236663
|
-
bgRed:
|
|
236664
|
-
bgGreen:
|
|
236665
|
-
bgYellow:
|
|
236666
|
-
bgBlue:
|
|
236667
|
-
bgMagenta:
|
|
236668
|
-
bgCyan:
|
|
236669
|
-
bgWhite:
|
|
236670
|
-
blackBright:
|
|
236671
|
-
redBright:
|
|
236672
|
-
greenBright:
|
|
236673
|
-
yellowBright:
|
|
236674
|
-
blueBright:
|
|
236675
|
-
magentaBright:
|
|
236676
|
-
cyanBright:
|
|
236677
|
-
whiteBright:
|
|
236678
|
-
bgBlackBright:
|
|
236679
|
-
bgRedBright:
|
|
236680
|
-
bgGreenBright:
|
|
236681
|
-
bgYellowBright:
|
|
236682
|
-
bgBlueBright:
|
|
236683
|
-
bgMagentaBright:
|
|
236684
|
-
bgCyanBright:
|
|
236685
|
-
bgWhiteBright:
|
|
236644
|
+
reset: f("\x1B[0m", "\x1B[0m"),
|
|
236645
|
+
bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
|
|
236646
|
+
dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
|
|
236647
|
+
italic: f("\x1B[3m", "\x1B[23m"),
|
|
236648
|
+
underline: f("\x1B[4m", "\x1B[24m"),
|
|
236649
|
+
inverse: f("\x1B[7m", "\x1B[27m"),
|
|
236650
|
+
hidden: f("\x1B[8m", "\x1B[28m"),
|
|
236651
|
+
strikethrough: f("\x1B[9m", "\x1B[29m"),
|
|
236652
|
+
black: f("\x1B[30m", "\x1B[39m"),
|
|
236653
|
+
red: f("\x1B[31m", "\x1B[39m"),
|
|
236654
|
+
green: f("\x1B[32m", "\x1B[39m"),
|
|
236655
|
+
yellow: f("\x1B[33m", "\x1B[39m"),
|
|
236656
|
+
blue: f("\x1B[34m", "\x1B[39m"),
|
|
236657
|
+
magenta: f("\x1B[35m", "\x1B[39m"),
|
|
236658
|
+
cyan: f("\x1B[36m", "\x1B[39m"),
|
|
236659
|
+
white: f("\x1B[37m", "\x1B[39m"),
|
|
236660
|
+
gray: f("\x1B[90m", "\x1B[39m"),
|
|
236661
|
+
bgBlack: f("\x1B[40m", "\x1B[49m"),
|
|
236662
|
+
bgRed: f("\x1B[41m", "\x1B[49m"),
|
|
236663
|
+
bgGreen: f("\x1B[42m", "\x1B[49m"),
|
|
236664
|
+
bgYellow: f("\x1B[43m", "\x1B[49m"),
|
|
236665
|
+
bgBlue: f("\x1B[44m", "\x1B[49m"),
|
|
236666
|
+
bgMagenta: f("\x1B[45m", "\x1B[49m"),
|
|
236667
|
+
bgCyan: f("\x1B[46m", "\x1B[49m"),
|
|
236668
|
+
bgWhite: f("\x1B[47m", "\x1B[49m"),
|
|
236669
|
+
blackBright: f("\x1B[90m", "\x1B[39m"),
|
|
236670
|
+
redBright: f("\x1B[91m", "\x1B[39m"),
|
|
236671
|
+
greenBright: f("\x1B[92m", "\x1B[39m"),
|
|
236672
|
+
yellowBright: f("\x1B[93m", "\x1B[39m"),
|
|
236673
|
+
blueBright: f("\x1B[94m", "\x1B[39m"),
|
|
236674
|
+
magentaBright: f("\x1B[95m", "\x1B[39m"),
|
|
236675
|
+
cyanBright: f("\x1B[96m", "\x1B[39m"),
|
|
236676
|
+
whiteBright: f("\x1B[97m", "\x1B[39m"),
|
|
236677
|
+
bgBlackBright: f("\x1B[100m", "\x1B[49m"),
|
|
236678
|
+
bgRedBright: f("\x1B[101m", "\x1B[49m"),
|
|
236679
|
+
bgGreenBright: f("\x1B[102m", "\x1B[49m"),
|
|
236680
|
+
bgYellowBright: f("\x1B[103m", "\x1B[49m"),
|
|
236681
|
+
bgBlueBright: f("\x1B[104m", "\x1B[49m"),
|
|
236682
|
+
bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
|
|
236683
|
+
bgCyanBright: f("\x1B[106m", "\x1B[49m"),
|
|
236684
|
+
bgWhiteBright: f("\x1B[107m", "\x1B[49m")
|
|
236686
236685
|
};
|
|
236687
236686
|
};
|
|
236688
236687
|
module2.exports = createColors();
|
|
@@ -285334,7 +285333,7 @@ var state = {
|
|
|
285334
285333
|
"title": "Botpress API",
|
|
285335
285334
|
"description": "API for Botpress Cloud",
|
|
285336
285335
|
"server": "https://api.botpress.cloud",
|
|
285337
|
-
"version": "1.35.
|
|
285336
|
+
"version": "1.35.2",
|
|
285338
285337
|
"prefix": "v1"
|
|
285339
285338
|
},
|
|
285340
285339
|
"errors": [
|
|
@@ -294297,10 +294296,6 @@ var state2 = {
|
|
|
294297
294296
|
},
|
|
294298
294297
|
"description": "A mapping of plugin aliases to their configuration"
|
|
294299
294298
|
},
|
|
294300
|
-
"shouldMergePlugins": {
|
|
294301
|
-
"type": "boolean",
|
|
294302
|
-
"description": "If true, plugins will be merged into the bot and entity references will be resolved. If you are uncertain about this field, you should probably set it to true"
|
|
294303
|
-
},
|
|
294304
294299
|
"subscriptions": {
|
|
294305
294300
|
"type": "object",
|
|
294306
294301
|
"properties": {
|
|
@@ -294352,6 +294347,10 @@ var state2 = {
|
|
|
294352
294347
|
"items": {
|
|
294353
294348
|
"type": "string"
|
|
294354
294349
|
}
|
|
294350
|
+
},
|
|
294351
|
+
"shouldMergePlugins": {
|
|
294352
|
+
"type": "boolean",
|
|
294353
|
+
"description": "UNUSED. Please ignore this field. It will be removed in the near future."
|
|
294355
294354
|
}
|
|
294356
294355
|
},
|
|
294357
294356
|
"title": "updateBotBody",
|
|
@@ -294549,7 +294548,7 @@ var state2 = {
|
|
|
294549
294548
|
"in": "query",
|
|
294550
294549
|
"type": "boolean",
|
|
294551
294550
|
"required": false,
|
|
294552
|
-
"description": "
|
|
294551
|
+
"description": "UNUSED. Please ignore this field. It will be removed in the near future."
|
|
294553
294552
|
}
|
|
294554
294553
|
},
|
|
294555
294554
|
"response": {
|
|
@@ -303248,7 +303247,7 @@ var state2 = {
|
|
|
303248
303247
|
"title": "Botpress API",
|
|
303249
303248
|
"description": "API for Botpress Cloud",
|
|
303250
303249
|
"server": "https://api.botpress.cloud",
|
|
303251
|
-
"version": "1.35.
|
|
303250
|
+
"version": "1.35.2",
|
|
303252
303251
|
"prefix": "v1"
|
|
303253
303252
|
},
|
|
303254
303253
|
"errors": [
|
|
@@ -309121,7 +309120,7 @@ var state3 = {
|
|
|
309121
309120
|
"title": "Botpress API",
|
|
309122
309121
|
"description": "API for Botpress Cloud",
|
|
309123
309122
|
"server": "https://api.botpress.cloud",
|
|
309124
|
-
"version": "1.35.
|
|
309123
|
+
"version": "1.35.2",
|
|
309125
309124
|
"prefix": "v1"
|
|
309126
309125
|
},
|
|
309127
309126
|
"errors": [
|
|
@@ -314205,7 +314204,7 @@ var state4 = {
|
|
|
314205
314204
|
"title": "Botpress API",
|
|
314206
314205
|
"description": "API for Botpress Cloud",
|
|
314207
314206
|
"server": "https://api.botpress.cloud",
|
|
314208
|
-
"version": "1.35.
|
|
314207
|
+
"version": "1.35.2",
|
|
314209
314208
|
"prefix": "v1"
|
|
314210
314209
|
},
|
|
314211
314210
|
"errors": [
|
|
@@ -325692,10 +325691,6 @@ var state5 = {
|
|
|
325692
325691
|
},
|
|
325693
325692
|
"description": "A mapping of plugin aliases to their configuration"
|
|
325694
325693
|
},
|
|
325695
|
-
"shouldMergePlugins": {
|
|
325696
|
-
"type": "boolean",
|
|
325697
|
-
"description": "If true, plugins will be merged into the bot and entity references will be resolved. If you are uncertain about this field, you should probably set it to true"
|
|
325698
|
-
},
|
|
325699
325694
|
"subscriptions": {
|
|
325700
325695
|
"type": "object",
|
|
325701
325696
|
"properties": {
|
|
@@ -325747,6 +325742,10 @@ var state5 = {
|
|
|
325747
325742
|
"items": {
|
|
325748
325743
|
"type": "string"
|
|
325749
325744
|
}
|
|
325745
|
+
},
|
|
325746
|
+
"shouldMergePlugins": {
|
|
325747
|
+
"type": "boolean",
|
|
325748
|
+
"description": "UNUSED. Please ignore this field. It will be removed in the near future."
|
|
325750
325749
|
}
|
|
325751
325750
|
},
|
|
325752
325751
|
"title": "updateBotBody",
|
|
@@ -325944,7 +325943,7 @@ var state5 = {
|
|
|
325944
325943
|
"in": "query",
|
|
325945
325944
|
"type": "boolean",
|
|
325946
325945
|
"required": false,
|
|
325947
|
-
"description": "
|
|
325946
|
+
"description": "UNUSED. Please ignore this field. It will be removed in the near future."
|
|
325948
325947
|
}
|
|
325949
325948
|
},
|
|
325950
325949
|
"response": {
|
|
@@ -337626,7 +337625,7 @@ var state5 = {
|
|
|
337626
337625
|
"title": "Botpress API",
|
|
337627
337626
|
"description": "API for Botpress Cloud",
|
|
337628
337627
|
"server": "https://api.botpress.cloud",
|
|
337629
|
-
"version": "1.35.
|
|
337628
|
+
"version": "1.35.2",
|
|
337630
337629
|
"prefix": "v1"
|
|
337631
337630
|
},
|
|
337632
337631
|
"errors": [
|
|
@@ -4386,10 +4386,6 @@ export declare const state: {
|
|
|
4386
4386
|
};
|
|
4387
4387
|
description: string;
|
|
4388
4388
|
};
|
|
4389
|
-
shouldMergePlugins: {
|
|
4390
|
-
type: "boolean";
|
|
4391
|
-
description: string;
|
|
4392
|
-
};
|
|
4393
4389
|
subscriptions: {
|
|
4394
4390
|
type: "object";
|
|
4395
4391
|
properties: {
|
|
@@ -4437,6 +4433,10 @@ export declare const state: {
|
|
|
4437
4433
|
type: "string";
|
|
4438
4434
|
};
|
|
4439
4435
|
};
|
|
4436
|
+
shouldMergePlugins: {
|
|
4437
|
+
type: "boolean";
|
|
4438
|
+
description: string;
|
|
4439
|
+
};
|
|
4440
4440
|
};
|
|
4441
4441
|
title: string;
|
|
4442
4442
|
additionalProperties: false;
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -6741,10 +6741,6 @@ export declare const state: {
|
|
|
6741
6741
|
};
|
|
6742
6742
|
description: string;
|
|
6743
6743
|
};
|
|
6744
|
-
shouldMergePlugins: {
|
|
6745
|
-
type: "boolean";
|
|
6746
|
-
description: string;
|
|
6747
|
-
};
|
|
6748
6744
|
subscriptions: {
|
|
6749
6745
|
type: "object";
|
|
6750
6746
|
properties: {
|
|
@@ -6792,6 +6788,10 @@ export declare const state: {
|
|
|
6792
6788
|
type: "string";
|
|
6793
6789
|
};
|
|
6794
6790
|
};
|
|
6791
|
+
shouldMergePlugins: {
|
|
6792
|
+
type: "boolean";
|
|
6793
|
+
description: string;
|
|
6794
|
+
};
|
|
6795
6795
|
};
|
|
6796
6796
|
title: string;
|
|
6797
6797
|
additionalProperties: false;
|