@botpress/api 1.15.0 → 1.17.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.17.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",
@@ -2545,6 +2626,14 @@ export const state = {
2545
2626
  "additionalProperties": false
2546
2627
  }
2547
2628
  },
2629
+ "attributes": {
2630
+ "type": "object",
2631
+ "additionalProperties": {
2632
+ "type": "string",
2633
+ "maxLength": 200
2634
+ },
2635
+ "description": "Optional attributes"
2636
+ },
2548
2637
  "dev": {
2549
2638
  "type": "boolean",
2550
2639
  "description": "Indicates if the integration is a development integration; Dev integrations run locally"
@@ -2834,6 +2923,14 @@ export const state = {
2834
2923
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
2835
2924
  "additionalProperties": false
2836
2925
  },
2926
+ "attributes": {
2927
+ "type": "object",
2928
+ "additionalProperties": {
2929
+ "type": "string",
2930
+ "maxLength": 200
2931
+ },
2932
+ "description": "Optional attributes"
2933
+ },
2837
2934
  "title": {
2838
2935
  "type": "string",
2839
2936
  "minLength": 1,
@@ -3189,6 +3286,14 @@ export const state = {
3189
3286
  "description": "Conversation object configuration",
3190
3287
  "additionalProperties": false
3191
3288
  },
3289
+ "attributes": {
3290
+ "type": "object",
3291
+ "additionalProperties": {
3292
+ "type": "string",
3293
+ "maxLength": 200
3294
+ },
3295
+ "description": "Optional attributes"
3296
+ },
3192
3297
  "title": {
3193
3298
  "type": "string",
3194
3299
  "minLength": 1,