@botpress/api 1.55.0 → 1.55.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
@@ -286145,7 +286145,7 @@ var state = {
286145
286145
  "title": "Botpress Runtime API",
286146
286146
  "description": "API for Botpress Runtime",
286147
286147
  "server": "https://api.botpress.cloud",
286148
- "version": "1.55.0",
286148
+ "version": "1.55.1",
286149
286149
  "prefix": "v1"
286150
286150
  },
286151
286151
  "defaultParameters": {
@@ -302443,7 +302443,7 @@ var state2 = {
302443
302443
  "title": "Botpress Admin API",
302444
302444
  "description": "API for Botpress Cloud Manager",
302445
302445
  "server": "https://api.botpress.cloud",
302446
- "version": "1.55.0",
302446
+ "version": "1.55.1",
302447
302447
  "prefix": "v1"
302448
302448
  },
302449
302449
  "defaultParameters": {
@@ -307879,7 +307879,7 @@ var state3 = {
307879
307879
  "title": "Botpress Files API",
307880
307880
  "description": "API for Botpress Files",
307881
307881
  "server": "https://api.botpress.cloud",
307882
- "version": "1.55.0",
307882
+ "version": "1.55.1",
307883
307883
  "prefix": "v1"
307884
307884
  },
307885
307885
  "defaultParameters": {
@@ -308481,7 +308481,7 @@ var state4 = {
308481
308481
  "type": "number",
308482
308482
  "minimum": 1,
308483
308483
  "maximum": 30,
308484
- "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."
308484
+ "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1."
308485
308485
  },
308486
308486
  "frozen": {
308487
308487
  "type": "boolean",
@@ -308572,7 +308572,7 @@ var state4 = {
308572
308572
  "type": "number",
308573
308573
  "minimum": 1,
308574
308574
  "maximum": 30,
308575
- "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."
308575
+ "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1."
308576
308576
  },
308577
308577
  "frozen": {
308578
308578
  "type": "boolean",
@@ -308724,7 +308724,9 @@ var state4 = {
308724
308724
  },
308725
308725
  "factor": {
308726
308726
  "type": "number",
308727
- "description": "Use a different factor for the table. Leave empty to use the same as the duplicated table."
308727
+ "minimum": 1,
308728
+ "maximum": 30,
308729
+ "description": "Override the factor for the duplicated table. If not provided, the new table will use the same factor as the source table."
308728
308730
  }
308729
308731
  },
308730
308732
  "title": "duplicateTableBody",
@@ -309233,13 +309235,6 @@ var state4 = {
309233
309235
  "type": "string",
309234
309236
  "minLength": 1
309235
309237
  },
309236
- "factor": {
309237
- "default": 1,
309238
- "type": "number",
309239
- "minimum": 1,
309240
- "maximum": 30,
309241
- "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."
309242
- },
309243
309238
  "frozen": {
309244
309239
  "type": "boolean",
309245
309240
  "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.'
@@ -309259,6 +309254,12 @@ var state4 = {
309259
309254
  "isComputeEnabled": {
309260
309255
  "type": "boolean",
309261
309256
  "description": "Indicates if the table is enabled for computation."
309257
+ },
309258
+ "factor": {
309259
+ "type": "number",
309260
+ "minimum": 1,
309261
+ "maximum": 30,
309262
+ "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased, not decreased. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota."
309262
309263
  }
309263
309264
  },
309264
309265
  "title": "updateTableBody",
@@ -310144,7 +310145,7 @@ var state4 = {
310144
310145
  "title": "Botpress Tables API",
310145
310146
  "description": "API for Botpress Tables",
310146
310147
  "server": "https://api.botpress.cloud",
310147
- "version": "1.55.0",
310148
+ "version": "1.55.1",
310148
310149
  "prefix": "v1"
310149
310150
  },
310150
310151
  "defaultParameters": {
@@ -310372,7 +310373,7 @@ var state4 = {
310372
310373
  "type": "number",
310373
310374
  "minimum": 1,
310374
310375
  "maximum": 30,
310375
- "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."
310376
+ "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1."
310376
310377
  },
310377
310378
  "frozen": {
310378
310379
  "type": "boolean",
@@ -329898,7 +329899,7 @@ var state5 = {
329898
329899
  "type": "number",
329899
329900
  "minimum": 1,
329900
329901
  "maximum": 30,
329901
- "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."
329902
+ "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1."
329902
329903
  },
329903
329904
  "frozen": {
329904
329905
  "type": "boolean",
@@ -329989,7 +329990,7 @@ var state5 = {
329989
329990
  "type": "number",
329990
329991
  "minimum": 1,
329991
329992
  "maximum": 30,
329992
- "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."
329993
+ "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1."
329993
329994
  },
329994
329995
  "frozen": {
329995
329996
  "type": "boolean",
@@ -330068,7 +330069,9 @@ var state5 = {
330068
330069
  },
330069
330070
  "factor": {
330070
330071
  "type": "number",
330071
- "description": "Use a different factor for the table. Leave empty to use the same as the duplicated table."
330072
+ "minimum": 1,
330073
+ "maximum": 30,
330074
+ "description": "Override the factor for the duplicated table. If not provided, the new table will use the same factor as the source table."
330072
330075
  }
330073
330076
  },
330074
330077
  "title": "duplicateTableBody",
@@ -330433,13 +330436,6 @@ var state5 = {
330433
330436
  "type": "string",
330434
330437
  "minLength": 1
330435
330438
  },
330436
- "factor": {
330437
- "default": 1,
330438
- "type": "number",
330439
- "minimum": 1,
330440
- "maximum": 30,
330441
- "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."
330442
- },
330443
330439
  "frozen": {
330444
330440
  "type": "boolean",
330445
330441
  "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.'
@@ -330459,6 +330455,12 @@ var state5 = {
330459
330455
  "isComputeEnabled": {
330460
330456
  "type": "boolean",
330461
330457
  "description": "Indicates if the table is enabled for computation."
330458
+ },
330459
+ "factor": {
330460
+ "type": "number",
330461
+ "minimum": 1,
330462
+ "maximum": 30,
330463
+ "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased, not decreased. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota."
330462
330464
  }
330463
330465
  },
330464
330466
  "title": "updateTableBody",
@@ -331056,7 +331058,7 @@ var state5 = {
331056
331058
  "title": "Botpress API",
331057
331059
  "description": "API for Botpress Cloud",
331058
331060
  "server": "https://api.botpress.cloud",
331059
- "version": "1.55.0",
331061
+ "version": "1.55.1",
331060
331062
  "prefix": "v1"
331061
331063
  },
331062
331064
  "errors": [
@@ -334513,7 +334515,7 @@ var state5 = {
334513
334515
  "type": "number",
334514
334516
  "minimum": 1,
334515
334517
  "maximum": 30,
334516
- "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."
334518
+ "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count. It can only be increased (not decreased) after table creation via updateTable. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1."
334517
334519
  },
334518
334520
  "frozen": {
334519
334521
  "type": "boolean",
@@ -16775,6 +16775,8 @@ export declare const state: {
16775
16775
  };
16776
16776
  factor: {
16777
16777
  type: "number";
16778
+ minimum: number;
16779
+ maximum: number;
16778
16780
  description: string;
16779
16781
  };
16780
16782
  };
@@ -17067,13 +17069,6 @@ export declare const state: {
17067
17069
  type: "string";
17068
17070
  minLength: number;
17069
17071
  };
17070
- factor: {
17071
- default: number;
17072
- type: "number";
17073
- minimum: number;
17074
- maximum: number;
17075
- description: string;
17076
- };
17077
17072
  frozen: {
17078
17073
  type: "boolean";
17079
17074
  description: string;
@@ -17094,6 +17089,12 @@ export declare const state: {
17094
17089
  type: "boolean";
17095
17090
  description: string;
17096
17091
  };
17092
+ factor: {
17093
+ type: "number";
17094
+ minimum: number;
17095
+ maximum: number;
17096
+ description: string;
17097
+ };
17097
17098
  };
17098
17099
  title: string;
17099
17100
  additionalProperties: false;
@@ -437,6 +437,8 @@ export declare const state: {
437
437
  };
438
438
  factor: {
439
439
  type: "number";
440
+ minimum: number;
441
+ maximum: number;
440
442
  description: string;
441
443
  };
442
444
  };
@@ -873,13 +875,6 @@ export declare const state: {
873
875
  type: "string";
874
876
  minLength: number;
875
877
  };
876
- factor: {
877
- default: number;
878
- type: "number";
879
- minimum: number;
880
- maximum: number;
881
- description: string;
882
- };
883
878
  frozen: {
884
879
  type: "boolean";
885
880
  description: string;
@@ -900,6 +895,12 @@ export declare const state: {
900
895
  type: "boolean";
901
896
  description: string;
902
897
  };
898
+ factor: {
899
+ type: "number";
900
+ minimum: number;
901
+ maximum: number;
902
+ description: string;
903
+ };
903
904
  };
904
905
  title: string;
905
906
  additionalProperties: false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.55.0",
3
+ "version": "1.55.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "devDependencies": {
@@ -9,8 +9,8 @@
9
9
  "zod": "^3.24.4",
10
10
  "typescript": "5.5.4",
11
11
  "@botpress/bridge": "1.8.0",
12
- "@botpress/common": "0.5.0",
13
12
  "@botpress/cloud-manager": "0.2.0",
13
+ "@botpress/common": "0.5.0",
14
14
  "@botpress/files-api": "0.18.0",
15
15
  "@bpinternal/const": "0.3.9",
16
16
  "@bpinternal/tables-api": "0.17.2"