@botpress/api 1.18.2 → 1.19.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
@@ -284123,7 +284123,7 @@ var state = {
284123
284123
  "title": "Botpress API",
284124
284124
  "description": "API for Botpress Cloud",
284125
284125
  "server": "https://api.botpress.cloud",
284126
- "version": "1.18.2",
284126
+ "version": "1.19.0",
284127
284127
  "prefix": "v1"
284128
284128
  },
284129
284129
  "errors": [
@@ -287754,6 +287754,31 @@ var state = {
287754
287754
  "expiresAt": {
287755
287755
  "type": "string",
287756
287756
  "description": "File expiry timestamp in ISO 8601 format"
287757
+ },
287758
+ "owner": {
287759
+ "type": "object",
287760
+ "properties": {
287761
+ "type": {
287762
+ "type": "string",
287763
+ "enum": [
287764
+ "bot",
287765
+ "integration",
287766
+ "user"
287767
+ ]
287768
+ },
287769
+ "id": {
287770
+ "type": "string",
287771
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
287772
+ },
287773
+ "name": {
287774
+ "type": "string",
287775
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
287776
+ }
287777
+ },
287778
+ "required": [
287779
+ "type"
287780
+ ],
287781
+ "additionalProperties": false
287757
287782
  }
287758
287783
  },
287759
287784
  "required": [
@@ -287769,7 +287794,8 @@ var state = {
287769
287794
  "updatedAt",
287770
287795
  "accessPolicies",
287771
287796
  "index",
287772
- "status"
287797
+ "status",
287798
+ "owner"
287773
287799
  ],
287774
287800
  "additionalProperties": false
287775
287801
  }
@@ -301056,7 +301082,7 @@ var state2 = {
301056
301082
  "title": "Botpress API",
301057
301083
  "description": "API for Botpress Cloud",
301058
301084
  "server": "https://api.botpress.cloud",
301059
- "version": "1.18.2",
301085
+ "version": "1.19.0",
301060
301086
  "prefix": "v1"
301061
301087
  },
301062
301088
  "errors": [
@@ -304747,6 +304773,31 @@ var state2 = {
304747
304773
  "expiresAt": {
304748
304774
  "type": "string",
304749
304775
  "description": "File expiry timestamp in ISO 8601 format"
304776
+ },
304777
+ "owner": {
304778
+ "type": "object",
304779
+ "properties": {
304780
+ "type": {
304781
+ "type": "string",
304782
+ "enum": [
304783
+ "bot",
304784
+ "integration",
304785
+ "user"
304786
+ ]
304787
+ },
304788
+ "id": {
304789
+ "type": "string",
304790
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
304791
+ },
304792
+ "name": {
304793
+ "type": "string",
304794
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
304795
+ }
304796
+ },
304797
+ "required": [
304798
+ "type"
304799
+ ],
304800
+ "additionalProperties": false
304750
304801
  }
304751
304802
  },
304752
304803
  "required": [
@@ -304762,7 +304813,8 @@ var state2 = {
304762
304813
  "updatedAt",
304763
304814
  "accessPolicies",
304764
304815
  "index",
304765
- "status"
304816
+ "status",
304817
+ "owner"
304766
304818
  ],
304767
304819
  "additionalProperties": false
304768
304820
  }
@@ -305075,7 +305127,7 @@ var state3 = {
305075
305127
  "index": {
305076
305128
  "default": false,
305077
305129
  "type": "boolean",
305078
- "description": "Set to a value of 'true' to index the file in vector storage. Only certain file formats are currently supported for indexing. Note that if a file is indexed, it will count towards both the Vector DB Storage quota and the File Storage quota of the workspace."
305130
+ "description": "Set to a value of 'true' to index the file in vector storage. Only certain file formats are currently supported for indexing. Files larger than 95 MB cannot be indexed. Note that if a file is indexed, it will count towards both the Vector DB Storage quota and the File Storage quota of the workspace."
305079
305131
  },
305080
305132
  "indexing": {
305081
305133
  "type": "object",
@@ -305316,6 +305368,31 @@ var state3 = {
305316
305368
  "type": "string",
305317
305369
  "description": "File expiry timestamp in ISO 8601 format"
305318
305370
  },
305371
+ "owner": {
305372
+ "type": "object",
305373
+ "properties": {
305374
+ "type": {
305375
+ "type": "string",
305376
+ "enum": [
305377
+ "bot",
305378
+ "integration",
305379
+ "user"
305380
+ ]
305381
+ },
305382
+ "id": {
305383
+ "type": "string",
305384
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
305385
+ },
305386
+ "name": {
305387
+ "type": "string",
305388
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
305389
+ }
305390
+ },
305391
+ "required": [
305392
+ "type"
305393
+ ],
305394
+ "additionalProperties": false
305395
+ },
305319
305396
  "uploadUrl": {
305320
305397
  "type": "string",
305321
305398
  "description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
@@ -305335,6 +305412,7 @@ var state3 = {
305335
305412
  "accessPolicies",
305336
305413
  "index",
305337
305414
  "status",
305415
+ "owner",
305338
305416
  "uploadUrl"
305339
305417
  ],
305340
305418
  "additionalProperties": false
@@ -305515,6 +305593,30 @@ var state3 = {
305515
305593
  "expiresAt": {
305516
305594
  "type": "string",
305517
305595
  "description": "File expiry timestamp in ISO 8601 format"
305596
+ },
305597
+ "owner": {
305598
+ "type": "object",
305599
+ "properties": {
305600
+ "type": {
305601
+ "type": "string",
305602
+ "enum": [
305603
+ "bot",
305604
+ "integration",
305605
+ "user"
305606
+ ]
305607
+ },
305608
+ "id": {
305609
+ "type": "string",
305610
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
305611
+ },
305612
+ "name": {
305613
+ "type": "string",
305614
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
305615
+ }
305616
+ },
305617
+ "required": [
305618
+ "type"
305619
+ ]
305518
305620
  }
305519
305621
  },
305520
305622
  "required": [
@@ -305530,7 +305632,8 @@ var state3 = {
305530
305632
  "updatedAt",
305531
305633
  "accessPolicies",
305532
305634
  "index",
305533
- "status"
305635
+ "status",
305636
+ "owner"
305534
305637
  ]
305535
305638
  }
305536
305639
  },
@@ -305657,6 +305760,31 @@ var state3 = {
305657
305760
  "expiresAt": {
305658
305761
  "type": "string",
305659
305762
  "description": "File expiry timestamp in ISO 8601 format"
305763
+ },
305764
+ "owner": {
305765
+ "type": "object",
305766
+ "properties": {
305767
+ "type": {
305768
+ "type": "string",
305769
+ "enum": [
305770
+ "bot",
305771
+ "integration",
305772
+ "user"
305773
+ ]
305774
+ },
305775
+ "id": {
305776
+ "type": "string",
305777
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
305778
+ },
305779
+ "name": {
305780
+ "type": "string",
305781
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
305782
+ }
305783
+ },
305784
+ "required": [
305785
+ "type"
305786
+ ],
305787
+ "additionalProperties": false
305660
305788
  }
305661
305789
  },
305662
305790
  "required": [
@@ -305672,7 +305800,8 @@ var state3 = {
305672
305800
  "updatedAt",
305673
305801
  "accessPolicies",
305674
305802
  "index",
305675
- "status"
305803
+ "status",
305804
+ "owner"
305676
305805
  ],
305677
305806
  "additionalProperties": false
305678
305807
  }
@@ -305827,6 +305956,31 @@ var state3 = {
305827
305956
  "expiresAt": {
305828
305957
  "type": "string",
305829
305958
  "description": "File expiry timestamp in ISO 8601 format"
305959
+ },
305960
+ "owner": {
305961
+ "type": "object",
305962
+ "properties": {
305963
+ "type": {
305964
+ "type": "string",
305965
+ "enum": [
305966
+ "bot",
305967
+ "integration",
305968
+ "user"
305969
+ ]
305970
+ },
305971
+ "id": {
305972
+ "type": "string",
305973
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
305974
+ },
305975
+ "name": {
305976
+ "type": "string",
305977
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
305978
+ }
305979
+ },
305980
+ "required": [
305981
+ "type"
305982
+ ],
305983
+ "additionalProperties": false
305830
305984
  }
305831
305985
  },
305832
305986
  "required": [
@@ -305842,7 +305996,8 @@ var state3 = {
305842
305996
  "updatedAt",
305843
305997
  "accessPolicies",
305844
305998
  "index",
305845
- "status"
305999
+ "status",
306000
+ "owner"
305846
306001
  ],
305847
306002
  "additionalProperties": false
305848
306003
  }
@@ -305982,6 +306137,31 @@ var state3 = {
305982
306137
  "expiresAt": {
305983
306138
  "type": "string",
305984
306139
  "description": "File expiry timestamp in ISO 8601 format"
306140
+ },
306141
+ "owner": {
306142
+ "type": "object",
306143
+ "properties": {
306144
+ "type": {
306145
+ "type": "string",
306146
+ "enum": [
306147
+ "bot",
306148
+ "integration",
306149
+ "user"
306150
+ ]
306151
+ },
306152
+ "id": {
306153
+ "type": "string",
306154
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
306155
+ },
306156
+ "name": {
306157
+ "type": "string",
306158
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
306159
+ }
306160
+ },
306161
+ "required": [
306162
+ "type"
306163
+ ],
306164
+ "additionalProperties": false
305985
306165
  }
305986
306166
  },
305987
306167
  "required": [
@@ -305997,7 +306177,8 @@ var state3 = {
305997
306177
  "updatedAt",
305998
306178
  "accessPolicies",
305999
306179
  "index",
306000
- "status"
306180
+ "status",
306181
+ "owner"
306001
306182
  ],
306002
306183
  "additionalProperties": false
306003
306184
  }
@@ -306690,7 +306871,7 @@ var state3 = {
306690
306871
  "title": "Botpress API",
306691
306872
  "description": "API for Botpress Cloud",
306692
306873
  "server": "https://api.botpress.cloud",
306693
- "version": "1.18.2",
306874
+ "version": "1.19.0",
306694
306875
  "prefix": "v1"
306695
306876
  },
306696
306877
  "errors": [
@@ -310276,6 +310457,31 @@ var state3 = {
310276
310457
  "expiresAt": {
310277
310458
  "type": "string",
310278
310459
  "description": "File expiry timestamp in ISO 8601 format"
310460
+ },
310461
+ "owner": {
310462
+ "type": "object",
310463
+ "properties": {
310464
+ "type": {
310465
+ "type": "string",
310466
+ "enum": [
310467
+ "bot",
310468
+ "integration",
310469
+ "user"
310470
+ ]
310471
+ },
310472
+ "id": {
310473
+ "type": "string",
310474
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
310475
+ },
310476
+ "name": {
310477
+ "type": "string",
310478
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
310479
+ }
310480
+ },
310481
+ "required": [
310482
+ "type"
310483
+ ],
310484
+ "additionalProperties": false
310279
310485
  }
310280
310486
  },
310281
310487
  "required": [
@@ -310291,7 +310497,8 @@ var state3 = {
310291
310497
  "updatedAt",
310292
310498
  "accessPolicies",
310293
310499
  "index",
310294
- "status"
310500
+ "status",
310501
+ "owner"
310295
310502
  ],
310296
310503
  "additionalProperties": false
310297
310504
  }
@@ -311694,7 +311901,7 @@ var state4 = {
311694
311901
  "title": "Botpress API",
311695
311902
  "description": "API for Botpress Cloud",
311696
311903
  "server": "https://api.botpress.cloud",
311697
- "version": "1.18.2",
311904
+ "version": "1.19.0",
311698
311905
  "prefix": "v1"
311699
311906
  },
311700
311907
  "errors": [
@@ -315287,6 +315494,31 @@ var state4 = {
315287
315494
  "expiresAt": {
315288
315495
  "type": "string",
315289
315496
  "description": "File expiry timestamp in ISO 8601 format"
315497
+ },
315498
+ "owner": {
315499
+ "type": "object",
315500
+ "properties": {
315501
+ "type": {
315502
+ "type": "string",
315503
+ "enum": [
315504
+ "bot",
315505
+ "integration",
315506
+ "user"
315507
+ ]
315508
+ },
315509
+ "id": {
315510
+ "type": "string",
315511
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
315512
+ },
315513
+ "name": {
315514
+ "type": "string",
315515
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
315516
+ }
315517
+ },
315518
+ "required": [
315519
+ "type"
315520
+ ],
315521
+ "additionalProperties": false
315290
315522
  }
315291
315523
  },
315292
315524
  "required": [
@@ -315302,7 +315534,8 @@ var state4 = {
315302
315534
  "updatedAt",
315303
315535
  "accessPolicies",
315304
315536
  "index",
315305
- "status"
315537
+ "status",
315538
+ "owner"
315306
315539
  ],
315307
315540
  "additionalProperties": false
315308
315541
  }
@@ -331167,7 +331400,7 @@ var state5 = {
331167
331400
  "index": {
331168
331401
  "default": false,
331169
331402
  "type": "boolean",
331170
- "description": "Set to a value of 'true' to index the file in vector storage. Only certain file formats are currently supported for indexing. Note that if a file is indexed, it will count towards both the Vector DB Storage quota and the File Storage quota of the workspace."
331403
+ "description": "Set to a value of 'true' to index the file in vector storage. Only certain file formats are currently supported for indexing. Files larger than 95 MB cannot be indexed. Note that if a file is indexed, it will count towards both the Vector DB Storage quota and the File Storage quota of the workspace."
331171
331404
  },
331172
331405
  "indexing": {
331173
331406
  "type": "object",
@@ -331408,6 +331641,31 @@ var state5 = {
331408
331641
  "type": "string",
331409
331642
  "description": "File expiry timestamp in ISO 8601 format"
331410
331643
  },
331644
+ "owner": {
331645
+ "type": "object",
331646
+ "properties": {
331647
+ "type": {
331648
+ "type": "string",
331649
+ "enum": [
331650
+ "bot",
331651
+ "integration",
331652
+ "user"
331653
+ ]
331654
+ },
331655
+ "id": {
331656
+ "type": "string",
331657
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
331658
+ },
331659
+ "name": {
331660
+ "type": "string",
331661
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
331662
+ }
331663
+ },
331664
+ "required": [
331665
+ "type"
331666
+ ],
331667
+ "additionalProperties": false
331668
+ },
331411
331669
  "uploadUrl": {
331412
331670
  "type": "string",
331413
331671
  "description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
@@ -331427,6 +331685,7 @@ var state5 = {
331427
331685
  "accessPolicies",
331428
331686
  "index",
331429
331687
  "status",
331688
+ "owner",
331430
331689
  "uploadUrl"
331431
331690
  ],
331432
331691
  "additionalProperties": false
@@ -331607,6 +331866,30 @@ var state5 = {
331607
331866
  "expiresAt": {
331608
331867
  "type": "string",
331609
331868
  "description": "File expiry timestamp in ISO 8601 format"
331869
+ },
331870
+ "owner": {
331871
+ "type": "object",
331872
+ "properties": {
331873
+ "type": {
331874
+ "type": "string",
331875
+ "enum": [
331876
+ "bot",
331877
+ "integration",
331878
+ "user"
331879
+ ]
331880
+ },
331881
+ "id": {
331882
+ "type": "string",
331883
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
331884
+ },
331885
+ "name": {
331886
+ "type": "string",
331887
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
331888
+ }
331889
+ },
331890
+ "required": [
331891
+ "type"
331892
+ ]
331610
331893
  }
331611
331894
  },
331612
331895
  "required": [
@@ -331622,7 +331905,8 @@ var state5 = {
331622
331905
  "updatedAt",
331623
331906
  "accessPolicies",
331624
331907
  "index",
331625
- "status"
331908
+ "status",
331909
+ "owner"
331626
331910
  ]
331627
331911
  }
331628
331912
  },
@@ -331749,6 +332033,31 @@ var state5 = {
331749
332033
  "expiresAt": {
331750
332034
  "type": "string",
331751
332035
  "description": "File expiry timestamp in ISO 8601 format"
332036
+ },
332037
+ "owner": {
332038
+ "type": "object",
332039
+ "properties": {
332040
+ "type": {
332041
+ "type": "string",
332042
+ "enum": [
332043
+ "bot",
332044
+ "integration",
332045
+ "user"
332046
+ ]
332047
+ },
332048
+ "id": {
332049
+ "type": "string",
332050
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
332051
+ },
332052
+ "name": {
332053
+ "type": "string",
332054
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
332055
+ }
332056
+ },
332057
+ "required": [
332058
+ "type"
332059
+ ],
332060
+ "additionalProperties": false
331752
332061
  }
331753
332062
  },
331754
332063
  "required": [
@@ -331764,7 +332073,8 @@ var state5 = {
331764
332073
  "updatedAt",
331765
332074
  "accessPolicies",
331766
332075
  "index",
331767
- "status"
332076
+ "status",
332077
+ "owner"
331768
332078
  ],
331769
332079
  "additionalProperties": false
331770
332080
  }
@@ -331919,6 +332229,31 @@ var state5 = {
331919
332229
  "expiresAt": {
331920
332230
  "type": "string",
331921
332231
  "description": "File expiry timestamp in ISO 8601 format"
332232
+ },
332233
+ "owner": {
332234
+ "type": "object",
332235
+ "properties": {
332236
+ "type": {
332237
+ "type": "string",
332238
+ "enum": [
332239
+ "bot",
332240
+ "integration",
332241
+ "user"
332242
+ ]
332243
+ },
332244
+ "id": {
332245
+ "type": "string",
332246
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
332247
+ },
332248
+ "name": {
332249
+ "type": "string",
332250
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
332251
+ }
332252
+ },
332253
+ "required": [
332254
+ "type"
332255
+ ],
332256
+ "additionalProperties": false
331922
332257
  }
331923
332258
  },
331924
332259
  "required": [
@@ -331934,7 +332269,8 @@ var state5 = {
331934
332269
  "updatedAt",
331935
332270
  "accessPolicies",
331936
332271
  "index",
331937
- "status"
332272
+ "status",
332273
+ "owner"
331938
332274
  ],
331939
332275
  "additionalProperties": false
331940
332276
  }
@@ -332074,6 +332410,31 @@ var state5 = {
332074
332410
  "expiresAt": {
332075
332411
  "type": "string",
332076
332412
  "description": "File expiry timestamp in ISO 8601 format"
332413
+ },
332414
+ "owner": {
332415
+ "type": "object",
332416
+ "properties": {
332417
+ "type": {
332418
+ "type": "string",
332419
+ "enum": [
332420
+ "bot",
332421
+ "integration",
332422
+ "user"
332423
+ ]
332424
+ },
332425
+ "id": {
332426
+ "type": "string",
332427
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
332428
+ },
332429
+ "name": {
332430
+ "type": "string",
332431
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
332432
+ }
332433
+ },
332434
+ "required": [
332435
+ "type"
332436
+ ],
332437
+ "additionalProperties": false
332077
332438
  }
332078
332439
  },
332079
332440
  "required": [
@@ -332089,7 +332450,8 @@ var state5 = {
332089
332450
  "updatedAt",
332090
332451
  "accessPolicies",
332091
332452
  "index",
332092
- "status"
332453
+ "status",
332454
+ "owner"
332093
332455
  ],
332094
332456
  "additionalProperties": false
332095
332457
  }
@@ -333988,7 +334350,7 @@ var state5 = {
333988
334350
  "title": "Botpress API",
333989
334351
  "description": "API for Botpress Cloud",
333990
334352
  "server": "https://api.botpress.cloud",
333991
- "version": "1.18.2",
334353
+ "version": "1.19.0",
333992
334354
  "prefix": "v1"
333993
334355
  },
333994
334356
  "errors": [
@@ -337798,6 +338160,31 @@ var state5 = {
337798
338160
  "expiresAt": {
337799
338161
  "type": "string",
337800
338162
  "description": "File expiry timestamp in ISO 8601 format"
338163
+ },
338164
+ "owner": {
338165
+ "type": "object",
338166
+ "properties": {
338167
+ "type": {
338168
+ "type": "string",
338169
+ "enum": [
338170
+ "bot",
338171
+ "integration",
338172
+ "user"
338173
+ ]
338174
+ },
338175
+ "id": {
338176
+ "type": "string",
338177
+ "description": 'This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.'
338178
+ },
338179
+ "name": {
338180
+ "type": "string",
338181
+ "description": 'This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.'
338182
+ }
338183
+ },
338184
+ "required": [
338185
+ "type"
338186
+ ],
338187
+ "additionalProperties": false
337801
338188
  }
337802
338189
  },
337803
338190
  "required": [
@@ -337813,7 +338200,8 @@ var state5 = {
337813
338200
  "updatedAt",
337814
338201
  "accessPolicies",
337815
338202
  "index",
337816
- "status"
338203
+ "status",
338204
+ "owner"
337817
338205
  ],
337818
338206
  "additionalProperties": false
337819
338207
  }