@botpress/api 1.35.0 → 1.35.1
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 +55 -76
- package/dist/src/gen/admin/state.d.ts +0 -10
- package/dist/src/gen/state.d.ts +0 -10
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +1 -11
- 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 +1 -11
- 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.1 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.1 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.1 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.1 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 941ms
|
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.1",
|
|
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": {
|
|
@@ -294544,12 +294539,6 @@ var state2 = {
|
|
|
294544
294539
|
"type": "string",
|
|
294545
294540
|
"description": "Bot ID",
|
|
294546
294541
|
"in": "path"
|
|
294547
|
-
},
|
|
294548
|
-
"shouldMergePlugins": {
|
|
294549
|
-
"in": "query",
|
|
294550
|
-
"type": "boolean",
|
|
294551
|
-
"required": false,
|
|
294552
|
-
"description": "If true, indicates that the client has support for server-side plugins. Enabling this option returns the bot without any plugins merged into it. You probably want to set this option to true, as it will soon become the default behavior."
|
|
294553
294542
|
}
|
|
294554
294543
|
},
|
|
294555
294544
|
"response": {
|
|
@@ -303248,7 +303237,7 @@ var state2 = {
|
|
|
303248
303237
|
"title": "Botpress API",
|
|
303249
303238
|
"description": "API for Botpress Cloud",
|
|
303250
303239
|
"server": "https://api.botpress.cloud",
|
|
303251
|
-
"version": "1.35.
|
|
303240
|
+
"version": "1.35.1",
|
|
303252
303241
|
"prefix": "v1"
|
|
303253
303242
|
},
|
|
303254
303243
|
"errors": [
|
|
@@ -309121,7 +309110,7 @@ var state3 = {
|
|
|
309121
309110
|
"title": "Botpress API",
|
|
309122
309111
|
"description": "API for Botpress Cloud",
|
|
309123
309112
|
"server": "https://api.botpress.cloud",
|
|
309124
|
-
"version": "1.35.
|
|
309113
|
+
"version": "1.35.1",
|
|
309125
309114
|
"prefix": "v1"
|
|
309126
309115
|
},
|
|
309127
309116
|
"errors": [
|
|
@@ -314205,7 +314194,7 @@ var state4 = {
|
|
|
314205
314194
|
"title": "Botpress API",
|
|
314206
314195
|
"description": "API for Botpress Cloud",
|
|
314207
314196
|
"server": "https://api.botpress.cloud",
|
|
314208
|
-
"version": "1.35.
|
|
314197
|
+
"version": "1.35.1",
|
|
314209
314198
|
"prefix": "v1"
|
|
314210
314199
|
},
|
|
314211
314200
|
"errors": [
|
|
@@ -325692,10 +325681,6 @@ var state5 = {
|
|
|
325692
325681
|
},
|
|
325693
325682
|
"description": "A mapping of plugin aliases to their configuration"
|
|
325694
325683
|
},
|
|
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
325684
|
"subscriptions": {
|
|
325700
325685
|
"type": "object",
|
|
325701
325686
|
"properties": {
|
|
@@ -325939,12 +325924,6 @@ var state5 = {
|
|
|
325939
325924
|
"type": "string",
|
|
325940
325925
|
"description": "Bot ID",
|
|
325941
325926
|
"in": "path"
|
|
325942
|
-
},
|
|
325943
|
-
"shouldMergePlugins": {
|
|
325944
|
-
"in": "query",
|
|
325945
|
-
"type": "boolean",
|
|
325946
|
-
"required": false,
|
|
325947
|
-
"description": "If true, indicates that the client has support for server-side plugins. Enabling this option returns the bot without any plugins merged into it. You probably want to set this option to true, as it will soon become the default behavior."
|
|
325948
325927
|
}
|
|
325949
325928
|
},
|
|
325950
325929
|
"response": {
|
|
@@ -337626,7 +337605,7 @@ var state5 = {
|
|
|
337626
337605
|
"title": "Botpress API",
|
|
337627
337606
|
"description": "API for Botpress Cloud",
|
|
337628
337607
|
"server": "https://api.botpress.cloud",
|
|
337629
|
-
"version": "1.35.
|
|
337608
|
+
"version": "1.35.1",
|
|
337630
337609
|
"prefix": "v1"
|
|
337631
337610
|
},
|
|
337632
337611
|
"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: {
|
|
@@ -4610,12 +4606,6 @@ export declare const state: {
|
|
|
4610
4606
|
description: string;
|
|
4611
4607
|
in: "path";
|
|
4612
4608
|
};
|
|
4613
|
-
shouldMergePlugins: {
|
|
4614
|
-
in: "query";
|
|
4615
|
-
type: "boolean";
|
|
4616
|
-
required: false;
|
|
4617
|
-
description: string;
|
|
4618
|
-
};
|
|
4619
4609
|
};
|
|
4620
4610
|
response: {
|
|
4621
4611
|
description: string;
|
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: {
|
|
@@ -6965,12 +6961,6 @@ export declare const state: {
|
|
|
6965
6961
|
description: string;
|
|
6966
6962
|
in: "path";
|
|
6967
6963
|
};
|
|
6968
|
-
shouldMergePlugins: {
|
|
6969
|
-
in: "query";
|
|
6970
|
-
type: "boolean";
|
|
6971
|
-
required: false;
|
|
6972
|
-
description: string;
|
|
6973
|
-
};
|
|
6974
6964
|
};
|
|
6975
6965
|
response: {
|
|
6976
6966
|
description: string;
|