@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.
@@ -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.14.0",
1219
+ "version": "1.16.0",
1220
1220
  "prefix": "v1"
1221
1221
  },
1222
1222
  "errors": [
@@ -1483,6 +1483,14 @@ export const state = {
1483
1483
  "maxLength": 2000,
1484
1484
  "nullable": true
1485
1485
  },
1486
+ "disabledChannels": {
1487
+ "type": "array",
1488
+ "items": {
1489
+ "type": "string",
1490
+ "description": "Channel name"
1491
+ },
1492
+ "description": "Disabled channels for this integration"
1493
+ },
1486
1494
  "id": {
1487
1495
  "type": "string",
1488
1496
  "minLength": 28,
@@ -1539,6 +1547,7 @@ export const state = {
1539
1547
  "configuration",
1540
1548
  "status",
1541
1549
  "statusReason",
1550
+ "disabledChannels",
1542
1551
  "id",
1543
1552
  "createdAt",
1544
1553
  "updatedAt",
@@ -1552,6 +1561,86 @@ export const state = {
1552
1561
  },
1553
1562
  "description": "A mapping of integrations to their configuration"
1554
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
+ },
1555
1644
  "user": {
1556
1645
  "type": "object",
1557
1646
  "properties": {
@@ -1929,6 +2018,7 @@ export const state = {
1929
2018
  "updatedAt",
1930
2019
  "signingSecret",
1931
2020
  "integrations",
2021
+ "plugins",
1932
2022
  "user",
1933
2023
  "conversation",
1934
2024
  "message",