@botpress/client 0.48.2 → 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 +9 -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 {
|
|
@@ -11777,7 +11783,7 @@ interface SearchFilesResponse {
|
|
|
11777
11783
|
/**
|
|
11778
11784
|
* The subtype of passage, if available.
|
|
11779
11785
|
*/
|
|
11780
|
-
subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "page";
|
|
11786
|
+
subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "image" | "page";
|
|
11781
11787
|
/**
|
|
11782
11788
|
* Page number the passage is located on. Only applicable if the passage was extracted from a PDF file.
|
|
11783
11789
|
*/
|
|
@@ -11855,7 +11861,7 @@ interface ListFilePassagesResponse {
|
|
|
11855
11861
|
/**
|
|
11856
11862
|
* The subtype of passage, if available.
|
|
11857
11863
|
*/
|
|
11858
|
-
subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "page";
|
|
11864
|
+
subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "image" | "page";
|
|
11859
11865
|
/**
|
|
11860
11866
|
* Page number the passage is located on. Only applicable if the passage was extracted from a PDF file.
|
|
11861
11867
|
*/
|
|
@@ -15902,7 +15908,7 @@ declare class Lister {
|
|
|
15902
15908
|
content: string;
|
|
15903
15909
|
meta: {
|
|
15904
15910
|
type?: "chunk" | "summary" | "consolidated" | "image";
|
|
15905
|
-
subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "page";
|
|
15911
|
+
subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "image" | "page";
|
|
15906
15912
|
pageNumber?: number;
|
|
15907
15913
|
position?: number;
|
|
15908
15914
|
sourceUrl?: string;
|