@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.
@@ -1216,7 +1216,7 @@ export const state = {
1216
1216
  "title": "Botpress API",
1217
1217
  "description": "API for Botpress Cloud",
1218
1218
  "server": "https://api.botpress.cloud",
1219
- "version": "1.15.0",
1219
+ "version": "1.16.0",
1220
1220
  "prefix": "v1"
1221
1221
  },
1222
1222
  "errors": [
@@ -1561,6 +1561,86 @@ export const state = {
1561
1561
  },
1562
1562
  "description": "A mapping of integrations to their configuration"
1563
1563
  },
1564
+ "plugins": {
1565
+ "type": "object",
1566
+ "additionalProperties": {
1567
+ "type": "object",
1568
+ "properties": {
1569
+ "enabled": {
1570
+ "type": "boolean"
1571
+ },
1572
+ "name": {
1573
+ "type": "string",
1574
+ "maxLength": 200,
1575
+ "description": "Name of the [Plugin](#schema_plugin)"
1576
+ },
1577
+ "version": {
1578
+ "type": "string",
1579
+ "maxLength": 200,
1580
+ "description": "Version of the [Plugin](#schema_plugin)"
1581
+ },
1582
+ "configuration": {
1583
+ "type": "object",
1584
+ "additionalProperties": true
1585
+ },
1586
+ "id": {
1587
+ "type": "string",
1588
+ "minLength": 28,
1589
+ "maxLength": 36,
1590
+ "description": "ID of the [Plugin](#schema_plugin)"
1591
+ },
1592
+ "createdAt": {
1593
+ "type": "string",
1594
+ "format": "date-time",
1595
+ "description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
1596
+ },
1597
+ "updatedAt": {
1598
+ "type": "string",
1599
+ "format": "date-time",
1600
+ "description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
1601
+ },
1602
+ "title": {
1603
+ "type": "string",
1604
+ "minLength": 1,
1605
+ "maxLength": 64,
1606
+ "description": "Title of the plugin. This is the name that will be displayed in the UI"
1607
+ },
1608
+ "description": {
1609
+ "type": "string",
1610
+ "maxLength": 256,
1611
+ "description": "Description of the plugin. This is the description that will be displayed in the UI"
1612
+ },
1613
+ "iconUrl": {
1614
+ "type": "string",
1615
+ "description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
1616
+ },
1617
+ "readmeUrl": {
1618
+ "type": "string",
1619
+ "description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
1620
+ },
1621
+ "public": {
1622
+ "type": "boolean",
1623
+ "description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
1624
+ }
1625
+ },
1626
+ "required": [
1627
+ "enabled",
1628
+ "name",
1629
+ "version",
1630
+ "configuration",
1631
+ "id",
1632
+ "createdAt",
1633
+ "updatedAt",
1634
+ "title",
1635
+ "description",
1636
+ "iconUrl",
1637
+ "readmeUrl",
1638
+ "public"
1639
+ ],
1640
+ "additionalProperties": false
1641
+ },
1642
+ "description": "A mapping of plugin aliases to their configuration"
1643
+ },
1564
1644
  "user": {
1565
1645
  "type": "object",
1566
1646
  "properties": {
@@ -1938,6 +2018,7 @@ export const state = {
1938
2018
  "updatedAt",
1939
2019
  "signingSecret",
1940
2020
  "integrations",
2021
+ "plugins",
1941
2022
  "user",
1942
2023
  "conversation",
1943
2024
  "message",