@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.
@@ -1649,7 +1649,7 @@ export const state = {
1649
1649
  "title": "Botpress API",
1650
1650
  "description": "API for Botpress Cloud",
1651
1651
  "server": "https://api.botpress.cloud",
1652
- "version": "1.15.0",
1652
+ "version": "1.17.0",
1653
1653
  "prefix": "v1"
1654
1654
  },
1655
1655
  "errors": [
@@ -1987,6 +1987,86 @@ export const state = {
1987
1987
  },
1988
1988
  "description": "A mapping of integrations to their configuration"
1989
1989
  },
1990
+ "plugins": {
1991
+ "type": "object",
1992
+ "additionalProperties": {
1993
+ "type": "object",
1994
+ "properties": {
1995
+ "enabled": {
1996
+ "type": "boolean"
1997
+ },
1998
+ "name": {
1999
+ "type": "string",
2000
+ "maxLength": 200,
2001
+ "description": "Name of the [Plugin](#schema_plugin)"
2002
+ },
2003
+ "version": {
2004
+ "type": "string",
2005
+ "maxLength": 200,
2006
+ "description": "Version of the [Plugin](#schema_plugin)"
2007
+ },
2008
+ "configuration": {
2009
+ "type": "object",
2010
+ "additionalProperties": true
2011
+ },
2012
+ "id": {
2013
+ "type": "string",
2014
+ "minLength": 28,
2015
+ "maxLength": 36,
2016
+ "description": "ID of the [Plugin](#schema_plugin)"
2017
+ },
2018
+ "createdAt": {
2019
+ "type": "string",
2020
+ "format": "date-time",
2021
+ "description": "Creation date of the [Plugin](#schema_plugin) in ISO 8601 format"
2022
+ },
2023
+ "updatedAt": {
2024
+ "type": "string",
2025
+ "format": "date-time",
2026
+ "description": "Updating date of the [Plugin](#schema_plugin) in ISO 8601 format"
2027
+ },
2028
+ "title": {
2029
+ "type": "string",
2030
+ "minLength": 1,
2031
+ "maxLength": 64,
2032
+ "description": "Title of the plugin. This is the name that will be displayed in the UI"
2033
+ },
2034
+ "description": {
2035
+ "type": "string",
2036
+ "maxLength": 256,
2037
+ "description": "Description of the plugin. This is the description that will be displayed in the UI"
2038
+ },
2039
+ "iconUrl": {
2040
+ "type": "string",
2041
+ "description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
2042
+ },
2043
+ "readmeUrl": {
2044
+ "type": "string",
2045
+ "description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
2046
+ },
2047
+ "public": {
2048
+ "type": "boolean",
2049
+ "description": "Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version."
2050
+ }
2051
+ },
2052
+ "required": [
2053
+ "enabled",
2054
+ "name",
2055
+ "version",
2056
+ "configuration",
2057
+ "id",
2058
+ "createdAt",
2059
+ "updatedAt",
2060
+ "title",
2061
+ "description",
2062
+ "iconUrl",
2063
+ "readmeUrl",
2064
+ "public"
2065
+ ],
2066
+ "additionalProperties": false
2067
+ },
2068
+ "description": "A mapping of plugin aliases to their configuration"
2069
+ },
1990
2070
  "user": {
1991
2071
  "type": "object",
1992
2072
  "properties": {
@@ -2364,6 +2444,7 @@ export const state = {
2364
2444
  "updatedAt",
2365
2445
  "signingSecret",
2366
2446
  "integrations",
2447
+ "plugins",
2367
2448
  "user",
2368
2449
  "conversation",
2369
2450
  "message",
@@ -2971,6 +3052,14 @@ export const state = {
2971
3052
  "additionalProperties": false
2972
3053
  }
2973
3054
  },
3055
+ "attributes": {
3056
+ "type": "object",
3057
+ "additionalProperties": {
3058
+ "type": "string",
3059
+ "maxLength": 200
3060
+ },
3061
+ "description": "Optional attributes"
3062
+ },
2974
3063
  "dev": {
2975
3064
  "type": "boolean",
2976
3065
  "description": "Indicates if the integration is a development integration; Dev integrations run locally"
@@ -3260,6 +3349,14 @@ export const state = {
3260
3349
  "description": "Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.",
3261
3350
  "additionalProperties": false
3262
3351
  },
3352
+ "attributes": {
3353
+ "type": "object",
3354
+ "additionalProperties": {
3355
+ "type": "string",
3356
+ "maxLength": 200
3357
+ },
3358
+ "description": "Optional attributes"
3359
+ },
3263
3360
  "title": {
3264
3361
  "type": "string",
3265
3362
  "minLength": 1,
@@ -3615,6 +3712,14 @@ export const state = {
3615
3712
  "description": "Conversation object configuration",
3616
3713
  "additionalProperties": false
3617
3714
  },
3715
+ "attributes": {
3716
+ "type": "object",
3717
+ "additionalProperties": {
3718
+ "type": "string",
3719
+ "maxLength": 200
3720
+ },
3721
+ "description": "Optional attributes"
3722
+ },
3618
3723
  "title": {
3619
3724
  "type": "string",
3620
3725
  "minLength": 1,