@botpress/api 0.83.1 → 0.85.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 CHANGED
@@ -282904,7 +282904,7 @@ var state = {
282904
282904
  },
282905
282905
  "updateMessage": {
282906
282906
  "name": "updateMessage",
282907
- "description": "Update a message",
282907
+ "description": "Updates a message tags and payload. The message type cannot be changed. Calling this operation from an integration, to update an incoming message, will not invoke the bot. The other way around it also true; Calling this operation from the bot, to update an outgoing message, will not invoke the integration.",
282908
282908
  "method": "put",
282909
282909
  "path": "/v1/chat/messages/{id}",
282910
282910
  "parameters": {
@@ -282926,6 +282926,11 @@ var state = {
282926
282926
  "type": "string"
282927
282927
  },
282928
282928
  "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."
282929
+ },
282930
+ "payload": {
282931
+ "type": "object",
282932
+ "additionalProperties": true,
282933
+ "description": "Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location"
282929
282934
  }
282930
282935
  },
282931
282936
  "required": [
@@ -296155,6 +296160,7 @@ var state = {
296155
296160
  "list",
296156
296161
  "table",
296157
296162
  "code",
296163
+ "image",
296158
296164
  "page"
296159
296165
  ],
296160
296166
  "description": "The subtype of passage, if available."
@@ -296298,6 +296304,7 @@ var state = {
296298
296304
  "list",
296299
296305
  "table",
296300
296306
  "code",
296307
+ "image",
296301
296308
  "page"
296302
296309
  ],
296303
296310
  "description": "The subtype of passage, if available."
@@ -297855,7 +297862,7 @@ var state = {
297855
297862
  "title": "Botpress API",
297856
297863
  "description": "API for Botpress Cloud",
297857
297864
  "server": "https://api.botpress.cloud",
297858
- "version": "0.83.1",
297865
+ "version": "0.85.0",
297859
297866
  "prefix": "v1"
297860
297867
  },
297861
297868
  "errors": [
@@ -839,6 +839,11 @@ export declare const state: {
839
839
  };
840
840
  description: string;
841
841
  };
842
+ payload: {
843
+ type: "object";
844
+ additionalProperties: true;
845
+ description: string;
846
+ };
842
847
  };
843
848
  required: string[];
844
849
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.83.1",
3
+ "version": "0.85.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {