@botpress/api 1.3.0 → 1.3.2

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
@@ -284643,7 +284643,7 @@ var state = {
284643
284643
  "title": "Botpress API",
284644
284644
  "description": "API for Botpress Cloud",
284645
284645
  "server": "https://api.botpress.cloud",
284646
- "version": "1.3.0",
284646
+ "version": "1.3.2",
284647
284647
  "prefix": "v1"
284648
284648
  },
284649
284649
  "errors": [
@@ -286669,7 +286669,6 @@ var state = {
286669
286669
  "type": "boolean"
286670
286670
  },
286671
286671
  "handle": {
286672
- "default": "",
286673
286672
  "type": "string"
286674
286673
  }
286675
286674
  },
@@ -291086,6 +291085,12 @@ var state2 = {
291086
291085
  ]
291087
291086
  },
291088
291087
  "description": "Media files associated with the [Bot](#schema_bot)"
291088
+ },
291089
+ "layers": {
291090
+ "type": "array",
291091
+ "items": {
291092
+ "type": "string"
291093
+ }
291089
291094
  }
291090
291095
  },
291091
291096
  "title": "updateBotBody",
@@ -291341,7 +291346,7 @@ var state2 = {
291341
291346
  "in": "query",
291342
291347
  "description": "End of the time range to get logs from",
291343
291348
  "type": "string",
291344
- "required": true
291349
+ "required": false
291345
291350
  },
291346
291351
  "level": {
291347
291352
  "in": "query",
@@ -292683,7 +292688,6 @@ var state2 = {
292683
292688
  "type": "boolean"
292684
292689
  },
292685
292690
  "handle": {
292686
- "default": "",
292687
292691
  "type": "string"
292688
292692
  }
292689
292693
  },
@@ -292866,7 +292870,6 @@ var state2 = {
292866
292870
  "type": "boolean"
292867
292871
  },
292868
292872
  "handle": {
292869
- "default": "",
292870
292873
  "type": "string"
292871
292874
  }
292872
292875
  },
@@ -293382,7 +293385,6 @@ var state2 = {
293382
293385
  "type": "boolean"
293383
293386
  },
293384
293387
  "handle": {
293385
- "default": "",
293386
293388
  "type": "string"
293387
293389
  }
293388
293390
  },
@@ -293559,7 +293561,6 @@ var state2 = {
293559
293561
  "type": "boolean"
293560
293562
  },
293561
293563
  "handle": {
293562
- "default": "",
293563
293564
  "type": "string"
293564
293565
  }
293565
293566
  },
@@ -296882,7 +296883,7 @@ var state2 = {
296882
296883
  "in": "query",
296883
296884
  "description": "End of the time range to get logs from",
296884
296885
  "type": "string",
296885
- "required": true
296886
+ "required": false
296886
296887
  },
296887
296888
  "level": {
296888
296889
  "in": "query",
@@ -299013,7 +299014,7 @@ var state2 = {
299013
299014
  "title": "Botpress API",
299014
299015
  "description": "API for Botpress Cloud",
299015
299016
  "server": "https://api.botpress.cloud",
299016
- "version": "1.3.0",
299017
+ "version": "1.3.2",
299017
299018
  "prefix": "v1"
299018
299019
  },
299019
299020
  "errors": [
@@ -301086,7 +301087,6 @@ var state2 = {
301086
301087
  "type": "boolean"
301087
301088
  },
301088
301089
  "handle": {
301089
- "default": "",
301090
301090
  "type": "string"
301091
301091
  }
301092
301092
  },
@@ -304342,7 +304342,7 @@ var state3 = {
304342
304342
  "title": "Botpress API",
304343
304343
  "description": "API for Botpress Cloud",
304344
304344
  "server": "https://api.botpress.cloud",
304345
- "version": "1.3.0",
304345
+ "version": "1.3.2",
304346
304346
  "prefix": "v1"
304347
304347
  },
304348
304348
  "errors": [
@@ -306319,7 +306319,6 @@ var state3 = {
306319
306319
  "type": "boolean"
306320
306320
  },
306321
306321
  "handle": {
306322
- "default": "",
306323
306322
  "type": "string"
306324
306323
  }
306325
306324
  },
@@ -309133,7 +309132,7 @@ var state4 = {
309133
309132
  "title": "Botpress API",
309134
309133
  "description": "API for Botpress Cloud",
309135
309134
  "server": "https://api.botpress.cloud",
309136
- "version": "1.3.0",
309135
+ "version": "1.3.2",
309137
309136
  "prefix": "v1"
309138
309137
  },
309139
309138
  "errors": [
@@ -311119,7 +311118,6 @@ var state4 = {
311119
311118
  "type": "boolean"
311120
311119
  },
311121
311120
  "handle": {
311122
- "default": "",
311123
311121
  "type": "string"
311124
311122
  }
311125
311123
  },
@@ -318097,6 +318095,12 @@ var state5 = {
318097
318095
  ]
318098
318096
  },
318099
318097
  "description": "Media files associated with the [Bot](#schema_bot)"
318098
+ },
318099
+ "layers": {
318100
+ "type": "array",
318101
+ "items": {
318102
+ "type": "string"
318103
+ }
318100
318104
  }
318101
318105
  },
318102
318106
  "title": "updateBotBody",
@@ -318352,7 +318356,7 @@ var state5 = {
318352
318356
  "in": "query",
318353
318357
  "description": "End of the time range to get logs from",
318354
318358
  "type": "string",
318355
- "required": true
318359
+ "required": false
318356
318360
  },
318357
318361
  "level": {
318358
318362
  "in": "query",
@@ -319694,7 +319698,6 @@ var state5 = {
319694
319698
  "type": "boolean"
319695
319699
  },
319696
319700
  "handle": {
319697
- "default": "",
319698
319701
  "type": "string"
319699
319702
  }
319700
319703
  },
@@ -319877,7 +319880,6 @@ var state5 = {
319877
319880
  "type": "boolean"
319878
319881
  },
319879
319882
  "handle": {
319880
- "default": "",
319881
319883
  "type": "string"
319882
319884
  }
319883
319885
  },
@@ -320393,7 +320395,6 @@ var state5 = {
320393
320395
  "type": "boolean"
320394
320396
  },
320395
320397
  "handle": {
320396
- "default": "",
320397
320398
  "type": "string"
320398
320399
  }
320399
320400
  },
@@ -320570,7 +320571,6 @@ var state5 = {
320570
320571
  "type": "boolean"
320571
320572
  },
320572
320573
  "handle": {
320573
- "default": "",
320574
320574
  "type": "string"
320575
320575
  }
320576
320576
  },
@@ -323894,7 +323894,7 @@ var state5 = {
323894
323894
  "in": "query",
323895
323895
  "description": "End of the time range to get logs from",
323896
323896
  "type": "string",
323897
- "required": true
323897
+ "required": false
323898
323898
  },
323899
323899
  "level": {
323900
323900
  "in": "query",
@@ -328800,7 +328800,7 @@ var state5 = {
328800
328800
  "title": "Botpress API",
328801
328801
  "description": "API for Botpress Cloud",
328802
328802
  "server": "https://api.botpress.cloud",
328803
- "version": "1.3.0",
328803
+ "version": "1.3.2",
328804
328804
  "prefix": "v1"
328805
328805
  },
328806
328806
  "errors": [
@@ -330988,7 +330988,6 @@ var state5 = {
330988
330988
  "type": "boolean"
330989
330989
  },
330990
330990
  "handle": {
330991
- "default": "",
330992
330991
  "type": "string"
330993
330992
  }
330994
330993
  },
@@ -2436,6 +2436,12 @@ export declare const state: {
2436
2436
  };
2437
2437
  description: string;
2438
2438
  };
2439
+ layers: {
2440
+ type: "array";
2441
+ items: {
2442
+ type: "string";
2443
+ };
2444
+ };
2439
2445
  };
2440
2446
  title: string;
2441
2447
  additionalProperties: false;
@@ -2669,7 +2675,7 @@ export declare const state: {
2669
2675
  in: "query";
2670
2676
  description: string;
2671
2677
  type: "string";
2672
- required: true;
2678
+ required: false;
2673
2679
  };
2674
2680
  level: {
2675
2681
  in: "query";
@@ -3830,7 +3836,6 @@ export declare const state: {
3830
3836
  type: "boolean";
3831
3837
  };
3832
3838
  handle: {
3833
- default: string;
3834
3839
  type: "string";
3835
3840
  };
3836
3841
  };
