@botpress/api 0.27.7 → 0.27.8
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 +18 -18
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +18 -18
package/src/gen/state.ts
CHANGED
|
@@ -668,7 +668,7 @@ export const state = {
|
|
|
668
668
|
"type": "string",
|
|
669
669
|
"maxLength": 500
|
|
670
670
|
},
|
|
671
|
-
"description": "Set of [Tags](
|
|
671
|
+
"description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Message](#schema_message). The set of [Tags](/docs/developers/concepts/tags) available on a [Message](#schema_message) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them."
|
|
672
672
|
},
|
|
673
673
|
"schedule": {
|
|
674
674
|
"type": "object",
|
|
@@ -757,7 +757,7 @@ export const state = {
|
|
|
757
757
|
"type": "string",
|
|
758
758
|
"maxLength": 500
|
|
759
759
|
},
|
|
760
|
-
"description": "Set of [Tags](
|
|
760
|
+
"description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Message](#schema_message). The set of [Tags](/docs/developers/concepts/tags) available on a [Message](#schema_message) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them."
|
|
761
761
|
},
|
|
762
762
|
"schedule": {
|
|
763
763
|
"type": "object",
|
|
@@ -790,7 +790,7 @@ export const state = {
|
|
|
790
790
|
},
|
|
791
791
|
"section": "message",
|
|
792
792
|
"response": {
|
|
793
|
-
"description": "Returns a [Message](#schema_message) object if a valid identifier was provided. Returns
|
|
793
|
+
"description": "Returns a [Message](#schema_message) object if a valid identifier was provided. Returns an [Error](#errors) otherwise",
|
|
794
794
|
"schema": {
|
|
795
795
|
"type": "object",
|
|
796
796
|
"properties": {
|
|
@@ -821,7 +821,7 @@ export const state = {
|
|
|
821
821
|
},
|
|
822
822
|
"section": "message",
|
|
823
823
|
"response": {
|
|
824
|
-
"description": "Returns a [Message](#schema_message) object if a valid identifier was provided. Returns
|
|
824
|
+
"description": "Returns a [Message](#schema_message) object if a valid identifier was provided. Returns an [Error](#errors) otherwise",
|
|
825
825
|
"schema": {
|
|
826
826
|
"type": "object",
|
|
827
827
|
"properties": {
|
|
@@ -860,7 +860,7 @@ export const state = {
|
|
|
860
860
|
"additionalProperties": {
|
|
861
861
|
"type": "string"
|
|
862
862
|
},
|
|
863
|
-
"description": "Set of [Tags](
|
|
863
|
+
"description": "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them."
|
|
864
864
|
}
|
|
865
865
|
},
|
|
866
866
|
"required": [
|
|
@@ -889,7 +889,7 @@ export const state = {
|
|
|
889
889
|
},
|
|
890
890
|
"listMessages": {
|
|
891
891
|
"name": "listMessages",
|
|
892
|
-
"description": "Retrieves a list of [
|
|
892
|
+
"description": "Retrieves a list of [Message](#schema_message) you’ve previously created. The messages are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](/docs/developers/concepts/tags).",
|
|
893
893
|
"method": "get",
|
|
894
894
|
"path": "/v1/chat/messages",
|
|
895
895
|
"parameters": {
|
|
@@ -917,7 +917,7 @@ export const state = {
|
|
|
917
917
|
},
|
|
918
918
|
"section": "message",
|
|
919
919
|
"response": {
|
|
920
|
-
"description": "Returns a list of [
|
|
920
|
+
"description": "Returns a list of [Message](#schema_message) objects.",
|
|
921
921
|
"schema": {
|
|
922
922
|
"type": "object",
|
|
923
923
|
"properties": {
|
|
@@ -990,7 +990,7 @@ export const state = {
|
|
|
990
990
|
"integrationName": {
|
|
991
991
|
"type": "string",
|
|
992
992
|
"maxLength": 200,
|
|
993
|
-
"description": "[DEPRECATED] To create a
|
|
993
|
+
"description": "[DEPRECATED] To create a [User](#schema_user) from within a bot, call an action of the integration instead.",
|
|
994
994
|
"deprecated": true
|
|
995
995
|
},
|
|
996
996
|
"name": {
|
|
@@ -1013,7 +1013,7 @@ export const state = {
|
|
|
1013
1013
|
},
|
|
1014
1014
|
"section": "user",
|
|
1015
1015
|
"response": {
|
|
1016
|
-
"description": "Returns a [User](#schema_user) object if creation succeeds. Returns
|
|
1016
|
+
"description": "Returns a [User](#schema_user) object if creation succeeds. Returns an [Error](#errors) otherwise",
|
|
1017
1017
|
"status": 201,
|
|
1018
1018
|
"schema": {
|
|
1019
1019
|
"type": "object",
|
|
@@ -1045,7 +1045,7 @@ export const state = {
|
|
|
1045
1045
|
},
|
|
1046
1046
|
"section": "user",
|
|
1047
1047
|
"response": {
|
|
1048
|
-
"description": "Returns a [User](#schema_user) object if a valid identifier was provided. Returns
|
|
1048
|
+
"description": "Returns a [User](#schema_user) object if a valid identifier was provided. Returns an [Error](#errors) otherwise",
|
|
1049
1049
|
"schema": {
|
|
1050
1050
|
"type": "object",
|
|
1051
1051
|
"properties": {
|
|
@@ -1063,7 +1063,7 @@ export const state = {
|
|
|
1063
1063
|
},
|
|
1064
1064
|
"listUsers": {
|
|
1065
1065
|
"name": "listUsers",
|
|
1066
|
-
"description": "Retrieves a list of [User](#schema_user) previously created. The users are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](
|
|
1066
|
+
"description": "Retrieves a list of [User](#schema_user) previously created. The users are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](/docs/developers/concepts/tags).",
|
|
1067
1067
|
"method": "get",
|
|
1068
1068
|
"path": "/v1/chat/users",
|
|
1069
1069
|
"parameters": {
|
|
@@ -1142,7 +1142,7 @@ export const state = {
|
|
|
1142
1142
|
"integrationName": {
|
|
1143
1143
|
"type": "string",
|
|
1144
1144
|
"maxLength": 200,
|
|
1145
|
-
"description": "[DEPRECATED] To create a
|
|
1145
|
+
"description": "[DEPRECATED] To create a [User](#schema_user) from within a bot, call an action of the integration instead.",
|
|
1146
1146
|
"deprecated": true
|
|
1147
1147
|
},
|
|
1148
1148
|
"name": {
|
|
@@ -1165,7 +1165,7 @@ export const state = {
|
|
|
1165
1165
|
},
|
|
1166
1166
|
"section": "user",
|
|
1167
1167
|
"response": {
|
|
1168
|
-
"description": "Returns a [User](#schema_user) object if a valid identifier was provided. Returns
|
|
1168
|
+
"description": "Returns a [User](#schema_user) object if a valid identifier was provided. Returns an [Error](#errors) otherwise",
|
|
1169
1169
|
"schema": {
|
|
1170
1170
|
"type": "object",
|
|
1171
1171
|
"properties": {
|
|
@@ -1615,7 +1615,7 @@ export const state = {
|
|
|
1615
1615
|
},
|
|
1616
1616
|
"section": "task",
|
|
1617
1617
|
"response": {
|
|
1618
|
-
"description": "Returns a [Task](#schema_task) object if a valid identifier was provided. Returns
|
|
1618
|
+
"description": "Returns a [Task](#schema_task) object if a valid identifier was provided. Returns an [Error](#errors) otherwise",
|
|
1619
1619
|
"schema": {
|
|
1620
1620
|
"type": "object",
|
|
1621
1621
|
"properties": {
|
|
@@ -1697,7 +1697,7 @@ export const state = {
|
|
|
1697
1697
|
},
|
|
1698
1698
|
"section": "task",
|
|
1699
1699
|
"response": {
|
|
1700
|
-
"description": "Returns a [Task](#schema_task) object if creation succeeds. Returns
|
|
1700
|
+
"description": "Returns a [Task](#schema_task) object if creation succeeds. Returns an [Error](#errors) otherwise",
|
|
1701
1701
|
"status": 201,
|
|
1702
1702
|
"schema": {
|
|
1703
1703
|
"type": "object",
|
|
@@ -1779,7 +1779,7 @@ export const state = {
|
|
|
1779
1779
|
},
|
|
1780
1780
|
"section": "task",
|
|
1781
1781
|
"response": {
|
|
1782
|
-
"description": "Returns an updated [Task](#schema_task) object if a valid identifier was provided. Returns
|
|
1782
|
+
"description": "Returns an updated [Task](#schema_task) object if a valid identifier was provided. Returns an [Error](#errors) otherwise",
|
|
1783
1783
|
"schema": {
|
|
1784
1784
|
"type": "object",
|
|
1785
1785
|
"properties": {
|
|
@@ -1819,7 +1819,7 @@ export const state = {
|
|
|
1819
1819
|
},
|
|
1820
1820
|
"listTasks": {
|
|
1821
1821
|
"name": "listTasks",
|
|
1822
|
-
"description": "Retrieves a list of [Task](#schema_task) you've previously created. The tasks are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](
|
|
1822
|
+
"description": "Retrieves a list of [Task](#schema_task) you've previously created. The tasks are returned in sorted order, with the most recent appearing first. The list can be filtered using [Tags](/docs/developers/concepts/tags).",
|
|
1823
1823
|
"method": "get",
|
|
1824
1824
|
"path": "/v1/chat/tasks",
|
|
1825
1825
|
"parameters": {
|
|
@@ -9605,7 +9605,7 @@ export const state = {
|
|
|
9605
9605
|
"title": "Botpress API",
|
|
9606
9606
|
"description": "API for Botpress Cloud",
|
|
9607
9607
|
"server": "https://api.botpress.cloud",
|
|
9608
|
-
"version": "0.27.
|
|
9608
|
+
"version": "0.27.8",
|
|
9609
9609
|
"prefix": "v1"
|
|
9610
9610
|
},
|
|
9611
9611
|
"errors": [
|