@botpress/api 1.9.0 → 1.11.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 +654 -888
- package/dist/src/gen/admin/state.d.ts +92 -0
- package/dist/src/gen/files/state.d.ts +23 -0
- package/dist/src/gen/runtime/state.d.ts +24 -5
- package/dist/src/gen/state.d.ts +93 -5
- package/dist/src/gen/tables/state.d.ts +23 -0
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +105 -3
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +30 -2
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +32 -8
- package/src/gen/state.ts +107 -9
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +30 -2
package/dist/index.js
CHANGED
|
@@ -35520,9 +35520,9 @@ var require_proxy_from_env = __commonJS({
|
|
|
35520
35520
|
}
|
|
35521
35521
|
});
|
|
35522
35522
|
|
|
35523
|
-
// ../../node_modules/.pnpm/debug@4.
|
|
35523
|
+
// ../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js
|
|
35524
35524
|
var require_common2 = __commonJS({
|
|
35525
|
-
"../../node_modules/.pnpm/debug@4.
|
|
35525
|
+
"../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js"(exports, module2) {
|
|
35526
35526
|
function setup(env2) {
|
|
35527
35527
|
createDebug.debug = createDebug;
|
|
35528
35528
|
createDebug.default = createDebug;
|
|
@@ -35623,50 +35623,64 @@ var require_common2 = __commonJS({
|
|
|
35623
35623
|
createDebug.namespaces = namespaces;
|
|
35624
35624
|
createDebug.names = [];
|
|
35625
35625
|
createDebug.skips = [];
|
|
35626
|
-
|
|
35627
|
-
|
|
35628
|
-
|
|
35629
|
-
|
|
35630
|
-
|
|
35631
|
-
|
|
35626
|
+
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(" ", ",").split(",").filter(Boolean);
|
|
35627
|
+
for (const ns of split) {
|
|
35628
|
+
if (ns[0] === "-") {
|
|
35629
|
+
createDebug.skips.push(ns.slice(1));
|
|
35630
|
+
} else {
|
|
35631
|
+
createDebug.names.push(ns);
|
|
35632
35632
|
}
|
|
35633
|
-
|
|
35634
|
-
|
|
35635
|
-
|
|
35633
|
+
}
|
|
35634
|
+
}
|
|
35635
|
+
function matchesTemplate(search, template2) {
|
|
35636
|
+
let searchIndex = 0;
|
|
35637
|
+
let templateIndex = 0;
|
|
35638
|
+
let starIndex = -1;
|
|
35639
|
+
let matchIndex = 0;
|
|
35640
|
+
while (searchIndex < search.length) {
|
|
35641
|
+
if (templateIndex < template2.length && (template2[templateIndex] === search[searchIndex] || template2[templateIndex] === "*")) {
|
|
35642
|
+
if (template2[templateIndex] === "*") {
|
|
35643
|
+
starIndex = templateIndex;
|
|
35644
|
+
matchIndex = searchIndex;
|
|
35645
|
+
templateIndex++;
|
|
35646
|
+
} else {
|
|
35647
|
+
searchIndex++;
|
|
35648
|
+
templateIndex++;
|
|
35649
|
+
}
|
|
35650
|
+
} else if (starIndex !== -1) {
|
|
35651
|
+
templateIndex = starIndex + 1;
|
|
35652
|
+
matchIndex++;
|
|
35653
|
+
searchIndex = matchIndex;
|
|
35636
35654
|
} else {
|
|
35637
|
-
|
|
35655
|
+
return false;
|
|
35638
35656
|
}
|
|
35639
35657
|
}
|
|
35658
|
+
while (templateIndex < template2.length && template2[templateIndex] === "*") {
|
|
35659
|
+
templateIndex++;
|
|
35660
|
+
}
|
|
35661
|
+
return templateIndex === template2.length;
|
|
35640
35662
|
}
|
|
35641
35663
|
function disable() {
|
|
35642
35664
|
const namespaces = [
|
|
35643
|
-
...createDebug.names
|
|
35644
|
-
...createDebug.skips.map(
|
|
35665
|
+
...createDebug.names,
|
|
35666
|
+
...createDebug.skips.map((namespace) => "-" + namespace)
|
|
35645
35667
|
].join(",");
|
|
35646
35668
|
createDebug.enable("");
|
|
35647
35669
|
return namespaces;
|
|
35648
35670
|
}
|
|
35649
35671
|
function enabled(name) {
|
|
35650
|
-
|
|
35651
|
-
|
|
35652
|
-
}
|
|
35653
|
-
let i;
|
|
35654
|
-
let len;
|
|
35655
|
-
for (i = 0, len = createDebug.skips.length; i < len; i++) {
|
|
35656
|
-
if (createDebug.skips[i].test(name)) {
|
|
35672
|
+
for (const skip of createDebug.skips) {
|
|
35673
|
+
if (matchesTemplate(name, skip)) {
|
|
35657
35674
|
return false;
|
|
35658
35675
|
}
|
|
35659
35676
|
}
|
|
35660
|
-
for (
|
|
35661
|
-
if (
|
|
35677
|
+
for (const ns of createDebug.names) {
|
|
35678
|
+
if (matchesTemplate(name, ns)) {
|
|
35662
35679
|
return true;
|
|
35663
35680
|
}
|
|
35664
35681
|
}
|
|
35665
35682
|
return false;
|
|
35666
35683
|
}
|
|
35667
|
-
function toNamespace(regexp) {
|
|
35668
|
-
return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*");
|
|
35669
|
-
}
|
|
35670
35684
|
function coerce2(val) {
|
|
35671
35685
|
if (val instanceof Error) {
|
|
35672
35686
|
return val.stack || val.message;
|
|
@@ -35683,9 +35697,9 @@ var require_common2 = __commonJS({
|
|
|
35683
35697
|
}
|
|
35684
35698
|
});
|
|
35685
35699
|
|
|
35686
|
-
// ../../node_modules/.pnpm/debug@4.
|
|
35700
|
+
// ../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js
|
|
35687
35701
|
var require_browser = __commonJS({
|
|
35688
|
-
"../../node_modules/.pnpm/debug@4.
|
|
35702
|
+
"../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js"(exports, module2) {
|
|
35689
35703
|
exports.formatArgs = formatArgs;
|
|
35690
35704
|
exports.save = save;
|
|
35691
35705
|
exports.load = load3;
|
|
@@ -35849,9 +35863,9 @@ var require_browser = __commonJS({
|
|
|
35849
35863
|
}
|
|
35850
35864
|
});
|
|
35851
35865
|
|
|
35852
|
-
// ../../node_modules/.pnpm/debug@4.
|
|
35866
|
+
// ../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js
|
|
35853
35867
|
var require_node3 = __commonJS({
|
|
35854
|
-
"../../node_modules/.pnpm/debug@4.
|
|
35868
|
+
"../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js"(exports, module2) {
|
|
35855
35869
|
var tty2 = require("tty");
|
|
35856
35870
|
var util4 = require("util");
|
|
35857
35871
|
exports.init = init;
|
|
@@ -36023,9 +36037,9 @@ var require_node3 = __commonJS({
|
|
|
36023
36037
|
}
|
|
36024
36038
|
});
|
|
36025
36039
|
|
|
36026
|
-
// ../../node_modules/.pnpm/debug@4.
|
|
36040
|
+
// ../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js
|
|
36027
36041
|
var require_src2 = __commonJS({
|
|
36028
|
-
"../../node_modules/.pnpm/debug@4.
|
|
36042
|
+
"../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js"(exports, module2) {
|
|
36029
36043
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
36030
36044
|
module2.exports = require_browser();
|
|
36031
36045
|
} else {
|
|
@@ -164274,7 +164288,7 @@ var require_prettier = __commonJS({
|
|
|
164274
164288
|
module22.exports.default = module22.exports;
|
|
164275
164289
|
}
|
|
164276
164290
|
});
|
|
164277
|
-
var
|
|
164291
|
+
var require_common4 = __commonJS22({
|
|
164278
164292
|
"node_modules/vnopts/lib/handlers/deprecated/common.js"(exports2) {
|
|
164279
164293
|
"use strict";
|
|
164280
164294
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -164299,7 +164313,7 @@ var require_prettier = __commonJS({
|
|
|
164299
164313
|
value: true
|
|
164300
164314
|
});
|
|
164301
164315
|
var tslib_1 = (init_tslib_es6(), __toCommonJS2(tslib_es6_exports));
|
|
164302
|
-
tslib_1.__exportStar(
|
|
164316
|
+
tslib_1.__exportStar(require_common4(), exports2);
|
|
164303
164317
|
}
|
|
164304
164318
|
});
|
|
164305
164319
|
var require_common22 = __commonJS22({
|
|
@@ -164889,7 +164903,7 @@ var require_prettier = __commonJS({
|
|
|
164889
164903
|
value: true
|
|
164890
164904
|
});
|
|
164891
164905
|
var api_1 = require_api3();
|
|
164892
|
-
var common_1 =
|
|
164906
|
+
var common_1 = require_common4();
|
|
164893
164907
|
var invalid_1 = require_invalid();
|
|
164894
164908
|
var leven_1 = require_leven22();
|
|
164895
164909
|
exports2.defaultDescriptor = api_1.apiDescriptor;
|
|
@@ -173702,7 +173716,7 @@ ${error2.message}`;
|
|
|
173702
173716
|
module22.exports = Function.prototype.bind || implementation;
|
|
173703
173717
|
}
|
|
173704
173718
|
});
|
|
173705
|
-
var
|
|
173719
|
+
var require_src5 = __commonJS22({
|
|
173706
173720
|
"node_modules/has/src/index.js"(exports2, module22) {
|
|
173707
173721
|
"use strict";
|
|
173708
173722
|
var bind2 = require_function_bind2();
|
|
@@ -173871,7 +173885,7 @@ ${error2.message}`;
|
|
|
173871
173885
|
var require_is_core_module = __commonJS22({
|
|
173872
173886
|
"node_modules/is-core-module/index.js"(exports2, module22) {
|
|
173873
173887
|
"use strict";
|
|
173874
|
-
var has =
|
|
173888
|
+
var has = require_src5();
|
|
173875
173889
|
function specifierIncluded(current, specifier) {
|
|
173876
173890
|
var nodeParts = current.split(".");
|
|
173877
173891
|
var parts = specifier.split(" ");
|
|
@@ -261176,534 +261190,6 @@ var require_src4 = __commonJS({
|
|
|
261176
261190
|
}
|
|
261177
261191
|
});
|
|
261178
261192
|
|
|
261179
|
-
// ../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js
|
|
261180
|
-
var require_common4 = __commonJS({
|
|
261181
|
-
"../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js"(exports, module2) {
|
|
261182
|
-
function setup(env2) {
|
|
261183
|
-
createDebug.debug = createDebug;
|
|
261184
|
-
createDebug.default = createDebug;
|
|
261185
|
-
createDebug.coerce = coerce2;
|
|
261186
|
-
createDebug.disable = disable;
|
|
261187
|
-
createDebug.enable = enable;
|
|
261188
|
-
createDebug.enabled = enabled;
|
|
261189
|
-
createDebug.humanize = require_ms();
|
|
261190
|
-
createDebug.destroy = destroy;
|
|
261191
|
-
Object.keys(env2).forEach((key) => {
|
|
261192
|
-
createDebug[key] = env2[key];
|
|
261193
|
-
});
|
|
261194
|
-
createDebug.names = [];
|
|
261195
|
-
createDebug.skips = [];
|
|
261196
|
-
createDebug.formatters = {};
|
|
261197
|
-
function selectColor(namespace) {
|
|
261198
|
-
let hash = 0;
|
|
261199
|
-
for (let i = 0; i < namespace.length; i++) {
|
|
261200
|
-
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
261201
|
-
hash |= 0;
|
|
261202
|
-
}
|
|
261203
|
-
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
261204
|
-
}
|
|
261205
|
-
createDebug.selectColor = selectColor;
|
|
261206
|
-
function createDebug(namespace) {
|
|
261207
|
-
let prevTime;
|
|
261208
|
-
let enableOverride = null;
|
|
261209
|
-
let namespacesCache;
|
|
261210
|
-
let enabledCache;
|
|
261211
|
-
function debug(...args) {
|
|
261212
|
-
if (!debug.enabled) {
|
|
261213
|
-
return;
|
|
261214
|
-
}
|
|
261215
|
-
const self2 = debug;
|
|
261216
|
-
const curr = Number(new Date());
|
|
261217
|
-
const ms = curr - (prevTime || curr);
|
|
261218
|
-
self2.diff = ms;
|
|
261219
|
-
self2.prev = prevTime;
|
|
261220
|
-
self2.curr = curr;
|
|
261221
|
-
prevTime = curr;
|
|
261222
|
-
args[0] = createDebug.coerce(args[0]);
|
|
261223
|
-
if (typeof args[0] !== "string") {
|
|
261224
|
-
args.unshift("%O");
|
|
261225
|
-
}
|
|
261226
|
-
let index = 0;
|
|
261227
|
-
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
|
|
261228
|
-
if (match === "%%") {
|
|
261229
|
-
return "%";
|
|
261230
|
-
}
|
|
261231
|
-
index++;
|
|
261232
|
-
const formatter = createDebug.formatters[format];
|
|
261233
|
-
if (typeof formatter === "function") {
|
|
261234
|
-
const val = args[index];
|
|
261235
|
-
match = formatter.call(self2, val);
|
|
261236
|
-
args.splice(index, 1);
|
|
261237
|
-
index--;
|
|
261238
|
-
}
|
|
261239
|
-
return match;
|
|
261240
|
-
});
|
|
261241
|
-
createDebug.formatArgs.call(self2, args);
|
|
261242
|
-
const logFn = self2.log || createDebug.log;
|
|
261243
|
-
logFn.apply(self2, args);
|
|
261244
|
-
}
|
|
261245
|
-
debug.namespace = namespace;
|
|
261246
|
-
debug.useColors = createDebug.useColors();
|
|
261247
|
-
debug.color = createDebug.selectColor(namespace);
|
|
261248
|
-
debug.extend = extend4;
|
|
261249
|
-
debug.destroy = createDebug.destroy;
|
|
261250
|
-
Object.defineProperty(debug, "enabled", {
|
|
261251
|
-
enumerable: true,
|
|
261252
|
-
configurable: false,
|
|
261253
|
-
get: () => {
|
|
261254
|
-
if (enableOverride !== null) {
|
|
261255
|
-
return enableOverride;
|
|
261256
|
-
}
|
|
261257
|
-
if (namespacesCache !== createDebug.namespaces) {
|
|
261258
|
-
namespacesCache = createDebug.namespaces;
|
|
261259
|
-
enabledCache = createDebug.enabled(namespace);
|
|
261260
|
-
}
|
|
261261
|
-
return enabledCache;
|
|
261262
|
-
},
|
|
261263
|
-
set: (v) => {
|
|
261264
|
-
enableOverride = v;
|
|
261265
|
-
}
|
|
261266
|
-
});
|
|
261267
|
-
if (typeof createDebug.init === "function") {
|
|
261268
|
-
createDebug.init(debug);
|
|
261269
|
-
}
|
|
261270
|
-
return debug;
|
|
261271
|
-
}
|
|
261272
|
-
function extend4(namespace, delimiter) {
|
|
261273
|
-
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
|
261274
|
-
newDebug.log = this.log;
|
|
261275
|
-
return newDebug;
|
|
261276
|
-
}
|
|
261277
|
-
function enable(namespaces) {
|
|
261278
|
-
createDebug.save(namespaces);
|
|
261279
|
-
createDebug.namespaces = namespaces;
|
|
261280
|
-
createDebug.names = [];
|
|
261281
|
-
createDebug.skips = [];
|
|
261282
|
-
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(" ", ",").split(",").filter(Boolean);
|
|
261283
|
-
for (const ns of split) {
|
|
261284
|
-
if (ns[0] === "-") {
|
|
261285
|
-
createDebug.skips.push(ns.slice(1));
|
|
261286
|
-
} else {
|
|
261287
|
-
createDebug.names.push(ns);
|
|
261288
|
-
}
|
|
261289
|
-
}
|
|
261290
|
-
}
|
|
261291
|
-
function matchesTemplate(search, template2) {
|
|
261292
|
-
let searchIndex = 0;
|
|
261293
|
-
let templateIndex = 0;
|
|
261294
|
-
let starIndex = -1;
|
|
261295
|
-
let matchIndex = 0;
|
|
261296
|
-
while (searchIndex < search.length) {
|
|
261297
|
-
if (templateIndex < template2.length && (template2[templateIndex] === search[searchIndex] || template2[templateIndex] === "*")) {
|
|
261298
|
-
if (template2[templateIndex] === "*") {
|
|
261299
|
-
starIndex = templateIndex;
|
|
261300
|
-
matchIndex = searchIndex;
|
|
261301
|
-
templateIndex++;
|
|
261302
|
-
} else {
|
|
261303
|
-
searchIndex++;
|
|
261304
|
-
templateIndex++;
|
|
261305
|
-
}
|
|
261306
|
-
} else if (starIndex !== -1) {
|
|
261307
|
-
templateIndex = starIndex + 1;
|
|
261308
|
-
matchIndex++;
|
|
261309
|
-
searchIndex = matchIndex;
|
|
261310
|
-
} else {
|
|
261311
|
-
return false;
|
|
261312
|
-
}
|
|
261313
|
-
}
|
|
261314
|
-
while (templateIndex < template2.length && template2[templateIndex] === "*") {
|
|
261315
|
-
templateIndex++;
|
|
261316
|
-
}
|
|
261317
|
-
return templateIndex === template2.length;
|
|
261318
|
-
}
|
|
261319
|
-
function disable() {
|
|
261320
|
-
const namespaces = [
|
|
261321
|
-
...createDebug.names,
|
|
261322
|
-
...createDebug.skips.map((namespace) => "-" + namespace)
|
|
261323
|
-
].join(",");
|
|
261324
|
-
createDebug.enable("");
|
|
261325
|
-
return namespaces;
|
|
261326
|
-
}
|
|
261327
|
-
function enabled(name) {
|
|
261328
|
-
for (const skip of createDebug.skips) {
|
|
261329
|
-
if (matchesTemplate(name, skip)) {
|
|
261330
|
-
return false;
|
|
261331
|
-
}
|
|
261332
|
-
}
|
|
261333
|
-
for (const ns of createDebug.names) {
|
|
261334
|
-
if (matchesTemplate(name, ns)) {
|
|
261335
|
-
return true;
|
|
261336
|
-
}
|
|
261337
|
-
}
|
|
261338
|
-
return false;
|
|
261339
|
-
}
|
|
261340
|
-
function coerce2(val) {
|
|
261341
|
-
if (val instanceof Error) {
|
|
261342
|
-
return val.stack || val.message;
|
|
261343
|
-
}
|
|
261344
|
-
return val;
|
|
261345
|
-
}
|
|
261346
|
-
function destroy() {
|
|
261347
|
-
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
261348
|
-
}
|
|
261349
|
-
createDebug.enable(createDebug.load());
|
|
261350
|
-
return createDebug;
|
|
261351
|
-
}
|
|
261352
|
-
module2.exports = setup;
|
|
261353
|
-
}
|
|
261354
|
-
});
|
|
261355
|
-
|
|
261356
|
-
// ../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js
|
|
261357
|
-
var require_browser2 = __commonJS({
|
|
261358
|
-
"../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js"(exports, module2) {
|
|
261359
|
-
exports.formatArgs = formatArgs;
|
|
261360
|
-
exports.save = save;
|
|
261361
|
-
exports.load = load3;
|
|
261362
|
-
exports.useColors = useColors;
|
|
261363
|
-
exports.storage = localstorage();
|
|
261364
|
-
exports.destroy = (() => {
|
|
261365
|
-
let warned = false;
|
|
261366
|
-
return () => {
|
|
261367
|
-
if (!warned) {
|
|
261368
|
-
warned = true;
|
|
261369
|
-
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
261370
|
-
}
|
|
261371
|
-
};
|
|
261372
|
-
})();
|
|
261373
|
-
exports.colors = [
|
|
261374
|
-
"#0000CC",
|
|
261375
|
-
"#0000FF",
|
|
261376
|
-
"#0033CC",
|
|
261377
|
-
"#0033FF",
|
|
261378
|
-
"#0066CC",
|
|
261379
|
-
"#0066FF",
|
|
261380
|
-
"#0099CC",
|
|
261381
|
-
"#0099FF",
|
|
261382
|
-
"#00CC00",
|
|
261383
|
-
"#00CC33",
|
|
261384
|
-
"#00CC66",
|
|
261385
|
-
"#00CC99",
|
|
261386
|
-
"#00CCCC",
|
|
261387
|
-
"#00CCFF",
|
|
261388
|
-
"#3300CC",
|
|
261389
|
-
"#3300FF",
|
|
261390
|
-
"#3333CC",
|
|
261391
|
-
"#3333FF",
|
|
261392
|
-
"#3366CC",
|
|
261393
|
-
"#3366FF",
|
|
261394
|
-
"#3399CC",
|
|
261395
|
-
"#3399FF",
|
|
261396
|
-
"#33CC00",
|
|
261397
|
-
"#33CC33",
|
|
261398
|
-
"#33CC66",
|
|
261399
|
-
"#33CC99",
|
|
261400
|
-
"#33CCCC",
|
|
261401
|
-
"#33CCFF",
|
|
261402
|
-
"#6600CC",
|
|
261403
|
-
"#6600FF",
|
|
261404
|
-
"#6633CC",
|
|
261405
|
-
"#6633FF",
|
|
261406
|
-
"#66CC00",
|
|
261407
|
-
"#66CC33",
|
|
261408
|
-
"#9900CC",
|
|
261409
|
-
"#9900FF",
|
|
261410
|
-
"#9933CC",
|
|
261411
|
-
"#9933FF",
|
|
261412
|
-
"#99CC00",
|
|
261413
|
-
"#99CC33",
|
|
261414
|
-
"#CC0000",
|
|
261415
|
-
"#CC0033",
|
|
261416
|
-
"#CC0066",
|
|
261417
|
-
"#CC0099",
|
|
261418
|
-
"#CC00CC",
|
|
261419
|
-
"#CC00FF",
|
|
261420
|
-
"#CC3300",
|
|
261421
|
-
"#CC3333",
|
|
261422
|
-
"#CC3366",
|
|
261423
|
-
"#CC3399",
|
|
261424
|
-
"#CC33CC",
|
|
261425
|
-
"#CC33FF",
|
|
261426
|
-
"#CC6600",
|
|
261427
|
-
"#CC6633",
|
|
261428
|
-
"#CC9900",
|
|
261429
|
-
"#CC9933",
|
|
261430
|
-
"#CCCC00",
|
|
261431
|
-
"#CCCC33",
|
|
261432
|
-
"#FF0000",
|
|
261433
|
-
"#FF0033",
|
|
261434
|
-
"#FF0066",
|
|
261435
|
-
"#FF0099",
|
|
261436
|
-
"#FF00CC",
|
|
261437
|
-
"#FF00FF",
|
|
261438
|
-
"#FF3300",
|
|
261439
|
-
"#FF3333",
|
|
261440
|
-
"#FF3366",
|
|
261441
|
-
"#FF3399",
|
|
261442
|
-
"#FF33CC",
|
|
261443
|
-
"#FF33FF",
|
|
261444
|
-
"#FF6600",
|
|
261445
|
-
"#FF6633",
|
|
261446
|
-
"#FF9900",
|
|
261447
|
-
"#FF9933",
|
|
261448
|
-
"#FFCC00",
|
|
261449
|
-
"#FFCC33"
|
|
261450
|
-
];
|
|
261451
|
-
function useColors() {
|
|
261452
|
-
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
|
|
261453
|
-
return true;
|
|
261454
|
-
}
|
|
261455
|
-
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
261456
|
-
return false;
|
|
261457
|
-
}
|
|
261458
|
-
let m;
|
|
261459
|
-
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+)/);
|
|
261460
|
-
}
|
|
261461
|
-
function formatArgs(args) {
|
|
261462
|
-
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
|
|
261463
|
-
if (!this.useColors) {
|
|
261464
|
-
return;
|
|
261465
|
-
}
|
|
261466
|
-
const c2 = "color: " + this.color;
|
|
261467
|
-
args.splice(1, 0, c2, "color: inherit");
|
|
261468
|
-
let index = 0;
|
|
261469
|
-
let lastC = 0;
|
|
261470
|
-
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
261471
|
-
if (match === "%%") {
|
|
261472
|
-
return;
|
|
261473
|
-
}
|
|
261474
|
-
index++;
|
|
261475
|
-
if (match === "%c") {
|
|
261476
|
-
lastC = index;
|
|
261477
|
-
}
|
|
261478
|
-
});
|
|
261479
|
-
args.splice(lastC, 0, c2);
|
|
261480
|
-
}
|
|
261481
|
-
exports.log = console.debug || console.log || (() => {
|
|
261482
|
-
});
|
|
261483
|
-
function save(namespaces) {
|
|
261484
|
-
try {
|
|
261485
|
-
if (namespaces) {
|
|
261486
|
-
exports.storage.setItem("debug", namespaces);
|
|
261487
|
-
} else {
|
|
261488
|
-
exports.storage.removeItem("debug");
|
|
261489
|
-
}
|
|
261490
|
-
} catch (error2) {
|
|
261491
|
-
}
|
|
261492
|
-
}
|
|
261493
|
-
function load3() {
|
|
261494
|
-
let r;
|
|
261495
|
-
try {
|
|
261496
|
-
r = exports.storage.getItem("debug");
|
|
261497
|
-
} catch (error2) {
|
|
261498
|
-
}
|
|
261499
|
-
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
261500
|
-
r = process.env.DEBUG;
|
|
261501
|
-
}
|
|
261502
|
-
return r;
|
|
261503
|
-
}
|
|
261504
|
-
function localstorage() {
|
|
261505
|
-
try {
|
|
261506
|
-
return localStorage;
|
|
261507
|
-
} catch (error2) {
|
|
261508
|
-
}
|
|
261509
|
-
}
|
|
261510
|
-
module2.exports = require_common4()(exports);
|
|
261511
|
-
var { formatters } = module2.exports;
|
|
261512
|
-
formatters.j = function(v) {
|
|
261513
|
-
try {
|
|
261514
|
-
return JSON.stringify(v);
|
|
261515
|
-
} catch (error2) {
|
|
261516
|
-
return "[UnexpectedJSONParseError]: " + error2.message;
|
|
261517
|
-
}
|
|
261518
|
-
};
|
|
261519
|
-
}
|
|
261520
|
-
});
|
|
261521
|
-
|
|
261522
|
-
// ../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js
|
|
261523
|
-
var require_node4 = __commonJS({
|
|
261524
|
-
"../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js"(exports, module2) {
|
|
261525
|
-
var tty2 = require("tty");
|
|
261526
|
-
var util4 = require("util");
|
|
261527
|
-
exports.init = init;
|
|
261528
|
-
exports.log = log;
|
|
261529
|
-
exports.formatArgs = formatArgs;
|
|
261530
|
-
exports.save = save;
|
|
261531
|
-
exports.load = load3;
|
|
261532
|
-
exports.useColors = useColors;
|
|
261533
|
-
exports.destroy = util4.deprecate(
|
|
261534
|
-
() => {
|
|
261535
|
-
},
|
|
261536
|
-
"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
|
|
261537
|
-
);
|
|
261538
|
-
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
261539
|
-
try {
|
|
261540
|
-
const supportsColor2 = require_supports_color();
|
|
261541
|
-
if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
|
|
261542
|
-
exports.colors = [
|
|
261543
|
-
20,
|
|
261544
|
-
21,
|
|
261545
|
-
26,
|
|
261546
|
-
27,
|
|
261547
|
-
32,
|
|
261548
|
-
33,
|
|
261549
|
-
38,
|
|
261550
|
-
39,
|
|
261551
|
-
40,
|
|
261552
|
-
41,
|
|
261553
|
-
42,
|
|
261554
|
-
43,
|
|
261555
|
-
44,
|
|
261556
|
-
45,
|
|
261557
|
-
56,
|
|
261558
|
-
57,
|
|
261559
|
-
62,
|
|
261560
|
-
63,
|
|
261561
|
-
68,
|
|
261562
|
-
69,
|
|
261563
|
-
74,
|
|
261564
|
-
75,
|
|
261565
|
-
76,
|
|
261566
|
-
77,
|
|
261567
|
-
78,
|
|
261568
|
-
79,
|
|
261569
|
-
80,
|
|
261570
|
-
81,
|
|
261571
|
-
92,
|
|
261572
|
-
93,
|
|
261573
|
-
98,
|
|
261574
|
-
99,
|
|
261575
|
-
112,
|
|
261576
|
-
113,
|
|
261577
|
-
128,
|
|
261578
|
-
129,
|
|
261579
|
-
134,
|
|
261580
|
-
135,
|
|
261581
|
-
148,
|
|
261582
|
-
149,
|
|
261583
|
-
160,
|
|
261584
|
-
161,
|
|
261585
|
-
162,
|
|
261586
|
-
163,
|
|
261587
|
-
164,
|
|
261588
|
-
165,
|
|
261589
|
-
166,
|
|
261590
|
-
167,
|
|
261591
|
-
168,
|
|
261592
|
-
169,
|
|
261593
|
-
170,
|
|
261594
|
-
171,
|
|
261595
|
-
172,
|
|
261596
|
-
173,
|
|
261597
|
-
178,
|
|
261598
|
-
179,
|
|
261599
|
-
184,
|
|
261600
|
-
185,
|
|
261601
|
-
196,
|
|
261602
|
-
197,
|
|
261603
|
-
198,
|
|
261604
|
-
199,
|
|
261605
|
-
200,
|
|
261606
|
-
201,
|
|
261607
|
-
202,
|
|
261608
|
-
203,
|
|
261609
|
-
204,
|
|
261610
|
-
205,
|
|
261611
|
-
206,
|
|
261612
|
-
207,
|
|
261613
|
-
208,
|
|
261614
|
-
209,
|
|
261615
|
-
214,
|
|
261616
|
-
215,
|
|
261617
|
-
220,
|
|
261618
|
-
221
|
|
261619
|
-
];
|
|
261620
|
-
}
|
|
261621
|
-
} catch (error2) {
|
|
261622
|
-
}
|
|
261623
|
-
exports.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
261624
|
-
return /^debug_/i.test(key);
|
|
261625
|
-
}).reduce((obj, key) => {
|
|
261626
|
-
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_8, k) => {
|
|
261627
|
-
return k.toUpperCase();
|
|
261628
|
-
});
|
|
261629
|
-
let val = process.env[key];
|
|
261630
|
-
if (/^(yes|on|true|enabled)$/i.test(val)) {
|
|
261631
|
-
val = true;
|
|
261632
|
-
} else if (/^(no|off|false|disabled)$/i.test(val)) {
|
|
261633
|
-
val = false;
|
|
261634
|
-
} else if (val === "null") {
|
|
261635
|
-
val = null;
|
|
261636
|
-
} else {
|
|
261637
|
-
val = Number(val);
|
|
261638
|
-
}
|
|
261639
|
-
obj[prop] = val;
|
|
261640
|
-
return obj;
|
|
261641
|
-
}, {});
|
|
261642
|
-
function useColors() {
|
|
261643
|
-
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
|
|
261644
|
-
}
|
|
261645
|
-
function formatArgs(args) {
|
|
261646
|
-
const { namespace: name, useColors: useColors2 } = this;
|
|
261647
|
-
if (useColors2) {
|
|
261648
|
-
const c2 = this.color;
|
|
261649
|
-
const colorCode = "\x1B[3" + (c2 < 8 ? c2 : "8;5;" + c2);
|
|
261650
|
-
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
261651
|
-
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
261652
|
-
args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
|
|
261653
|
-
} else {
|
|
261654
|
-
args[0] = getDate() + name + " " + args[0];
|
|
261655
|
-
}
|
|
261656
|
-
}
|
|
261657
|
-
function getDate() {
|
|
261658
|
-
if (exports.inspectOpts.hideDate) {
|
|
261659
|
-
return "";
|
|
261660
|
-
}
|
|
261661
|
-
return new Date().toISOString() + " ";
|
|
261662
|
-
}
|
|
261663
|
-
function log(...args) {
|
|
261664
|
-
return process.stderr.write(util4.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
|
261665
|
-
}
|
|
261666
|
-
function save(namespaces) {
|
|
261667
|
-
if (namespaces) {
|
|
261668
|
-
process.env.DEBUG = namespaces;
|
|
261669
|
-
} else {
|
|
261670
|
-
delete process.env.DEBUG;
|
|
261671
|
-
}
|
|
261672
|
-
}
|
|
261673
|
-
function load3() {
|
|
261674
|
-
return process.env.DEBUG;
|
|
261675
|
-
}
|
|
261676
|
-
function init(debug) {
|
|
261677
|
-
debug.inspectOpts = {};
|
|
261678
|
-
const keys = Object.keys(exports.inspectOpts);
|
|
261679
|
-
for (let i = 0; i < keys.length; i++) {
|
|
261680
|
-
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
261681
|
-
}
|
|
261682
|
-
}
|
|
261683
|
-
module2.exports = require_common4()(exports);
|
|
261684
|
-
var { formatters } = module2.exports;
|
|
261685
|
-
formatters.o = function(v) {
|
|
261686
|
-
this.inspectOpts.colors = this.useColors;
|
|
261687
|
-
return util4.inspect(v, this.inspectOpts).split("\n").map((str2) => str2.trim()).join(" ");
|
|
261688
|
-
};
|
|
261689
|
-
formatters.O = function(v) {
|
|
261690
|
-
this.inspectOpts.colors = this.useColors;
|
|
261691
|
-
return util4.inspect(v, this.inspectOpts);
|
|
261692
|
-
};
|
|
261693
|
-
}
|
|
261694
|
-
});
|
|
261695
|
-
|
|
261696
|
-
// ../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js
|
|
261697
|
-
var require_src5 = __commonJS({
|
|
261698
|
-
"../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js"(exports, module2) {
|
|
261699
|
-
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
261700
|
-
module2.exports = require_browser2();
|
|
261701
|
-
} else {
|
|
261702
|
-
module2.exports = require_node4();
|
|
261703
|
-
}
|
|
261704
|
-
}
|
|
261705
|
-
});
|
|
261706
|
-
|
|
261707
261193
|
// ../../node_modules/.pnpm/cookiejar@2.1.4/node_modules/cookiejar/cookiejar.js
|
|
261708
261194
|
var require_cookiejar = __commonJS({
|
|
261709
261195
|
"../../node_modules/.pnpm/cookiejar@2.1.4/node_modules/cookiejar/cookiejar.js"(exports) {
|
|
@@ -265075,7 +264561,7 @@ var require_agent2 = __commonJS({
|
|
|
265075
264561
|
var _require3 = require_cookiejar();
|
|
265076
264562
|
var CookieAccessInfo = _require3.CookieAccessInfo;
|
|
265077
264563
|
var methods = require_methods3();
|
|
265078
|
-
var request =
|
|
264564
|
+
var request = require_node4();
|
|
265079
264565
|
var AgentBase = require_agent_base();
|
|
265080
264566
|
module2.exports = Agent;
|
|
265081
264567
|
function Agent(options) {
|
|
@@ -265242,7 +264728,7 @@ var require_parsers2 = __commonJS({
|
|
|
265242
264728
|
});
|
|
265243
264729
|
|
|
265244
264730
|
// ../../node_modules/.pnpm/superagent@7.1.6/node_modules/superagent/lib/node/index.js
|
|
265245
|
-
var
|
|
264731
|
+
var require_node4 = __commonJS({
|
|
265246
264732
|
"../../node_modules/.pnpm/superagent@7.1.6/node_modules/superagent/lib/node/index.js"(exports, module2) {
|
|
265247
264733
|
"use strict";
|
|
265248
264734
|
function _slicedToArray(arr, i) {
|
|
@@ -265380,7 +264866,7 @@ var require_node5 = __commonJS({
|
|
|
265380
264866
|
var methods = require_methods3();
|
|
265381
264867
|
var FormData3 = require_form_data();
|
|
265382
264868
|
var formidable = require_src4();
|
|
265383
|
-
var debug =
|
|
264869
|
+
var debug = require_src2()("superagent");
|
|
265384
264870
|
var CookieJar = require_cookiejar();
|
|
265385
264871
|
var semverGte = require_gte();
|
|
265386
264872
|
var safeStringify = require_fast_safe_stringify();
|
|
@@ -266147,7 +265633,7 @@ var require_node5 = __commonJS({
|
|
|
266147
265633
|
var require_http4 = __commonJS({
|
|
266148
265634
|
"../../node_modules/.pnpm/path-loader@1.0.12/node_modules/path-loader/lib/loaders/http.js"(exports, module2) {
|
|
266149
265635
|
"use strict";
|
|
266150
|
-
var request =
|
|
265636
|
+
var request = require_node4();
|
|
266151
265637
|
var supportedHttpMethods = ["delete", "get", "head", "patch", "post", "put"];
|
|
266152
265638
|
module2.exports.load = function(location2, options, callback) {
|
|
266153
265639
|
var realMethod = options.method ? options.method.toLowerCase() : "get";
|
|
@@ -283808,13 +283294,9 @@ var state = {
|
|
|
283808
283294
|
},
|
|
283809
283295
|
"sandboxIdentifiers": {
|
|
283810
283296
|
"type": "object",
|
|
283811
|
-
"additionalProperties": {
|
|
283812
|
-
"type": "object",
|
|
283813
|
-
"nullable": true,
|
|
283814
|
-
"additionalProperties": false
|
|
283815
|
-
},
|
|
283816
283297
|
"nullable": true,
|
|
283817
|
-
"description": "**EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers.
|
|
283298
|
+
"description": "**EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. This is an experimental feature meant to be used by specific integrations.",
|
|
283299
|
+
"additionalProperties": false
|
|
283818
283300
|
}
|
|
283819
283301
|
},
|
|
283820
283302
|
"title": "configureIntegrationBody",
|
|
@@ -284644,7 +284126,7 @@ var state = {
|
|
|
284644
284126
|
"title": "Botpress API",
|
|
284645
284127
|
"description": "API for Botpress Cloud",
|
|
284646
284128
|
"server": "https://api.botpress.cloud",
|
|
284647
|
-
"version": "1.
|
|
284129
|
+
"version": "1.11.0",
|
|
284648
284130
|
"prefix": "v1"
|
|
284649
284131
|
},
|
|
284650
284132
|
"errors": [
|
|
@@ -286292,6 +285774,29 @@ var state = {
|
|
|
286292
285774
|
],
|
|
286293
285775
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
286294
285776
|
"additionalProperties": false
|
|
285777
|
+
},
|
|
285778
|
+
"title": {
|
|
285779
|
+
"type": "string",
|
|
285780
|
+
"minLength": 1,
|
|
285781
|
+
"maxLength": 64,
|
|
285782
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
285783
|
+
},
|
|
285784
|
+
"description": {
|
|
285785
|
+
"type": "string",
|
|
285786
|
+
"maxLength": 256,
|
|
285787
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
285788
|
+
},
|
|
285789
|
+
"iconUrl": {
|
|
285790
|
+
"type": "string",
|
|
285791
|
+
"description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
|
|
285792
|
+
},
|
|
285793
|
+
"readmeUrl": {
|
|
285794
|
+
"type": "string",
|
|
285795
|
+
"description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
|
|
285796
|
+
},
|
|
285797
|
+
"public": {
|
|
285798
|
+
"type": "boolean",
|
|
285799
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
286295
285800
|
}
|
|
286296
285801
|
},
|
|
286297
285802
|
"required": [
|
|
@@ -286303,7 +285808,12 @@ var state = {
|
|
|
286303
285808
|
"entities",
|
|
286304
285809
|
"events",
|
|
286305
285810
|
"actions",
|
|
286306
|
-
"channels"
|
|
285811
|
+
"channels",
|
|
285812
|
+
"title",
|
|
285813
|
+
"description",
|
|
285814
|
+
"iconUrl",
|
|
285815
|
+
"readmeUrl",
|
|
285816
|
+
"public"
|
|
286307
285817
|
],
|
|
286308
285818
|
"additionalProperties": false
|
|
286309
285819
|
}
|
|
@@ -298516,6 +298026,29 @@ var state2 = {
|
|
|
298516
298026
|
],
|
|
298517
298027
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
298518
298028
|
"additionalProperties": false
|
|
298029
|
+
},
|
|
298030
|
+
"icon": {
|
|
298031
|
+
"type": "string",
|
|
298032
|
+
"description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
|
|
298033
|
+
},
|
|
298034
|
+
"readme": {
|
|
298035
|
+
"type": "string",
|
|
298036
|
+
"description": "Base64 encoded markdown of the interface readme. The readme is specific to each interface versions."
|
|
298037
|
+
},
|
|
298038
|
+
"title": {
|
|
298039
|
+
"type": "string",
|
|
298040
|
+
"minLength": 1,
|
|
298041
|
+
"maxLength": 64,
|
|
298042
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
298043
|
+
},
|
|
298044
|
+
"description": {
|
|
298045
|
+
"type": "string",
|
|
298046
|
+
"maxLength": 256,
|
|
298047
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
298048
|
+
},
|
|
298049
|
+
"public": {
|
|
298050
|
+
"type": "boolean",
|
|
298051
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
298519
298052
|
}
|
|
298520
298053
|
},
|
|
298521
298054
|
"required": [
|
|
@@ -298812,6 +298345,29 @@ var state2 = {
|
|
|
298812
298345
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
298813
298346
|
"nullable": true,
|
|
298814
298347
|
"additionalProperties": false
|
|
298348
|
+
},
|
|
298349
|
+
"icon": {
|
|
298350
|
+
"type": "string",
|
|
298351
|
+
"description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
|
|
298352
|
+
},
|
|
298353
|
+
"readme": {
|
|
298354
|
+
"type": "string",
|
|
298355
|
+
"description": "Base64 encoded markdown of the interface readme. The readme is specific to each interface versions."
|
|
298356
|
+
},
|
|
298357
|
+
"title": {
|
|
298358
|
+
"type": "string",
|
|
298359
|
+
"minLength": 1,
|
|
298360
|
+
"maxLength": 64,
|
|
298361
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
298362
|
+
},
|
|
298363
|
+
"description": {
|
|
298364
|
+
"type": "string",
|
|
298365
|
+
"maxLength": 256,
|
|
298366
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
298367
|
+
},
|
|
298368
|
+
"public": {
|
|
298369
|
+
"type": "boolean",
|
|
298370
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
298815
298371
|
}
|
|
298816
298372
|
},
|
|
298817
298373
|
"title": "updateInterfaceBody",
|
|
@@ -298911,6 +298467,29 @@ var state2 = {
|
|
|
298911
298467
|
"type": "string",
|
|
298912
298468
|
"maxLength": 200,
|
|
298913
298469
|
"description": "Version of the [Interface](#schema_interface)"
|
|
298470
|
+
},
|
|
298471
|
+
"title": {
|
|
298472
|
+
"type": "string",
|
|
298473
|
+
"minLength": 1,
|
|
298474
|
+
"maxLength": 64,
|
|
298475
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
298476
|
+
},
|
|
298477
|
+
"description": {
|
|
298478
|
+
"type": "string",
|
|
298479
|
+
"maxLength": 256,
|
|
298480
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
298481
|
+
},
|
|
298482
|
+
"iconUrl": {
|
|
298483
|
+
"type": "string",
|
|
298484
|
+
"description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
|
|
298485
|
+
},
|
|
298486
|
+
"readmeUrl": {
|
|
298487
|
+
"type": "string",
|
|
298488
|
+
"description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
|
|
298489
|
+
},
|
|
298490
|
+
"public": {
|
|
298491
|
+
"type": "boolean",
|
|
298492
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
298914
298493
|
}
|
|
298915
298494
|
},
|
|
298916
298495
|
"required": [
|
|
@@ -298918,7 +298497,12 @@ var state2 = {
|
|
|
298918
298497
|
"createdAt",
|
|
298919
298498
|
"updatedAt",
|
|
298920
298499
|
"name",
|
|
298921
|
-
"version"
|
|
298500
|
+
"version",
|
|
298501
|
+
"title",
|
|
298502
|
+
"description",
|
|
298503
|
+
"iconUrl",
|
|
298504
|
+
"readmeUrl",
|
|
298505
|
+
"public"
|
|
298922
298506
|
]
|
|
298923
298507
|
}
|
|
298924
298508
|
},
|
|
@@ -300361,7 +299945,7 @@ var state2 = {
|
|
|
300361
299945
|
"title": "Botpress API",
|
|
300362
299946
|
"description": "API for Botpress Cloud",
|
|
300363
299947
|
"server": "https://api.botpress.cloud",
|
|
300364
|
-
"version": "1.
|
|
299948
|
+
"version": "1.11.0",
|
|
300365
299949
|
"prefix": "v1"
|
|
300366
299950
|
},
|
|
300367
299951
|
"errors": [
|
|
@@ -302064,6 +301648,29 @@ var state2 = {
|
|
|
302064
301648
|
],
|
|
302065
301649
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
302066
301650
|
"additionalProperties": false
|
|
301651
|
+
},
|
|
301652
|
+
"title": {
|
|
301653
|
+
"type": "string",
|
|
301654
|
+
"minLength": 1,
|
|
301655
|
+
"maxLength": 64,
|
|
301656
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
301657
|
+
},
|
|
301658
|
+
"description": {
|
|
301659
|
+
"type": "string",
|
|
301660
|
+
"maxLength": 256,
|
|
301661
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
301662
|
+
},
|
|
301663
|
+
"iconUrl": {
|
|
301664
|
+
"type": "string",
|
|
301665
|
+
"description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
|
|
301666
|
+
},
|
|
301667
|
+
"readmeUrl": {
|
|
301668
|
+
"type": "string",
|
|
301669
|
+
"description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
|
|
301670
|
+
},
|
|
301671
|
+
"public": {
|
|
301672
|
+
"type": "boolean",
|
|
301673
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
302067
301674
|
}
|
|
302068
301675
|
},
|
|
302069
301676
|
"required": [
|
|
@@ -302075,7 +301682,12 @@ var state2 = {
|
|
|
302075
301682
|
"entities",
|
|
302076
301683
|
"events",
|
|
302077
301684
|
"actions",
|
|
302078
|
-
"channels"
|
|
301685
|
+
"channels",
|
|
301686
|
+
"title",
|
|
301687
|
+
"description",
|
|
301688
|
+
"iconUrl",
|
|
301689
|
+
"readmeUrl",
|
|
301690
|
+
"public"
|
|
302079
301691
|
],
|
|
302080
301692
|
"additionalProperties": false
|
|
302081
301693
|
}
|
|
@@ -305773,7 +305385,7 @@ var state3 = {
|
|
|
305773
305385
|
"title": "Botpress API",
|
|
305774
305386
|
"description": "API for Botpress Cloud",
|
|
305775
305387
|
"server": "https://api.botpress.cloud",
|
|
305776
|
-
"version": "1.
|
|
305388
|
+
"version": "1.11.0",
|
|
305777
305389
|
"prefix": "v1"
|
|
305778
305390
|
},
|
|
305779
305391
|
"errors": [
|
|
@@ -307372,6 +306984,29 @@ var state3 = {
|
|
|
307372
306984
|
],
|
|
307373
306985
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
307374
306986
|
"additionalProperties": false
|
|
306987
|
+
},
|
|
306988
|
+
"title": {
|
|
306989
|
+
"type": "string",
|
|
306990
|
+
"minLength": 1,
|
|
306991
|
+
"maxLength": 64,
|
|
306992
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
306993
|
+
},
|
|
306994
|
+
"description": {
|
|
306995
|
+
"type": "string",
|
|
306996
|
+
"maxLength": 256,
|
|
306997
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
306998
|
+
},
|
|
306999
|
+
"iconUrl": {
|
|
307000
|
+
"type": "string",
|
|
307001
|
+
"description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
|
|
307002
|
+
},
|
|
307003
|
+
"readmeUrl": {
|
|
307004
|
+
"type": "string",
|
|
307005
|
+
"description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
|
|
307006
|
+
},
|
|
307007
|
+
"public": {
|
|
307008
|
+
"type": "boolean",
|
|
307009
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
307375
307010
|
}
|
|
307376
307011
|
},
|
|
307377
307012
|
"required": [
|
|
@@ -307383,7 +307018,12 @@ var state3 = {
|
|
|
307383
307018
|
"entities",
|
|
307384
307019
|
"events",
|
|
307385
307020
|
"actions",
|
|
307386
|
-
"channels"
|
|
307021
|
+
"channels",
|
|
307022
|
+
"title",
|
|
307023
|
+
"description",
|
|
307024
|
+
"iconUrl",
|
|
307025
|
+
"readmeUrl",
|
|
307026
|
+
"public"
|
|
307387
307027
|
],
|
|
307388
307028
|
"additionalProperties": false
|
|
307389
307029
|
}
|
|
@@ -310632,7 +310272,7 @@ var state4 = {
|
|
|
310632
310272
|
"title": "Botpress API",
|
|
310633
310273
|
"description": "API for Botpress Cloud",
|
|
310634
310274
|
"server": "https://api.botpress.cloud",
|
|
310635
|
-
"version": "1.
|
|
310275
|
+
"version": "1.11.0",
|
|
310636
310276
|
"prefix": "v1"
|
|
310637
310277
|
},
|
|
310638
310278
|
"errors": [
|
|
@@ -312240,6 +311880,29 @@ var state4 = {
|
|
|
312240
311880
|
],
|
|
312241
311881
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
312242
311882
|
"additionalProperties": false
|
|
311883
|
+
},
|
|
311884
|
+
"title": {
|
|
311885
|
+
"type": "string",
|
|
311886
|
+
"minLength": 1,
|
|
311887
|
+
"maxLength": 64,
|
|
311888
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
311889
|
+
},
|
|
311890
|
+
"description": {
|
|
311891
|
+
"type": "string",
|
|
311892
|
+
"maxLength": 256,
|
|
311893
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
311894
|
+
},
|
|
311895
|
+
"iconUrl": {
|
|
311896
|
+
"type": "string",
|
|
311897
|
+
"description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
|
|
311898
|
+
},
|
|
311899
|
+
"readmeUrl": {
|
|
311900
|
+
"type": "string",
|
|
311901
|
+
"description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
|
|
311902
|
+
},
|
|
311903
|
+
"public": {
|
|
311904
|
+
"type": "boolean",
|
|
311905
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
312243
311906
|
}
|
|
312244
311907
|
},
|
|
312245
311908
|
"required": [
|
|
@@ -312251,7 +311914,12 @@ var state4 = {
|
|
|
312251
311914
|
"entities",
|
|
312252
311915
|
"events",
|
|
312253
311916
|
"actions",
|
|
312254
|
-
"channels"
|
|
311917
|
+
"channels",
|
|
311918
|
+
"title",
|
|
311919
|
+
"description",
|
|
311920
|
+
"iconUrl",
|
|
311921
|
+
"readmeUrl",
|
|
311922
|
+
"public"
|
|
312255
311923
|
],
|
|
312256
311924
|
"additionalProperties": false
|
|
312257
311925
|
}
|
|
@@ -316055,13 +315723,9 @@ var state5 = {
|
|
|
316055
315723
|
},
|
|
316056
315724
|
"sandboxIdentifiers": {
|
|
316057
315725
|
"type": "object",
|
|
316058
|
-
"additionalProperties": {
|
|
316059
|
-
"type": "object",
|
|
316060
|
-
"nullable": true,
|
|
316061
|
-
"additionalProperties": false
|
|
316062
|
-
},
|
|
316063
315726
|
"nullable": true,
|
|
316064
|
-
"description": "**EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers.
|
|
315727
|
+
"description": "**EXPERIMENTAL** Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. This is an experimental feature meant to be used by specific integrations.",
|
|
315728
|
+
"additionalProperties": false
|
|
316065
315729
|
}
|
|
316066
315730
|
},
|
|
316067
315731
|
"title": "configureIntegrationBody",
|
|
@@ -327003,9 +326667,327 @@ var state5 = {
|
|
|
327003
326667
|
}
|
|
327004
326668
|
}
|
|
327005
326669
|
},
|
|
327006
|
-
"required": [
|
|
327007
|
-
"messages"
|
|
327008
|
-
],
|
|
326670
|
+
"required": [
|
|
326671
|
+
"messages"
|
|
326672
|
+
],
|
|
326673
|
+
"additionalProperties": false
|
|
326674
|
+
}
|
|
326675
|
+
},
|
|
326676
|
+
"nameTemplate": {
|
|
326677
|
+
"type": "object",
|
|
326678
|
+
"properties": {
|
|
326679
|
+
"script": {
|
|
326680
|
+
"type": "string",
|
|
326681
|
+
"maxLength": 2e3
|
|
326682
|
+
},
|
|
326683
|
+
"language": {
|
|
326684
|
+
"type": "string",
|
|
326685
|
+
"maxLength": 200
|
|
326686
|
+
}
|
|
326687
|
+
},
|
|
326688
|
+
"required": [
|
|
326689
|
+
"script",
|
|
326690
|
+
"language"
|
|
326691
|
+
],
|
|
326692
|
+
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
326693
|
+
"additionalProperties": false
|
|
326694
|
+
},
|
|
326695
|
+
"icon": {
|
|
326696
|
+
"type": "string",
|
|
326697
|
+
"description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
|
|
326698
|
+
},
|
|
326699
|
+
"readme": {
|
|
326700
|
+
"type": "string",
|
|
326701
|
+
"description": "Base64 encoded markdown of the interface readme. The readme is specific to each interface versions."
|
|
326702
|
+
},
|
|
326703
|
+
"title": {
|
|
326704
|
+
"type": "string",
|
|
326705
|
+
"minLength": 1,
|
|
326706
|
+
"maxLength": 64,
|
|
326707
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
326708
|
+
},
|
|
326709
|
+
"description": {
|
|
326710
|
+
"type": "string",
|
|
326711
|
+
"maxLength": 256,
|
|
326712
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
326713
|
+
},
|
|
326714
|
+
"public": {
|
|
326715
|
+
"type": "boolean",
|
|
326716
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
326717
|
+
}
|
|
326718
|
+
},
|
|
326719
|
+
"required": [
|
|
326720
|
+
"name",
|
|
326721
|
+
"version"
|
|
326722
|
+
],
|
|
326723
|
+
"title": "createInterfaceBody",
|
|
326724
|
+
"additionalProperties": false
|
|
326725
|
+
}
|
|
326726
|
+
},
|
|
326727
|
+
"section": "interface",
|
|
326728
|
+
"response": {
|
|
326729
|
+
"description": "Get an interface",
|
|
326730
|
+
"schema": {
|
|
326731
|
+
"type": "object",
|
|
326732
|
+
"properties": {
|
|
326733
|
+
"interface": {
|
|
326734
|
+
"$ref": "#/components/schemas/Interface"
|
|
326735
|
+
}
|
|
326736
|
+
},
|
|
326737
|
+
"required": [
|
|
326738
|
+
"interface"
|
|
326739
|
+
],
|
|
326740
|
+
"title": "createInterfaceResponse",
|
|
326741
|
+
"additionalProperties": false
|
|
326742
|
+
}
|
|
326743
|
+
}
|
|
326744
|
+
},
|
|
326745
|
+
"getInterface": {
|
|
326746
|
+
"name": "getInterface",
|
|
326747
|
+
"description": "Get Interface",
|
|
326748
|
+
"method": "get",
|
|
326749
|
+
"path": "/v1/admin/interfaces/{id}",
|
|
326750
|
+
"parameters": {
|
|
326751
|
+
"id": {
|
|
326752
|
+
"in": "path",
|
|
326753
|
+
"type": "string",
|
|
326754
|
+
"description": "Interface id"
|
|
326755
|
+
}
|
|
326756
|
+
},
|
|
326757
|
+
"section": "interface",
|
|
326758
|
+
"response": {
|
|
326759
|
+
"description": "Get an interface",
|
|
326760
|
+
"schema": {
|
|
326761
|
+
"type": "object",
|
|
326762
|
+
"properties": {
|
|
326763
|
+
"interface": {
|
|
326764
|
+
"$ref": "#/components/schemas/Interface"
|
|
326765
|
+
}
|
|
326766
|
+
},
|
|
326767
|
+
"required": [
|
|
326768
|
+
"interface"
|
|
326769
|
+
],
|
|
326770
|
+
"title": "getInterfaceResponse",
|
|
326771
|
+
"additionalProperties": false
|
|
326772
|
+
}
|
|
326773
|
+
}
|
|
326774
|
+
},
|
|
326775
|
+
"getInterfaceByName": {
|
|
326776
|
+
"name": "getInterfaceByName",
|
|
326777
|
+
"description": "Get Interface by name and version",
|
|
326778
|
+
"method": "get",
|
|
326779
|
+
"path": "/v1/admin/interfaces/{name}/{version}",
|
|
326780
|
+
"parameters": {
|
|
326781
|
+
"name": {
|
|
326782
|
+
"in": "path",
|
|
326783
|
+
"type": "string",
|
|
326784
|
+
"description": "Interface name"
|
|
326785
|
+
},
|
|
326786
|
+
"version": {
|
|
326787
|
+
"in": "path",
|
|
326788
|
+
"type": "string",
|
|
326789
|
+
"description": "Interface version"
|
|
326790
|
+
}
|
|
326791
|
+
},
|
|
326792
|
+
"section": "interface",
|
|
326793
|
+
"response": {
|
|
326794
|
+
"description": "Get an interface",
|
|
326795
|
+
"schema": {
|
|
326796
|
+
"type": "object",
|
|
326797
|
+
"properties": {
|
|
326798
|
+
"interface": {
|
|
326799
|
+
"$ref": "#/components/schemas/Interface"
|
|
326800
|
+
}
|
|
326801
|
+
},
|
|
326802
|
+
"required": [
|
|
326803
|
+
"interface"
|
|
326804
|
+
],
|
|
326805
|
+
"title": "getInterfaceByNameResponse",
|
|
326806
|
+
"additionalProperties": false
|
|
326807
|
+
}
|
|
326808
|
+
}
|
|
326809
|
+
},
|
|
326810
|
+
"updateInterface": {
|
|
326811
|
+
"name": "updateInterface",
|
|
326812
|
+
"description": "Update Interface",
|
|
326813
|
+
"method": "put",
|
|
326814
|
+
"path": "/v1/admin/interfaces/{id}",
|
|
326815
|
+
"parameters": {
|
|
326816
|
+
"id": {
|
|
326817
|
+
"in": "path",
|
|
326818
|
+
"type": "string",
|
|
326819
|
+
"description": "Interface id"
|
|
326820
|
+
}
|
|
326821
|
+
},
|
|
326822
|
+
"requestBody": {
|
|
326823
|
+
"description": "Interface to update",
|
|
326824
|
+
"schema": {
|
|
326825
|
+
"type": "object",
|
|
326826
|
+
"properties": {
|
|
326827
|
+
"entities": {
|
|
326828
|
+
"type": "object",
|
|
326829
|
+
"additionalProperties": {
|
|
326830
|
+
"type": "object",
|
|
326831
|
+
"properties": {
|
|
326832
|
+
"title": {
|
|
326833
|
+
"type": "string",
|
|
326834
|
+
"maxLength": 64,
|
|
326835
|
+
"description": "Title of the entity"
|
|
326836
|
+
},
|
|
326837
|
+
"description": {
|
|
326838
|
+
"type": "string",
|
|
326839
|
+
"maxLength": 256,
|
|
326840
|
+
"description": "Description of the entity"
|
|
326841
|
+
},
|
|
326842
|
+
"schema": {
|
|
326843
|
+
"type": "object",
|
|
326844
|
+
"additionalProperties": true
|
|
326845
|
+
}
|
|
326846
|
+
},
|
|
326847
|
+
"required": [
|
|
326848
|
+
"schema"
|
|
326849
|
+
],
|
|
326850
|
+
"description": "Entity definition",
|
|
326851
|
+
"nullable": true,
|
|
326852
|
+
"additionalProperties": false
|
|
326853
|
+
}
|
|
326854
|
+
},
|
|
326855
|
+
"events": {
|
|
326856
|
+
"type": "object",
|
|
326857
|
+
"additionalProperties": {
|
|
326858
|
+
"type": "object",
|
|
326859
|
+
"properties": {
|
|
326860
|
+
"title": {
|
|
326861
|
+
"type": "string",
|
|
326862
|
+
"maxLength": 64,
|
|
326863
|
+
"description": "Title of the event"
|
|
326864
|
+
},
|
|
326865
|
+
"description": {
|
|
326866
|
+
"type": "string",
|
|
326867
|
+
"maxLength": 256,
|
|
326868
|
+
"description": "Description of the event"
|
|
326869
|
+
},
|
|
326870
|
+
"schema": {
|
|
326871
|
+
"type": "object",
|
|
326872
|
+
"additionalProperties": true
|
|
326873
|
+
},
|
|
326874
|
+
"attributes": {
|
|
326875
|
+
"type": "object",
|
|
326876
|
+
"additionalProperties": {
|
|
326877
|
+
"type": "string",
|
|
326878
|
+
"maxLength": 200,
|
|
326879
|
+
"nullable": true
|
|
326880
|
+
},
|
|
326881
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
326882
|
+
}
|
|
326883
|
+
},
|
|
326884
|
+
"required": [
|
|
326885
|
+
"schema"
|
|
326886
|
+
],
|
|
326887
|
+
"nullable": true,
|
|
326888
|
+
"additionalProperties": false
|
|
326889
|
+
}
|
|
326890
|
+
},
|
|
326891
|
+
"actions": {
|
|
326892
|
+
"type": "object",
|
|
326893
|
+
"additionalProperties": {
|
|
326894
|
+
"type": "object",
|
|
326895
|
+
"properties": {
|
|
326896
|
+
"title": {
|
|
326897
|
+
"type": "string",
|
|
326898
|
+
"maxLength": 64,
|
|
326899
|
+
"description": "Title of the action"
|
|
326900
|
+
},
|
|
326901
|
+
"description": {
|
|
326902
|
+
"type": "string",
|
|
326903
|
+
"maxLength": 256,
|
|
326904
|
+
"description": "Description of the action"
|
|
326905
|
+
},
|
|
326906
|
+
"billable": {
|
|
326907
|
+
"type": "boolean"
|
|
326908
|
+
},
|
|
326909
|
+
"cacheable": {
|
|
326910
|
+
"type": "boolean"
|
|
326911
|
+
},
|
|
326912
|
+
"input": {
|
|
326913
|
+
"type": "object",
|
|
326914
|
+
"properties": {
|
|
326915
|
+
"schema": {
|
|
326916
|
+
"type": "object",
|
|
326917
|
+
"additionalProperties": true
|
|
326918
|
+
}
|
|
326919
|
+
},
|
|
326920
|
+
"required": [
|
|
326921
|
+
"schema"
|
|
326922
|
+
],
|
|
326923
|
+
"additionalProperties": false
|
|
326924
|
+
},
|
|
326925
|
+
"output": {
|
|
326926
|
+
"type": "object",
|
|
326927
|
+
"properties": {
|
|
326928
|
+
"schema": {
|
|
326929
|
+
"type": "object",
|
|
326930
|
+
"additionalProperties": true
|
|
326931
|
+
}
|
|
326932
|
+
},
|
|
326933
|
+
"required": [
|
|
326934
|
+
"schema"
|
|
326935
|
+
],
|
|
326936
|
+
"additionalProperties": false
|
|
326937
|
+
},
|
|
326938
|
+
"attributes": {
|
|
326939
|
+
"type": "object",
|
|
326940
|
+
"additionalProperties": {
|
|
326941
|
+
"type": "string",
|
|
326942
|
+
"maxLength": 200,
|
|
326943
|
+
"nullable": true
|
|
326944
|
+
},
|
|
326945
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
326946
|
+
}
|
|
326947
|
+
},
|
|
326948
|
+
"required": [
|
|
326949
|
+
"input",
|
|
326950
|
+
"output"
|
|
326951
|
+
],
|
|
326952
|
+
"nullable": true,
|
|
326953
|
+
"additionalProperties": false
|
|
326954
|
+
}
|
|
326955
|
+
},
|
|
326956
|
+
"channels": {
|
|
326957
|
+
"type": "object",
|
|
326958
|
+
"additionalProperties": {
|
|
326959
|
+
"type": "object",
|
|
326960
|
+
"properties": {
|
|
326961
|
+
"title": {
|
|
326962
|
+
"type": "string",
|
|
326963
|
+
"maxLength": 64,
|
|
326964
|
+
"description": "Title of the channel"
|
|
326965
|
+
},
|
|
326966
|
+
"description": {
|
|
326967
|
+
"type": "string",
|
|
326968
|
+
"maxLength": 256,
|
|
326969
|
+
"description": "Description of the channel"
|
|
326970
|
+
},
|
|
326971
|
+
"messages": {
|
|
326972
|
+
"type": "object",
|
|
326973
|
+
"additionalProperties": {
|
|
326974
|
+
"type": "object",
|
|
326975
|
+
"properties": {
|
|
326976
|
+
"schema": {
|
|
326977
|
+
"type": "object",
|
|
326978
|
+
"additionalProperties": true
|
|
326979
|
+
}
|
|
326980
|
+
},
|
|
326981
|
+
"required": [
|
|
326982
|
+
"schema"
|
|
326983
|
+
],
|
|
326984
|
+
"description": "Message definition",
|
|
326985
|
+
"nullable": true,
|
|
326986
|
+
"additionalProperties": false
|
|
326987
|
+
}
|
|
326988
|
+
}
|
|
326989
|
+
},
|
|
326990
|
+
"nullable": true,
|
|
327009
326991
|
"additionalProperties": false
|
|
327010
326992
|
}
|
|
327011
326993
|
},
|
|
@@ -327026,303 +327008,31 @@ var state5 = {
|
|
|
327026
327008
|
"language"
|
|
327027
327009
|
],
|
|
327028
327010
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
327011
|
+
"nullable": true,
|
|
327029
327012
|
"additionalProperties": false
|
|
327030
|
-
}
|
|
327031
|
-
},
|
|
327032
|
-
"required": [
|
|
327033
|
-
"name",
|
|
327034
|
-
"version"
|
|
327035
|
-
],
|
|
327036
|
-
"title": "createInterfaceBody",
|
|
327037
|
-
"additionalProperties": false
|
|
327038
|
-
}
|
|
327039
|
-
},
|
|
327040
|
-
"section": "interface",
|
|
327041
|
-
"response": {
|
|
327042
|
-
"description": "Get an interface",
|
|
327043
|
-
"schema": {
|
|
327044
|
-
"type": "object",
|
|
327045
|
-
"properties": {
|
|
327046
|
-
"interface": {
|
|
327047
|
-
"$ref": "#/components/schemas/Interface"
|
|
327048
|
-
}
|
|
327049
|
-
},
|
|
327050
|
-
"required": [
|
|
327051
|
-
"interface"
|
|
327052
|
-
],
|
|
327053
|
-
"title": "createInterfaceResponse",
|
|
327054
|
-
"additionalProperties": false
|
|
327055
|
-
}
|
|
327056
|
-
}
|
|
327057
|
-
},
|
|
327058
|
-
"getInterface": {
|
|
327059
|
-
"name": "getInterface",
|
|
327060
|
-
"description": "Get Interface",
|
|
327061
|
-
"method": "get",
|
|
327062
|
-
"path": "/v1/admin/interfaces/{id}",
|
|
327063
|
-
"parameters": {
|
|
327064
|
-
"id": {
|
|
327065
|
-
"in": "path",
|
|
327066
|
-
"type": "string",
|
|
327067
|
-
"description": "Interface id"
|
|
327068
|
-
}
|
|
327069
|
-
},
|
|
327070
|
-
"section": "interface",
|
|
327071
|
-
"response": {
|
|
327072
|
-
"description": "Get an interface",
|
|
327073
|
-
"schema": {
|
|
327074
|
-
"type": "object",
|
|
327075
|
-
"properties": {
|
|
327076
|
-
"interface": {
|
|
327077
|
-
"$ref": "#/components/schemas/Interface"
|
|
327078
|
-
}
|
|
327079
|
-
},
|
|
327080
|
-
"required": [
|
|
327081
|
-
"interface"
|
|
327082
|
-
],
|
|
327083
|
-
"title": "getInterfaceResponse",
|
|
327084
|
-
"additionalProperties": false
|
|
327085
|
-
}
|
|
327086
|
-
}
|
|
327087
|
-
},
|
|
327088
|
-
"getInterfaceByName": {
|
|
327089
|
-
"name": "getInterfaceByName",
|
|
327090
|
-
"description": "Get Interface by name and version",
|
|
327091
|
-
"method": "get",
|
|
327092
|
-
"path": "/v1/admin/interfaces/{name}/{version}",
|
|
327093
|
-
"parameters": {
|
|
327094
|
-
"name": {
|
|
327095
|
-
"in": "path",
|
|
327096
|
-
"type": "string",
|
|
327097
|
-
"description": "Interface name"
|
|
327098
|
-
},
|
|
327099
|
-
"version": {
|
|
327100
|
-
"in": "path",
|
|
327101
|
-
"type": "string",
|
|
327102
|
-
"description": "Interface version"
|
|
327103
|
-
}
|
|
327104
|
-
},
|
|
327105
|
-
"section": "interface",
|
|
327106
|
-
"response": {
|
|
327107
|
-
"description": "Get an interface",
|
|
327108
|
-
"schema": {
|
|
327109
|
-
"type": "object",
|
|
327110
|
-
"properties": {
|
|
327111
|
-
"interface": {
|
|
327112
|
-
"$ref": "#/components/schemas/Interface"
|
|
327113
|
-
}
|
|
327114
|
-
},
|
|
327115
|
-
"required": [
|
|
327116
|
-
"interface"
|
|
327117
|
-
],
|
|
327118
|
-
"title": "getInterfaceByNameResponse",
|
|
327119
|
-
"additionalProperties": false
|
|
327120
|
-
}
|
|
327121
|
-
}
|
|
327122
|
-
},
|
|
327123
|
-
"updateInterface": {
|
|
327124
|
-
"name": "updateInterface",
|
|
327125
|
-
"description": "Update Interface",
|
|
327126
|
-
"method": "put",
|
|
327127
|
-
"path": "/v1/admin/interfaces/{id}",
|
|
327128
|
-
"parameters": {
|
|
327129
|
-
"id": {
|
|
327130
|
-
"in": "path",
|
|
327131
|
-
"type": "string",
|
|
327132
|
-
"description": "Interface id"
|
|
327133
|
-
}
|
|
327134
|
-
},
|
|
327135
|
-
"requestBody": {
|
|
327136
|
-
"description": "Interface to update",
|
|
327137
|
-
"schema": {
|
|
327138
|
-
"type": "object",
|
|
327139
|
-
"properties": {
|
|
327140
|
-
"entities": {
|
|
327141
|
-
"type": "object",
|
|
327142
|
-
"additionalProperties": {
|
|
327143
|
-
"type": "object",
|
|
327144
|
-
"properties": {
|
|
327145
|
-
"title": {
|
|
327146
|
-
"type": "string",
|
|
327147
|
-
"maxLength": 64,
|
|
327148
|
-
"description": "Title of the entity"
|
|
327149
|
-
},
|
|
327150
|
-
"description": {
|
|
327151
|
-
"type": "string",
|
|
327152
|
-
"maxLength": 256,
|
|
327153
|
-
"description": "Description of the entity"
|
|
327154
|
-
},
|
|
327155
|
-
"schema": {
|
|
327156
|
-
"type": "object",
|
|
327157
|
-
"additionalProperties": true
|
|
327158
|
-
}
|
|
327159
|
-
},
|
|
327160
|
-
"required": [
|
|
327161
|
-
"schema"
|
|
327162
|
-
],
|
|
327163
|
-
"description": "Entity definition",
|
|
327164
|
-
"nullable": true,
|
|
327165
|
-
"additionalProperties": false
|
|
327166
|
-
}
|
|
327167
327013
|
},
|
|
327168
|
-
"
|
|
327169
|
-
"type": "
|
|
327170
|
-
"
|
|
327171
|
-
"type": "object",
|
|
327172
|
-
"properties": {
|
|
327173
|
-
"title": {
|
|
327174
|
-
"type": "string",
|
|
327175
|
-
"maxLength": 64,
|
|
327176
|
-
"description": "Title of the event"
|
|
327177
|
-
},
|
|
327178
|
-
"description": {
|
|
327179
|
-
"type": "string",
|
|
327180
|
-
"maxLength": 256,
|
|
327181
|
-
"description": "Description of the event"
|
|
327182
|
-
},
|
|
327183
|
-
"schema": {
|
|
327184
|
-
"type": "object",
|
|
327185
|
-
"additionalProperties": true
|
|
327186
|
-
},
|
|
327187
|
-
"attributes": {
|
|
327188
|
-
"type": "object",
|
|
327189
|
-
"additionalProperties": {
|
|
327190
|
-
"type": "string",
|
|
327191
|
-
"maxLength": 200,
|
|
327192
|
-
"nullable": true
|
|
327193
|
-
},
|
|
327194
|
-
"description": "Optional attributes. Set attributes to null to remove them"
|
|
327195
|
-
}
|
|
327196
|
-
},
|
|
327197
|
-
"required": [
|
|
327198
|
-
"schema"
|
|
327199
|
-
],
|
|
327200
|
-
"nullable": true,
|
|
327201
|
-
"additionalProperties": false
|
|
327202
|
-
}
|
|
327014
|
+
"icon": {
|
|
327015
|
+
"type": "string",
|
|
327016
|
+
"description": "Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes."
|
|
327203
327017
|
},
|
|
327204
|
-
"
|
|
327205
|
-
"type": "
|
|
327206
|
-
"
|
|
327207
|
-
"type": "object",
|
|
327208
|
-
"properties": {
|
|
327209
|
-
"title": {
|
|
327210
|
-
"type": "string",
|
|
327211
|
-
"maxLength": 64,
|
|
327212
|
-
"description": "Title of the action"
|
|
327213
|
-
},
|
|
327214
|
-
"description": {
|
|
327215
|
-
"type": "string",
|
|
327216
|
-
"maxLength": 256,
|
|
327217
|
-
"description": "Description of the action"
|
|
327218
|
-
},
|
|
327219
|
-
"billable": {
|
|
327220
|
-
"type": "boolean"
|
|
327221
|
-
},
|
|
327222
|
-
"cacheable": {
|
|
327223
|
-
"type": "boolean"
|
|
327224
|
-
},
|
|
327225
|
-
"input": {
|
|
327226
|
-
"type": "object",
|
|
327227
|
-
"properties": {
|
|
327228
|
-
"schema": {
|
|
327229
|
-
"type": "object",
|
|
327230
|
-
"additionalProperties": true
|
|
327231
|
-
}
|
|
327232
|
-
},
|
|
327233
|
-
"required": [
|
|
327234
|
-
"schema"
|
|
327235
|
-
],
|
|
327236
|
-
"additionalProperties": false
|
|
327237
|
-
},
|
|
327238
|
-
"output": {
|
|
327239
|
-
"type": "object",
|
|
327240
|
-
"properties": {
|
|
327241
|
-
"schema": {
|
|
327242
|
-
"type": "object",
|
|
327243
|
-
"additionalProperties": true
|
|
327244
|
-
}
|
|
327245
|
-
},
|
|
327246
|
-
"required": [
|
|
327247
|
-
"schema"
|
|
327248
|
-
],
|
|
327249
|
-
"additionalProperties": false
|
|
327250
|
-
},
|
|
327251
|
-
"attributes": {
|
|
327252
|
-
"type": "object",
|
|
327253
|
-
"additionalProperties": {
|
|
327254
|
-
"type": "string",
|
|
327255
|
-
"maxLength": 200,
|
|
327256
|
-
"nullable": true
|
|
327257
|
-
},
|
|
327258
|
-
"description": "Optional attributes. Set attributes to null to remove them"
|
|
327259
|
-
}
|
|
327260
|
-
},
|
|
327261
|
-
"required": [
|
|
327262
|
-
"input",
|
|
327263
|
-
"output"
|
|
327264
|
-
],
|
|
327265
|
-
"nullable": true,
|
|
327266
|
-
"additionalProperties": false
|
|
327267
|
-
}
|
|
327018
|
+
"readme": {
|
|
327019
|
+
"type": "string",
|
|
327020
|
+
"description": "Base64 encoded markdown of the interface readme. The readme is specific to each interface versions."
|
|
327268
327021
|
},
|
|
327269
|
-
"
|
|
327270
|
-
"type": "
|
|
327271
|
-
"
|
|
327272
|
-
|
|
327273
|
-
|
|
327274
|
-
"title": {
|
|
327275
|
-
"type": "string",
|
|
327276
|
-
"maxLength": 64,
|
|
327277
|
-
"description": "Title of the channel"
|
|
327278
|
-
},
|
|
327279
|
-
"description": {
|
|
327280
|
-
"type": "string",
|
|
327281
|
-
"maxLength": 256,
|
|
327282
|
-
"description": "Description of the channel"
|
|
327283
|
-
},
|
|
327284
|
-
"messages": {
|
|
327285
|
-
"type": "object",
|
|
327286
|
-
"additionalProperties": {
|
|
327287
|
-
"type": "object",
|
|
327288
|
-
"properties": {
|
|
327289
|
-
"schema": {
|
|
327290
|
-
"type": "object",
|
|
327291
|
-
"additionalProperties": true
|
|
327292
|
-
}
|
|
327293
|
-
},
|
|
327294
|
-
"required": [
|
|
327295
|
-
"schema"
|
|
327296
|
-
],
|
|
327297
|
-
"description": "Message definition",
|
|
327298
|
-
"nullable": true,
|
|
327299
|
-
"additionalProperties": false
|
|
327300
|
-
}
|
|
327301
|
-
}
|
|
327302
|
-
},
|
|
327303
|
-
"nullable": true,
|
|
327304
|
-
"additionalProperties": false
|
|
327305
|
-
}
|
|
327022
|
+
"title": {
|
|
327023
|
+
"type": "string",
|
|
327024
|
+
"minLength": 1,
|
|
327025
|
+
"maxLength": 64,
|
|
327026
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
327306
327027
|
},
|
|
327307
|
-
"
|
|
327308
|
-
"type": "
|
|
327309
|
-
"
|
|
327310
|
-
|
|
327311
|
-
|
|
327312
|
-
|
|
327313
|
-
|
|
327314
|
-
|
|
327315
|
-
"type": "string",
|
|
327316
|
-
"maxLength": 200
|
|
327317
|
-
}
|
|
327318
|
-
},
|
|
327319
|
-
"required": [
|
|
327320
|
-
"script",
|
|
327321
|
-
"language"
|
|
327322
|
-
],
|
|
327323
|
-
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
327324
|
-
"nullable": true,
|
|
327325
|
-
"additionalProperties": false
|
|
327028
|
+
"description": {
|
|
327029
|
+
"type": "string",
|
|
327030
|
+
"maxLength": 256,
|
|
327031
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
327032
|
+
},
|
|
327033
|
+
"public": {
|
|
327034
|
+
"type": "boolean",
|
|
327035
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
327326
327036
|
}
|
|
327327
327037
|
},
|
|
327328
327038
|
"title": "updateInterfaceBody",
|
|
@@ -327422,6 +327132,29 @@ var state5 = {
|
|
|
327422
327132
|
"type": "string",
|
|
327423
327133
|
"maxLength": 200,
|
|
327424
327134
|
"description": "Version of the [Interface](#schema_interface)"
|
|
327135
|
+
},
|
|
327136
|
+
"title": {
|
|
327137
|
+
"type": "string",
|
|
327138
|
+
"minLength": 1,
|
|
327139
|
+
"maxLength": 64,
|
|
327140
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
327141
|
+
},
|
|
327142
|
+
"description": {
|
|
327143
|
+
"type": "string",
|
|
327144
|
+
"maxLength": 256,
|
|
327145
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
327146
|
+
},
|
|
327147
|
+
"iconUrl": {
|
|
327148
|
+
"type": "string",
|
|
327149
|
+
"description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
|
|
327150
|
+
},
|
|
327151
|
+
"readmeUrl": {
|
|
327152
|
+
"type": "string",
|
|
327153
|
+
"description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
|
|
327154
|
+
},
|
|
327155
|
+
"public": {
|
|
327156
|
+
"type": "boolean",
|
|
327157
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
327425
327158
|
}
|
|
327426
327159
|
},
|
|
327427
327160
|
"required": [
|
|
@@ -327429,7 +327162,12 @@ var state5 = {
|
|
|
327429
327162
|
"createdAt",
|
|
327430
327163
|
"updatedAt",
|
|
327431
327164
|
"name",
|
|
327432
|
-
"version"
|
|
327165
|
+
"version",
|
|
327166
|
+
"title",
|
|
327167
|
+
"description",
|
|
327168
|
+
"iconUrl",
|
|
327169
|
+
"readmeUrl",
|
|
327170
|
+
"public"
|
|
327433
327171
|
]
|
|
327434
327172
|
}
|
|
327435
327173
|
},
|
|
@@ -331647,7 +331385,7 @@ var state5 = {
|
|
|
331647
331385
|
"title": "Botpress API",
|
|
331648
331386
|
"description": "API for Botpress Cloud",
|
|
331649
331387
|
"server": "https://api.botpress.cloud",
|
|
331650
|
-
"version": "1.
|
|
331388
|
+
"version": "1.11.0",
|
|
331651
331389
|
"prefix": "v1"
|
|
331652
331390
|
},
|
|
331653
331391
|
"errors": [
|
|
@@ -333465,6 +333203,29 @@ var state5 = {
|
|
|
333465
333203
|
],
|
|
333466
333204
|
"description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
|
|
333467
333205
|
"additionalProperties": false
|
|
333206
|
+
},
|
|
333207
|
+
"title": {
|
|
333208
|
+
"type": "string",
|
|
333209
|
+
"minLength": 1,
|
|
333210
|
+
"maxLength": 64,
|
|
333211
|
+
"description": "Title of the interface. This is the name that will be displayed in the UI"
|
|
333212
|
+
},
|
|
333213
|
+
"description": {
|
|
333214
|
+
"type": "string",
|
|
333215
|
+
"maxLength": 256,
|
|
333216
|
+
"description": "Description of the interface. This is the description that will be displayed in the UI"
|
|
333217
|
+
},
|
|
333218
|
+
"iconUrl": {
|
|
333219
|
+
"type": "string",
|
|
333220
|
+
"description": "URL of the icon of the interface. This is the icon that will be displayed in the UI"
|
|
333221
|
+
},
|
|
333222
|
+
"readmeUrl": {
|
|
333223
|
+
"type": "string",
|
|
333224
|
+
"description": "URL of the readme of the interface. This is the readme that will be displayed in the UI"
|
|
333225
|
+
},
|
|
333226
|
+
"public": {
|
|
333227
|
+
"type": "boolean",
|
|
333228
|
+
"description": "Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version."
|
|
333468
333229
|
}
|
|
333469
333230
|
},
|
|
333470
333231
|
"required": [
|
|
@@ -333476,7 +333237,12 @@ var state5 = {
|
|
|
333476
333237
|
"entities",
|
|
333477
333238
|
"events",
|
|
333478
333239
|
"actions",
|
|
333479
|
-
"channels"
|
|
333240
|
+
"channels",
|
|
333241
|
+
"title",
|
|
333242
|
+
"description",
|
|
333243
|
+
"iconUrl",
|
|
333244
|
+
"readmeUrl",
|
|
333245
|
+
"public"
|
|
333480
333246
|
],
|
|
333481
333247
|
"additionalProperties": false
|
|
333482
333248
|
}
|