@botpress/api 1.14.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.
@@ -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.14.0",
2607
+ "version": "1.16.0",
2608
2608
  "prefix": "v1"
2609
2609
  },
2610
2610
  "errors": [
@@ -2911,6 +2911,14 @@ export const state = {
2911
2911
  "maxLength": 2000,
2912
2912
  "nullable": true
2913
2913
  },
2914
+ "disabledChannels": {
2915
+ "type": "array",
2916
+ "items": {
2917
+ "type": "string",
2918
+ "description": "Channel name"
2919
+ },
2920
+ "description": "Disabled channels for this integration"
2921
+ },
2914
2922
  "id": {
2915
2923
  "type": "string",
2916
2924
  "minLength": 28,
@@ -2967,6 +2975,7 @@ export const state = {
2967
2975
  "configuration",
2968
2976
  "status",
2969
2977
  "statusReason",
2978
+ "disabledChannels",
2970
2979
  "id",
2971
2980
  "createdAt",
2972
2981
  "updatedAt",
@@ -2980,6 +2989,86 @@ export const state = {
2980
2989
  },
2981
2990
  "description": "A mapping of integrations to their configuration"
2982
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
+ },
2983
3072
  "user": {
2984
3073
  "type": "object",
2985
3074
  "properties": {
@@ -3357,6 +3446,7 @@ export const state = {
3357
3446
  "updatedAt",
3358
3447
  "signingSecret",
3359
3448
  "integrations",
3449
+ "plugins",
3360
3450
  "user",
3361
3451
  "conversation",
3362
3452
  "message",
package/src/gen/state.ts CHANGED
@@ -7023,12 +7023,44 @@ export const state = {
7023
7023
  "configuration": {
7024
7024
  "type": "object",
7025
7025
  "additionalProperties": true
7026
+ },
7027
+ "disabledChannels": {
7028
+ "type": "array",
7029
+ "items": {
7030
+ "type": "string",
7031
+ "description": "Channel name"
7032
+ },
7033
+ "description": "Disabled channels for this integration"
7026
7034
  }
7027
7035
  },
7028
7036
  "nullable": true,
7029
7037
  "additionalProperties": false
7030
7038
  }
7031
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
+ },
7032
7064
  "subscriptions": {
7033
7065
  "type": "object",
7034
7066
  "properties": {
@@ -14279,7 +14311,7 @@ export const state = {
14279
14311
  },
14280
14312
  "section": "plugin",
14281
14313
  "response": {
14282
- "description": "Get an plugin",
14314
+ "description": "Get a plugin",
14283
14315
  "schema": {
14284
14316
  "type": "object",
14285
14317
  "properties": {
@@ -14309,7 +14341,7 @@ export const state = {
14309
14341
  },
14310
14342
  "section": "plugin",
14311
14343
  "response": {
14312
- "description": "Get an plugin",
14344
+ "description": "Get a plugin",
14313
14345
  "schema": {
14314
14346
  "type": "object",
14315
14347
  "properties": {
@@ -14344,7 +14376,7 @@ export const state = {
14344
14376
  },
14345
14377
  "section": "plugin",
14346
14378
  "response": {
14347
- "description": "Get an plugin",
14379
+ "description": "Get a plugin",
14348
14380
  "schema": {
14349
14381
  "type": "object",
14350
14382
  "properties": {
@@ -14680,7 +14712,7 @@ export const state = {
14680
14712
  },
14681
14713
  "section": "plugin",
14682
14714
  "response": {
14683
- "description": "Update an plugin",
14715
+ "description": "Update a plugin",
14684
14716
  "schema": {
14685
14717
  "type": "object",
14686
14718
  "properties": {
@@ -14710,7 +14742,7 @@ export const state = {
14710
14742
  },
14711
14743
  "section": "plugin",
14712
14744
  "response": {
14713
- "description": "Delete an plugin",
14745
+ "description": "Delete a plugin",
14714
14746
  "schema": {
14715
14747
  "type": "object",
14716
14748
  "title": "deletePluginResponse",
@@ -18246,7 +18278,7 @@ export const state = {
18246
18278
  "title": "Botpress API",
18247
18279
  "description": "API for Botpress Cloud",
18248
18280
  "server": "https://api.botpress.cloud",
18249
- "version": "1.14.0",
18281
+ "version": "1.16.0",
18250
18282
  "prefix": "v1"
18251
18283
  },
18252
18284
  "errors": [
@@ -18728,6 +18760,14 @@ export const state = {
18728
18760
  "maxLength": 2000,
18729
18761
  "nullable": true
18730
18762
  },
18763
+ "disabledChannels": {
18764
+ "type": "array",
18765
+ "items": {
18766
+ "type": "string",
18767
+ "description": "Channel name"
18768
+ },
18769
+ "description": "Disabled channels for this integration"
18770
+ },
18731
18771
  "id": {
18732
18772
  "type": "string",
18733
18773
  "minLength": 28,
@@ -18784,6 +18824,7 @@ export const state = {
18784
18824
  "configuration",
18785
18825
  "status",
18786
18826
  "statusReason",
18827
+ "disabledChannels",
18787
18828
  "id",
18788
18829
  "createdAt",
18789
18830
  "updatedAt",
@@ -18797,6 +18838,86 @@ export const state = {
18797
18838
  },
18798
18839
  "description": "A mapping of integrations to their configuration"
18799
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
+ },
18800
18921
  "user": {
18801
18922
  "type": "object",
18802
18923
  "properties": {
@@ -19174,6 +19295,7 @@ export const state = {
19174
19295
  "updatedAt",
19175
19296
  "signingSecret",
19176
19297
  "integrations",
19298
+ "plugins",
19177
19299
  "user",
19178
19300
  "conversation",
19179
19301
  "message",