@botpress/api 1.55.0 → 1.56.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 CHANGED
@@ -283930,6 +283930,16 @@ var state = {
283930
283930
  },
283931
283931
  "description": "Filter by tags"
283932
283932
  },
283933
+ "afterDate": {
283934
+ "in": "query",
283935
+ "description": "Date in ISO 8601 string with UTC timezone after which the message was created (inclusive)",
283936
+ "type": "string"
283937
+ },
283938
+ "beforeDate": {
283939
+ "in": "query",
283940
+ "description": "Date in ISO 8601 string with UTC timezone before which the message was created (inclusive)",
283941
+ "type": "string"
283942
+ },
283933
283943
  "x-bot-id": {
283934
283944
  "in": "header",
283935
283945
  "description": "Bot id",
@@ -286145,7 +286155,7 @@ var state = {
286145
286155
  "title": "Botpress Runtime API",
286146
286156
  "description": "API for Botpress Runtime",
286147
286157
  "server": "https://api.botpress.cloud",
286148
- "version": "1.55.0",
286158
+ "version": "1.56.0",
286149
286159
  "prefix": "v1"
286150
286160
  },
286151
286161
  "defaultParameters": {
@@ -302443,7 +302453,7 @@ var state2 = {
302443
302453
  "title": "Botpress Admin API",
302444
302454
  "description": "API for Botpress Cloud Manager",
302445
302455
  "server": "https://api.botpress.cloud",
302446
- "version": "1.55.0",
302456
+ "version": "1.56.0",
302447
302457
  "prefix": "v1"
302448
302458
  },
302449
302459
  "defaultParameters": {
@@ -307879,7 +307889,7 @@ var state3 = {
307879
307889
  "title": "Botpress Files API",
307880
307890
  "description": "API for Botpress Files",
307881
307891
  "server": "https://api.botpress.cloud",
307882
- "version": "1.55.0",
307892
+ "version": "1.56.0",
307883
307893
  "prefix": "v1"
307884
307894
  },
307885
307895
  "defaultParameters": {
@@ -308481,7 +308491,7 @@ var state4 = {
308481
308491
  "type": "number",
308482
308492
  "minimum": 1,
308483
308493
  "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."
308494
+ "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
308495
  },
308486
308496
  "frozen": {
308487
308497
  "type": "boolean",
@@ -308572,7 +308582,7 @@ var state4 = {
308572
308582
  "type": "number",
308573
308583
  "minimum": 1,
308574
308584
  "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."
308585
+ "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
308586
  },
308577
308587
  "frozen": {
308578
308588
  "type": "boolean",
@@ -308724,7 +308734,9 @@ var state4 = {
308724
308734
  },
308725
308735
  "factor": {
308726
308736
  "type": "number",
308727
- "description": "Use a different factor for the table. Leave empty to use the same as the duplicated table."
308737
+ "minimum": 1,
308738
+ "maximum": 30,
308739
+ "description": "Override the factor for the duplicated table. If not provided, the new table will use the same factor as the source table."
308728
308740
  }
308729
308741
  },
308730
308742
  "title": "duplicateTableBody",
@@ -309233,13 +309245,6 @@ var state4 = {
309233
309245
  "type": "string",
309234
309246
  "minLength": 1
309235
309247
  },
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
309248
  "frozen": {
309244
309249
  "type": "boolean",
309245
309250
  "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 +309264,12 @@ var state4 = {
309259
309264
  "isComputeEnabled": {
309260
309265
  "type": "boolean",
309261
309266
  "description": "Indicates if the table is enabled for computation."
309267
+ },
309268
+ "factor": {
309269
+ "type": "number",
309270
+ "minimum": 1,
309271
+ "maximum": 30,
309272
+ "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
309273
  }
309263
309274
  },
309264
309275
  "title": "updateTableBody",
@@ -310144,7 +310155,7 @@ var state4 = {
310144
310155
  "title": "Botpress Tables API",
310145
310156
  "description": "API for Botpress Tables",
310146
310157
  "server": "https://api.botpress.cloud",
310147
- "version": "1.55.0",
310158
+ "version": "1.56.0",
310148
310159
  "prefix": "v1"
310149
310160
  },
310150
310161
  "defaultParameters": {
@@ -310372,7 +310383,7 @@ var state4 = {
310372
310383
  "type": "number",
310373
310384
  "minimum": 1,
310374
310385
  "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."
310386
+ "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
310387
  },
310377
310388
  "frozen": {
310378
310389
  "type": "boolean",
@@ -311886,6 +311897,16 @@ var state5 = {
311886
311897
  }
311887
311898
  },
311888
311899
  "description": "Filter by tags"
311900
+ },
311901
+ "afterDate": {
311902
+ "in": "query",
311903
+ "description": "Date in ISO 8601 string with UTC timezone after which the message was created (inclusive)",
311904
+ "type": "string"
311905
+ },
311906
+ "beforeDate": {
311907
+ "in": "query",
311908
+ "description": "Date in ISO 8601 string with UTC timezone before which the message was created (inclusive)",
311909
+ "type": "string"
311889
311910
  }
311890
311911
  },
311891
311912
  "section": "message",
@@ -329898,7 +329919,7 @@ var state5 = {
329898
329919
  "type": "number",
329899
329920
  "minimum": 1,
329900
329921
  "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."
329922
+ "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
329923
  },
329903
329924
  "frozen": {
329904
329925
  "type": "boolean",
@@ -329989,7 +330010,7 @@ var state5 = {
329989
330010
  "type": "number",
329990
330011
  "minimum": 1,
329991
330012
  "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."
330013
+ "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
330014
  },
329994
330015
  "frozen": {
329995
330016
  "type": "boolean",
@@ -330068,7 +330089,9 @@ var state5 = {
330068
330089
  },
330069
330090
  "factor": {
330070
330091
  "type": "number",
330071
- "description": "Use a different factor for the table. Leave empty to use the same as the duplicated table."
330092
+ "minimum": 1,
330093
+ "maximum": 30,
330094
+ "description": "Override the factor for the duplicated table. If not provided, the new table will use the same factor as the source table."
330072
330095
  }
330073
330096
  },
330074
330097
  "title": "duplicateTableBody",
@@ -330433,13 +330456,6 @@ var state5 = {
330433
330456
  "type": "string",
330434
330457
  "minLength": 1
330435
330458
  },
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
330459
  "frozen": {
330444
330460
  "type": "boolean",
330445
330461
  "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 +330475,12 @@ var state5 = {
330459
330475
  "isComputeEnabled": {
330460
330476
  "type": "boolean",
330461
330477
  "description": "Indicates if the table is enabled for computation."
330478
+ },
330479
+ "factor": {
330480
+ "type": "number",
330481
+ "minimum": 1,
330482
+ "maximum": 30,
330483
+ "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
330484
  }
330463
330485
  },
330464
330486
  "title": "updateTableBody",
@@ -331056,7 +331078,7 @@ var state5 = {
331056
331078
  "title": "Botpress API",
331057
331079
  "description": "API for Botpress Cloud",
331058
331080
  "server": "https://api.botpress.cloud",
331059
- "version": "1.55.0",
331081
+ "version": "1.56.0",
331060
331082
  "prefix": "v1"
331061
331083
  },
331062
331084
  "errors": [
@@ -334513,7 +334535,7 @@ var state5 = {
334513
334535
  "type": "number",
334514
334536
  "minimum": 1,
334515
334537
  "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."
334538
+ "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
334539
  },
334518
334540
  "frozen": {
334519
334541
  "type": "boolean",
@@ -1290,6 +1290,16 @@ export declare const state: {
1290
1290
  };
1291
1291
  description: string;
1292
1292
  };
1293
+ afterDate: {
1294
+ in: "query";
1295
+ description: string;
1296
+ type: "string";
1297
+ };
1298
+ beforeDate: {
1299
+ in: "query";
1300
+ description: string;
1301
+ type: "string";
1302
+ };
1293
1303
  "x-bot-id": {
1294
1304
  in: "header";
1295
1305
  description: string;
@@ -961,6 +961,16 @@ export declare const state: {
961
961
  };
962
962
  description: string;
963
963
  };
964
+ afterDate: {
965
+ in: "query";
966
+ description: string;
967
+ type: "string";
968
+ };
969
+ beforeDate: {
970
+ in: "query";
971
+ description: string;
972
+ type: "string";
973
+ };
964
974
  };
965
975
  section: "message";
966
976
  response: {
@@ -16775,6 +16785,8 @@ export declare const state: {
16775
16785
  };
16776
16786
  factor: {
16777
16787
  type: "number";
16788
+ minimum: number;
16789
+ maximum: number;
16778
16790
  description: string;
16779
16791
  };
16780
16792
  };
@@ -17067,13 +17079,6 @@ export declare const state: {
17067
17079
  type: "string";
17068
17080
  minLength: number;
17069
17081
  };
17070
- factor: {
17071
- default: number;
17072
- type: "number";
17073
- minimum: number;
17074
- maximum: number;
17075
- description: string;
17076
- };
17077
17082
  frozen: {
17078
17083
  type: "boolean";
17079
17084
  description: string;
@@ -17094,6 +17099,12 @@ export declare const state: {
17094
17099
  type: "boolean";
17095
17100
  description: string;
17096
17101
  };
17102
+ factor: {
17103
+ type: "number";
17104
+ minimum: number;
17105
+ maximum: number;
17106
+ description: string;
17107
+ };
17097
17108
  };
17098
17109
  title: string;
17099
17110
  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.56.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "devDependencies": {
@@ -8,11 +8,11 @@
8
8
  "esbuild": "^0.16.10",
9
9
  "zod": "^3.24.4",
10
10
  "typescript": "5.5.4",
11
- "@botpress/bridge": "1.8.0",
12
- "@botpress/common": "0.5.0",
13
11
  "@botpress/cloud-manager": "0.2.0",
14
- "@botpress/files-api": "0.18.0",
12
+ "@botpress/common": "0.5.0",
13
+ "@botpress/bridge": "1.8.0",
15
14
  "@bpinternal/const": "0.3.9",
15
+ "@botpress/files-api": "0.18.0",
16
16
  "@bpinternal/tables-api": "0.17.2"
17
17
  },
18
18
  "dependencies": {