@@ -3988,7 +3993,6 @@ export declare const state: {
3988
3993
  type: "boolean";
3989
3994
  };
3990
3995
  handle: {
3991
- default: string;
3992
3996
  type: "string";
3993
3997
  };
3994
3998
  };
@@ -4378,7 +4382,6 @@ export declare const state: {
4378
4382
  type: "boolean";
4379
4383
  };
4380
4384
  handle: {
4381
- default: string;
4382
4385
  type: "string";
4383
4386
  };
4384
4387
  };
@@ -4530,7 +4533,6 @@ export declare const state: {
4530
4533
  type: "boolean";
4531
4534
  };
4532
4535
  handle: {
4533
- default: string;
4534
4536
  type: "string";
4535
4537
  };
4536
4538
  };
@@ -7521,7 +7523,7 @@ export declare const state: {
7521
7523
  in: "query";
7522
7524
  description: string;
7523
7525
  type: "string";
7524
- required: true;
7526
+ required: false;
7525
7527
  };
7526
7528
  level: {
7527
7529
  in: "query";
@@ -11135,7 +11137,6 @@ export declare const state: {
11135
11137
  type: "boolean";
11136
11138
  };
11137
11139
  handle: {
11138
- default: string;
11139
11140
  type: "string";
11140
11141
  };
11141
11142
  };
@@ -2957,7 +2957,6 @@ export declare const state: {
2957
2957
  type: "boolean";
2958
2958
  };
2959
2959
  handle: {
2960
- default: string;
2961
2960
  type: "string";
2962
2961
  };
2963
2962
  };
@@ -4033,7 +4033,6 @@ export declare const state: {
4033
4033
  type: "boolean";
4034
4034
  };
4035
4035
  handle: {
4036
- default: string;
4037
4036
  type: "string";
4038
4037
  };
4039
4038
  };
@@ -4788,6 +4788,12 @@ export declare const state: {
4788
4788
  };
4789
4789
  description: string;
4790
4790
  };
4791
+ layers: {
4792
+ type: "array";
4793
+ items: {
4794
+ type: "string";
4795
+ };
4796
+ };
4791
4797
  };
4792
4798
  title: string;
4793
4799
  additionalProperties: false;
@@ -5021,7 +5027,7 @@ export declare const state: {
5021
5027
  in: "query";
5022
5028
  description: string;
5023
5029
  type: "string";
5024
- required: true;
5030
+ required: false;
5025
5031
  };
5026
5032
  level: {
5027
5033
  in: "query";
@@ -6182,7 +6188,6 @@ export declare const state: {
6182
6188
  type: "boolean";
6183
6189
  };
6184
6190
  handle: {
6185
- default: string;
6186
6191
  type: "string";
6187
6192
  };
6188
6193
  };
@@ -6340,7 +6345,6 @@ export declare const state: {
6340
6345
  type: "boolean";
6341
6346
  };
6342
6347
  handle: {
6343
- default: string;
6344
6348
  type: "string";
6345
6349
  };
6346
6350
  };
@@ -6730,7 +6734,6 @@ export declare const state: {
6730
6734
  type: "boolean";
6731
6735
  };
6732
6736
  handle: {
6733
- default: string;
6734
6737
  type: "string";
6735
6738
  };
6736
6739
  };
@@ -6882,7 +6885,6 @@ export declare const state: {
6882
6885
  type: "boolean";
6883
6886
  };
6884
6887
  handle: {
6885
- default: string;
6886
6888
  type: "string";
6887
6889
  };
6888
6890
  };
@@ -9874,7 +9876,7 @@ export declare const state: {
9874
9876
  in: "query";
9875
9877
  description: string;
9876
9878
  type: "string";
9877
- required: true;
9879
+ required: false;
9878
9880
  };
9879
9881
  level: {
9880
9882
  in: "query";
@@ -16009,7 +16011,6 @@ export declare const state: {
16009
16011
  type: "boolean";
16010
16012
  };
16011
16013
  handle: {
16012
- default: string;
16013
16014
  type: "string";
16014
16015
  };
16015
16016
  };
@@ -2722,7 +2722,6 @@ export declare const state: {
2722
2722
  type: "boolean";
2723
2723
  };
2724
2724
  handle: {
2725
- default: string;
2726
2725
  type: "string";
2727
2726
  };
2728
2727
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {