@botpress/api 0.44.0 → 0.44.1
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 +241 -45
- package/dist/src/gen/state.d.ts +194 -13
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +241 -45
package/src/gen/state.ts
CHANGED
|
@@ -3089,7 +3089,8 @@ export const state = {
|
|
|
3089
3089
|
"id": {
|
|
3090
3090
|
"type": "string",
|
|
3091
3091
|
"minLength": 28,
|
|
3092
|
-
"maxLength": 36
|
|
3092
|
+
"maxLength": 36,
|
|
3093
|
+
"description": "ID of the interface"
|
|
3093
3094
|
},
|
|
3094
3095
|
"name": {
|
|
3095
3096
|
"type": "string",
|
|
@@ -3143,6 +3144,22 @@ export const state = {
|
|
|
3143
3144
|
],
|
|
3144
3145
|
"additionalProperties": false
|
|
3145
3146
|
}
|
|
3147
|
+
},
|
|
3148
|
+
"channels": {
|
|
3149
|
+
"type": "object",
|
|
3150
|
+
"additionalProperties": {
|
|
3151
|
+
"type": "object",
|
|
3152
|
+
"properties": {
|
|
3153
|
+
"name": {
|
|
3154
|
+
"type": "string",
|
|
3155
|
+
"maxLength": 200
|
|
3156
|
+
}
|
|
3157
|
+
},
|
|
3158
|
+
"required": [
|
|
3159
|
+
"name"
|
|
3160
|
+
],
|
|
3161
|
+
"additionalProperties": false
|
|
3162
|
+
}
|
|
3146
3163
|
}
|
|
3147
3164
|
},
|
|
3148
3165
|
"required": [
|
|
@@ -3150,7 +3167,8 @@ export const state = {
|
|
|
3150
3167
|
"name",
|
|
3151
3168
|
"entities",
|
|
3152
3169
|
"actions",
|
|
3153
|
-
"events"
|
|
3170
|
+
"events",
|
|
3171
|
+
"channels"
|
|
3154
3172
|
],
|
|
3155
3173
|
"additionalProperties": false
|
|
3156
3174
|
}
|
|
@@ -3747,7 +3765,8 @@ export const state = {
|
|
|
3747
3765
|
"id": {
|
|
3748
3766
|
"type": "string",
|
|
3749
3767
|
"minLength": 28,
|
|
3750
|
-
"maxLength": 36
|
|
3768
|
+
"maxLength": 36,
|
|
3769
|
+
"description": "ID of the interface"
|
|
3751
3770
|
},
|
|
3752
3771
|
"name": {
|
|
3753
3772
|
"type": "string",
|
|
@@ -3801,6 +3820,22 @@ export const state = {
|
|
|
3801
3820
|
],
|
|
3802
3821
|
"additionalProperties": false
|
|
3803
3822
|
}
|
|
3823
|
+
},
|
|
3824
|
+
"channels": {
|
|
3825
|
+
"type": "object",
|
|
3826
|
+
"additionalProperties": {
|
|
3827
|
+
"type": "object",
|
|
3828
|
+
"properties": {
|
|
3829
|
+
"name": {
|
|
3830
|
+
"type": "string",
|
|
3831
|
+
"maxLength": 200
|
|
3832
|
+
}
|
|
3833
|
+
},
|
|
3834
|
+
"required": [
|
|
3835
|
+
"name"
|
|
3836
|
+
],
|
|
3837
|
+
"additionalProperties": false
|
|
3838
|
+
}
|
|
3804
3839
|
}
|
|
3805
3840
|
},
|
|
3806
3841
|
"required": [
|
|
@@ -3808,7 +3843,8 @@ export const state = {
|
|
|
3808
3843
|
"name",
|
|
3809
3844
|
"entities",
|
|
3810
3845
|
"actions",
|
|
3811
|
-
"events"
|
|
3846
|
+
"events",
|
|
3847
|
+
"channels"
|
|
3812
3848
|
],
|
|
3813
3849
|
"additionalProperties": false
|
|
3814
3850
|
}
|
|
@@ -8389,7 +8425,8 @@ export const state = {
|
|
|
8389
8425
|
"id": {
|
|
8390
8426
|
"type": "string",
|
|
8391
8427
|
"minLength": 28,
|
|
8392
|
-
"maxLength": 36
|
|
8428
|
+
"maxLength": 36,
|
|
8429
|
+
"description": "ID of the interface"
|
|
8393
8430
|
},
|
|
8394
8431
|
"entities": {
|
|
8395
8432
|
"type": "object",
|
|
@@ -8438,13 +8475,26 @@ export const state = {
|
|
|
8438
8475
|
],
|
|
8439
8476
|
"additionalProperties": false
|
|
8440
8477
|
}
|
|
8478
|
+
},
|
|
8479
|
+
"channels": {
|
|
8480
|
+
"type": "object",
|
|
8481
|
+
"additionalProperties": {
|
|
8482
|
+
"type": "object",
|
|
8483
|
+
"properties": {
|
|
8484
|
+
"name": {
|
|
8485
|
+
"type": "string",
|
|
8486
|
+
"maxLength": 200
|
|
8487
|
+
}
|
|
8488
|
+
},
|
|
8489
|
+
"required": [
|
|
8490
|
+
"name"
|
|
8491
|
+
],
|
|
8492
|
+
"additionalProperties": false
|
|
8493
|
+
}
|
|
8441
8494
|
}
|
|
8442
8495
|
},
|
|
8443
8496
|
"required": [
|
|
8444
|
-
"id"
|
|
8445
|
-
"entities",
|
|
8446
|
-
"actions",
|
|
8447
|
-
"events"
|
|
8497
|
+
"id"
|
|
8448
8498
|
],
|
|
8449
8499
|
"additionalProperties": false
|
|
8450
8500
|
}
|
|
@@ -8941,7 +8991,8 @@ export const state = {
|
|
|
8941
8991
|
"id": {
|
|
8942
8992
|
"type": "string",
|
|
8943
8993
|
"minLength": 28,
|
|
8944
|
-
"maxLength": 36
|
|
8994
|
+
"maxLength": 36,
|
|
8995
|
+
"description": "ID of the interface"
|
|
8945
8996
|
},
|
|
8946
8997
|
"entities": {
|
|
8947
8998
|
"type": "object",
|
|
@@ -8990,13 +9041,26 @@ export const state = {
|
|
|
8990
9041
|
],
|
|
8991
9042
|
"additionalProperties": false
|
|
8992
9043
|
}
|
|
9044
|
+
},
|
|
9045
|
+
"channels": {
|
|
9046
|
+
"type": "object",
|
|
9047
|
+
"additionalProperties": {
|
|
9048
|
+
"type": "object",
|
|
9049
|
+
"properties": {
|
|
9050
|
+
"name": {
|
|
9051
|
+
"type": "string",
|
|
9052
|
+
"maxLength": 200
|
|
9053
|
+
}
|
|
9054
|
+
},
|
|
9055
|
+
"required": [
|
|
9056
|
+
"name"
|
|
9057
|
+
],
|
|
9058
|
+
"additionalProperties": false
|
|
9059
|
+
}
|
|
8993
9060
|
}
|
|
8994
9061
|
},
|
|
8995
9062
|
"required": [
|
|
8996
|
-
"id"
|
|
8997
|
-
"entities",
|
|
8998
|
-
"actions",
|
|
8999
|
-
"events"
|
|
9063
|
+
"id"
|
|
9000
9064
|
],
|
|
9001
9065
|
"nullable": true,
|
|
9002
9066
|
"additionalProperties": false
|
|
@@ -9403,6 +9467,33 @@ export const state = {
|
|
|
9403
9467
|
"maxLength": 200,
|
|
9404
9468
|
"description": "Version of the [Interface](#schema_interface)"
|
|
9405
9469
|
},
|
|
9470
|
+
"entities": {
|
|
9471
|
+
"type": "object",
|
|
9472
|
+
"additionalProperties": {
|
|
9473
|
+
"type": "object",
|
|
9474
|
+
"properties": {
|
|
9475
|
+
"title": {
|
|
9476
|
+
"type": "string",
|
|
9477
|
+
"maxLength": 64,
|
|
9478
|
+
"description": "Title of the entity"
|
|
9479
|
+
},
|
|
9480
|
+
"description": {
|
|
9481
|
+
"type": "string",
|
|
9482
|
+
"maxLength": 256,
|
|
9483
|
+
"description": "Description of the entity"
|
|
9484
|
+
},
|
|
9485
|
+
"schema": {
|
|
9486
|
+
"type": "object",
|
|
9487
|
+
"additionalProperties": true
|
|
9488
|
+
}
|
|
9489
|
+
},
|
|
9490
|
+
"required": [
|
|
9491
|
+
"schema"
|
|
9492
|
+
],
|
|
9493
|
+
"description": "Entity definition",
|
|
9494
|
+
"additionalProperties": false
|
|
9495
|
+
}
|
|
9496
|
+
},
|
|
9406
9497
|
"events": {
|
|
9407
9498
|
"type": "object",
|
|
9408
9499
|
"additionalProperties": {
|
|
@@ -9486,7 +9577,7 @@ export const state = {
|
|
|
9486
9577
|
"additionalProperties": false
|
|
9487
9578
|
}
|
|
9488
9579
|
},
|
|
9489
|
-
"
|
|
9580
|
+
"channels": {
|
|
9490
9581
|
"type": "object",
|
|
9491
9582
|
"additionalProperties": {
|
|
9492
9583
|
"type": "object",
|
|
@@ -9494,22 +9585,34 @@ export const state = {
|
|
|
9494
9585
|
"title": {
|
|
9495
9586
|
"type": "string",
|
|
9496
9587
|
"maxLength": 64,
|
|
9497
|
-
"description": "Title of the
|
|
9588
|
+
"description": "Title of the channel"
|
|
9498
9589
|
},
|
|
9499
9590
|
"description": {
|
|
9500
9591
|
"type": "string",
|
|
9501
9592
|
"maxLength": 256,
|
|
9502
|
-
"description": "Description of the
|
|
9593
|
+
"description": "Description of the channel"
|
|
9503
9594
|
},
|
|
9504
|
-
"
|
|
9595
|
+
"messages": {
|
|
9505
9596
|
"type": "object",
|
|
9506
|
-
"additionalProperties":
|
|
9597
|
+
"additionalProperties": {
|
|
9598
|
+
"type": "object",
|
|
9599
|
+
"properties": {
|
|
9600
|
+
"schema": {
|
|
9601
|
+
"type": "object",
|
|
9602
|
+
"additionalProperties": true
|
|
9603
|
+
}
|
|
9604
|
+
},
|
|
9605
|
+
"required": [
|
|
9606
|
+
"schema"
|
|
9607
|
+
],
|
|
9608
|
+
"description": "Message definition",
|
|
9609
|
+
"additionalProperties": false
|
|
9610
|
+
}
|
|
9507
9611
|
}
|
|
9508
9612
|
},
|
|
9509
9613
|
"required": [
|
|
9510
|
-
"
|
|
9614
|
+
"messages"
|
|
9511
9615
|
],
|
|
9512
|
-
"description": "Entity definition",
|
|
9513
9616
|
"additionalProperties": false
|
|
9514
9617
|
}
|
|
9515
9618
|
},
|
|
@@ -9535,10 +9638,7 @@ export const state = {
|
|
|
9535
9638
|
},
|
|
9536
9639
|
"required": [
|
|
9537
9640
|
"name",
|
|
9538
|
-
"version"
|
|
9539
|
-
"events",
|
|
9540
|
-
"actions",
|
|
9541
|
-
"entities"
|
|
9641
|
+
"version"
|
|
9542
9642
|
],
|
|
9543
9643
|
"title": "createInterfaceBody",
|
|
9544
9644
|
"additionalProperties": false
|
|
@@ -9644,6 +9744,34 @@ export const state = {
|
|
|
9644
9744
|
"schema": {
|
|
9645
9745
|
"type": "object",
|
|
9646
9746
|
"properties": {
|
|
9747
|
+
"entities": {
|
|
9748
|
+
"type": "object",
|
|
9749
|
+
"additionalProperties": {
|
|
9750
|
+
"type": "object",
|
|
9751
|
+
"properties": {
|
|
9752
|
+
"title": {
|
|
9753
|
+
"type": "string",
|
|
9754
|
+
"maxLength": 64,
|
|
9755
|
+
"description": "Title of the entity"
|
|
9756
|
+
},
|
|
9757
|
+
"description": {
|
|
9758
|
+
"type": "string",
|
|
9759
|
+
"maxLength": 256,
|
|
9760
|
+
"description": "Description of the entity"
|
|
9761
|
+
},
|
|
9762
|
+
"schema": {
|
|
9763
|
+
"type": "object",
|
|
9764
|
+
"additionalProperties": true
|
|
9765
|
+
}
|
|
9766
|
+
},
|
|
9767
|
+
"required": [
|
|
9768
|
+
"schema"
|
|
9769
|
+
],
|
|
9770
|
+
"description": "Entity definition",
|
|
9771
|
+
"nullable": true,
|
|
9772
|
+
"additionalProperties": false
|
|
9773
|
+
}
|
|
9774
|
+
},
|
|
9647
9775
|
"events": {
|
|
9648
9776
|
"type": "object",
|
|
9649
9777
|
"additionalProperties": {
|
|
@@ -9729,7 +9857,7 @@ export const state = {
|
|
|
9729
9857
|
"additionalProperties": false
|
|
9730
9858
|
}
|
|
9731
9859
|
},
|
|
9732
|
-
"
|
|
9860
|
+
"channels": {
|
|
9733
9861
|
"type": "object",
|
|
9734
9862
|
"additionalProperties": {
|
|
9735
9863
|
"type": "object",
|
|
@@ -9737,22 +9865,32 @@ export const state = {
|
|
|
9737
9865
|
"title": {
|
|
9738
9866
|
"type": "string",
|
|
9739
9867
|
"maxLength": 64,
|
|
9740
|
-
"description": "Title of the
|
|
9868
|
+
"description": "Title of the channel"
|
|
9741
9869
|
},
|
|
9742
9870
|
"description": {
|
|
9743
9871
|
"type": "string",
|
|
9744
9872
|
"maxLength": 256,
|
|
9745
|
-
"description": "Description of the
|
|
9873
|
+
"description": "Description of the channel"
|
|
9746
9874
|
},
|
|
9747
|
-
"
|
|
9875
|
+
"messages": {
|
|
9748
9876
|
"type": "object",
|
|
9749
|
-
"additionalProperties":
|
|
9877
|
+
"additionalProperties": {
|
|
9878
|
+
"type": "object",
|
|
9879
|
+
"properties": {
|
|
9880
|
+
"schema": {
|
|
9881
|
+
"type": "object",
|
|
9882
|
+
"additionalProperties": true
|
|
9883
|
+
}
|
|
9884
|
+
},
|
|
9885
|
+
"required": [
|
|
9886
|
+
"schema"
|
|
9887
|
+
],
|
|
9888
|
+
"description": "Message definition",
|
|
9889
|
+
"nullable": true,
|
|
9890
|
+
"additionalProperties": false
|
|
9891
|
+
}
|
|
9750
9892
|
}
|
|
9751
9893
|
},
|
|
9752
|
-
"required": [
|
|
9753
|
-
"schema"
|
|
9754
|
-
],
|
|
9755
|
-
"description": "Entity definition",
|
|
9756
9894
|
"nullable": true,
|
|
9757
9895
|
"additionalProperties": false
|
|
9758
9896
|
}
|
|
@@ -12091,7 +12229,7 @@ export const state = {
|
|
|
12091
12229
|
"title": "Botpress API",
|
|
12092
12230
|
"description": "API for Botpress Cloud",
|
|
12093
12231
|
"server": "https://api.botpress.cloud",
|
|
12094
|
-
"version": "0.44.
|
|
12232
|
+
"version": "0.44.1",
|
|
12095
12233
|
"prefix": "v1"
|
|
12096
12234
|
},
|
|
12097
12235
|
"errors": [
|
|
@@ -13030,7 +13168,8 @@ export const state = {
|
|
|
13030
13168
|
"id": {
|
|
13031
13169
|
"type": "string",
|
|
13032
13170
|
"minLength": 28,
|
|
13033
|
-
"maxLength": 36
|
|
13171
|
+
"maxLength": 36,
|
|
13172
|
+
"description": "ID of the interface"
|
|
13034
13173
|
},
|
|
13035
13174
|
"name": {
|
|
13036
13175
|
"type": "string",
|
|
@@ -13084,6 +13223,22 @@ export const state = {
|
|
|
13084
13223
|
],
|
|
13085
13224
|
"additionalProperties": false
|
|
13086
13225
|
}
|
|
13226
|
+
},
|
|
13227
|
+
"channels": {
|
|
13228
|
+
"type": "object",
|
|
13229
|
+
"additionalProperties": {
|
|
13230
|
+
"type": "object",
|
|
13231
|
+
"properties": {
|
|
13232
|
+
"name": {
|
|
13233
|
+
"type": "string",
|
|
13234
|
+
"maxLength": 200
|
|
13235
|
+
}
|
|
13236
|
+
},
|
|
13237
|
+
"required": [
|
|
13238
|
+
"name"
|
|
13239
|
+
],
|
|
13240
|
+
"additionalProperties": false
|
|
13241
|
+
}
|
|
13087
13242
|
}
|
|
13088
13243
|
},
|
|
13089
13244
|
"required": [
|
|
@@ -13091,7 +13246,8 @@ export const state = {
|
|
|
13091
13246
|
"name",
|
|
13092
13247
|
"entities",
|
|
13093
13248
|
"actions",
|
|
13094
|
-
"events"
|
|
13249
|
+
"events",
|
|
13250
|
+
"channels"
|
|
13095
13251
|
],
|
|
13096
13252
|
"additionalProperties": false
|
|
13097
13253
|
}
|
|
@@ -13604,6 +13760,33 @@ export const state = {
|
|
|
13604
13760
|
"maxLength": 200,
|
|
13605
13761
|
"description": "Version of the [Interface](#schema_interface)"
|
|
13606
13762
|
},
|
|
13763
|
+
"entities": {
|
|
13764
|
+
"type": "object",
|
|
13765
|
+
"additionalProperties": {
|
|
13766
|
+
"type": "object",
|
|
13767
|
+
"properties": {
|
|
13768
|
+
"title": {
|
|
13769
|
+
"type": "string",
|
|
13770
|
+
"maxLength": 64,
|
|
13771
|
+
"description": "Title of the entity"
|
|
13772
|
+
},
|
|
13773
|
+
"description": {
|
|
13774
|
+
"type": "string",
|
|
13775
|
+
"maxLength": 256,
|
|
13776
|
+
"description": "Description of the entity"
|
|
13777
|
+
},
|
|
13778
|
+
"schema": {
|
|
13779
|
+
"type": "object",
|
|
13780
|
+
"additionalProperties": true
|
|
13781
|
+
}
|
|
13782
|
+
},
|
|
13783
|
+
"required": [
|
|
13784
|
+
"schema"
|
|
13785
|
+
],
|
|
13786
|
+
"description": "Entity definition",
|
|
13787
|
+
"additionalProperties": false
|
|
13788
|
+
}
|
|
13789
|
+
},
|
|
13607
13790
|
"events": {
|
|
13608
13791
|
"type": "object",
|
|
13609
13792
|
"additionalProperties": {
|
|
@@ -13687,7 +13870,7 @@ export const state = {
|
|
|
13687
13870
|
"additionalProperties": false
|
|
13688
13871
|
}
|
|
13689
13872
|
},
|
|
13690
|
-
"
|
|
13873
|
+
"channels": {
|
|
13691
13874
|
"type": "object",
|
|
13692
13875
|
"additionalProperties": {
|
|
13693
13876
|
"type": "object",
|
|
@@ -13695,22 +13878,34 @@ export const state = {
|
|
|
13695
13878
|
"title": {
|
|
13696
13879
|
"type": "string",
|
|
13697
13880
|
"maxLength": 64,
|
|
13698
|
-
"description": "Title of the
|
|
13881
|
+
"description": "Title of the channel"
|
|
13699
13882
|
},
|
|
13700
13883
|
"description": {
|
|
13701
13884
|
"type": "string",
|
|
13702
13885
|
"maxLength": 256,
|
|
13703
|
-
"description": "Description of the
|
|
13886
|
+
"description": "Description of the channel"
|
|
13704
13887
|
},
|
|
13705
|
-
"
|
|
13888
|
+
"messages": {
|
|
13706
13889
|
"type": "object",
|
|
13707
|
-
"additionalProperties":
|
|
13890
|
+
"additionalProperties": {
|
|
13891
|
+
"type": "object",
|
|
13892
|
+
"properties": {
|
|
13893
|
+
"schema": {
|
|
13894
|
+
"type": "object",
|
|
13895
|
+
"additionalProperties": true
|
|
13896
|
+
}
|
|
13897
|
+
},
|
|
13898
|
+
"required": [
|
|
13899
|
+
"schema"
|
|
13900
|
+
],
|
|
13901
|
+
"description": "Message definition",
|
|
13902
|
+
"additionalProperties": false
|
|
13903
|
+
}
|
|
13708
13904
|
}
|
|
13709
13905
|
},
|
|
13710
13906
|
"required": [
|
|
13711
|
-
"
|
|
13907
|
+
"messages"
|
|
13712
13908
|
],
|
|
13713
|
-
"description": "Entity definition",
|
|
13714
13909
|
"additionalProperties": false
|
|
13715
13910
|
}
|
|
13716
13911
|
},
|
|
@@ -13740,9 +13935,10 @@ export const state = {
|
|
|
13740
13935
|
"updatedAt",
|
|
13741
13936
|
"name",
|
|
13742
13937
|
"version",
|
|
13938
|
+
"entities",
|
|
13743
13939
|
"events",
|
|
13744
13940
|
"actions",
|
|
13745
|
-
"
|
|
13941
|
+
"channels"
|
|
13746
13942
|
],
|
|
13747
13943
|
"additionalProperties": false
|
|
13748
13944
|
}
|