@botpress/api 1.54.0 → 1.54.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -261210,9 +261210,9 @@ var require_src4 = __commonJS({
261210
261210
  }
261211
261211
  });
261212
261212
 
261213
- // ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js
261213
+ // ../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js
261214
261214
  var require_common4 = __commonJS({
261215
- "../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js"(exports, module2) {
261215
+ "../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js"(exports, module2) {
261216
261216
  function setup(env2) {
261217
261217
  createDebug.debug = createDebug;
261218
261218
  createDebug.default = createDebug;
@@ -261387,9 +261387,9 @@ var require_common4 = __commonJS({
261387
261387
  }
261388
261388
  });
261389
261389
 
261390
- // ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js
261390
+ // ../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js
261391
261391
  var require_browser2 = __commonJS({
261392
- "../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js"(exports, module2) {
261392
+ "../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js"(exports, module2) {
261393
261393
  exports.formatArgs = formatArgs;
261394
261394
  exports.save = save;
261395
261395
  exports.load = load3;
@@ -261553,9 +261553,9 @@ var require_browser2 = __commonJS({
261553
261553
  }
261554
261554
  });
261555
261555
 
261556
- // ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js
261556
+ // ../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js
261557
261557
  var require_node4 = __commonJS({
261558
- "../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js"(exports, module2) {
261558
+ "../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js"(exports, module2) {
261559
261559
  var tty2 = require("tty");
261560
261560
  var util4 = require("util");
261561
261561
  exports.init = init;
@@ -261727,9 +261727,9 @@ var require_node4 = __commonJS({
261727
261727
  }
261728
261728
  });
261729
261729
 
261730
- // ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js
261730
+ // ../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js
261731
261731
  var require_src5 = __commonJS({
261732
- "../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js"(exports, module2) {
261732
+ "../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js"(exports, module2) {
261733
261733
  if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
261734
261734
  module2.exports = require_browser2();
261735
261735
  } else {
@@ -286135,7 +286135,7 @@ var state = {
286135
286135
  "title": "Botpress Runtime API",
286136
286136
  "description": "API for Botpress Runtime",
286137
286137
  "server": "https://api.botpress.cloud",
286138
- "version": "1.54.0",
286138
+ "version": "1.54.1",
286139
286139
  "prefix": "v1"
286140
286140
  },
286141
286141
  "defaultParameters": {
@@ -302423,7 +302423,7 @@ var state2 = {
302423
302423
  "title": "Botpress Admin API",
302424
302424
  "description": "API for Botpress Cloud Manager",
302425
302425
  "server": "https://api.botpress.cloud",
302426
- "version": "1.54.0",
302426
+ "version": "1.54.1",
302427
302427
  "prefix": "v1"
302428
302428
  },
302429
302429
  "defaultParameters": {
@@ -305447,6 +305447,14 @@ var state3 = {
305447
305447
  "parsing": {
305448
305448
  "type": "object",
305449
305449
  "properties": {
305450
+ "mode": {
305451
+ "type": "string",
305452
+ "enum": [
305453
+ "agent",
305454
+ "standard"
305455
+ ],
305456
+ "description": "The parsing mode to index the file. Using `agent` will use agentic document processing to parse the file and will incurr in AI Spend cost, while `standard` will use a faster but less accurate parser that will not incur in AI Spend cost."
305457
+ },
305450
305458
  "minimumParagraphLength": {
305451
305459
  "type": "integer",
305452
305460
  "minimum": 50,
@@ -307850,7 +307858,7 @@ var state3 = {
307850
307858
  "title": "Botpress Files API",
307851
307859
  "description": "API for Botpress Files",
307852
307860
  "server": "https://api.botpress.cloud",
307853
- "version": "1.54.0",
307861
+ "version": "1.54.1",
307854
307862
  "prefix": "v1"
307855
307863
  },
307856
307864
  "defaultParameters": {
@@ -309204,6 +309212,13 @@ var state4 = {
309204
309212
  "type": "string",
309205
309213
  "minLength": 1
309206
309214
  },
309215
+ "factor": {
309216
+ "default": 1,
309217
+ "type": "number",
309218
+ "minimum": 1,
309219
+ "maximum": 30,
309220
+ "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1."
309221
+ },
309207
309222
  "frozen": {
309208
309223
  "type": "boolean",
309209
309224
  "description": 'A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.'
@@ -310108,7 +310123,7 @@ var state4 = {
310108
310123
  "title": "Botpress Tables API",
310109
310124
  "description": "API for Botpress Tables",
310110
310125
  "server": "https://api.botpress.cloud",
310111
- "version": "1.54.0",
310126
+ "version": "1.54.1",
310112
310127
  "prefix": "v1"
310113
310128
  },
310114
310129
  "defaultParameters": {
@@ -327866,6 +327881,14 @@ var state5 = {
327866
327881
  "parsing": {
327867
327882
  "type": "object",
327868
327883
  "properties": {
327884
+ "mode": {
327885
+ "type": "string",
327886
+ "enum": [
327887
+ "agent",
327888
+ "standard"
327889
+ ],
327890
+ "description": "The parsing mode to index the file. Using `agent` will use agentic document processing to parse the file and will incurr in AI Spend cost, while `standard` will use a faster but less accurate parser that will not incur in AI Spend cost."
327891
+ },
327869
327892
  "minimumParagraphLength": {
327870
327893
  "type": "integer",
327871
327894
  "minimum": 50,
@@ -330369,6 +330392,13 @@ var state5 = {
330369
330392
  "type": "string",
330370
330393
  "minLength": 1
330371
330394
  },
330395
+ "factor": {
330396
+ "default": 1,
330397
+ "type": "number",
330398
+ "minimum": 1,
330399
+ "maximum": 30,
330400
+ "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1."
330401
+ },
330372
330402
  "frozen": {
330373
330403
  "type": "boolean",
330374
330404
  "description": 'A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.'
@@ -330985,7 +331015,7 @@ var state5 = {
330985
331015
  "title": "Botpress API",
330986
331016
  "description": "API for Botpress Cloud",
330987
331017
  "server": "https://api.botpress.cloud",
330988
- "version": "1.54.0",
331018
+ "version": "1.54.1",
330989
331019
  "prefix": "v1"
330990
331020
  },
330991
331021
  "errors": [
@@ -42,6 +42,11 @@ export declare const state: {
42
42
  parsing: {
43
43
  type: "object";
44
44
  properties: {
45
+ mode: {
46
+ type: "string";
47
+ enum: string[];
48
+ description: string;
49
+ };
45
50
  minimumParagraphLength: {
46
51
  type: "integer";
47
52
  minimum: number;
@@ -14982,6 +14982,11 @@ export declare const state: {
14982
14982
  parsing: {
14983
14983
  type: "object";
14984
14984
  properties: {
14985
+ mode: {
14986
+ type: "string";
14987
+ enum: string[];
14988
+ description: string;
14989
+ };
14985
14990
  minimumParagraphLength: {
14986
14991
  type: "integer";
14987
14992
  minimum: number;
@@ -17052,6 +17057,13 @@ export declare const state: {
17052
17057
  type: "string";
17053
17058
  minLength: number;
17054
17059
  };
17060
+ factor: {
17061
+ default: number;
17062
+ type: "number";
17063
+ minimum: number;
17064
+ maximum: number;
17065
+ description: string;
17066
+ };
17055
17067
  frozen: {
17056
17068
  type: "boolean";
17057
17069
  description: string;
@@ -873,6 +873,13 @@ export declare const state: {
873
873
  type: "string";
874
874
  minLength: number;
875
875
  };
876
+ factor: {
877
+ default: number;
878
+ type: "number";
879
+ minimum: number;
880
+ maximum: number;
881
+ description: string;
882
+ };
876
883
  frozen: {
877
884
  type: "boolean";
878
885
  description: string;
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.54.0",
3
+ "version": "1.54.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "devDependencies": {
7
7
  "@bpinternal/es-node": "0.0.3",
8
8
  "esbuild": "^0.16.10",
9
9
  "zod": "^3.24.4",
10
+ "typescript": "5.5.4",
10
11
  "@botpress/bridge": "1.8.0",
11
12
  "@botpress/cloud-manager": "0.2.0",
12
13
  "@botpress/common": "0.5.0",