@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.
@@ -4429,12 +4429,44 @@ export const state = {
4429
4429
  "configuration": {
4430
4430
  "type": "object",
4431
4431
  "additionalProperties": true
4432
+ },
4433
+ "disabledChannels": {
4434
+ "type": "array",
4435
+ "items": {
4436
+ "type": "string",
4437
+ "description": "Channel name"
4438
+ },
4439
+ "description": "Disabled channels for this integration"
4432
4440
  }
4433
4441
  },
4434
4442
  "nullable": true,
4435
4443
  "additionalProperties": false
4436
4444
  }
4437
4445
  },
4446
+ "plugins": {
4447
+ "type": "object",
4448
+ "additionalProperties": {
4449
+ "type": "object",
4450
+ "properties": {
4451
+ "id": {
4452
+ "type": "string"
4453
+ },
4454
+ "enabled": {
4455
+ "type": "boolean"
4456
+ },
4457
+ "configuration": {
4458
+ "type": "object",
4459
+ "additionalProperties": true
4460
+ }
4461
+ },
4462
+ "required": [
4463
+ "id"
4464
+ ],
4465
+ "nullable": true,
4466
+ "additionalProperties": false
4467
+ },
4468
+ "description": "A mapping of plugin aliases to their configuration"
4469
+ },
4438
4470
  "subscriptions": {
4439
4471
  "type": "object",
4440
4472
  "properties": {
@@ -11684,7 +11716,7 @@ export const state = {
11684
11716
  },
11685
11717
  "section": "plugin",
11686
11718
  "response": {
11687
- "description": "Get an plugin",
11719
+ "description": "Get a plugin",
11688
11720
  "schema": {
11689
11721
  "type": "object",
11690
11722
  "properties": {
@@ -11714,7 +11746,7 @@ export const state = {
11714
11746
  },
11715
11747
  "section": "plugin",
11716
11748
  "response": {
11717
- "description": "Get an plugin",
11749
+ "description": "Get a plugin",
11718
11750
  "schema": {
11719
11751
  "type": "object",
11720
11752
  "properties": {
@@ -11749,7 +11781,7 @@ export const state = {
11749
11781
  },
11750
11782
  "section": "plugin",
11751
11783
  "response": {
11752
- "description": "Get an plugin",
11784
+ "description": "Get a plugin",
11753
11785
  "schema": {
11754
11786
  "type": "object",
11755
11787
  "properties": {
@@ -12085,7 +12117,7 @@ export const state = {
12085
12117
  },
12086
12118
  "section": "plugin",
12087
12119
  "response": {
12088
- "description": "Update an plugin",
12120
+ "description": "Update a plugin",
12089
12121
  "schema": {
12090
12122
  "type": "object",
12091
12123
  "properties": {
@@ -12115,7 +12147,7 @@ export const state = {
12115
12147
  },
12116
12148
  "section": "plugin",
12117
12149
  "response": {
12118
- "description": "Delete an plugin",
12150
+ "description": "Delete a plugin",
12119
12151
  "schema": {
12120
12152
  "type": "object",
12121
12153
  "title": "deletePluginResponse",
@@ -12806,7 +12838,7 @@ export const state = {
12806
12838
  "title": "Botpress API",
12807
12839
  "description": "API for Botpress Cloud",
12808
12840
  "server": "https://api.botpress.cloud",
12809
- "version": "1.14.0",
12841
+ "version": "1.16.0",
12810
12842
  "prefix": "v1"
12811
12843
  },
12812
12844
  "errors": [
@@ -13171,6 +13203,14 @@ export const state = {
13171
13203
  "maxLength": 2000,
13172
13204
  "nullable": true
13173
13205
  },
13206
+ "disabledChannels": {
13207
+ "type": "array",
13208
+ "items": {
13209
+ "type": "string",
13210
+ "description": "Channel name"
13211
+ },
13212
+ "description": "Disabled channels for this integration"
13213
+ },
13174
13214
  "id": {
13175
13215
  "type": "string",
13176
13216
  "minLength": 28,
@@ -13227,6 +13267,7 @@ export const state = {
13227
13267
  "configuration",
13228
13268
  "status",
13229
13269
  "statusReason",
13270
+ "disabledChannels",
13230
13271
  "id",
13231
13272
  "createdAt",
13232
13273
  "updatedAt",
@@ -13240,6 +13281,86 @@ export const state = {
13240
13281
  },
13241
13282
  "description": "A mapping of integrations to their configuration"
13242
13283
  },
13284
+ "plugins": {
13285
+ "type": "object",
13286
+ "additionalProperties": {
13287
+ "type": "object",
13288
+ "properties": {
13289
+ "enabled": {
13290
+ "type": "boolean"
13291
+ },
13292
+ "name": {
13293
+ "type": "string",
13294
+ "maxLength": 200,
13295
+ "description": "Name of the [Plugin](#schema_plugin)"
13296
+ },
13297
+ "version": {
13298
+ "type": "string",
13299
+ "maxLength": 200,
13300
+ "description": "Version of the [Plugin](#schema_plugin)"
13301
+ },
13302
+ "configuration": {
13303
+ "type": "object",
13304
+ "additionalProperties": true
13305
+ },
13306
+ "id": {
13307
+ "type": "string",
13308
+ "minLength": 28,
13309
+ "maxLength": 36,
13310
+ "description": "ID of the [Plugin](#schema_plugin)"
13311
+ },
13312
+ "createdAt": {
13313
+ "type": "string",
13314
+ "format": "date-time",
13315
+ "description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
13316
+ },
13317
+ "updatedAt": {
13318
+ "type": "string",
13319
+ "format": "date-time",
13320
+ "description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
13321
+ },
13322
+ "title": {
13323
+ "type": "string",
13324
+ "minLength": 1,
13325
+ "maxLength": 64,
13326
+ "description": "Title of the plugin. This is the name that will be displayed in the UI"
13327
+ },
13328
+ "description": {
13329
+ "type": "string",
13330
+ "maxLength": 256,
13331
+ "description": "Description of the plugin. This is the description that will be displayed in the UI"
13332
+ },
13333
+ "iconUrl": {
13334
+ "type": "string",
13335
+ "description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
13336
+ },
13337
+ "readmeUrl": {
13338
+ "type": "string",
13339
+ "description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
13340
+ },
13341
+ "public": {
13342
+ "type": "boolean",
13343
+ "description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
13344
+ }
13345
+ },
13346
+ "required": [
13347
+ "enabled",
13348
+ "name",
13349
+ "version",
13350
+ "configuration",
13351
+ "id",
13352
+ "createdAt",
13353
+ "updatedAt",
13354
+ "title",
13355
+ "description",
13356
+ "iconUrl",
13357
+ "readmeUrl",
13358
+ "public"
13359
+ ],
13360
+ "additionalProperties": false
13361
+ },
13362
+ "description": "A mapping of plugin aliases to their configuration"
13363
+ },
13243
13364
  "user": {
13244
13365
  "type": "object",
13245
13366
  "properties": {
@@ -13617,6 +13738,7 @@ export const state = {
13617
13738
  "updatedAt",
13618
13739
  "signingSecret",
13619
13740
  "integrations",
13741
+ "plugins",
13620
13742
  "user",
13621
13743
  "conversation",
13622
13744
  "message",