@botpress/api 1.18.2 → 1.20.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 +412 -22
- package/dist/src/gen/admin/state.d.ts +19 -0
- package/dist/src/gen/files/state.d.ts +113 -0
- package/dist/src/gen/runtime/state.d.ts +19 -0
- package/dist/src/gen/state.d.ts +113 -0
- package/dist/src/gen/tables/state.d.ts +19 -0
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +30 -3
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +162 -7
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +28 -2
- package/src/gen/state.ts +164 -8
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +28 -2
package/src/gen/files/state.ts
CHANGED
|
@@ -34,7 +34,7 @@ export const state = {
|
|
|
34
34
|
"index": {
|
|
35
35
|
"default": false,
|
|
36
36
|
"type": "boolean",
|
|
37
|
-
"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."
|
|
37
|
+
"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."
|
|
38
38
|
},
|
|
39
39
|
"indexing": {
|
|
40
40
|
"type": "object",
|
|
@@ -275,6 +275,31 @@ export const state = {
|
|
|
275
275
|
"type": "string",
|
|
276
276
|
"description": "File expiry timestamp in ISO 8601 format"
|
|
277
277
|
},
|
|
278
|
+
"owner": {
|
|
279
|
+
"type": "object",
|
|
280
|
+
"properties": {
|
|
281
|
+
"type": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"enum": [
|
|
284
|
+
"bot",
|
|
285
|
+
"integration",
|
|
286
|
+
"user"
|
|
287
|
+
]
|
|
288
|
+
},
|
|
289
|
+
"id": {
|
|
290
|
+
"type": "string",
|
|
291
|
+
"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."
|
|
292
|
+
},
|
|
293
|
+
"name": {
|
|
294
|
+
"type": "string",
|
|
295
|
+
"description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"required": [
|
|
299
|
+
"type"
|
|
300
|
+
],
|
|
301
|
+
"additionalProperties": false
|
|
302
|
+
},
|
|
278
303
|
"uploadUrl": {
|
|
279
304
|
"type": "string",
|
|
280
305
|
"description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
|
|
@@ -294,6 +319,7 @@ export const state = {
|
|
|
294
319
|
"accessPolicies",
|
|
295
320
|
"index",
|
|
296
321
|
"status",
|
|
322
|
+
"owner",
|
|
297
323
|
"uploadUrl"
|
|
298
324
|
],
|
|
299
325
|
"additionalProperties": false
|
|
@@ -474,6 +500,30 @@ export const state = {
|
|
|
474
500
|
"expiresAt": {
|
|
475
501
|
"type": "string",
|
|
476
502
|
"description": "File expiry timestamp in ISO 8601 format"
|
|
503
|
+
},
|
|
504
|
+
"owner": {
|
|
505
|
+
"type": "object",
|
|
506
|
+
"properties": {
|
|
507
|
+
"type": {
|
|
508
|
+
"type": "string",
|
|
509
|
+
"enum": [
|
|
510
|
+
"bot",
|
|
511
|
+
"integration",
|
|
512
|
+
"user"
|
|
513
|
+
]
|
|
514
|
+
},
|
|
515
|
+
"id": {
|
|
516
|
+
"type": "string",
|
|
517
|
+
"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."
|
|
518
|
+
},
|
|
519
|
+
"name": {
|
|
520
|
+
"type": "string",
|
|
521
|
+
"description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"required": [
|
|
525
|
+
"type"
|
|
526
|
+
]
|
|
477
527
|
}
|
|
478
528
|
},
|
|
479
529
|
"required": [
|
|
@@ -489,7 +539,8 @@ export const state = {
|
|
|
489
539
|
"updatedAt",
|
|
490
540
|
"accessPolicies",
|
|
491
541
|
"index",
|
|
492
|
-
"status"
|
|
542
|
+
"status",
|
|
543
|
+
"owner"
|
|
493
544
|
]
|
|
494
545
|
}
|
|
495
546
|
},
|
|
@@ -616,6 +667,31 @@ export const state = {
|
|
|
616
667
|
"expiresAt": {
|
|
617
668
|
"type": "string",
|
|
618
669
|
"description": "File expiry timestamp in ISO 8601 format"
|
|
670
|
+
},
|
|
671
|
+
"owner": {
|
|
672
|
+
"type": "object",
|
|
673
|
+
"properties": {
|
|
674
|
+
"type": {
|
|
675
|
+
"type": "string",
|
|
676
|
+
"enum": [
|
|
677
|
+
"bot",
|
|
678
|
+
"integration",
|
|
679
|
+
"user"
|
|
680
|
+
]
|
|
681
|
+
},
|
|
682
|
+
"id": {
|
|
683
|
+
"type": "string",
|
|
684
|
+
"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."
|
|
685
|
+
},
|
|
686
|
+
"name": {
|
|
687
|
+
"type": "string",
|
|
688
|
+
"description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
"required": [
|
|
692
|
+
"type"
|
|
693
|
+
],
|
|
694
|
+
"additionalProperties": false
|
|
619
695
|
}
|
|
620
696
|
},
|
|
621
697
|
"required": [
|
|
@@ -631,7 +707,8 @@ export const state = {
|
|
|
631
707
|
"updatedAt",
|
|
632
708
|
"accessPolicies",
|
|
633
709
|
"index",
|
|
634
|
-
"status"
|
|
710
|
+
"status",
|
|
711
|
+
"owner"
|
|
635
712
|
],
|
|
636
713
|
"additionalProperties": false
|
|
637
714
|
}
|
|
@@ -786,6 +863,31 @@ export const state = {
|
|
|
786
863
|
"expiresAt": {
|
|
787
864
|
"type": "string",
|
|
788
865
|
"description": "File expiry timestamp in ISO 8601 format"
|
|
866
|
+
},
|
|
867
|
+
"owner": {
|
|
868
|
+
"type": "object",
|
|
869
|
+
"properties": {
|
|
870
|
+
"type": {
|
|
871
|
+
"type": "string",
|
|
872
|
+
"enum": [
|
|
873
|
+
"bot",
|
|
874
|
+
"integration",
|
|
875
|
+
"user"
|
|
876
|
+
]
|
|
877
|
+
},
|
|
878
|
+
"id": {
|
|
879
|
+
"type": "string",
|
|
880
|
+
"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."
|
|
881
|
+
},
|
|
882
|
+
"name": {
|
|
883
|
+
"type": "string",
|
|
884
|
+
"description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
"required": [
|
|
888
|
+
"type"
|
|
889
|
+
],
|
|
890
|
+
"additionalProperties": false
|
|
789
891
|
}
|
|
790
892
|
},
|
|
791
893
|
"required": [
|
|
@@ -801,7 +903,8 @@ export const state = {
|
|
|
801
903
|
"updatedAt",
|
|
802
904
|
"accessPolicies",
|
|
803
905
|
"index",
|
|
804
|
-
"status"
|
|
906
|
+
"status",
|
|
907
|
+
"owner"
|
|
805
908
|
],
|
|
806
909
|
"additionalProperties": false
|
|
807
910
|
}
|
|
@@ -941,6 +1044,31 @@ export const state = {
|
|
|
941
1044
|
"expiresAt": {
|
|
942
1045
|
"type": "string",
|
|
943
1046
|
"description": "File expiry timestamp in ISO 8601 format"
|
|
1047
|
+
},
|
|
1048
|
+
"owner": {
|
|
1049
|
+
"type": "object",
|
|
1050
|
+
"properties": {
|
|
1051
|
+
"type": {
|
|
1052
|
+
"type": "string",
|
|
1053
|
+
"enum": [
|
|
1054
|
+
"bot",
|
|
1055
|
+
"integration",
|
|
1056
|
+
"user"
|
|
1057
|
+
]
|
|
1058
|
+
},
|
|
1059
|
+
"id": {
|
|
1060
|
+
"type": "string",
|
|
1061
|
+
"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."
|
|
1062
|
+
},
|
|
1063
|
+
"name": {
|
|
1064
|
+
"type": "string",
|
|
1065
|
+
"description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
1068
|
+
"required": [
|
|
1069
|
+
"type"
|
|
1070
|
+
],
|
|
1071
|
+
"additionalProperties": false
|
|
944
1072
|
}
|
|
945
1073
|
},
|
|
946
1074
|
"required": [
|
|
@@ -956,7 +1084,8 @@ export const state = {
|
|
|
956
1084
|
"updatedAt",
|
|
957
1085
|
"accessPolicies",
|
|
958
1086
|
"index",
|
|
959
|
-
"status"
|
|
1087
|
+
"status",
|
|
1088
|
+
"owner"
|
|
960
1089
|
],
|
|
961
1090
|
"additionalProperties": false
|
|
962
1091
|
}
|
|
@@ -1649,7 +1778,7 @@ export const state = {
|
|
|
1649
1778
|
"title": "Botpress API",
|
|
1650
1779
|
"description": "API for Botpress Cloud",
|
|
1651
1780
|
"server": "https://api.botpress.cloud",
|
|
1652
|
-
"version": "1.
|
|
1781
|
+
"version": "1.20.0",
|
|
1653
1782
|
"prefix": "v1"
|
|
1654
1783
|
},
|
|
1655
1784
|
"errors": [
|
|
@@ -5235,6 +5364,31 @@ export const state = {
|
|
|
5235
5364
|
"expiresAt": {
|
|
5236
5365
|
"type": "string",
|
|
5237
5366
|
"description": "File expiry timestamp in ISO 8601 format"
|
|
5367
|
+
},
|
|
5368
|
+
"owner": {
|
|
5369
|
+
"type": "object",
|
|
5370
|
+
"properties": {
|
|
5371
|
+
"type": {
|
|
5372
|
+
"type": "string",
|
|
5373
|
+
"enum": [
|
|
5374
|
+
"bot",
|
|
5375
|
+
"integration",
|
|
5376
|
+
"user"
|
|
5377
|
+
]
|
|
5378
|
+
},
|
|
5379
|
+
"id": {
|
|
5380
|
+
"type": "string",
|
|
5381
|
+
"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."
|
|
5382
|
+
},
|
|
5383
|
+
"name": {
|
|
5384
|
+
"type": "string",
|
|
5385
|
+
"description": "This field is present if the `type` is \"integration\". If `type` is \"integration\", this is the integration name."
|
|
5386
|
+
}
|
|
5387
|
+
},
|
|
5388
|
+
"required": [
|
|
5389
|
+
"type"
|
|
5390
|
+
],
|
|
5391
|
+
"additionalProperties": false
|
|
5238
5392
|
}
|
|
5239
5393
|
},
|
|
5240
5394
|
"required": [
|
|
@@ -5250,7 +5404,8 @@ export const state = {
|
|
|
5250
5404
|
"updatedAt",
|
|
5251
5405
|
"accessPolicies",
|
|
5252
5406
|
"index",
|
|
5253
|
-
"status"
|
|
5407
|
+
"status",
|
|
5408
|
+
"owner"
|
|
5254
5409
|
],
|
|
5255
5410
|
"additionalProperties": false
|
|
5256
5411
|
}
|