@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.
@@ -4443,6 +4443,30 @@ export const state = {
4443
4443
  "additionalProperties": false
4444
4444
  }
4445
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
+ },
4446
4470
  "subscriptions": {
4447
4471
  "type": "object",
4448
4472
  "properties": {
@@ -11692,7 +11716,7 @@ export const state = {
11692
11716
  },
11693
11717
  "section": "plugin",
11694
11718
  "response": {
11695
- "description": "Get an plugin",
11719
+ "description": "Get a plugin",
11696
11720
  "schema": {
11697
11721
  "type": "object",
11698
11722
  "properties": {
@@ -11722,7 +11746,7 @@ export const state = {
11722
11746
  },
11723
11747
  "section": "plugin",
11724
11748
  "response": {
11725
- "description": "Get an plugin",
11749
+ "description": "Get a plugin",
11726
11750
  "schema": {
11727
11751
  "type": "object",
11728
11752
  "properties": {
@@ -11757,7 +11781,7 @@ export const state = {
11757
11781
  },
11758
11782
  "section": "plugin",
11759
11783
  "response": {
11760
- "description": "Get an plugin",
11784
+ "description": "Get a plugin",
11761
11785
  "schema": {
11762
11786
  "type": "object",
11763
11787
  "properties": {
@@ -12093,7 +12117,7 @@ export const state = {
12093
12117
  },
12094
12118
  "section": "plugin",
12095
12119
  "response": {
12096
- "description": "Update an plugin",
12120
+ "description": "Update a plugin",
12097
12121
  "schema": {
12098
12122
  "type": "object",
12099
12123
  "properties": {
@@ -12123,7 +12147,7 @@ export const state = {
12123
12147
  },
12124
12148
  "section": "plugin",
12125
12149
  "response": {
12126
- "description": "Delete an plugin",
12150
+ "description": "Delete a plugin",
12127
12151
  "schema": {
12128
12152
  "type": "object",
12129
12153
  "title": "deletePluginResponse",
@@ -12814,7 +12838,7 @@ export const state = {
12814
12838
  "title": "Botpress API",
12815
12839
  "description": "API for Botpress Cloud",
12816
12840
  "server": "https://api.botpress.cloud",
12817
- "version": "1.15.0",
12841
+ "version": "1.16.0",
12818
12842
  "prefix": "v1"
12819
12843
  },
12820
12844
  "errors": [
@@ -13257,6 +13281,86 @@ export const state = {
13257
13281
  },
13258
13282
  "description": "A mapping of integrations to their configuration"
13259
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
+ },
13260
13364
  "user": {
13261
13365
  "type": "object",
13262
13366
  "properties": {
@@ -13634,6 +13738,7 @@ export const state = {
13634
13738
  "updatedAt",
13635
13739
  "signingSecret",
13636
13740
  "integrations",
13741
+ "plugins",
13637
13742
  "user",
13638
13743
  "conversation",
13639
13744
  "message",