@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.
- package/dist/index.js +529 -15
- package/dist/src/gen/admin/state.d.ts +105 -0
- package/dist/src/gen/files/state.d.ts +75 -0
- package/dist/src/gen/runtime/state.d.ts +75 -0
- package/dist/src/gen/state.d.ts +105 -0
- package/dist/src/gen/tables/state.d.ts +75 -0
- package/package.json +1 -1
- package/src/gen/admin/openapi.json +1 -1
- package/src/gen/admin/state.ts +128 -6
- package/src/gen/files/openapi.json +1 -1
- package/src/gen/files/state.ts +91 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/runtime/openapi.json +1 -1
- package/src/gen/runtime/state.ts +91 -1
- package/src/gen/state.ts +128 -6
- package/src/gen/tables/openapi.json +1 -1
- package/src/gen/tables/state.ts +91 -1
package/src/gen/files/state.ts
CHANGED
|
@@ -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.
|
|
1652
|
+
"version": "1.16.0",
|
|
1653
1653
|
"prefix": "v1"
|
|
1654
1654
|
},
|
|
1655
1655
|
"errors": [
|
|
@@ -1909,6 +1909,14 @@ export const state = {
|
|
|
1909
1909
|
"maxLength": 2000,
|
|
1910
1910
|
"nullable": true
|
|
1911
1911
|
},
|
|
1912
|
+
"disabledChannels": {
|
|
1913
|
+
"type": "array",
|
|
1914
|
+
"items": {
|
|
1915
|
+
"type": "string",
|
|
1916
|
+
"description": "Channel name"
|
|
1917
|
+
},
|
|
1918
|
+
"description": "Disabled channels for this integration"
|
|
1919
|
+
},
|
|
1912
1920
|
"id": {
|
|
1913
1921
|
"type": "string",
|
|
1914
1922
|
"minLength": 28,
|
|
@@ -1965,6 +1973,7 @@ export const state = {
|
|
|
1965
1973
|
"configuration",
|
|
1966
1974
|
"status",
|
|
1967
1975
|
"statusReason",
|
|
1976
|
+
"disabledChannels",
|
|
1968
1977
|
"id",
|
|
1969
1978
|
"createdAt",
|
|
1970
1979
|
"updatedAt",
|
|
@@ -1978,6 +1987,86 @@ export const state = {
|
|
|
1978
1987
|
},
|
|
1979
1988
|
"description": "A mapping of integrations to their configuration"
|
|
1980
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
|
+
},
|
|
1981
2070
|
"user": {
|
|
1982
2071
|
"type": "object",
|
|
1983
2072
|
"properties": {
|
|
@@ -2355,6 +2444,7 @@ export const state = {
|
|
|
2355
2444
|
"updatedAt",
|
|
2356
2445
|
"signingSecret",
|
|
2357
2446
|
"integrations",
|
|
2447
|
+
"plugins",
|
|
2358
2448
|
"user",
|
|
2359
2449
|
"conversation",
|
|
2360
2450
|
"message",
|