@botpress/api 1.21.0 → 1.23.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 +724 -14
- package/dist/src/gen/admin/state.d.ts +61 -0
- package/dist/src/gen/files/state.d.ts +14 -0
- package/dist/src/gen/runtime/state.d.ts +15 -0
- package/dist/src/gen/state.d.ts +62 -0
- package/dist/src/gen/tables/state.d.ts +14 -0
- package/package.json +1 -1
- package/src/gen/admin/metadata.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +67 -1
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +17 -1
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +18 -1
- package/src/gen/state.ts +68 -1
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +17 -1
package/dist/index.js
CHANGED
|
@@ -164288,7 +164288,7 @@ var require_prettier = __commonJS({
|
|
|
164288
164288
|
module22.exports.default = module22.exports;
|
|
164289
164289
|
}
|
|
164290
164290
|
});
|
|
164291
|
-
var
|
|
164291
|
+
var require_common5 = __commonJS22({
|
|
164292
164292
|
"node_modules/vnopts/lib/handlers/deprecated/common.js"(exports2) {
|
|
164293
164293
|
"use strict";
|
|
164294
164294
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -164313,7 +164313,7 @@ var require_prettier = __commonJS({
|
|
|
164313
164313
|
value: true
|
|
164314
164314
|
});
|
|
164315
164315
|
var tslib_1 = (init_tslib_es6(), __toCommonJS2(tslib_es6_exports));
|
|
164316
|
-
tslib_1.__exportStar(
|
|
164316
|
+
tslib_1.__exportStar(require_common5(), exports2);
|
|
164317
164317
|
}
|
|
164318
164318
|
});
|
|
164319
164319
|
var require_common22 = __commonJS22({
|
|
@@ -164903,7 +164903,7 @@ var require_prettier = __commonJS({
|
|
|
164903
164903
|
value: true
|
|
164904
164904
|
});
|
|
164905
164905
|
var api_1 = require_api3();
|
|
164906
|
-
var common_1 =
|
|
164906
|
+
var common_1 = require_common5();
|
|
164907
164907
|
var invalid_1 = require_invalid();
|
|
164908
164908
|
var leven_1 = require_leven22();
|
|
164909
164909
|
exports2.defaultDescriptor = api_1.apiDescriptor;
|
|
@@ -173716,7 +173716,7 @@ ${error2.message}`;
|
|
|
173716
173716
|
module22.exports = Function.prototype.bind || implementation;
|
|
173717
173717
|
}
|
|
173718
173718
|
});
|
|
173719
|
-
var
|
|
173719
|
+
var require_src6 = __commonJS22({
|
|
173720
173720
|
"node_modules/has/src/index.js"(exports2, module22) {
|
|
173721
173721
|
"use strict";
|
|
173722
173722
|
var bind2 = require_function_bind2();
|
|
@@ -173885,7 +173885,7 @@ ${error2.message}`;
|
|
|
173885
173885
|
var require_is_core_module = __commonJS22({
|
|
173886
173886
|
"node_modules/is-core-module/index.js"(exports2, module22) {
|
|
173887
173887
|
"use strict";
|
|
173888
|
-
var has =
|
|
173888
|
+
var has = require_src6();
|
|
173889
173889
|
function specifierIncluded(current, specifier) {
|
|
173890
173890
|
var nodeParts = current.split(".");
|
|
173891
173891
|
var parts = specifier.split(" ");
|
|
@@ -261190,6 +261190,534 @@ var require_src4 = __commonJS({
|
|
|
261190
261190
|
}
|
|
261191
261191
|
});
|
|
261192
261192
|
|
|
261193
|
+
// ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js
|
|
261194
|
+
var require_common4 = __commonJS({
|
|
261195
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js"(exports, module2) {
|
|
261196
|
+
function setup(env2) {
|
|
261197
|
+
createDebug.debug = createDebug;
|
|
261198
|
+
createDebug.default = createDebug;
|
|
261199
|
+
createDebug.coerce = coerce2;
|
|
261200
|
+
createDebug.disable = disable;
|
|
261201
|
+
createDebug.enable = enable;
|
|
261202
|
+
createDebug.enabled = enabled;
|
|
261203
|
+
createDebug.humanize = require_ms();
|
|
261204
|
+
createDebug.destroy = destroy;
|
|
261205
|
+
Object.keys(env2).forEach((key) => {
|
|
261206
|
+
createDebug[key] = env2[key];
|
|
261207
|
+
});
|
|
261208
|
+
createDebug.names = [];
|
|
261209
|
+
createDebug.skips = [];
|
|
261210
|
+
createDebug.formatters = {};
|
|
261211
|
+
function selectColor(namespace) {
|
|
261212
|
+
let hash = 0;
|
|
261213
|
+
for (let i = 0; i < namespace.length; i++) {
|
|
261214
|
+
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
261215
|
+
hash |= 0;
|
|
261216
|
+
}
|
|
261217
|
+
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
261218
|
+
}
|
|
261219
|
+
createDebug.selectColor = selectColor;
|
|
261220
|
+
function createDebug(namespace) {
|
|
261221
|
+
let prevTime;
|
|
261222
|
+
let enableOverride = null;
|
|
261223
|
+
let namespacesCache;
|
|
261224
|
+
let enabledCache;
|
|
261225
|
+
function debug(...args) {
|
|
261226
|
+
if (!debug.enabled) {
|
|
261227
|
+
return;
|
|
261228
|
+
}
|
|
261229
|
+
const self2 = debug;
|
|
261230
|
+
const curr = Number(new Date());
|
|
261231
|
+
const ms = curr - (prevTime || curr);
|
|
261232
|
+
self2.diff = ms;
|
|
261233
|
+
self2.prev = prevTime;
|
|
261234
|
+
self2.curr = curr;
|
|
261235
|
+
prevTime = curr;
|
|
261236
|
+
args[0] = createDebug.coerce(args[0]);
|
|
261237
|
+
if (typeof args[0] !== "string") {
|
|
261238
|
+
args.unshift("%O");
|
|
261239
|
+
}
|
|
261240
|
+
let index = 0;
|
|
261241
|
+
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
|
|
261242
|
+
if (match === "%%") {
|
|
261243
|
+
return "%";
|
|
261244
|
+
}
|
|
261245
|
+
index++;
|
|
261246
|
+
const formatter = createDebug.formatters[format];
|
|
261247
|
+
if (typeof formatter === "function") {
|
|
261248
|
+
const val = args[index];
|
|
261249
|
+
match = formatter.call(self2, val);
|
|
261250
|
+
args.splice(index, 1);
|
|
261251
|
+
index--;
|
|
261252
|
+
}
|
|
261253
|
+
return match;
|
|
261254
|
+
});
|
|
261255
|
+
createDebug.formatArgs.call(self2, args);
|
|
261256
|
+
const logFn = self2.log || createDebug.log;
|
|
261257
|
+
logFn.apply(self2, args);
|
|
261258
|
+
}
|
|
261259
|
+
debug.namespace = namespace;
|
|
261260
|
+
debug.useColors = createDebug.useColors();
|
|
261261
|
+
debug.color = createDebug.selectColor(namespace);
|
|
261262
|
+
debug.extend = extend4;
|
|
261263
|
+
debug.destroy = createDebug.destroy;
|
|
261264
|
+
Object.defineProperty(debug, "enabled", {
|
|
261265
|
+
enumerable: true,
|
|
261266
|
+
configurable: false,
|
|
261267
|
+
get: () => {
|
|
261268
|
+
if (enableOverride !== null) {
|
|
261269
|
+
return enableOverride;
|
|
261270
|
+
}
|
|
261271
|
+
if (namespacesCache !== createDebug.namespaces) {
|
|
261272
|
+
namespacesCache = createDebug.namespaces;
|
|
261273
|
+
enabledCache = createDebug.enabled(namespace);
|
|
261274
|
+
}
|
|
261275
|
+
return enabledCache;
|
|
261276
|
+
},
|
|
261277
|
+
set: (v) => {
|
|
261278
|
+
enableOverride = v;
|
|
261279
|
+
}
|
|
261280
|
+
});
|
|
261281
|
+
if (typeof createDebug.init === "function") {
|
|
261282
|
+
createDebug.init(debug);
|
|
261283
|
+
}
|
|
261284
|
+
return debug;
|
|
261285
|
+
}
|
|
261286
|
+
function extend4(namespace, delimiter) {
|
|
261287
|
+
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
|
261288
|
+
newDebug.log = this.log;
|
|
261289
|
+
return newDebug;
|
|
261290
|
+
}
|
|
261291
|
+
function enable(namespaces) {
|
|
261292
|
+
createDebug.save(namespaces);
|
|
261293
|
+
createDebug.namespaces = namespaces;
|
|
261294
|
+
createDebug.names = [];
|
|
261295
|
+
createDebug.skips = [];
|
|
261296
|
+
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
|
|
261297
|
+
for (const ns of split) {
|
|
261298
|
+
if (ns[0] === "-") {
|
|
261299
|
+
createDebug.skips.push(ns.slice(1));
|
|
261300
|
+
} else {
|
|
261301
|
+
createDebug.names.push(ns);
|
|
261302
|
+
}
|
|
261303
|
+
}
|
|
261304
|
+
}
|
|
261305
|
+
function matchesTemplate(search, template2) {
|
|
261306
|
+
let searchIndex = 0;
|
|
261307
|
+
let templateIndex = 0;
|
|
261308
|
+
let starIndex = -1;
|
|
261309
|
+
let matchIndex = 0;
|
|
261310
|
+
while (searchIndex < search.length) {
|
|
261311
|
+
if (templateIndex < template2.length && (template2[templateIndex] === search[searchIndex] || template2[templateIndex] === "*")) {
|
|
261312
|
+
if (template2[templateIndex] === "*") {
|
|
261313
|
+
starIndex = templateIndex;
|
|
261314
|
+
matchIndex = searchIndex;
|
|
261315
|
+
templateIndex++;
|
|
261316
|
+
} else {
|
|
261317
|
+
searchIndex++;
|
|
261318
|
+
templateIndex++;
|
|
261319
|
+
}
|
|
261320
|
+
} else if (starIndex !== -1) {
|
|
261321
|
+
templateIndex = starIndex + 1;
|
|
261322
|
+
matchIndex++;
|
|
261323
|
+
searchIndex = matchIndex;
|
|
261324
|
+
} else {
|
|
261325
|
+
return false;
|
|
261326
|
+
}
|
|
261327
|
+
}
|
|
261328
|
+
while (templateIndex < template2.length && template2[templateIndex] === "*") {
|
|
261329
|
+
templateIndex++;
|
|
261330
|
+
}
|
|
261331
|
+
return templateIndex === template2.length;
|
|
261332
|
+
}
|
|
261333
|
+
function disable() {
|
|
261334
|
+
const namespaces = [
|
|
261335
|
+
...createDebug.names,
|
|
261336
|
+
...createDebug.skips.map((namespace) => "-" + namespace)
|
|
261337
|
+
].join(",");
|
|
261338
|
+
createDebug.enable("");
|
|
261339
|
+
return namespaces;
|
|
261340
|
+
}
|
|
261341
|
+
function enabled(name) {
|
|
261342
|
+
for (const skip of createDebug.skips) {
|
|
261343
|
+
if (matchesTemplate(name, skip)) {
|
|
261344
|
+
return false;
|
|
261345
|
+
}
|
|
261346
|
+
}
|
|
261347
|
+
for (const ns of createDebug.names) {
|
|
261348
|
+
if (matchesTemplate(name, ns)) {
|
|
261349
|
+
return true;
|
|
261350
|
+
}
|
|
261351
|
+
}
|
|
261352
|
+
return false;
|
|
261353
|
+
}
|
|
261354
|
+
function coerce2(val) {
|
|
261355
|
+
if (val instanceof Error) {
|
|
261356
|
+
return val.stack || val.message;
|
|
261357
|
+
}
|
|
261358
|
+
return val;
|
|
261359
|
+
}
|
|
261360
|
+
function destroy() {
|
|
261361
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
261362
|
+
}
|
|
261363
|
+
createDebug.enable(createDebug.load());
|
|
261364
|
+
return createDebug;
|
|
261365
|
+
}
|
|
261366
|
+
module2.exports = setup;
|
|
261367
|
+
}
|
|
261368
|
+
});
|
|
261369
|
+
|
|
261370
|
+
// ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js
|
|
261371
|
+
var require_browser2 = __commonJS({
|
|
261372
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js"(exports, module2) {
|
|
261373
|
+
exports.formatArgs = formatArgs;
|
|
261374
|
+
exports.save = save;
|
|
261375
|
+
exports.load = load3;
|
|
261376
|
+
exports.useColors = useColors;
|
|
261377
|
+
exports.storage = localstorage();
|
|
261378
|
+
exports.destroy = (() => {
|
|
261379
|
+
let warned = false;
|
|
261380
|
+
return () => {
|
|
261381
|
+
if (!warned) {
|
|
261382
|
+
warned = true;
|
|
261383
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
261384
|
+
}
|
|
261385
|
+
};
|
|
261386
|
+
})();
|
|
261387
|
+
exports.colors = [
|
|
261388
|
+
"#0000CC",
|
|
261389
|
+
"#0000FF",
|
|
261390
|
+
"#0033CC",
|
|
261391
|
+
"#0033FF",
|
|
261392
|
+
"#0066CC",
|
|
261393
|
+
"#0066FF",
|
|
261394
|
+
"#0099CC",
|
|
261395
|
+
"#0099FF",
|
|
261396
|
+
"#00CC00",
|
|
261397
|
+
"#00CC33",
|
|
261398
|
+
"#00CC66",
|
|
261399
|
+
"#00CC99",
|
|
261400
|
+
"#00CCCC",
|
|
261401
|
+
"#00CCFF",
|
|
261402
|
+
"#3300CC",
|
|
261403
|
+
"#3300FF",
|
|
261404
|
+
"#3333CC",
|
|
261405
|
+
"#3333FF",
|
|
261406
|
+
"#3366CC",
|
|
261407
|
+
"#3366FF",
|
|
261408
|
+
"#3399CC",
|
|
261409
|
+
"#3399FF",
|
|
261410
|
+
"#33CC00",
|
|
261411
|
+
"#33CC33",
|
|
261412
|
+
"#33CC66",
|
|
261413
|
+
"#33CC99",
|
|
261414
|
+
"#33CCCC",
|
|
261415
|
+
"#33CCFF",
|
|
261416
|
+
"#6600CC",
|
|
261417
|
+
"#6600FF",
|
|
261418
|
+
"#6633CC",
|
|
261419
|
+
"#6633FF",
|
|
261420
|
+
"#66CC00",
|
|
261421
|
+
"#66CC33",
|
|
261422
|
+
"#9900CC",
|
|
261423
|
+
"#9900FF",
|
|
261424
|
+
"#9933CC",
|
|
261425
|
+
"#9933FF",
|
|
261426
|
+
"#99CC00",
|
|
261427
|
+
"#99CC33",
|
|
261428
|
+
"#CC0000",
|
|
261429
|
+
"#CC0033",
|
|
261430
|
+
"#CC0066",
|
|
261431
|
+
"#CC0099",
|
|
261432
|
+
"#CC00CC",
|
|
261433
|
+
"#CC00FF",
|
|
261434
|
+
"#CC3300",
|
|
261435
|
+
"#CC3333",
|
|
261436
|
+
"#CC3366",
|
|
261437
|
+
"#CC3399",
|
|
261438
|
+
"#CC33CC",
|
|
261439
|
+
"#CC33FF",
|
|
261440
|
+
"#CC6600",
|
|
261441
|
+
"#CC6633",
|
|
261442
|
+
"#CC9900",
|
|
261443
|
+
"#CC9933",
|
|
261444
|
+
"#CCCC00",
|
|
261445
|
+
"#CCCC33",
|
|
261446
|
+
"#FF0000",
|
|
261447
|
+
"#FF0033",
|
|
261448
|
+
"#FF0066",
|
|
261449
|
+
"#FF0099",
|
|
261450
|
+
"#FF00CC",
|
|
261451
|
+
"#FF00FF",
|
|
261452
|
+
"#FF3300",
|
|
261453
|
+
"#FF3333",
|
|
261454
|
+
"#FF3366",
|
|
261455
|
+
"#FF3399",
|
|
261456
|
+
"#FF33CC",
|
|
261457
|
+
"#FF33FF",
|
|
261458
|
+
"#FF6600",
|
|
261459
|
+
"#FF6633",
|
|
261460
|
+
"#FF9900",
|
|
261461
|
+
"#FF9933",
|
|
261462
|
+
"#FFCC00",
|
|
261463
|
+
"#FFCC33"
|
|
261464
|
+
];
|
|
261465
|
+
function useColors() {
|
|
261466
|
+
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
|
|
261467
|
+
return true;
|
|
261468
|
+
}
|
|
261469
|
+
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
261470
|
+
return false;
|
|
261471
|
+
}
|
|
261472
|
+
let m;
|
|
261473
|
+
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+)/);
|
|
261474
|
+
}
|
|
261475
|
+
function formatArgs(args) {
|
|
261476
|
+
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
|
|
261477
|
+
if (!this.useColors) {
|
|
261478
|
+
return;
|
|
261479
|
+
}
|
|
261480
|
+
const c2 = "color: " + this.color;
|
|
261481
|
+
args.splice(1, 0, c2, "color: inherit");
|
|
261482
|
+
let index = 0;
|
|
261483
|
+
let lastC = 0;
|
|
261484
|
+
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
261485
|
+
if (match === "%%") {
|
|
261486
|
+
return;
|
|
261487
|
+
}
|
|
261488
|
+
index++;
|
|
261489
|
+
if (match === "%c") {
|
|
261490
|
+
lastC = index;
|
|
261491
|
+
}
|
|
261492
|
+
});
|
|
261493
|
+
args.splice(lastC, 0, c2);
|
|
261494
|
+
}
|
|
261495
|
+
exports.log = console.debug || console.log || (() => {
|
|
261496
|
+
});
|
|
261497
|
+
function save(namespaces) {
|
|
261498
|
+
try {
|
|
261499
|
+
if (namespaces) {
|
|
261500
|
+
exports.storage.setItem("debug", namespaces);
|
|
261501
|
+
} else {
|
|
261502
|
+
exports.storage.removeItem("debug");
|
|
261503
|
+
}
|
|
261504
|
+
} catch (error2) {
|
|
261505
|
+
}
|
|
261506
|
+
}
|
|
261507
|
+
function load3() {
|
|
261508
|
+
let r;
|
|
261509
|
+
try {
|
|
261510
|
+
r = exports.storage.getItem("debug") || exports.storage.getItem("DEBUG");
|
|
261511
|
+
} catch (error2) {
|
|
261512
|
+
}
|
|
261513
|
+
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
261514
|
+
r = process.env.DEBUG;
|
|
261515
|
+
}
|
|
261516
|
+
return r;
|
|
261517
|
+
}
|
|
261518
|
+
function localstorage() {
|
|
261519
|
+
try {
|
|
261520
|
+
return localStorage;
|
|
261521
|
+
} catch (error2) {
|
|
261522
|
+
}
|
|
261523
|
+
}
|
|
261524
|
+
module2.exports = require_common4()(exports);
|
|
261525
|
+
var { formatters } = module2.exports;
|
|
261526
|
+
formatters.j = function(v) {
|
|
261527
|
+
try {
|
|
261528
|
+
return JSON.stringify(v);
|
|
261529
|
+
} catch (error2) {
|
|
261530
|
+
return "[UnexpectedJSONParseError]: " + error2.message;
|
|
261531
|
+
}
|
|
261532
|
+
};
|
|
261533
|
+
}
|
|
261534
|
+
});
|
|
261535
|
+
|
|
261536
|
+
// ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js
|
|
261537
|
+
var require_node4 = __commonJS({
|
|
261538
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js"(exports, module2) {
|
|
261539
|
+
var tty2 = require("tty");
|
|
261540
|
+
var util4 = require("util");
|
|
261541
|
+
exports.init = init;
|
|
261542
|
+
exports.log = log;
|
|
261543
|
+
exports.formatArgs = formatArgs;
|
|
261544
|
+
exports.save = save;
|
|
261545
|
+
exports.load = load3;
|
|
261546
|
+
exports.useColors = useColors;
|
|
261547
|
+
exports.destroy = util4.deprecate(
|
|
261548
|
+
() => {
|
|
261549
|
+
},
|
|
261550
|
+
"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
|
|
261551
|
+
);
|
|
261552
|
+
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
261553
|
+
try {
|
|
261554
|
+
const supportsColor2 = require_supports_color();
|
|
261555
|
+
if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
|
|
261556
|
+
exports.colors = [
|
|
261557
|
+
20,
|
|
261558
|
+
21,
|
|
261559
|
+
26,
|
|
261560
|
+
27,
|
|
261561
|
+
32,
|
|
261562
|
+
33,
|
|
261563
|
+
38,
|
|
261564
|
+
39,
|
|
261565
|
+
40,
|
|
261566
|
+
41,
|
|
261567
|
+
42,
|
|
261568
|
+
43,
|
|
261569
|
+
44,
|
|
261570
|
+
45,
|
|
261571
|
+
56,
|
|
261572
|
+
57,
|
|
261573
|
+
62,
|
|
261574
|
+
63,
|
|
261575
|
+
68,
|
|
261576
|
+
69,
|
|
261577
|
+
74,
|
|
261578
|
+
75,
|
|
261579
|
+
76,
|
|
261580
|
+
77,
|
|
261581
|
+
78,
|
|
261582
|
+
79,
|
|
261583
|
+
80,
|
|
261584
|
+
81,
|
|
261585
|
+
92,
|
|
261586
|
+
93,
|
|
261587
|
+
98,
|
|
261588
|
+
99,
|
|
261589
|
+
112,
|
|
261590
|
+
113,
|
|
261591
|
+
128,
|
|
261592
|
+
129,
|
|
261593
|
+
134,
|
|
261594
|
+
135,
|
|
261595
|
+
148,
|
|
261596
|
+
149,
|
|
261597
|
+
160,
|
|
261598
|
+
161,
|
|
261599
|
+
162,
|
|
261600
|
+
163,
|
|
261601
|
+
164,
|
|
261602
|
+
165,
|
|
261603
|
+
166,
|
|
261604
|
+
167,
|
|
261605
|
+
168,
|
|
261606
|
+
169,
|
|
261607
|
+
170,
|
|
261608
|
+
171,
|
|
261609
|
+
172,
|
|
261610
|
+
173,
|
|
261611
|
+
178,
|
|
261612
|
+
179,
|
|
261613
|
+
184,
|
|
261614
|
+
185,
|
|
261615
|
+
196,
|
|
261616
|
+
197,
|
|
261617
|
+
198,
|
|
261618
|
+
199,
|
|
261619
|
+
200,
|
|
261620
|
+
201,
|
|
261621
|
+
202,
|
|
261622
|
+
203,
|
|
261623
|
+
204,
|
|
261624
|
+
205,
|
|
261625
|
+
206,
|
|
261626
|
+
207,
|
|
261627
|
+
208,
|
|
261628
|
+
209,
|
|
261629
|
+
214,
|
|
261630
|
+
215,
|
|
261631
|
+
220,
|
|
261632
|
+
221
|
|
261633
|
+
];
|
|
261634
|
+
}
|
|
261635
|
+
} catch (error2) {
|
|
261636
|
+
}
|
|
261637
|
+
exports.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
261638
|
+
return /^debug_/i.test(key);
|
|
261639
|
+
}).reduce((obj, key) => {
|
|
261640
|
+
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_8, k) => {
|
|
261641
|
+
return k.toUpperCase();
|
|
261642
|
+
});
|
|
261643
|
+
let val = process.env[key];
|
|
261644
|
+
if (/^(yes|on|true|enabled)$/i.test(val)) {
|
|
261645
|
+
val = true;
|
|
261646
|
+
} else if (/^(no|off|false|disabled)$/i.test(val)) {
|
|
261647
|
+
val = false;
|
|
261648
|
+
} else if (val === "null") {
|
|
261649
|
+
val = null;
|
|
261650
|
+
} else {
|
|
261651
|
+
val = Number(val);
|
|
261652
|
+
}
|
|
261653
|
+
obj[prop] = val;
|
|
261654
|
+
return obj;
|
|
261655
|
+
}, {});
|
|
261656
|
+
function useColors() {
|
|
261657
|
+
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
|
|
261658
|
+
}
|
|
261659
|
+
function formatArgs(args) {
|
|
261660
|
+
const { namespace: name, useColors: useColors2 } = this;
|
|
261661
|
+
if (useColors2) {
|
|
261662
|
+
const c2 = this.color;
|
|
261663
|
+
const colorCode = "\x1B[3" + (c2 < 8 ? c2 : "8;5;" + c2);
|
|
261664
|
+
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
261665
|
+
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
261666
|
+
args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
|
|
261667
|
+
} else {
|
|
261668
|
+
args[0] = getDate() + name + " " + args[0];
|
|
261669
|
+
}
|
|
261670
|
+
}
|
|
261671
|
+
function getDate() {
|
|
261672
|
+
if (exports.inspectOpts.hideDate) {
|
|
261673
|
+
return "";
|
|
261674
|
+
}
|
|
261675
|
+
return new Date().toISOString() + " ";
|
|
261676
|
+
}
|
|
261677
|
+
function log(...args) {
|
|
261678
|
+
return process.stderr.write(util4.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
|
261679
|
+
}
|
|
261680
|
+
function save(namespaces) {
|
|
261681
|
+
if (namespaces) {
|
|
261682
|
+
process.env.DEBUG = namespaces;
|
|
261683
|
+
} else {
|
|
261684
|
+
delete process.env.DEBUG;
|
|
261685
|
+
}
|
|
261686
|
+
}
|
|
261687
|
+
function load3() {
|
|
261688
|
+
return process.env.DEBUG;
|
|
261689
|
+
}
|
|
261690
|
+
function init(debug) {
|
|
261691
|
+
debug.inspectOpts = {};
|
|
261692
|
+
const keys = Object.keys(exports.inspectOpts);
|
|
261693
|
+
for (let i = 0; i < keys.length; i++) {
|
|
261694
|
+
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
261695
|
+
}
|
|
261696
|
+
}
|
|
261697
|
+
module2.exports = require_common4()(exports);
|
|
261698
|
+
var { formatters } = module2.exports;
|
|
261699
|
+
formatters.o = function(v) {
|
|
261700
|
+
this.inspectOpts.colors = this.useColors;
|
|
261701
|
+
return util4.inspect(v, this.inspectOpts).split("\n").map((str2) => str2.trim()).join(" ");
|
|
261702
|
+
};
|
|
261703
|
+
formatters.O = function(v) {
|
|
261704
|
+
this.inspectOpts.colors = this.useColors;
|
|
261705
|
+
return util4.inspect(v, this.inspectOpts);
|
|
261706
|
+
};
|
|
261707
|
+
}
|
|
261708
|
+
});
|
|
261709
|
+
|
|
261710
|
+
// ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js
|
|
261711
|
+
var require_src5 = __commonJS({
|
|
261712
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js"(exports, module2) {
|
|
261713
|
+
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
261714
|
+
module2.exports = require_browser2();
|
|
261715
|
+
} else {
|
|
261716
|
+
module2.exports = require_node4();
|
|
261717
|
+
}
|
|
261718
|
+
}
|
|
261719
|
+
});
|
|
261720
|
+
|
|
261193
261721
|
// ../../node_modules/.pnpm/cookiejar@2.1.4/node_modules/cookiejar/cookiejar.js
|
|
261194
261722
|
var require_cookiejar = __commonJS({
|
|
261195
261723
|
"../../node_modules/.pnpm/cookiejar@2.1.4/node_modules/cookiejar/cookiejar.js"(exports) {
|
|
@@ -264561,7 +265089,7 @@ var require_agent2 = __commonJS({
|
|
|
264561
265089
|
var _require3 = require_cookiejar();
|
|
264562
265090
|
var CookieAccessInfo = _require3.CookieAccessInfo;
|
|
264563
265091
|
var methods = require_methods3();
|
|
264564
|
-
var request =
|
|
265092
|
+
var request = require_node5();
|
|
264565
265093
|
var AgentBase = require_agent_base();
|
|
264566
265094
|
module2.exports = Agent;
|
|
264567
265095
|
function Agent(options) {
|
|
@@ -264728,7 +265256,7 @@ var require_parsers2 = __commonJS({
|
|
|
264728
265256
|
});
|
|
264729
265257
|
|
|
264730
265258
|
// ../../node_modules/.pnpm/superagent@7.1.6/node_modules/superagent/lib/node/index.js
|
|
264731
|
-
var
|
|
265259
|
+
var require_node5 = __commonJS({
|
|
264732
265260
|
"../../node_modules/.pnpm/superagent@7.1.6/node_modules/superagent/lib/node/index.js"(exports, module2) {
|
|
264733
265261
|
"use strict";
|
|
264734
265262
|
function _slicedToArray(arr, i) {
|
|
@@ -264866,7 +265394,7 @@ var require_node4 = __commonJS({
|
|
|
264866
265394
|
var methods = require_methods3();
|
|
264867
265395
|
var FormData3 = require_form_data();
|
|
264868
265396
|
var formidable = require_src4();
|
|
264869
|
-
var debug =
|
|
265397
|
+
var debug = require_src5()("superagent");
|
|
264870
265398
|
var CookieJar = require_cookiejar();
|
|
264871
265399
|
var semverGte = require_gte();
|
|
264872
265400
|
var safeStringify = require_fast_safe_stringify();
|
|
@@ -265633,7 +266161,7 @@ var require_node4 = __commonJS({
|
|
|
265633
266161
|
var require_http4 = __commonJS({
|
|
265634
266162
|
"../../node_modules/.pnpm/path-loader@1.0.12/node_modules/path-loader/lib/loaders/http.js"(exports, module2) {
|
|
265635
266163
|
"use strict";
|
|
265636
|
-
var request =
|
|
266164
|
+
var request = require_node5();
|
|
265637
266165
|
var supportedHttpMethods = ["delete", "get", "head", "patch", "post", "put"];
|
|
265638
266166
|
module2.exports.load = function(location2, options, callback) {
|
|
265639
266167
|
var realMethod = options.method ? options.method.toLowerCase() : "get";
|
|
@@ -282791,6 +283319,7 @@ var state = {
|
|
|
282791
283319
|
"name": {
|
|
282792
283320
|
"type": "string",
|
|
282793
283321
|
"maxLength": 200,
|
|
283322
|
+
"nullable": true,
|
|
282794
283323
|
"description": "Name of the user"
|
|
282795
283324
|
},
|
|
282796
283325
|
"pictureUrl": {
|
|
@@ -284123,7 +284652,7 @@ var state = {
|
|
|
284123
284652
|
"title": "Botpress API",
|
|
284124
284653
|
"description": "API for Botpress Cloud",
|
|
284125
284654
|
"server": "https://api.botpress.cloud",
|
|
284126
|
-
"version": "1.
|
|
284655
|
+
"version": "1.23.0",
|
|
284127
284656
|
"prefix": "v1"
|
|
284128
284657
|
},
|
|
284129
284658
|
"errors": [
|
|
@@ -284530,6 +285059,22 @@ var state = {
|
|
|
284530
285059
|
"type": "object",
|
|
284531
285060
|
"additionalProperties": true
|
|
284532
285061
|
},
|
|
285062
|
+
"interfaces": {
|
|
285063
|
+
"type": "object",
|
|
285064
|
+
"additionalProperties": {
|
|
285065
|
+
"type": "object",
|
|
285066
|
+
"properties": {
|
|
285067
|
+
"integrationId": {
|
|
285068
|
+
"type": "string"
|
|
285069
|
+
}
|
|
285070
|
+
},
|
|
285071
|
+
"required": [
|
|
285072
|
+
"integrationId"
|
|
285073
|
+
],
|
|
285074
|
+
"additionalProperties": false
|
|
285075
|
+
},
|
|
285076
|
+
"description": "A mapping of plugin interface aliases to their backing integrations"
|
|
285077
|
+
},
|
|
284533
285078
|
"id": {
|
|
284534
285079
|
"type": "string",
|
|
284535
285080
|
"minLength": 28,
|
|
@@ -288206,6 +288751,33 @@ var state2 = {
|
|
|
288206
288751
|
},
|
|
288207
288752
|
"parameters": {}
|
|
288208
288753
|
},
|
|
288754
|
+
"deleteAccount": {
|
|
288755
|
+
"name": "deleteAccount",
|
|
288756
|
+
"description": "Delete the account associated with authenticated user",
|
|
288757
|
+
"method": "post",
|
|
288758
|
+
"path": "/v1/admin/account/me",
|
|
288759
|
+
"section": "account",
|
|
288760
|
+
"disableDefaultParameters": {
|
|
288761
|
+
"x-workspace-id": true
|
|
288762
|
+
},
|
|
288763
|
+
"requestBody": {
|
|
288764
|
+
"description": "Account",
|
|
288765
|
+
"schema": {
|
|
288766
|
+
"type": "object",
|
|
288767
|
+
"title": "deleteAccountBody",
|
|
288768
|
+
"additionalProperties": false
|
|
288769
|
+
}
|
|
288770
|
+
},
|
|
288771
|
+
"response": {
|
|
288772
|
+
"description": "Success",
|
|
288773
|
+
"schema": {
|
|
288774
|
+
"type": "object",
|
|
288775
|
+
"title": "deleteAccountResponse",
|
|
288776
|
+
"additionalProperties": false
|
|
288777
|
+
}
|
|
288778
|
+
},
|
|
288779
|
+
"parameters": {}
|
|
288780
|
+
},
|
|
288209
288781
|
"listPersonalAccessTokens": {
|
|
288210
288782
|
"name": "listPersonalAccessTokens",
|
|
288211
288783
|
"description": "List PATs (Personal Access Tokens) of account.",
|
|
@@ -292523,6 +293095,22 @@ var state2 = {
|
|
|
292523
293095
|
"configuration": {
|
|
292524
293096
|
"type": "object",
|
|
292525
293097
|
"additionalProperties": true
|
|
293098
|
+
},
|
|
293099
|
+
"interfaces": {
|
|
293100
|
+
"type": "object",
|
|
293101
|
+
"additionalProperties": {
|
|
293102
|
+
"type": "object",
|
|
293103
|
+
"properties": {
|
|
293104
|
+
"integrationId": {
|
|
293105
|
+
"type": "string"
|
|
293106
|
+
}
|
|
293107
|
+
},
|
|
293108
|
+
"required": [
|
|
293109
|
+
"integrationId"
|
|
293110
|
+
],
|
|
293111
|
+
"additionalProperties": false
|
|
293112
|
+
},
|
|
293113
|
+
"description": "A mapping of plugin interface aliases to their backing integrations"
|
|
292526
293114
|
}
|
|
292527
293115
|
},
|
|
292528
293116
|
"required": [
|
|
@@ -292533,6 +293121,10 @@ var state2 = {
|
|
|
292533
293121
|
},
|
|
292534
293122
|
"description": "A mapping of plugin aliases to their configuration"
|
|
292535
293123
|
},
|
|
293124
|
+
"shouldMergePlugins": {
|
|
293125
|
+
"type": "boolean",
|
|
293126
|
+
"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"
|
|
293127
|
+
},
|
|
292536
293128
|
"subscriptions": {
|
|
292537
293129
|
"type": "object",
|
|
292538
293130
|
"properties": {
|
|
@@ -301083,7 +301675,7 @@ var state2 = {
|
|
|
301083
301675
|
"title": "Botpress API",
|
|
301084
301676
|
"description": "API for Botpress Cloud",
|
|
301085
301677
|
"server": "https://api.botpress.cloud",
|
|
301086
|
-
"version": "1.
|
|
301678
|
+
"version": "1.23.0",
|
|
301087
301679
|
"prefix": "v1"
|
|
301088
301680
|
},
|
|
301089
301681
|
"errors": [
|
|
@@ -301213,6 +301805,7 @@ var state2 = {
|
|
|
301213
301805
|
"requestBodies": {
|
|
301214
301806
|
"runVrlBody": true,
|
|
301215
301807
|
"updateAccountBody": true,
|
|
301808
|
+
"deleteAccountBody": true,
|
|
301216
301809
|
"createPersonalAccessTokenBody": true,
|
|
301217
301810
|
"setAccountPreferenceBody": true,
|
|
301218
301811
|
"createBotBody": true,
|
|
@@ -301245,6 +301838,7 @@ var state2 = {
|
|
|
301245
301838
|
"runVrlResponse": true,
|
|
301246
301839
|
"getAccountResponse": true,
|
|
301247
301840
|
"updateAccountResponse": true,
|
|
301841
|
+
"deleteAccountResponse": true,
|
|
301248
301842
|
"listPersonalAccessTokensResponse": true,
|
|
301249
301843
|
"createPersonalAccessTokenResponse": true,
|
|
301250
301844
|
"deletePersonalAccessTokenResponse": true,
|
|
@@ -301550,6 +302144,22 @@ var state2 = {
|
|
|
301550
302144
|
"type": "object",
|
|
301551
302145
|
"additionalProperties": true
|
|
301552
302146
|
},
|
|
302147
|
+
"interfaces": {
|
|
302148
|
+
"type": "object",
|
|
302149
|
+
"additionalProperties": {
|
|
302150
|
+
"type": "object",
|
|
302151
|
+
"properties": {
|
|
302152
|
+
"integrationId": {
|
|
302153
|
+
"type": "string"
|
|
302154
|
+
}
|
|
302155
|
+
},
|
|
302156
|
+
"required": [
|
|
302157
|
+
"integrationId"
|
|
302158
|
+
],
|
|
302159
|
+
"additionalProperties": false
|
|
302160
|
+
},
|
|
302161
|
+
"description": "A mapping of plugin interface aliases to their backing integrations"
|
|
302162
|
+
},
|
|
301553
302163
|
"id": {
|
|
301554
302164
|
"type": "string",
|
|
301555
302165
|
"minLength": 28,
|
|
@@ -305028,6 +305638,7 @@ var state2 = {
|
|
|
305028
305638
|
"operations": [
|
|
305029
305639
|
"getAccount",
|
|
305030
305640
|
"updateAccount",
|
|
305641
|
+
"deleteAccount",
|
|
305031
305642
|
"listPersonalAccessTokens",
|
|
305032
305643
|
"createPersonalAccessToken",
|
|
305033
305644
|
"deletePersonalAccessToken",
|
|
@@ -306872,7 +307483,7 @@ var state3 = {
|
|
|
306872
307483
|
"title": "Botpress API",
|
|
306873
307484
|
"description": "API for Botpress Cloud",
|
|
306874
307485
|
"server": "https://api.botpress.cloud",
|
|
306875
|
-
"version": "1.
|
|
307486
|
+
"version": "1.23.0",
|
|
306876
307487
|
"prefix": "v1"
|
|
306877
307488
|
},
|
|
306878
307489
|
"errors": [
|
|
@@ -307232,6 +307843,22 @@ var state3 = {
|
|
|
307232
307843
|
"type": "object",
|
|
307233
307844
|
"additionalProperties": true
|
|
307234
307845
|
},
|
|
307846
|
+
"interfaces": {
|
|
307847
|
+
"type": "object",
|
|
307848
|
+
"additionalProperties": {
|
|
307849
|
+
"type": "object",
|
|
307850
|
+
"properties": {
|
|
307851
|
+
"integrationId": {
|
|
307852
|
+
"type": "string"
|
|
307853
|
+
}
|
|
307854
|
+
},
|
|
307855
|
+
"required": [
|
|
307856
|
+
"integrationId"
|
|
307857
|
+
],
|
|
307858
|
+
"additionalProperties": false
|
|
307859
|
+
},
|
|
307860
|
+
"description": "A mapping of plugin interface aliases to their backing integrations"
|
|
307861
|
+
},
|
|
307235
307862
|
"id": {
|
|
307236
307863
|
"type": "string",
|
|
307237
307864
|
"minLength": 28,
|
|
@@ -311902,7 +312529,7 @@ var state4 = {
|
|
|
311902
312529
|
"title": "Botpress API",
|
|
311903
312530
|
"description": "API for Botpress Cloud",
|
|
311904
312531
|
"server": "https://api.botpress.cloud",
|
|
311905
|
-
"version": "1.
|
|
312532
|
+
"version": "1.23.0",
|
|
311906
312533
|
"prefix": "v1"
|
|
311907
312534
|
},
|
|
311908
312535
|
"errors": [
|
|
@@ -312269,6 +312896,22 @@ var state4 = {
|
|
|
312269
312896
|
"type": "object",
|
|
312270
312897
|
"additionalProperties": true
|
|
312271
312898
|
},
|
|
312899
|
+
"interfaces": {
|
|
312900
|
+
"type": "object",
|
|
312901
|
+
"additionalProperties": {
|
|
312902
|
+
"type": "object",
|
|
312903
|
+
"properties": {
|
|
312904
|
+
"integrationId": {
|
|
312905
|
+
"type": "string"
|
|
312906
|
+
}
|
|
312907
|
+
},
|
|
312908
|
+
"required": [
|
|
312909
|
+
"integrationId"
|
|
312910
|
+
],
|
|
312911
|
+
"additionalProperties": false
|
|
312912
|
+
},
|
|
312913
|
+
"description": "A mapping of plugin interface aliases to their backing integrations"
|
|
312914
|
+
},
|
|
312272
312915
|
"id": {
|
|
312273
312916
|
"type": "string",
|
|
312274
312917
|
"minLength": 28,
|
|
@@ -316990,6 +317633,7 @@ var state5 = {
|
|
|
316990
317633
|
"name": {
|
|
316991
317634
|
"type": "string",
|
|
316992
317635
|
"maxLength": 200,
|
|
317636
|
+
"nullable": true,
|
|
316993
317637
|
"description": "Name of the user"
|
|
316994
317638
|
},
|
|
316995
317639
|
"pictureUrl": {
|
|
@@ -318500,6 +319144,33 @@ var state5 = {
|
|
|
318500
319144
|
},
|
|
318501
319145
|
"parameters": {}
|
|
318502
319146
|
},
|
|
319147
|
+
"deleteAccount": {
|
|
319148
|
+
"name": "deleteAccount",
|
|
319149
|
+
"description": "Delete the account associated with authenticated user",
|
|
319150
|
+
"method": "post",
|
|
319151
|
+
"path": "/v1/admin/account/me",
|
|
319152
|
+
"section": "account",
|
|
319153
|
+
"disableDefaultParameters": {
|
|
319154
|
+
"x-workspace-id": true
|
|
319155
|
+
},
|
|
319156
|
+
"requestBody": {
|
|
319157
|
+
"description": "Account",
|
|
319158
|
+
"schema": {
|
|
319159
|
+
"type": "object",
|
|
319160
|
+
"title": "deleteAccountBody",
|
|
319161
|
+
"additionalProperties": false
|
|
319162
|
+
}
|
|
319163
|
+
},
|
|
319164
|
+
"response": {
|
|
319165
|
+
"description": "Success",
|
|
319166
|
+
"schema": {
|
|
319167
|
+
"type": "object",
|
|
319168
|
+
"title": "deleteAccountResponse",
|
|
319169
|
+
"additionalProperties": false
|
|
319170
|
+
}
|
|
319171
|
+
},
|
|
319172
|
+
"parameters": {}
|
|
319173
|
+
},
|
|
318503
319174
|
"listPersonalAccessTokens": {
|
|
318504
319175
|
"name": "listPersonalAccessTokens",
|
|
318505
319176
|
"description": "List PATs (Personal Access Tokens) of account.",
|
|
@@ -322817,6 +323488,22 @@ var state5 = {
|
|
|
322817
323488
|
"configuration": {
|
|
322818
323489
|
"type": "object",
|
|
322819
323490
|
"additionalProperties": true
|
|
323491
|
+
},
|
|
323492
|
+
"interfaces": {
|
|
323493
|
+
"type": "object",
|
|
323494
|
+
"additionalProperties": {
|
|
323495
|
+
"type": "object",
|
|
323496
|
+
"properties": {
|
|
323497
|
+
"integrationId": {
|
|
323498
|
+
"type": "string"
|
|
323499
|
+
}
|
|
323500
|
+
},
|
|
323501
|
+
"required": [
|
|
323502
|
+
"integrationId"
|
|
323503
|
+
],
|
|
323504
|
+
"additionalProperties": false
|
|
323505
|
+
},
|
|
323506
|
+
"description": "A mapping of plugin interface aliases to their backing integrations"
|
|
322820
323507
|
}
|
|
322821
323508
|
},
|
|
322822
323509
|
"required": [
|
|
@@ -322827,6 +323514,10 @@ var state5 = {
|
|
|
322827
323514
|
},
|
|
322828
323515
|
"description": "A mapping of plugin aliases to their configuration"
|
|
322829
323516
|
},
|
|
323517
|
+
"shouldMergePlugins": {
|
|
323518
|
+
"type": "boolean",
|
|
323519
|
+
"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"
|
|
323520
|
+
},
|
|
322830
323521
|
"subscriptions": {
|
|
322831
323522
|
"type": "object",
|
|
322832
323523
|
"properties": {
|
|
@@ -334352,7 +335043,7 @@ var state5 = {
|
|
|
334352
335043
|
"title": "Botpress API",
|
|
334353
335044
|
"description": "API for Botpress Cloud",
|
|
334354
335045
|
"server": "https://api.botpress.cloud",
|
|
334355
|
-
"version": "1.
|
|
335046
|
+
"version": "1.23.0",
|
|
334356
335047
|
"prefix": "v1"
|
|
334357
335048
|
},
|
|
334358
335049
|
"errors": [
|
|
@@ -334505,6 +335196,7 @@ var state5 = {
|
|
|
334505
335196
|
"trackAnalyticsBody": true,
|
|
334506
335197
|
"runVrlBody": true,
|
|
334507
335198
|
"updateAccountBody": true,
|
|
335199
|
+
"deleteAccountBody": true,
|
|
334508
335200
|
"createPersonalAccessTokenBody": true,
|
|
334509
335201
|
"setAccountPreferenceBody": true,
|
|
334510
335202
|
"createBotBody": true,
|
|
@@ -334599,6 +335291,7 @@ var state5 = {
|
|
|
334599
335291
|
"runVrlResponse": true,
|
|
334600
335292
|
"getAccountResponse": true,
|
|
334601
335293
|
"updateAccountResponse": true,
|
|
335294
|
+
"deleteAccountResponse": true,
|
|
334602
335295
|
"listPersonalAccessTokensResponse": true,
|
|
334603
335296
|
"createPersonalAccessTokenResponse": true,
|
|
334604
335297
|
"deletePersonalAccessTokenResponse": true,
|
|
@@ -334936,6 +335629,22 @@ var state5 = {
|
|
|
334936
335629
|
"type": "object",
|
|
334937
335630
|
"additionalProperties": true
|
|
334938
335631
|
},
|
|
335632
|
+
"interfaces": {
|
|
335633
|
+
"type": "object",
|
|
335634
|
+
"additionalProperties": {
|
|
335635
|
+
"type": "object",
|
|
335636
|
+
"properties": {
|
|
335637
|
+
"integrationId": {
|
|
335638
|
+
"type": "string"
|
|
335639
|
+
}
|
|
335640
|
+
},
|
|
335641
|
+
"required": [
|
|
335642
|
+
"integrationId"
|
|
335643
|
+
],
|
|
335644
|
+
"additionalProperties": false
|
|
335645
|
+
},
|
|
335646
|
+
"description": "A mapping of plugin interface aliases to their backing integrations"
|
|
335647
|
+
},
|
|
334939
335648
|
"id": {
|
|
334940
335649
|
"type": "string",
|
|
334941
335650
|
"minLength": 28,
|
|
@@ -338468,6 +339177,7 @@ var state5 = {
|
|
|
338468
339177
|
"operations": [
|
|
338469
339178
|
"getAccount",
|
|
338470
339179
|
"updateAccount",
|
|
339180
|
+
"deleteAccount",
|
|
338471
339181
|
"listPersonalAccessTokens",
|
|
338472
339182
|
"createPersonalAccessToken",
|
|
338473
339183
|
"deletePersonalAccessToken",
|