@botpress/api 1.8.0 → 1.9.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 +415 -29
- package/dist/src/gen/admin/state.d.ts +152 -7
- package/dist/src/gen/files/state.d.ts +32 -0
- package/dist/src/gen/runtime/state.d.ts +32 -0
- package/dist/src/gen/state.d.ts +152 -7
- package/dist/src/gen/tables/state.d.ts +32 -0
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +158 -13
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +33 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +33 -1
- package/src/gen/state.ts +158 -13
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +33 -1
package/src/gen/admin/state.ts
CHANGED
|
@@ -1093,6 +1093,14 @@ export const state = {
|
|
|
1093
1093
|
"schema": {
|
|
1094
1094
|
"type": "object",
|
|
1095
1095
|
"additionalProperties": true
|
|
1096
|
+
},
|
|
1097
|
+
"attributes": {
|
|
1098
|
+
"type": "object",
|
|
1099
|
+
"additionalProperties": {
|
|
1100
|
+
"type": "string",
|
|
1101
|
+
"maxLength": 200
|
|
1102
|
+
},
|
|
1103
|
+
"description": "Optional attributes"
|
|
1096
1104
|
}
|
|
1097
1105
|
},
|
|
1098
1106
|
"required": [
|
|
@@ -1818,6 +1826,14 @@ export const state = {
|
|
|
1818
1826
|
"schema": {
|
|
1819
1827
|
"type": "object",
|
|
1820
1828
|
"additionalProperties": true
|
|
1829
|
+
},
|
|
1830
|
+
"attributes": {
|
|
1831
|
+
"type": "object",
|
|
1832
|
+
"additionalProperties": {
|
|
1833
|
+
"type": "string",
|
|
1834
|
+
"maxLength": 200
|
|
1835
|
+
},
|
|
1836
|
+
"description": "Optional attributes"
|
|
1821
1837
|
}
|
|
1822
1838
|
},
|
|
1823
1839
|
"required": [
|
|
@@ -2338,6 +2354,14 @@ export const state = {
|
|
|
2338
2354
|
"schema": {
|
|
2339
2355
|
"type": "object",
|
|
2340
2356
|
"additionalProperties": true
|
|
2357
|
+
},
|
|
2358
|
+
"attributes": {
|
|
2359
|
+
"type": "object",
|
|
2360
|
+
"additionalProperties": {
|
|
2361
|
+
"type": "string",
|
|
2362
|
+
"maxLength": 200
|
|
2363
|
+
},
|
|
2364
|
+
"description": "Optional attributes"
|
|
2341
2365
|
}
|
|
2342
2366
|
},
|
|
2343
2367
|
"required": [
|
|
@@ -2720,6 +2744,14 @@ export const state = {
|
|
|
2720
2744
|
"schema": {
|
|
2721
2745
|
"type": "object",
|
|
2722
2746
|
"additionalProperties": true
|
|
2747
|
+
},
|
|
2748
|
+
"attributes": {
|
|
2749
|
+
"type": "object",
|
|
2750
|
+
"additionalProperties": {
|
|
2751
|
+
"type": "string",
|
|
2752
|
+
"maxLength": 200
|
|
2753
|
+
},
|
|
2754
|
+
"description": "Optional attributes"
|
|
2723
2755
|
}
|
|
2724
2756
|
},
|
|
2725
2757
|
"required": [
|
|
@@ -3076,6 +3108,14 @@ export const state = {
|
|
|
3076
3108
|
"schema": {
|
|
3077
3109
|
"type": "object",
|
|
3078
3110
|
"additionalProperties": true
|
|
3111
|
+
},
|
|
3112
|
+
"attributes": {
|
|
3113
|
+
"type": "object",
|
|
3114
|
+
"additionalProperties": {
|
|
3115
|
+
"type": "string",
|
|
3116
|
+
"maxLength": 200
|
|
3117
|
+
},
|
|
3118
|
+
"description": "Optional attributes"
|
|
3079
3119
|
}
|
|
3080
3120
|
},
|
|
3081
3121
|
"required": [
|
|
@@ -3525,12 +3565,20 @@ export const state = {
|
|
|
3525
3565
|
"schema": {
|
|
3526
3566
|
"type": "object",
|
|
3527
3567
|
"additionalProperties": true
|
|
3568
|
+
},
|
|
3569
|
+
"attributes": {
|
|
3570
|
+
"type": "object",
|
|
3571
|
+
"additionalProperties": {
|
|
3572
|
+
"type": "string",
|
|
3573
|
+
"maxLength": 200,
|
|
3574
|
+
"nullable": true
|
|
3575
|
+
},
|
|
3576
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
3528
3577
|
}
|
|
3529
3578
|
},
|
|
3530
3579
|
"required": [
|
|
3531
3580
|
"schema"
|
|
3532
3581
|
],
|
|
3533
|
-
"description": "Event Definition",
|
|
3534
3582
|
"nullable": true,
|
|
3535
3583
|
"additionalProperties": false
|
|
3536
3584
|
}
|
|
@@ -3586,16 +3634,16 @@ export const state = {
|
|
|
3586
3634
|
"type": "object",
|
|
3587
3635
|
"additionalProperties": {
|
|
3588
3636
|
"type": "string",
|
|
3589
|
-
"maxLength": 200
|
|
3637
|
+
"maxLength": 200,
|
|
3638
|
+
"nullable": true
|
|
3590
3639
|
},
|
|
3591
|
-
"description": "Optional attributes"
|
|
3640
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
3592
3641
|
}
|
|
3593
3642
|
},
|
|
3594
3643
|
"required": [
|
|
3595
3644
|
"input",
|
|
3596
3645
|
"output"
|
|
3597
3646
|
],
|
|
3598
|
-
"description": "Action definition",
|
|
3599
3647
|
"nullable": true,
|
|
3600
3648
|
"additionalProperties": false
|
|
3601
3649
|
}
|
|
@@ -7222,6 +7270,14 @@ export const state = {
|
|
|
7222
7270
|
"schema": {
|
|
7223
7271
|
"type": "object",
|
|
7224
7272
|
"additionalProperties": true
|
|
7273
|
+
},
|
|
7274
|
+
"attributes": {
|
|
7275
|
+
"type": "object",
|
|
7276
|
+
"additionalProperties": {
|
|
7277
|
+
"type": "string",
|
|
7278
|
+
"maxLength": 200
|
|
7279
|
+
},
|
|
7280
|
+
"description": "Optional attributes"
|
|
7225
7281
|
}
|
|
7226
7282
|
},
|
|
7227
7283
|
"required": [
|
|
@@ -7796,6 +7852,14 @@ export const state = {
|
|
|
7796
7852
|
"schema": {
|
|
7797
7853
|
"type": "object",
|
|
7798
7854
|
"additionalProperties": true
|
|
7855
|
+
},
|
|
7856
|
+
"attributes": {
|
|
7857
|
+
"type": "object",
|
|
7858
|
+
"additionalProperties": {
|
|
7859
|
+
"type": "string",
|
|
7860
|
+
"maxLength": 200
|
|
7861
|
+
},
|
|
7862
|
+
"description": "Optional attributes"
|
|
7799
7863
|
}
|
|
7800
7864
|
},
|
|
7801
7865
|
"required": [
|
|
@@ -8529,12 +8593,20 @@ export const state = {
|
|
|
8529
8593
|
"schema": {
|
|
8530
8594
|
"type": "object",
|
|
8531
8595
|
"additionalProperties": true
|
|
8596
|
+
},
|
|
8597
|
+
"attributes": {
|
|
8598
|
+
"type": "object",
|
|
8599
|
+
"additionalProperties": {
|
|
8600
|
+
"type": "string",
|
|
8601
|
+
"maxLength": 200,
|
|
8602
|
+
"nullable": true
|
|
8603
|
+
},
|
|
8604
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
8532
8605
|
}
|
|
8533
8606
|
},
|
|
8534
8607
|
"required": [
|
|
8535
8608
|
"schema"
|
|
8536
8609
|
],
|
|
8537
|
-
"description": "Event Definition",
|
|
8538
8610
|
"nullable": true,
|
|
8539
8611
|
"additionalProperties": false
|
|
8540
8612
|
}
|
|
@@ -9120,12 +9192,20 @@ export const state = {
|
|
|
9120
9192
|
"schema": {
|
|
9121
9193
|
"type": "object",
|
|
9122
9194
|
"additionalProperties": true
|
|
9195
|
+
},
|
|
9196
|
+
"attributes": {
|
|
9197
|
+
"type": "object",
|
|
9198
|
+
"additionalProperties": {
|
|
9199
|
+
"type": "string",
|
|
9200
|
+
"maxLength": 200,
|
|
9201
|
+
"nullable": true
|
|
9202
|
+
},
|
|
9203
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
9123
9204
|
}
|
|
9124
9205
|
},
|
|
9125
9206
|
"required": [
|
|
9126
9207
|
"schema"
|
|
9127
9208
|
],
|
|
9128
|
-
"description": "Event Definition",
|
|
9129
9209
|
"nullable": true,
|
|
9130
9210
|
"additionalProperties": false
|
|
9131
9211
|
}
|
|
@@ -9927,6 +10007,14 @@ export const state = {
|
|
|
9927
10007
|
"schema": {
|
|
9928
10008
|
"type": "object",
|
|
9929
10009
|
"additionalProperties": true
|
|
10010
|
+
},
|
|
10011
|
+
"attributes": {
|
|
10012
|
+
"type": "object",
|
|
10013
|
+
"additionalProperties": {
|
|
10014
|
+
"type": "string",
|
|
10015
|
+
"maxLength": 200
|
|
10016
|
+
},
|
|
10017
|
+
"description": "Optional attributes"
|
|
9930
10018
|
}
|
|
9931
10019
|
},
|
|
9932
10020
|
"required": [
|
|
@@ -10213,12 +10301,20 @@ export const state = {
|
|
|
10213
10301
|
"schema": {
|
|
10214
10302
|
"type": "object",
|
|
10215
10303
|
"additionalProperties": true
|
|
10304
|
+
},
|
|
10305
|
+
"attributes": {
|
|
10306
|
+
"type": "object",
|
|
10307
|
+
"additionalProperties": {
|
|
10308
|
+
"type": "string",
|
|
10309
|
+
"maxLength": 200,
|
|
10310
|
+
"nullable": true
|
|
10311
|
+
},
|
|
10312
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
10216
10313
|
}
|
|
10217
10314
|
},
|
|
10218
10315
|
"required": [
|
|
10219
10316
|
"schema"
|
|
10220
10317
|
],
|
|
10221
|
-
"description": "Event Definition",
|
|
10222
10318
|
"nullable": true,
|
|
10223
10319
|
"additionalProperties": false
|
|
10224
10320
|
}
|
|
@@ -10276,7 +10372,8 @@ export const state = {
|
|
|
10276
10372
|
"type": "string",
|
|
10277
10373
|
"maxLength": 200,
|
|
10278
10374
|
"nullable": true
|
|
10279
|
-
}
|
|
10375
|
+
},
|
|
10376
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
10280
10377
|
}
|
|
10281
10378
|
},
|
|
10282
10379
|
"required": [
|
|
@@ -10571,6 +10668,14 @@ export const state = {
|
|
|
10571
10668
|
"schema": {
|
|
10572
10669
|
"type": "object",
|
|
10573
10670
|
"additionalProperties": true
|
|
10671
|
+
},
|
|
10672
|
+
"attributes": {
|
|
10673
|
+
"type": "object",
|
|
10674
|
+
"additionalProperties": {
|
|
10675
|
+
"type": "string",
|
|
10676
|
+
"maxLength": 200
|
|
10677
|
+
},
|
|
10678
|
+
"description": "Optional attributes"
|
|
10574
10679
|
}
|
|
10575
10680
|
},
|
|
10576
10681
|
"required": [
|
|
@@ -10969,12 +11074,20 @@ export const state = {
|
|
|
10969
11074
|
"schema": {
|
|
10970
11075
|
"type": "object",
|
|
10971
11076
|
"additionalProperties": true
|
|
11077
|
+
},
|
|
11078
|
+
"attributes": {
|
|
11079
|
+
"type": "object",
|
|
11080
|
+
"additionalProperties": {
|
|
11081
|
+
"type": "string",
|
|
11082
|
+
"maxLength": 200,
|
|
11083
|
+
"nullable": true
|
|
11084
|
+
},
|
|
11085
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
10972
11086
|
}
|
|
10973
11087
|
},
|
|
10974
11088
|
"required": [
|
|
10975
11089
|
"schema"
|
|
10976
11090
|
],
|
|
10977
|
-
"description": "Event Definition",
|
|
10978
11091
|
"nullable": true,
|
|
10979
11092
|
"additionalProperties": false
|
|
10980
11093
|
}
|
|
@@ -11030,16 +11143,16 @@ export const state = {
|
|
|
11030
11143
|
"type": "object",
|
|
11031
11144
|
"additionalProperties": {
|
|
11032
11145
|
"type": "string",
|
|
11033
|
-
"maxLength": 200
|
|
11146
|
+
"maxLength": 200,
|
|
11147
|
+
"nullable": true
|
|
11034
11148
|
},
|
|
11035
|
-
"description": "Optional attributes"
|
|
11149
|
+
"description": "Optional attributes. Set attributes to null to remove them"
|
|
11036
11150
|
}
|
|
11037
11151
|
},
|
|
11038
11152
|
"required": [
|
|
11039
11153
|
"input",
|
|
11040
11154
|
"output"
|
|
11041
11155
|
],
|
|
11042
|
-
"description": "Action definition",
|
|
11043
11156
|
"nullable": true,
|
|
11044
11157
|
"additionalProperties": false
|
|
11045
11158
|
}
|
|
@@ -11877,7 +11990,7 @@ export const state = {
|
|
|
11877
11990
|
"title": "Botpress API",
|
|
11878
11991
|
"description": "API for Botpress Cloud",
|
|
11879
11992
|
"server": "https://api.botpress.cloud",
|
|
11880
|
-
"version": "1.
|
|
11993
|
+
"version": "1.9.0",
|
|
11881
11994
|
"prefix": "v1"
|
|
11882
11995
|
},
|
|
11883
11996
|
"errors": [
|
|
@@ -12471,6 +12584,14 @@ export const state = {
|
|
|
12471
12584
|
"schema": {
|
|
12472
12585
|
"type": "object",
|
|
12473
12586
|
"additionalProperties": true
|
|
12587
|
+
},
|
|
12588
|
+
"attributes": {
|
|
12589
|
+
"type": "object",
|
|
12590
|
+
"additionalProperties": {
|
|
12591
|
+
"type": "string",
|
|
12592
|
+
"maxLength": 200
|
|
12593
|
+
},
|
|
12594
|
+
"description": "Optional attributes"
|
|
12474
12595
|
}
|
|
12475
12596
|
},
|
|
12476
12597
|
"required": [
|
|
@@ -13123,6 +13244,14 @@ export const state = {
|
|
|
13123
13244
|
"schema": {
|
|
13124
13245
|
"type": "object",
|
|
13125
13246
|
"additionalProperties": true
|
|
13247
|
+
},
|
|
13248
|
+
"attributes": {
|
|
13249
|
+
"type": "object",
|
|
13250
|
+
"additionalProperties": {
|
|
13251
|
+
"type": "string",
|
|
13252
|
+
"maxLength": 200
|
|
13253
|
+
},
|
|
13254
|
+
"description": "Optional attributes"
|
|
13126
13255
|
}
|
|
13127
13256
|
},
|
|
13128
13257
|
"required": [
|
|
@@ -13426,6 +13555,14 @@ export const state = {
|
|
|
13426
13555
|
"schema": {
|
|
13427
13556
|
"type": "object",
|
|
13428
13557
|
"additionalProperties": true
|
|
13558
|
+
},
|
|
13559
|
+
"attributes": {
|
|
13560
|
+
"type": "object",
|
|
13561
|
+
"additionalProperties": {
|
|
13562
|
+
"type": "string",
|
|
13563
|
+
"maxLength": 200
|
|
13564
|
+
},
|
|
13565
|
+
"description": "Optional attributes"
|
|
13429
13566
|
}
|
|
13430
13567
|
},
|
|
13431
13568
|
"required": [
|
|
@@ -13679,6 +13816,14 @@ export const state = {
|
|
|
13679
13816
|
"schema": {
|
|
13680
13817
|
"type": "object",
|
|
13681
13818
|
"additionalProperties": true
|
|
13819
|
+
},
|
|
13820
|
+
"attributes": {
|
|
13821
|
+
"type": "object",
|
|
13822
|
+
"additionalProperties": {
|
|
13823
|
+
"type": "string",
|
|
13824
|
+
"maxLength": 200
|
|
13825
|
+
},
|
|
13826
|
+
"description": "Optional attributes"
|
|
13682
13827
|
}
|
|
13683
13828
|
},
|
|
13684
13829
|
"required": [
|