@botpress/client 0.48.1 → 0.48.3
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/.turbo/turbo-build.log +7 -7
- package/.turbo/turbo-generate.log +1 -1
- package/dist/bundle.cjs +1 -1
- package/dist/bundle.cjs.map +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +25 -3
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -952,6 +952,12 @@ interface UpdateMessageRequestBody {
|
|
|
952
952
|
tags: {
|
|
953
953
|
[k: string]: string;
|
|
954
954
|
};
|
|
955
|
+
/**
|
|
956
|
+
* Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
|
|
957
|
+
*/
|
|
958
|
+
payload?: {
|
|
959
|
+
[k: string]: any;
|
|
960
|
+
};
|
|
955
961
|
}
|
|
956
962
|
type UpdateMessageInput = UpdateMessageRequestBody & UpdateMessageRequestHeaders & UpdateMessageRequestQuery & UpdateMessageRequestParams;
|
|
957
963
|
interface UpdateMessageResponse {
|
|
@@ -10842,6 +10848,22 @@ interface ListPluginsResponse {
|
|
|
10842
10848
|
* Version of the [Plugin](#schema_plugin)
|
|
10843
10849
|
*/
|
|
10844
10850
|
version: string;
|
|
10851
|
+
/**
|
|
10852
|
+
* Title of the plugin. This is the name that will be displayed in the UI
|
|
10853
|
+
*/
|
|
10854
|
+
title: string;
|
|
10855
|
+
/**
|
|
10856
|
+
* Description of the plugin. This is the description that will be displayed in the UI
|
|
10857
|
+
*/
|
|
10858
|
+
description: string;
|
|
10859
|
+
/**
|
|
10860
|
+
* URL of the icon of the plugin. This is the icon that will be displayed in the UI
|
|
10861
|
+
*/
|
|
10862
|
+
iconUrl: string;
|
|
10863
|
+
/**
|
|
10864
|
+
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
10865
|
+
*/
|
|
10866
|
+
readmeUrl: string;
|
|
10845
10867
|
}[];
|
|
10846
10868
|
meta: {
|
|
10847
10869
|
/**
|
|
@@ -11761,7 +11783,7 @@ interface SearchFilesResponse {
|
|
|
11761
11783
|
/**
|
|
11762
11784
|
* The subtype of passage, if available.
|
|
11763
11785
|
*/
|
|
11764
|
-
subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "page";
|
|
11786
|
+
subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "image" | "page";
|
|
11765
11787
|
/**
|
|
11766
11788
|
* Page number the passage is located on. Only applicable if the passage was extracted from a PDF file.
|
|
11767
11789
|
*/
|
|
@@ -11839,7 +11861,7 @@ interface ListFilePassagesResponse {
|
|
|
11839
11861
|
/**
|
|
11840
11862
|
* The subtype of passage, if available.
|
|
11841
11863
|
*/
|
|
11842
|
-
subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "page";
|
|
11864
|
+
subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "image" | "page";
|
|
11843
11865
|
/**
|
|
11844
11866
|
* Page number the passage is located on. Only applicable if the passage was extracted from a PDF file.
|
|
11845
11867
|
*/
|
|
@@ -15886,7 +15908,7 @@ declare class Lister {
|
|
|
15886
15908
|
content: string;
|
|
15887
15909
|
meta: {
|
|
15888
15910
|
type?: "chunk" | "summary" | "consolidated" | "image";
|
|
15889
|
-
subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "page";
|
|
15911
|
+
subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "image" | "page";
|
|
15890
15912
|
pageNumber?: number;
|
|
15891
15913
|
position?: number;
|
|
15892
15914
|
sourceUrl?: string;
|