@botpress/api 0.15.10 → 0.15.11
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 +53 -25
- package/dist/src/gen/state.d.ts +30 -2
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +37 -7
package/dist/index.js
CHANGED
|
@@ -64634,9 +64634,9 @@ var require_lib4 = __commonJS({
|
|
|
64634
64634
|
}
|
|
64635
64635
|
});
|
|
64636
64636
|
|
|
64637
|
-
// ../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.
|
|
64637
|
+
// ../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/util.js
|
|
64638
64638
|
var require_util12 = __commonJS({
|
|
64639
|
-
"../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.
|
|
64639
|
+
"../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/util.js"(exports) {
|
|
64640
64640
|
var util3 = require("util");
|
|
64641
64641
|
var url2 = require_url();
|
|
64642
64642
|
exports.format = util3.format;
|
|
@@ -80376,9 +80376,9 @@ var require_dist4 = __commonJS({
|
|
|
80376
80376
|
}
|
|
80377
80377
|
});
|
|
80378
80378
|
|
|
80379
|
-
// ../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.
|
|
80379
|
+
// ../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/schema.js
|
|
80380
80380
|
var require_schema6 = __commonJS({
|
|
80381
|
-
"../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.
|
|
80381
|
+
"../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/schema.js"(exports, module2) {
|
|
80382
80382
|
var { openapi } = require_lib5();
|
|
80383
80383
|
var { ono } = require_cjs();
|
|
80384
80384
|
var betterAjvErrors = require_lib9();
|
|
@@ -80492,9 +80492,9 @@ var require_lib10 = __commonJS({
|
|
|
80492
80492
|
}
|
|
80493
80493
|
});
|
|
80494
80494
|
|
|
80495
|
-
// ../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.
|
|
80495
|
+
// ../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/spec/openapi.js
|
|
80496
80496
|
var require_openapi = __commonJS({
|
|
80497
|
-
"../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.
|
|
80497
|
+
"../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/spec/openapi.js"(exports, module2) {
|
|
80498
80498
|
var swaggerMethods = require_lib10();
|
|
80499
80499
|
var { ono } = require_cjs();
|
|
80500
80500
|
var util3 = require_util12();
|
|
@@ -80640,9 +80640,9 @@ var require_openapi = __commonJS({
|
|
|
80640
80640
|
}
|
|
80641
80641
|
});
|
|
80642
80642
|
|
|
80643
|
-
// ../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.
|
|
80643
|
+
// ../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/spec/swagger.js
|
|
80644
80644
|
var require_swagger = __commonJS({
|
|
80645
|
-
"../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.
|
|
80645
|
+
"../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/spec/swagger.js"(exports, module2) {
|
|
80646
80646
|
var swaggerMethods = require_lib10();
|
|
80647
80647
|
var { ono } = require_cjs();
|
|
80648
80648
|
var util3 = require_util12();
|
|
@@ -80865,9 +80865,9 @@ var require_swagger = __commonJS({
|
|
|
80865
80865
|
}
|
|
80866
80866
|
});
|
|
80867
80867
|
|
|
80868
|
-
// ../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.
|
|
80868
|
+
// ../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/spec.js
|
|
80869
80869
|
var require_spec = __commonJS({
|
|
80870
|
-
"../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.
|
|
80870
|
+
"../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/spec.js"(exports, module2) {
|
|
80871
80871
|
var validateOpenAPI = require_openapi();
|
|
80872
80872
|
var validateSwagger = require_swagger();
|
|
80873
80873
|
module2.exports = function validateSpec(api2) {
|
|
@@ -80879,9 +80879,9 @@ var require_spec = __commonJS({
|
|
|
80879
80879
|
}
|
|
80880
80880
|
});
|
|
80881
80881
|
|
|
80882
|
-
// ../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.
|
|
80882
|
+
// ../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/options.js
|
|
80883
80883
|
var require_options2 = __commonJS({
|
|
80884
|
-
"../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.
|
|
80884
|
+
"../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/options.js"(exports, module2) {
|
|
80885
80885
|
var $RefParserOptions = require_options();
|
|
80886
80886
|
var util3 = require_util12();
|
|
80887
80887
|
var schemaValidator = require_schema6();
|
|
@@ -80902,9 +80902,9 @@ var require_options2 = __commonJS({
|
|
|
80902
80902
|
}
|
|
80903
80903
|
});
|
|
80904
80904
|
|
|
80905
|
-
// ../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.
|
|
80905
|
+
// ../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/index.js
|
|
80906
80906
|
var require_lib11 = __commonJS({
|
|
80907
|
-
"../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.
|
|
80907
|
+
"../../node_modules/.pnpm/@readme+openapi-parser@2.5.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/index.js"(exports, module2) {
|
|
80908
80908
|
var { ono } = require_cjs();
|
|
80909
80909
|
var $RefParser = require_lib4();
|
|
80910
80910
|
var dereference = require_dereference();
|
|
@@ -259729,7 +259729,7 @@ __export(src_exports, {
|
|
|
259729
259729
|
});
|
|
259730
259730
|
module.exports = __toCommonJS(src_exports);
|
|
259731
259731
|
|
|
259732
|
-
// ../../node_modules/.pnpm/@bpinternal+opapi@0.6.3_openapi-types@12.1.
|
|
259732
|
+
// ../../node_modules/.pnpm/@bpinternal+opapi@0.6.3_openapi-types@12.1.3/node_modules/@bpinternal/opapi/dist/index.mjs
|
|
259733
259733
|
var import_zod_openapi = __toESM(require_src(), 1);
|
|
259734
259734
|
var import_zod_openapi2 = __toESM(require_src(), 1);
|
|
259735
259735
|
var import_chalk = __toESM(require_source(), 1);
|
|
@@ -259773,7 +259773,7 @@ var title = (str2) => {
|
|
|
259773
259773
|
return str2.split(/(?=[A-Z])|[\.\-\s_]/).map((s) => s.trim()).filter((s) => !!s).map((s) => capitalize(s.toLowerCase())).join(" ");
|
|
259774
259774
|
};
|
|
259775
259775
|
|
|
259776
|
-
// ../../node_modules/.pnpm/@bpinternal+opapi@0.6.3_openapi-types@12.1.
|
|
259776
|
+
// ../../node_modules/.pnpm/@bpinternal+opapi@0.6.3_openapi-types@12.1.3/node_modules/@bpinternal/opapi/dist/index.mjs
|
|
259777
259777
|
var import_decompress = __toESM(require_decompress(), 1);
|
|
259778
259778
|
var import_fs2 = __toESM(require("fs"), 1);
|
|
259779
259779
|
var import_promises = __toESM(require("fs/promises"), 1);
|
|
@@ -266798,7 +266798,7 @@ async function openapiTS(schema3, options = {}) {
|
|
|
266798
266798
|
}
|
|
266799
266799
|
var dist_default = openapiTS;
|
|
266800
266800
|
|
|
266801
|
-
// ../../node_modules/.pnpm/@bpinternal+opapi@0.6.3_openapi-types@12.1.
|
|
266801
|
+
// ../../node_modules/.pnpm/@bpinternal+opapi@0.6.3_openapi-types@12.1.3/node_modules/@bpinternal/opapi/dist/index.mjs
|
|
266802
266802
|
var import_zod_openapi3 = __toESM(require_src(), 1);
|
|
266803
266803
|
var import_openapi3_ts = __toESM(require_dist3(), 1);
|
|
266804
266804
|
var import_verror2 = __toESM(require_verror(), 1);
|
|
@@ -270440,7 +270440,7 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
270440
270440
|
ZodError
|
|
270441
270441
|
});
|
|
270442
270442
|
|
|
270443
|
-
// ../../node_modules/.pnpm/@bpinternal+opapi@0.6.3_openapi-types@12.1.
|
|
270443
|
+
// ../../node_modules/.pnpm/@bpinternal+opapi@0.6.3_openapi-types@12.1.3/node_modules/@bpinternal/opapi/dist/index.mjs
|
|
270444
270444
|
var import_openapi_parser = __toESM(require_lib11(), 1);
|
|
270445
270445
|
var import_json_schema_to_typescript = __toESM(require_src3(), 1);
|
|
270446
270446
|
var import_zod_openapi4 = __toESM(require_src(), 1);
|
|
@@ -428288,11 +428288,10 @@ var state = {
|
|
|
428288
428288
|
additionalProperties: true
|
|
428289
428289
|
},
|
|
428290
428290
|
result: {
|
|
428291
|
-
|
|
428292
|
-
additionalProperties: true
|
|
428291
|
+
nullable: true
|
|
428293
428292
|
}
|
|
428294
428293
|
},
|
|
428295
|
-
required: ["data"
|
|
428294
|
+
required: ["data"],
|
|
428296
428295
|
title: "runVrlResponse",
|
|
428297
428296
|
additionalProperties: false
|
|
428298
428297
|
}
|
|
@@ -432588,7 +432587,7 @@ var state = {
|
|
|
432588
432587
|
title: "Botpress API",
|
|
432589
432588
|
description: "API for Botpress Cloud",
|
|
432590
432589
|
server: "https://api.botpress.cloud",
|
|
432591
|
-
version: "0.15.
|
|
432590
|
+
version: "0.15.11",
|
|
432592
432591
|
prefix: "v1"
|
|
432593
432592
|
},
|
|
432594
432593
|
errors: [
|
|
@@ -434232,15 +434231,40 @@ var state = {
|
|
|
434232
434231
|
typings: {
|
|
434233
434232
|
type: "string",
|
|
434234
434233
|
description: 'TypeScript typings for the column. Recommended if the type is "object", ex: "\\{ foo: string; bar: number \\}"'
|
|
434234
|
+
},
|
|
434235
|
+
schema: {
|
|
434236
|
+
type: "object",
|
|
434237
|
+
properties: {},
|
|
434238
|
+
additionalProperties: true
|
|
434235
434239
|
}
|
|
434236
434240
|
},
|
|
434237
|
-
required: ["
|
|
434241
|
+
required: ["name", "type"]
|
|
434238
434242
|
},
|
|
434239
434243
|
maxItems: 20,
|
|
434240
434244
|
description: "Array of columns in the table."
|
|
434245
|
+
},
|
|
434246
|
+
schema: {
|
|
434247
|
+
type: "object",
|
|
434248
|
+
additionalProperties: true,
|
|
434249
|
+
description: "Provide an object or a JSON schema to define the columns of the table. A maximum of 20 keys in the object/schema is allowed."
|
|
434250
|
+
},
|
|
434251
|
+
tags: {
|
|
434252
|
+
type: "object",
|
|
434253
|
+
additionalProperties: {
|
|
434254
|
+
type: "string"
|
|
434255
|
+
},
|
|
434256
|
+
description: "Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs."
|
|
434257
|
+
},
|
|
434258
|
+
createdAt: {
|
|
434259
|
+
type: "string",
|
|
434260
|
+
description: "Timestamp of table creation."
|
|
434261
|
+
},
|
|
434262
|
+
updatedAt: {
|
|
434263
|
+
type: "string",
|
|
434264
|
+
description: "Timestamp of the last table update."
|
|
434241
434265
|
}
|
|
434242
434266
|
},
|
|
434243
|
-
required: ["id", "name", "columns"],
|
|
434267
|
+
required: ["id", "name", "columns", "schema"],
|
|
434244
434268
|
additionalProperties: false
|
|
434245
434269
|
}
|
|
434246
434270
|
},
|
|
@@ -434275,9 +434299,13 @@ var state = {
|
|
|
434275
434299
|
typings: {
|
|
434276
434300
|
type: "string",
|
|
434277
434301
|
description: 'TypeScript typings for the column. Recommended if the type is "object", ex: "\\{ foo: string; bar: number \\}"'
|
|
434302
|
+
},
|
|
434303
|
+
schema: {
|
|
434304
|
+
type: "object",
|
|
434305
|
+
additionalProperties: true
|
|
434278
434306
|
}
|
|
434279
434307
|
},
|
|
434280
|
-
required: ["
|
|
434308
|
+
required: ["name", "type"],
|
|
434281
434309
|
additionalProperties: false
|
|
434282
434310
|
}
|
|
434283
434311
|
},
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -1438,8 +1438,7 @@ export declare const state: {
|
|
|
1438
1438
|
additionalProperties: true;
|
|
1439
1439
|
};
|
|
1440
1440
|
result: {
|
|
1441
|
-
|
|
1442
|
-
additionalProperties: true;
|
|
1441
|
+
nullable: true;
|
|
1443
1442
|
};
|
|
1444
1443
|
};
|
|
1445
1444
|
required: string[];
|
|
@@ -6898,12 +6897,37 @@ export declare const state: {
|
|
|
6898
6897
|
type: "string";
|
|
6899
6898
|
description: string;
|
|
6900
6899
|
};
|
|
6900
|
+
schema: {
|
|
6901
|
+
type: "object";
|
|
6902
|
+
properties: {};
|
|
6903
|
+
additionalProperties: true;
|
|
6904
|
+
};
|
|
6901
6905
|
};
|
|
6902
6906
|
required: string[];
|
|
6903
6907
|
};
|
|
6904
6908
|
maxItems: number;
|
|
6905
6909
|
description: string;
|
|
6906
6910
|
};
|
|
6911
|
+
schema: {
|
|
6912
|
+
type: "object";
|
|
6913
|
+
additionalProperties: true;
|
|
6914
|
+
description: string;
|
|
6915
|
+
};
|
|
6916
|
+
tags: {
|
|
6917
|
+
type: "object";
|
|
6918
|
+
additionalProperties: {
|
|
6919
|
+
type: "string";
|
|
6920
|
+
};
|
|
6921
|
+
description: string;
|
|
6922
|
+
};
|
|
6923
|
+
createdAt: {
|
|
6924
|
+
type: "string";
|
|
6925
|
+
description: string;
|
|
6926
|
+
};
|
|
6927
|
+
updatedAt: {
|
|
6928
|
+
type: "string";
|
|
6929
|
+
description: string;
|
|
6930
|
+
};
|
|
6907
6931
|
};
|
|
6908
6932
|
required: string[];
|
|
6909
6933
|
additionalProperties: false;
|
|
@@ -6941,6 +6965,10 @@ export declare const state: {
|
|
|
6941
6965
|
type: "string";
|
|
6942
6966
|
description: string;
|
|
6943
6967
|
};
|
|
6968
|
+
schema: {
|
|
6969
|
+
type: "object";
|
|
6970
|
+
additionalProperties: true;
|
|
6971
|
+
};
|
|
6944
6972
|
};
|
|
6945
6973
|
required: string[];
|
|
6946
6974
|
additionalProperties: false;
|