@botpress/api 0.37.1 → 0.38.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 +592 -18
- package/dist/src/gen/state.d.ts +31 -7
- package/dist/src/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +70 -10
package/dist/index.js
CHANGED
|
@@ -164375,7 +164375,7 @@ var require_prettier = __commonJS({
|
|
|
164375
164375
|
module22.exports.default = module22.exports;
|
|
164376
164376
|
}
|
|
164377
164377
|
});
|
|
164378
|
-
var
|
|
164378
|
+
var require_common5 = __commonJS22({
|
|
164379
164379
|
"node_modules/vnopts/lib/handlers/deprecated/common.js"(exports2) {
|
|
164380
164380
|
"use strict";
|
|
164381
164381
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -164400,7 +164400,7 @@ var require_prettier = __commonJS({
|
|
|
164400
164400
|
value: true
|
|
164401
164401
|
});
|
|
164402
164402
|
var tslib_1 = (init_tslib_es6(), __toCommonJS2(tslib_es6_exports));
|
|
164403
|
-
tslib_1.__exportStar(
|
|
164403
|
+
tslib_1.__exportStar(require_common5(), exports2);
|
|
164404
164404
|
}
|
|
164405
164405
|
});
|
|
164406
164406
|
var require_common22 = __commonJS22({
|
|
@@ -164990,7 +164990,7 @@ var require_prettier = __commonJS({
|
|
|
164990
164990
|
value: true
|
|
164991
164991
|
});
|
|
164992
164992
|
var api_1 = require_api3();
|
|
164993
|
-
var common_1 =
|
|
164993
|
+
var common_1 = require_common5();
|
|
164994
164994
|
var invalid_1 = require_invalid();
|
|
164995
164995
|
var leven_1 = require_leven22();
|
|
164996
164996
|
exports2.defaultDescriptor = api_1.apiDescriptor;
|
|
@@ -173803,7 +173803,7 @@ ${error2.message}`;
|
|
|
173803
173803
|
module22.exports = Function.prototype.bind || implementation;
|
|
173804
173804
|
}
|
|
173805
173805
|
});
|
|
173806
|
-
var
|
|
173806
|
+
var require_src6 = __commonJS22({
|
|
173807
173807
|
"node_modules/has/src/index.js"(exports2, module22) {
|
|
173808
173808
|
"use strict";
|
|
173809
173809
|
var bind2 = require_function_bind2();
|
|
@@ -173972,7 +173972,7 @@ ${error2.message}`;
|
|
|
173972
173972
|
var require_is_core_module = __commonJS22({
|
|
173973
173973
|
"node_modules/is-core-module/index.js"(exports2, module22) {
|
|
173974
173974
|
"use strict";
|
|
173975
|
-
var has =
|
|
173975
|
+
var has = require_src6();
|
|
173976
173976
|
function specifierIncluded(current, specifier) {
|
|
173977
173977
|
var nodeParts = current.split(".");
|
|
173978
173978
|
var parts = specifier.split(" ");
|
|
@@ -261219,6 +261219,520 @@ var require_src4 = __commonJS({
|
|
|
261219
261219
|
}
|
|
261220
261220
|
});
|
|
261221
261221
|
|
|
261222
|
+
// ../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/common.js
|
|
261223
|
+
var require_common4 = __commonJS({
|
|
261224
|
+
"../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/common.js"(exports, module2) {
|
|
261225
|
+
function setup(env2) {
|
|
261226
|
+
createDebug.debug = createDebug;
|
|
261227
|
+
createDebug.default = createDebug;
|
|
261228
|
+
createDebug.coerce = coerce2;
|
|
261229
|
+
createDebug.disable = disable;
|
|
261230
|
+
createDebug.enable = enable;
|
|
261231
|
+
createDebug.enabled = enabled;
|
|
261232
|
+
createDebug.humanize = require_ms3();
|
|
261233
|
+
createDebug.destroy = destroy;
|
|
261234
|
+
Object.keys(env2).forEach((key) => {
|
|
261235
|
+
createDebug[key] = env2[key];
|
|
261236
|
+
});
|
|
261237
|
+
createDebug.names = [];
|
|
261238
|
+
createDebug.skips = [];
|
|
261239
|
+
createDebug.formatters = {};
|
|
261240
|
+
function selectColor(namespace) {
|
|
261241
|
+
let hash = 0;
|
|
261242
|
+
for (let i = 0; i < namespace.length; i++) {
|
|
261243
|
+
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
261244
|
+
hash |= 0;
|
|
261245
|
+
}
|
|
261246
|
+
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
261247
|
+
}
|
|
261248
|
+
createDebug.selectColor = selectColor;
|
|
261249
|
+
function createDebug(namespace) {
|
|
261250
|
+
let prevTime;
|
|
261251
|
+
let enableOverride = null;
|
|
261252
|
+
let namespacesCache;
|
|
261253
|
+
let enabledCache;
|
|
261254
|
+
function debug(...args) {
|
|
261255
|
+
if (!debug.enabled) {
|
|
261256
|
+
return;
|
|
261257
|
+
}
|
|
261258
|
+
const self2 = debug;
|
|
261259
|
+
const curr = Number(new Date());
|
|
261260
|
+
const ms = curr - (prevTime || curr);
|
|
261261
|
+
self2.diff = ms;
|
|
261262
|
+
self2.prev = prevTime;
|
|
261263
|
+
self2.curr = curr;
|
|
261264
|
+
prevTime = curr;
|
|
261265
|
+
args[0] = createDebug.coerce(args[0]);
|
|
261266
|
+
if (typeof args[0] !== "string") {
|
|
261267
|
+
args.unshift("%O");
|
|
261268
|
+
}
|
|
261269
|
+
let index = 0;
|
|
261270
|
+
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
|
|
261271
|
+
if (match === "%%") {
|
|
261272
|
+
return "%";
|
|
261273
|
+
}
|
|
261274
|
+
index++;
|
|
261275
|
+
const formatter = createDebug.formatters[format];
|
|
261276
|
+
if (typeof formatter === "function") {
|
|
261277
|
+
const val = args[index];
|
|
261278
|
+
match = formatter.call(self2, val);
|
|
261279
|
+
args.splice(index, 1);
|
|
261280
|
+
index--;
|
|
261281
|
+
}
|
|
261282
|
+
return match;
|
|
261283
|
+
});
|
|
261284
|
+
createDebug.formatArgs.call(self2, args);
|
|
261285
|
+
const logFn = self2.log || createDebug.log;
|
|
261286
|
+
logFn.apply(self2, args);
|
|
261287
|
+
}
|
|
261288
|
+
debug.namespace = namespace;
|
|
261289
|
+
debug.useColors = createDebug.useColors();
|
|
261290
|
+
debug.color = createDebug.selectColor(namespace);
|
|
261291
|
+
debug.extend = extend4;
|
|
261292
|
+
debug.destroy = createDebug.destroy;
|
|
261293
|
+
Object.defineProperty(debug, "enabled", {
|
|
261294
|
+
enumerable: true,
|
|
261295
|
+
configurable: false,
|
|
261296
|
+
get: () => {
|
|
261297
|
+
if (enableOverride !== null) {
|
|
261298
|
+
return enableOverride;
|
|
261299
|
+
}
|
|
261300
|
+
if (namespacesCache !== createDebug.namespaces) {
|
|
261301
|
+
namespacesCache = createDebug.namespaces;
|
|
261302
|
+
enabledCache = createDebug.enabled(namespace);
|
|
261303
|
+
}
|
|
261304
|
+
return enabledCache;
|
|
261305
|
+
},
|
|
261306
|
+
set: (v) => {
|
|
261307
|
+
enableOverride = v;
|
|
261308
|
+
}
|
|
261309
|
+
});
|
|
261310
|
+
if (typeof createDebug.init === "function") {
|
|
261311
|
+
createDebug.init(debug);
|
|
261312
|
+
}
|
|
261313
|
+
return debug;
|
|
261314
|
+
}
|
|
261315
|
+
function extend4(namespace, delimiter) {
|
|
261316
|
+
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
|
261317
|
+
newDebug.log = this.log;
|
|
261318
|
+
return newDebug;
|
|
261319
|
+
}
|
|
261320
|
+
function enable(namespaces) {
|
|
261321
|
+
createDebug.save(namespaces);
|
|
261322
|
+
createDebug.namespaces = namespaces;
|
|
261323
|
+
createDebug.names = [];
|
|
261324
|
+
createDebug.skips = [];
|
|
261325
|
+
let i;
|
|
261326
|
+
const split = (typeof namespaces === "string" ? namespaces : "").split(/[\s,]+/);
|
|
261327
|
+
const len = split.length;
|
|
261328
|
+
for (i = 0; i < len; i++) {
|
|
261329
|
+
if (!split[i]) {
|
|
261330
|
+
continue;
|
|
261331
|
+
}
|
|
261332
|
+
namespaces = split[i].replace(/\*/g, ".*?");
|
|
261333
|
+
if (namespaces[0] === "-") {
|
|
261334
|
+
createDebug.skips.push(new RegExp("^" + namespaces.slice(1) + "$"));
|
|
261335
|
+
} else {
|
|
261336
|
+
createDebug.names.push(new RegExp("^" + namespaces + "$"));
|
|
261337
|
+
}
|
|
261338
|
+
}
|
|
261339
|
+
}
|
|
261340
|
+
function disable() {
|
|
261341
|
+
const namespaces = [
|
|
261342
|
+
...createDebug.names.map(toNamespace),
|
|
261343
|
+
...createDebug.skips.map(toNamespace).map((namespace) => "-" + namespace)
|
|
261344
|
+
].join(",");
|
|
261345
|
+
createDebug.enable("");
|
|
261346
|
+
return namespaces;
|
|
261347
|
+
}
|
|
261348
|
+
function enabled(name) {
|
|
261349
|
+
if (name[name.length - 1] === "*") {
|
|
261350
|
+
return true;
|
|
261351
|
+
}
|
|
261352
|
+
let i;
|
|
261353
|
+
let len;
|
|
261354
|
+
for (i = 0, len = createDebug.skips.length; i < len; i++) {
|
|
261355
|
+
if (createDebug.skips[i].test(name)) {
|
|
261356
|
+
return false;
|
|
261357
|
+
}
|
|
261358
|
+
}
|
|
261359
|
+
for (i = 0, len = createDebug.names.length; i < len; i++) {
|
|
261360
|
+
if (createDebug.names[i].test(name)) {
|
|
261361
|
+
return true;
|
|
261362
|
+
}
|
|
261363
|
+
}
|
|
261364
|
+
return false;
|
|
261365
|
+
}
|
|
261366
|
+
function toNamespace(regexp) {
|
|
261367
|
+
return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*");
|
|
261368
|
+
}
|
|
261369
|
+
function coerce2(val) {
|
|
261370
|
+
if (val instanceof Error) {
|
|
261371
|
+
return val.stack || val.message;
|
|
261372
|
+
}
|
|
261373
|
+
return val;
|
|
261374
|
+
}
|
|
261375
|
+
function destroy() {
|
|
261376
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
261377
|
+
}
|
|
261378
|
+
createDebug.enable(createDebug.load());
|
|
261379
|
+
return createDebug;
|
|
261380
|
+
}
|
|
261381
|
+
module2.exports = setup;
|
|
261382
|
+
}
|
|
261383
|
+
});
|
|
261384
|
+
|
|
261385
|
+
// ../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/browser.js
|
|
261386
|
+
var require_browser2 = __commonJS({
|
|
261387
|
+
"../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/browser.js"(exports, module2) {
|
|
261388
|
+
exports.formatArgs = formatArgs;
|
|
261389
|
+
exports.save = save;
|
|
261390
|
+
exports.load = load3;
|
|
261391
|
+
exports.useColors = useColors;
|
|
261392
|
+
exports.storage = localstorage();
|
|
261393
|
+
exports.destroy = (() => {
|
|
261394
|
+
let warned = false;
|
|
261395
|
+
return () => {
|
|
261396
|
+
if (!warned) {
|
|
261397
|
+
warned = true;
|
|
261398
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
261399
|
+
}
|
|
261400
|
+
};
|
|
261401
|
+
})();
|
|
261402
|
+
exports.colors = [
|
|
261403
|
+
"#0000CC",
|
|
261404
|
+
"#0000FF",
|
|
261405
|
+
"#0033CC",
|
|
261406
|
+
"#0033FF",
|
|
261407
|
+
"#0066CC",
|
|
261408
|
+
"#0066FF",
|
|
261409
|
+
"#0099CC",
|
|
261410
|
+
"#0099FF",
|
|
261411
|
+
"#00CC00",
|
|
261412
|
+
"#00CC33",
|
|
261413
|
+
"#00CC66",
|
|
261414
|
+
"#00CC99",
|
|
261415
|
+
"#00CCCC",
|
|
261416
|
+
"#00CCFF",
|
|
261417
|
+
"#3300CC",
|
|
261418
|
+
"#3300FF",
|
|
261419
|
+
"#3333CC",
|
|
261420
|
+
"#3333FF",
|
|
261421
|
+
"#3366CC",
|
|
261422
|
+
"#3366FF",
|
|
261423
|
+
"#3399CC",
|
|
261424
|
+
"#3399FF",
|
|
261425
|
+
"#33CC00",
|
|
261426
|
+
"#33CC33",
|
|
261427
|
+
"#33CC66",
|
|
261428
|
+
"#33CC99",
|
|
261429
|
+
"#33CCCC",
|
|
261430
|
+
"#33CCFF",
|
|
261431
|
+
"#6600CC",
|
|
261432
|
+
"#6600FF",
|
|
261433
|
+
"#6633CC",
|
|
261434
|
+
"#6633FF",
|
|
261435
|
+
"#66CC00",
|
|
261436
|
+
"#66CC33",
|
|
261437
|
+
"#9900CC",
|
|
261438
|
+
"#9900FF",
|
|
261439
|
+
"#9933CC",
|
|
261440
|
+
"#9933FF",
|
|
261441
|
+
"#99CC00",
|
|
261442
|
+
"#99CC33",
|
|
261443
|
+
"#CC0000",
|
|
261444
|
+
"#CC0033",
|
|
261445
|
+
"#CC0066",
|
|
261446
|
+
"#CC0099",
|
|
261447
|
+
"#CC00CC",
|
|
261448
|
+
"#CC00FF",
|
|
261449
|
+
"#CC3300",
|
|
261450
|
+
"#CC3333",
|
|
261451
|
+
"#CC3366",
|
|
261452
|
+
"#CC3399",
|
|
261453
|
+
"#CC33CC",
|
|
261454
|
+
"#CC33FF",
|
|
261455
|
+
"#CC6600",
|
|
261456
|
+
"#CC6633",
|
|
261457
|
+
"#CC9900",
|
|
261458
|
+
"#CC9933",
|
|
261459
|
+
"#CCCC00",
|
|
261460
|
+
"#CCCC33",
|
|
261461
|
+
"#FF0000",
|
|
261462
|
+
"#FF0033",
|
|
261463
|
+
"#FF0066",
|
|
261464
|
+
"#FF0099",
|
|
261465
|
+
"#FF00CC",
|
|
261466
|
+
"#FF00FF",
|
|
261467
|
+
"#FF3300",
|
|
261468
|
+
"#FF3333",
|
|
261469
|
+
"#FF3366",
|
|
261470
|
+
"#FF3399",
|
|
261471
|
+
"#FF33CC",
|
|
261472
|
+
"#FF33FF",
|
|
261473
|
+
"#FF6600",
|
|
261474
|
+
"#FF6633",
|
|
261475
|
+
"#FF9900",
|
|
261476
|
+
"#FF9933",
|
|
261477
|
+
"#FFCC00",
|
|
261478
|
+
"#FFCC33"
|
|
261479
|
+
];
|
|
261480
|
+
function useColors() {
|
|
261481
|
+
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
|
|
261482
|
+
return true;
|
|
261483
|
+
}
|
|
261484
|
+
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
261485
|
+
return false;
|
|
261486
|
+
}
|
|
261487
|
+
let m;
|
|
261488
|
+
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
261489
|
+
}
|
|
261490
|
+
function formatArgs(args) {
|
|
261491
|
+
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
|
|
261492
|
+
if (!this.useColors) {
|
|
261493
|
+
return;
|
|
261494
|
+
}
|
|
261495
|
+
const c2 = "color: " + this.color;
|
|
261496
|
+
args.splice(1, 0, c2, "color: inherit");
|
|
261497
|
+
let index = 0;
|
|
261498
|
+
let lastC = 0;
|
|
261499
|
+
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
261500
|
+
if (match === "%%") {
|
|
261501
|
+
return;
|
|
261502
|
+
}
|
|
261503
|
+
index++;
|
|
261504
|
+
if (match === "%c") {
|
|
261505
|
+
lastC = index;
|
|
261506
|
+
}
|
|
261507
|
+
});
|
|
261508
|
+
args.splice(lastC, 0, c2);
|
|
261509
|
+
}
|
|
261510
|
+
exports.log = console.debug || console.log || (() => {
|
|
261511
|
+
});
|
|
261512
|
+
function save(namespaces) {
|
|
261513
|
+
try {
|
|
261514
|
+
if (namespaces) {
|
|
261515
|
+
exports.storage.setItem("debug", namespaces);
|
|
261516
|
+
} else {
|
|
261517
|
+
exports.storage.removeItem("debug");
|
|
261518
|
+
}
|
|
261519
|
+
} catch (error2) {
|
|
261520
|
+
}
|
|
261521
|
+
}
|
|
261522
|
+
function load3() {
|
|
261523
|
+
let r;
|
|
261524
|
+
try {
|
|
261525
|
+
r = exports.storage.getItem("debug");
|
|
261526
|
+
} catch (error2) {
|
|
261527
|
+
}
|
|
261528
|
+
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
261529
|
+
r = process.env.DEBUG;
|
|
261530
|
+
}
|
|
261531
|
+
return r;
|
|
261532
|
+
}
|
|
261533
|
+
function localstorage() {
|
|
261534
|
+
try {
|
|
261535
|
+
return localStorage;
|
|
261536
|
+
} catch (error2) {
|
|
261537
|
+
}
|
|
261538
|
+
}
|
|
261539
|
+
module2.exports = require_common4()(exports);
|
|
261540
|
+
var { formatters } = module2.exports;
|
|
261541
|
+
formatters.j = function(v) {
|
|
261542
|
+
try {
|
|
261543
|
+
return JSON.stringify(v);
|
|
261544
|
+
} catch (error2) {
|
|
261545
|
+
return "[UnexpectedJSONParseError]: " + error2.message;
|
|
261546
|
+
}
|
|
261547
|
+
};
|
|
261548
|
+
}
|
|
261549
|
+
});
|
|
261550
|
+
|
|
261551
|
+
// ../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/node.js
|
|
261552
|
+
var require_node4 = __commonJS({
|
|
261553
|
+
"../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/node.js"(exports, module2) {
|
|
261554
|
+
var tty2 = require("tty");
|
|
261555
|
+
var util3 = require("util");
|
|
261556
|
+
exports.init = init;
|
|
261557
|
+
exports.log = log;
|
|
261558
|
+
exports.formatArgs = formatArgs;
|
|
261559
|
+
exports.save = save;
|
|
261560
|
+
exports.load = load3;
|
|
261561
|
+
exports.useColors = useColors;
|
|
261562
|
+
exports.destroy = util3.deprecate(
|
|
261563
|
+
() => {
|
|
261564
|
+
},
|
|
261565
|
+
"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
|
|
261566
|
+
);
|
|
261567
|
+
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
261568
|
+
try {
|
|
261569
|
+
const supportsColor2 = require_supports_color();
|
|
261570
|
+
if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
|
|
261571
|
+
exports.colors = [
|
|
261572
|
+
20,
|
|
261573
|
+
21,
|
|
261574
|
+
26,
|
|
261575
|
+
27,
|
|
261576
|
+
32,
|
|
261577
|
+
33,
|
|
261578
|
+
38,
|
|
261579
|
+
39,
|
|
261580
|
+
40,
|
|
261581
|
+
41,
|
|
261582
|
+
42,
|
|
261583
|
+
43,
|
|
261584
|
+
44,
|
|
261585
|
+
45,
|
|
261586
|
+
56,
|
|
261587
|
+
57,
|
|
261588
|
+
62,
|
|
261589
|
+
63,
|
|
261590
|
+
68,
|
|
261591
|
+
69,
|
|
261592
|
+
74,
|
|
261593
|
+
75,
|
|
261594
|
+
76,
|
|
261595
|
+
77,
|
|
261596
|
+
78,
|
|
261597
|
+
79,
|
|
261598
|
+
80,
|
|
261599
|
+
81,
|
|
261600
|
+
92,
|
|
261601
|
+
93,
|
|
261602
|
+
98,
|
|
261603
|
+
99,
|
|
261604
|
+
112,
|
|
261605
|
+
113,
|
|
261606
|
+
128,
|
|
261607
|
+
129,
|
|
261608
|
+
134,
|
|
261609
|
+
135,
|
|
261610
|
+
148,
|
|
261611
|
+
149,
|
|
261612
|
+
160,
|
|
261613
|
+
161,
|
|
261614
|
+
162,
|
|
261615
|
+
163,
|
|
261616
|
+
164,
|
|
261617
|
+
165,
|
|
261618
|
+
166,
|
|
261619
|
+
167,
|
|
261620
|
+
168,
|
|
261621
|
+
169,
|
|
261622
|
+
170,
|
|
261623
|
+
171,
|
|
261624
|
+
172,
|
|
261625
|
+
173,
|
|
261626
|
+
178,
|
|
261627
|
+
179,
|
|
261628
|
+
184,
|
|
261629
|
+
185,
|
|
261630
|
+
196,
|
|
261631
|
+
197,
|
|
261632
|
+
198,
|
|
261633
|
+
199,
|
|
261634
|
+
200,
|
|
261635
|
+
201,
|
|
261636
|
+
202,
|
|
261637
|
+
203,
|
|
261638
|
+
204,
|
|
261639
|
+
205,
|
|
261640
|
+
206,
|
|
261641
|
+
207,
|
|
261642
|
+
208,
|
|
261643
|
+
209,
|
|
261644
|
+
214,
|
|
261645
|
+
215,
|
|
261646
|
+
220,
|
|
261647
|
+
221
|
|
261648
|
+
];
|
|
261649
|
+
}
|
|
261650
|
+
} catch (error2) {
|
|
261651
|
+
}
|
|
261652
|
+
exports.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
261653
|
+
return /^debug_/i.test(key);
|
|
261654
|
+
}).reduce((obj, key) => {
|
|
261655
|
+
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_8, k) => {
|
|
261656
|
+
return k.toUpperCase();
|
|
261657
|
+
});
|
|
261658
|
+
let val = process.env[key];
|
|
261659
|
+
if (/^(yes|on|true|enabled)$/i.test(val)) {
|
|
261660
|
+
val = true;
|
|
261661
|
+
} else if (/^(no|off|false|disabled)$/i.test(val)) {
|
|
261662
|
+
val = false;
|
|
261663
|
+
} else if (val === "null") {
|
|
261664
|
+
val = null;
|
|
261665
|
+
} else {
|
|
261666
|
+
val = Number(val);
|
|
261667
|
+
}
|
|
261668
|
+
obj[prop] = val;
|
|
261669
|
+
return obj;
|
|
261670
|
+
}, {});
|
|
261671
|
+
function useColors() {
|
|
261672
|
+
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
|
|
261673
|
+
}
|
|
261674
|
+
function formatArgs(args) {
|
|
261675
|
+
const { namespace: name, useColors: useColors2 } = this;
|
|
261676
|
+
if (useColors2) {
|
|
261677
|
+
const c2 = this.color;
|
|
261678
|
+
const colorCode = "\x1B[3" + (c2 < 8 ? c2 : "8;5;" + c2);
|
|
261679
|
+
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
261680
|
+
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
261681
|
+
args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
|
|
261682
|
+
} else {
|
|
261683
|
+
args[0] = getDate() + name + " " + args[0];
|
|
261684
|
+
}
|
|
261685
|
+
}
|
|
261686
|
+
function getDate() {
|
|
261687
|
+
if (exports.inspectOpts.hideDate) {
|
|
261688
|
+
return "";
|
|
261689
|
+
}
|
|
261690
|
+
return new Date().toISOString() + " ";
|
|
261691
|
+
}
|
|
261692
|
+
function log(...args) {
|
|
261693
|
+
return process.stderr.write(util3.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
|
261694
|
+
}
|
|
261695
|
+
function save(namespaces) {
|
|
261696
|
+
if (namespaces) {
|
|
261697
|
+
process.env.DEBUG = namespaces;
|
|
261698
|
+
} else {
|
|
261699
|
+
delete process.env.DEBUG;
|
|
261700
|
+
}
|
|
261701
|
+
}
|
|
261702
|
+
function load3() {
|
|
261703
|
+
return process.env.DEBUG;
|
|
261704
|
+
}
|
|
261705
|
+
function init(debug) {
|
|
261706
|
+
debug.inspectOpts = {};
|
|
261707
|
+
const keys = Object.keys(exports.inspectOpts);
|
|
261708
|
+
for (let i = 0; i < keys.length; i++) {
|
|
261709
|
+
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
261710
|
+
}
|
|
261711
|
+
}
|
|
261712
|
+
module2.exports = require_common4()(exports);
|
|
261713
|
+
var { formatters } = module2.exports;
|
|
261714
|
+
formatters.o = function(v) {
|
|
261715
|
+
this.inspectOpts.colors = this.useColors;
|
|
261716
|
+
return util3.inspect(v, this.inspectOpts).split("\n").map((str2) => str2.trim()).join(" ");
|
|
261717
|
+
};
|
|
261718
|
+
formatters.O = function(v) {
|
|
261719
|
+
this.inspectOpts.colors = this.useColors;
|
|
261720
|
+
return util3.inspect(v, this.inspectOpts);
|
|
261721
|
+
};
|
|
261722
|
+
}
|
|
261723
|
+
});
|
|
261724
|
+
|
|
261725
|
+
// ../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/index.js
|
|
261726
|
+
var require_src5 = __commonJS({
|
|
261727
|
+
"../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/index.js"(exports, module2) {
|
|
261728
|
+
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
261729
|
+
module2.exports = require_browser2();
|
|
261730
|
+
} else {
|
|
261731
|
+
module2.exports = require_node4();
|
|
261732
|
+
}
|
|
261733
|
+
}
|
|
261734
|
+
});
|
|
261735
|
+
|
|
261222
261736
|
// ../../node_modules/.pnpm/cookiejar@2.1.4/node_modules/cookiejar/cookiejar.js
|
|
261223
261737
|
var require_cookiejar = __commonJS({
|
|
261224
261738
|
"../../node_modules/.pnpm/cookiejar@2.1.4/node_modules/cookiejar/cookiejar.js"(exports) {
|
|
@@ -265186,7 +265700,7 @@ var require_agent2 = __commonJS({
|
|
|
265186
265700
|
var _require3 = require_cookiejar();
|
|
265187
265701
|
var CookieAccessInfo = _require3.CookieAccessInfo;
|
|
265188
265702
|
var methods = require_methods3();
|
|
265189
|
-
var request =
|
|
265703
|
+
var request = require_node5();
|
|
265190
265704
|
var AgentBase = require_agent_base();
|
|
265191
265705
|
module2.exports = Agent;
|
|
265192
265706
|
function Agent(options) {
|
|
@@ -265353,7 +265867,7 @@ var require_parsers2 = __commonJS({
|
|
|
265353
265867
|
});
|
|
265354
265868
|
|
|
265355
265869
|
// ../../node_modules/.pnpm/superagent@7.1.6/node_modules/superagent/lib/node/index.js
|
|
265356
|
-
var
|
|
265870
|
+
var require_node5 = __commonJS({
|
|
265357
265871
|
"../../node_modules/.pnpm/superagent@7.1.6/node_modules/superagent/lib/node/index.js"(exports, module2) {
|
|
265358
265872
|
"use strict";
|
|
265359
265873
|
function _slicedToArray(arr, i) {
|
|
@@ -265491,7 +266005,7 @@ var require_node4 = __commonJS({
|
|
|
265491
266005
|
var methods = require_methods3();
|
|
265492
266006
|
var FormData3 = require_form_data();
|
|
265493
266007
|
var formidable = require_src4();
|
|
265494
|
-
var debug =
|
|
266008
|
+
var debug = require_src5()("superagent");
|
|
265495
266009
|
var CookieJar = require_cookiejar();
|
|
265496
266010
|
var semverGte = require_gte();
|
|
265497
266011
|
var safeStringify = require_fast_safe_stringify();
|
|
@@ -266258,7 +266772,7 @@ var require_node4 = __commonJS({
|
|
|
266258
266772
|
var require_http4 = __commonJS({
|
|
266259
266773
|
"../../node_modules/.pnpm/path-loader@1.0.12/node_modules/path-loader/lib/loaders/http.js"(exports, module2) {
|
|
266260
266774
|
"use strict";
|
|
266261
|
-
var request =
|
|
266775
|
+
var request = require_node5();
|
|
266262
266776
|
var supportedHttpMethods = ["delete", "get", "head", "patch", "post", "put"];
|
|
266263
266777
|
module2.exports.load = function(location2, options, callback) {
|
|
266264
266778
|
var realMethod = options.method ? options.method.toLowerCase() : "get";
|
|
@@ -284541,6 +285055,16 @@ var state = {
|
|
|
284541
285055
|
"type": "boolean",
|
|
284542
285056
|
"description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
|
|
284543
285057
|
},
|
|
285058
|
+
"verificationStatus": {
|
|
285059
|
+
"type": "string",
|
|
285060
|
+
"enum": [
|
|
285061
|
+
"unapproved",
|
|
285062
|
+
"pending",
|
|
285063
|
+
"approved",
|
|
285064
|
+
"rejected"
|
|
285065
|
+
],
|
|
285066
|
+
"description": "Status of the integration version verification"
|
|
285067
|
+
},
|
|
284544
285068
|
"ownerWorkspace": {
|
|
284545
285069
|
"type": "object",
|
|
284546
285070
|
"properties": {
|
|
@@ -284572,6 +285096,7 @@ var state = {
|
|
|
284572
285096
|
"description",
|
|
284573
285097
|
"iconUrl",
|
|
284574
285098
|
"public",
|
|
285099
|
+
"verificationStatus",
|
|
284575
285100
|
"ownerWorkspace"
|
|
284576
285101
|
]
|
|
284577
285102
|
}
|
|
@@ -285105,6 +285630,16 @@ var state = {
|
|
|
285105
285630
|
"type": "boolean",
|
|
285106
285631
|
"description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
|
|
285107
285632
|
},
|
|
285633
|
+
"verificationStatus": {
|
|
285634
|
+
"type": "string",
|
|
285635
|
+
"enum": [
|
|
285636
|
+
"unapproved",
|
|
285637
|
+
"pending",
|
|
285638
|
+
"approved",
|
|
285639
|
+
"rejected"
|
|
285640
|
+
],
|
|
285641
|
+
"description": "Status of the integration version verification"
|
|
285642
|
+
},
|
|
285108
285643
|
"secrets": {
|
|
285109
285644
|
"type": "array",
|
|
285110
285645
|
"items": {
|
|
@@ -285156,6 +285691,7 @@ var state = {
|
|
|
285156
285691
|
"iconUrl",
|
|
285157
285692
|
"readmeUrl",
|
|
285158
285693
|
"public",
|
|
285694
|
+
"verificationStatus",
|
|
285159
285695
|
"secrets",
|
|
285160
285696
|
"ownerWorkspace"
|
|
285161
285697
|
],
|
|
@@ -285684,6 +286220,16 @@ var state = {
|
|
|
285684
286220
|
"type": "boolean",
|
|
285685
286221
|
"description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
|
|
285686
286222
|
},
|
|
286223
|
+
"verificationStatus": {
|
|
286224
|
+
"type": "string",
|
|
286225
|
+
"enum": [
|
|
286226
|
+
"unapproved",
|
|
286227
|
+
"pending",
|
|
286228
|
+
"approved",
|
|
286229
|
+
"rejected"
|
|
286230
|
+
],
|
|
286231
|
+
"description": "Status of the integration version verification"
|
|
286232
|
+
},
|
|
285687
286233
|
"secrets": {
|
|
285688
286234
|
"type": "array",
|
|
285689
286235
|
"items": {
|
|
@@ -285735,6 +286281,7 @@ var state = {
|
|
|
285735
286281
|
"iconUrl",
|
|
285736
286282
|
"readmeUrl",
|
|
285737
286283
|
"public",
|
|
286284
|
+
"verificationStatus",
|
|
285738
286285
|
"secrets",
|
|
285739
286286
|
"ownerWorkspace"
|
|
285740
286287
|
],
|
|
@@ -290451,6 +290998,16 @@ var state = {
|
|
|
290451
290998
|
"public": {
|
|
290452
290999
|
"type": "boolean",
|
|
290453
291000
|
"description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
|
|
291001
|
+
},
|
|
291002
|
+
"verificationStatus": {
|
|
291003
|
+
"type": "string",
|
|
291004
|
+
"enum": [
|
|
291005
|
+
"unapproved",
|
|
291006
|
+
"pending",
|
|
291007
|
+
"approved",
|
|
291008
|
+
"rejected"
|
|
291009
|
+
],
|
|
291010
|
+
"description": "Status of the integration version verification"
|
|
290454
291011
|
}
|
|
290455
291012
|
},
|
|
290456
291013
|
"required": [
|
|
@@ -290462,7 +291019,8 @@ var state = {
|
|
|
290462
291019
|
"title",
|
|
290463
291020
|
"description",
|
|
290464
291021
|
"iconUrl",
|
|
290465
|
-
"public"
|
|
291022
|
+
"public",
|
|
291023
|
+
"verificationStatus"
|
|
290466
291024
|
]
|
|
290467
291025
|
}
|
|
290468
291026
|
},
|
|
@@ -293163,7 +293721,7 @@ var state = {
|
|
|
293163
293721
|
"title": "Botpress API",
|
|
293164
293722
|
"description": "API for Botpress Cloud",
|
|
293165
293723
|
"server": "https://api.botpress.cloud",
|
|
293166
|
-
"version": "0.
|
|
293724
|
+
"version": "0.38.0",
|
|
293167
293725
|
"prefix": "v1"
|
|
293168
293726
|
},
|
|
293169
293727
|
"errors": [
|
|
@@ -293614,6 +294172,16 @@ var state = {
|
|
|
293614
294172
|
"public": {
|
|
293615
294173
|
"type": "boolean",
|
|
293616
294174
|
"description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
|
|
294175
|
+
},
|
|
294176
|
+
"verificationStatus": {
|
|
294177
|
+
"type": "string",
|
|
294178
|
+
"enum": [
|
|
294179
|
+
"unapproved",
|
|
294180
|
+
"pending",
|
|
294181
|
+
"approved",
|
|
294182
|
+
"rejected"
|
|
294183
|
+
],
|
|
294184
|
+
"description": "Status of the integration version verification"
|
|
293617
294185
|
}
|
|
293618
294186
|
},
|
|
293619
294187
|
"required": [
|
|
@@ -293631,7 +294199,8 @@ var state = {
|
|
|
293631
294199
|
"title",
|
|
293632
294200
|
"description",
|
|
293633
294201
|
"iconUrl",
|
|
293634
|
-
"public"
|
|
294202
|
+
"public",
|
|
294203
|
+
"verificationStatus"
|
|
293635
294204
|
],
|
|
293636
294205
|
"additionalProperties": false
|
|
293637
294206
|
},
|
|
@@ -294493,6 +295062,16 @@ var state = {
|
|
|
294493
295062
|
"type": "boolean",
|
|
294494
295063
|
"description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
|
|
294495
295064
|
},
|
|
295065
|
+
"verificationStatus": {
|
|
295066
|
+
"type": "string",
|
|
295067
|
+
"enum": [
|
|
295068
|
+
"unapproved",
|
|
295069
|
+
"pending",
|
|
295070
|
+
"approved",
|
|
295071
|
+
"rejected"
|
|
295072
|
+
],
|
|
295073
|
+
"description": "Status of the integration version verification"
|
|
295074
|
+
},
|
|
294496
295075
|
"secrets": {
|
|
294497
295076
|
"type": "array",
|
|
294498
295077
|
"items": {
|
|
@@ -294523,6 +295102,7 @@ var state = {
|
|
|
294523
295102
|
"iconUrl",
|
|
294524
295103
|
"readmeUrl",
|
|
294525
295104
|
"public",
|
|
295105
|
+
"verificationStatus",
|
|
294526
295106
|
"secrets"
|
|
294527
295107
|
],
|
|
294528
295108
|
"additionalProperties": false
|
|
@@ -296021,12 +296601,6 @@ var state = {
|
|
|
296021
296601
|
],
|
|
296022
296602
|
"schema": "Message"
|
|
296023
296603
|
},
|
|
296024
|
-
{
|
|
296025
|
-
"description": "",
|
|
296026
|
-
"title": "File",
|
|
296027
|
-
"name": "file",
|
|
296028
|
-
"operations": []
|
|
296029
|
-
},
|
|
296030
296604
|
{
|
|
296031
296605
|
"description": "",
|
|
296032
296606
|
"title": "State",
|