@botpress/api 1.15.0 → 1.16.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 +468 -15
- package/dist/src/gen/admin/state.d.ts +89 -0
- package/dist/src/gen/files/state.d.ts +67 -0
- package/dist/src/gen/runtime/state.d.ts +67 -0
- package/dist/src/gen/state.d.ts +89 -0
- package/dist/src/gen/tables/state.d.ts +67 -0
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +111 -6
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +82 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +82 -1
- package/src/gen/state.ts +111 -6
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +82 -1
package/src/gen/runtime/state.ts
CHANGED
|
@@ -2604,7 +2604,7 @@ export const state = {
|
|
|
2604
2604
|
"title": "Botpress API",
|
|
2605
2605
|
"description": "API for Botpress Cloud",
|
|
2606
2606
|
"server": "https://api.botpress.cloud",
|
|
2607
|
-
"version": "1.
|
|
2607
|
+
"version": "1.16.0",
|
|
2608
2608
|
"prefix": "v1"
|
|
2609
2609
|
},
|
|
2610
2610
|
"errors": [
|
|
@@ -2989,6 +2989,86 @@ export const state = {
|
|
|
2989
2989
|
},
|
|
2990
2990
|
"description": "A mapping of integrations to their configuration"
|
|
2991
2991
|
},
|
|
2992
|
+
"plugins": {
|
|
2993
|
+
"type": "object",
|
|
2994
|
+
"additionalProperties": {
|
|
2995
|
+
"type": "object",
|
|
2996
|
+
"properties": {
|
|
2997
|
+
"enabled": {
|
|
2998
|
+
"type": "boolean"
|
|
2999
|
+
},
|
|
3000
|
+
"name": {
|
|
3001
|
+
"type": "string",
|
|
3002
|
+
"maxLength": 200,
|
|
3003
|
+
"description": "Name of the [Plugin](#schema_plugin)"
|
|
3004
|
+
},
|
|
3005
|
+
"version": {
|
|
3006
|
+
"type": "string",
|
|
3007
|
+
"maxLength": 200,
|
|
3008
|
+
"description": "Version of the [Plugin](#schema_plugin)"
|
|
3009
|
+
},
|
|
3010
|
+
"configuration": {
|
|
3011
|
+
"type": "object",
|
|
3012
|
+
"additionalProperties": true
|
|
3013
|
+
},
|
|
3014
|
+
"id": {
|
|
3015
|
+
"type": "string",
|
|
3016
|
+
"minLength": 28,
|
|
3017
|
+
"maxLength": 36,
|
|
3018
|
+
"description": "ID of the [Plugin](#schema_plugin)"
|
|
3019
|
+
},
|
|
3020
|
+
"createdAt": {
|
|
3021
|
+
"type": "string",
|
|
3022
|
+
"format": "date-time",
|
|
3023
|
+
"description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
3024
|
+
},
|
|
3025
|
+
"updatedAt": {
|
|
3026
|
+
"type": "string",
|
|
3027
|
+
"format": "date-time",
|
|
3028
|
+
"description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
3029
|
+
},
|
|
3030
|
+
"title": {
|
|
3031
|
+
"type": "string",
|
|
3032
|
+
"minLength": 1,
|
|
3033
|
+
"maxLength": 64,
|
|
3034
|
+
"description": "Title of the plugin. This is the name that will be displayed in the UI"
|
|
3035
|
+
},
|
|
3036
|
+
"description": {
|
|
3037
|
+
"type": "string",
|
|
3038
|
+
"maxLength": 256,
|
|
3039
|
+
"description": "Description of the plugin. This is the description that will be displayed in the UI"
|
|
3040
|
+
},
|
|
3041
|
+
"iconUrl": {
|
|
3042
|
+
"type": "string",
|
|
3043
|
+
"description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
|
|
3044
|
+
},
|
|
3045
|
+
"readmeUrl": {
|
|
3046
|
+
"type": "string",
|
|
3047
|
+
"description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
|
|
3048
|
+
},
|
|
3049
|
+
"public": {
|
|
3050
|
+
"type": "boolean",
|
|
3051
|
+
"description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
|
|
3052
|
+
}
|
|
3053
|
+
},
|
|
3054
|
+
"required": [
|
|
3055
|
+
"enabled",
|
|
3056
|
+
"name",
|
|
3057
|
+
"version",
|
|
3058
|
+
"configuration",
|
|
3059
|
+
"id",
|
|
3060
|
+
"createdAt",
|
|
3061
|
+
"updatedAt",
|
|
3062
|
+
"title",
|
|
3063
|
+
"description",
|
|
3064
|
+
"iconUrl",
|
|
3065
|
+
"readmeUrl",
|
|
3066
|
+
"public"
|
|
3067
|
+
],
|
|
3068
|
+
"additionalProperties": false
|
|
3069
|
+
},
|
|
3070
|
+
"description": "A mapping of plugin aliases to their configuration"
|
|
3071
|
+
},
|
|
2992
3072
|
"user": {
|
|
2993
3073
|
"type": "object",
|
|
2994
3074
|
"properties": {
|
|
@@ -3366,6 +3446,7 @@ export const state = {
|
|
|
3366
3446
|
"updatedAt",
|
|
3367
3447
|
"signingSecret",
|
|
3368
3448
|
"integrations",
|
|
3449
|
+
"plugins",
|
|
3369
3450
|
"user",
|
|
3370
3451
|
"conversation",
|
|
3371
3452
|
"message",
|
package/src/gen/state.ts
CHANGED
|
@@ -7037,6 +7037,30 @@ export const state = {
|
|
|
7037
7037
|
"additionalProperties": false
|
|
7038
7038
|
}
|
|
7039
7039
|
},
|
|
7040
|
+
"plugins": {
|
|
7041
|
+
"type": "object",
|
|
7042
|
+
"additionalProperties": {
|
|
7043
|
+
"type": "object",
|
|
7044
|
+
"properties": {
|
|
7045
|
+
"id": {
|
|
7046
|
+
"type": "string"
|
|
7047
|
+
},
|
|
7048
|
+
"enabled": {
|
|
7049
|
+
"type": "boolean"
|
|
7050
|
+
},
|
|
7051
|
+
"configuration": {
|
|
7052
|
+
"type": "object",
|
|
7053
|
+
"additionalProperties": true
|
|
7054
|
+
}
|
|
7055
|
+
},
|
|
7056
|
+
"required": [
|
|
7057
|
+
"id"
|
|
7058
|
+
],
|
|
7059
|
+
"nullable": true,
|
|
7060
|
+
"additionalProperties": false
|
|
7061
|
+
},
|
|
7062
|
+
"description": "A mapping of plugin aliases to their configuration"
|
|
7063
|
+
},
|
|
7040
7064
|
"subscriptions": {
|
|
7041
7065
|
"type": "object",
|
|
7042
7066
|
"properties": {
|
|
@@ -14287,7 +14311,7 @@ export const state = {
|
|
|
14287
14311
|
},
|
|
14288
14312
|
"section": "plugin",
|
|
14289
14313
|
"response": {
|
|
14290
|
-
"description": "Get
|
|
14314
|
+
"description": "Get a plugin",
|
|
14291
14315
|
"schema": {
|
|
14292
14316
|
"type": "object",
|
|
14293
14317
|
"properties": {
|
|
@@ -14317,7 +14341,7 @@ export const state = {
|
|
|
14317
14341
|
},
|
|
14318
14342
|
"section": "plugin",
|
|
14319
14343
|
"response": {
|
|
14320
|
-
"description": "Get
|
|
14344
|
+
"description": "Get a plugin",
|
|
14321
14345
|
"schema": {
|
|
14322
14346
|
"type": "object",
|
|
14323
14347
|
"properties": {
|
|
@@ -14352,7 +14376,7 @@ export const state = {
|
|
|
14352
14376
|
},
|
|
14353
14377
|
"section": "plugin",
|
|
14354
14378
|
"response": {
|
|
14355
|
-
"description": "Get
|
|
14379
|
+
"description": "Get a plugin",
|
|
14356
14380
|
"schema": {
|
|
14357
14381
|
"type": "object",
|
|
14358
14382
|
"properties": {
|
|
@@ -14688,7 +14712,7 @@ export const state = {
|
|
|
14688
14712
|
},
|
|
14689
14713
|
"section": "plugin",
|
|
14690
14714
|
"response": {
|
|
14691
|
-
"description": "Update
|
|
14715
|
+
"description": "Update a plugin",
|
|
14692
14716
|
"schema": {
|
|
14693
14717
|
"type": "object",
|
|
14694
14718
|
"properties": {
|
|
@@ -14718,7 +14742,7 @@ export const state = {
|
|
|
14718
14742
|
},
|
|
14719
14743
|
"section": "plugin",
|
|
14720
14744
|
"response": {
|
|
14721
|
-
"description": "Delete
|
|
14745
|
+
"description": "Delete a plugin",
|
|
14722
14746
|
"schema": {
|
|
14723
14747
|
"type": "object",
|
|
14724
14748
|
"title": "deletePluginResponse",
|
|
@@ -18254,7 +18278,7 @@ export const state = {
|
|
|
18254
18278
|
"title": "Botpress API",
|
|
18255
18279
|
"description": "API for Botpress Cloud",
|
|
18256
18280
|
"server": "https://api.botpress.cloud",
|
|
18257
|
-
"version": "1.
|
|
18281
|
+
"version": "1.16.0",
|
|
18258
18282
|
"prefix": "v1"
|
|
18259
18283
|
},
|
|
18260
18284
|
"errors": [
|
|
@@ -18814,6 +18838,86 @@ export const state = {
|
|
|
18814
18838
|
},
|
|
18815
18839
|
"description": "A mapping of integrations to their configuration"
|
|
18816
18840
|
},
|
|
18841
|
+
"plugins": {
|
|
18842
|
+
"type": "object",
|
|
18843
|
+
"additionalProperties": {
|
|
18844
|
+
"type": "object",
|
|
18845
|
+
"properties": {
|
|
18846
|
+
"enabled": {
|
|
18847
|
+
"type": "boolean"
|
|
18848
|
+
},
|
|
18849
|
+
"name": {
|
|
18850
|
+
"type": "string",
|
|
18851
|
+
"maxLength": 200,
|
|
18852
|
+
"description": "Name of the [Plugin](#schema_plugin)"
|
|
18853
|
+
},
|
|
18854
|
+
"version": {
|
|
18855
|
+
"type": "string",
|
|
18856
|
+
"maxLength": 200,
|
|
18857
|
+
"description": "Version of the [Plugin](#schema_plugin)"
|
|
18858
|
+
},
|
|
18859
|
+
"configuration": {
|
|
18860
|
+
"type": "object",
|
|
18861
|
+
"additionalProperties": true
|
|
18862
|
+
},
|
|
18863
|
+
"id": {
|
|
18864
|
+
"type": "string",
|
|
18865
|
+
"minLength": 28,
|
|
18866
|
+
"maxLength": 36,
|
|
18867
|
+
"description": "ID of the [Plugin](#schema_plugin)"
|
|
18868
|
+
},
|
|
18869
|
+
"createdAt": {
|
|
18870
|
+
"type": "string",
|
|
18871
|
+
"format": "date-time",
|
|
18872
|
+
"description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
18873
|
+
},
|
|
18874
|
+
"updatedAt": {
|
|
18875
|
+
"type": "string",
|
|
18876
|
+
"format": "date-time",
|
|
18877
|
+
"description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
|
|
18878
|
+
},
|
|
18879
|
+
"title": {
|
|
18880
|
+
"type": "string",
|
|
18881
|
+
"minLength": 1,
|
|
18882
|
+
"maxLength": 64,
|
|
18883
|
+
"description": "Title of the plugin. This is the name that will be displayed in the UI"
|
|
18884
|
+
},
|
|
18885
|
+
"description": {
|
|
18886
|
+
"type": "string",
|
|
18887
|
+
"maxLength": 256,
|
|
18888
|
+
"description": "Description of the plugin. This is the description that will be displayed in the UI"
|
|
18889
|
+
},
|
|
18890
|
+
"iconUrl": {
|
|
18891
|
+
"type": "string",
|
|
18892
|
+
"description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
|
|
18893
|
+
},
|
|
18894
|
+
"readmeUrl": {
|
|
18895
|
+
"type": "string",
|
|
18896
|
+
"description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
|
|
18897
|
+
},
|
|
18898
|
+
"public": {
|
|
18899
|
+
"type": "boolean",
|
|
18900
|
+
"description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
|
|
18901
|
+
}
|
|
18902
|
+
},
|
|
18903
|
+
"required": [
|
|
18904
|
+
"enabled",
|
|
18905
|
+
"name",
|
|
18906
|
+
"version",
|
|
18907
|
+
"configuration",
|
|
18908
|
+
"id",
|
|
18909
|
+
"createdAt",
|
|
18910
|
+
"updatedAt",
|
|
18911
|
+
"title",
|
|
18912
|
+
"description",
|
|
18913
|
+
"iconUrl",
|
|
18914
|
+
"readmeUrl",
|
|
18915
|
+
"public"
|
|
18916
|
+
],
|
|
18917
|
+
"additionalProperties": false
|
|
18918
|
+
},
|
|
18919
|
+
"description": "A mapping of plugin aliases to their configuration"
|
|
18920
|
+
},
|
|
18817
18921
|
"user": {
|
|
18818
18922
|
"type": "object",
|
|
18819
18923
|
"properties": {
|
|
@@ -19191,6 +19295,7 @@ export const state = {
|
|
|
19191
19295
|
"updatedAt",
|
|
19192
19296
|
"signingSecret",
|
|
19193
19297
|
"integrations",
|
|
19298
|
+
"plugins",
|
|
19194
19299
|
"user",
|
|
19195
19300
|
"conversation",
|
|
19196
19301
|
"message",
|