@botpress/sdk 4.8.0 → 4.8.2
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.
|
@@ -44,4 +44,5 @@ export declare class IntegrationSpecificClient<TIntegration extends common.BaseI
|
|
|
44
44
|
listFiles: types.ListFiles<TIntegration>;
|
|
45
45
|
getFile: types.GetFile<TIntegration>;
|
|
46
46
|
updateFileMetadata: types.UpdateFileMetadata<TIntegration>;
|
|
47
|
+
trackAnalytics: types.TrackAnalytics<TIntegration>;
|
|
47
48
|
}
|
|
@@ -130,6 +130,7 @@ export type DeleteFile<_TIntegration extends common.BaseIntegration> = client.Cl
|
|
|
130
130
|
export type ListFiles<_TIntegration extends common.BaseIntegration> = client.Client['listFiles'];
|
|
131
131
|
export type GetFile<_TIntegration extends common.BaseIntegration> = client.Client['getFile'];
|
|
132
132
|
export type UpdateFileMetadata<_TIntegration extends common.BaseIntegration> = client.Client['updateFileMetadata'];
|
|
133
|
+
export type TrackAnalytics<_TIntegration extends common.BaseIntegration> = client.Client['trackAnalytics'];
|
|
133
134
|
export type ClientOperations<TIntegration extends common.BaseIntegration> = {
|
|
134
135
|
createConversation: CreateConversation<TIntegration>;
|
|
135
136
|
getConversation: GetConversation<TIntegration>;
|
|
@@ -167,6 +168,7 @@ export type ClientOperations<TIntegration extends common.BaseIntegration> = {
|
|
|
167
168
|
listFiles: ListFiles<TIntegration>;
|
|
168
169
|
getFile: GetFile<TIntegration>;
|
|
169
170
|
updateFileMetadata: UpdateFileMetadata<TIntegration>;
|
|
171
|
+
trackAnalytics: TrackAnalytics<TIntegration>;
|
|
170
172
|
};
|
|
171
173
|
export type ClientInputs<TIntegration extends common.BaseIntegration> = {
|
|
172
174
|
[K in keyof ClientOperations<TIntegration>]: Arg<ClientOperations<TIntegration>[K]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/sdk",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.2",
|
|
4
4
|
"description": "Botpress SDK",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"author": "",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@botpress/client": "1.
|
|
19
|
+
"@botpress/client": "1.15.1",
|
|
20
20
|
"browser-or-node": "^2.1.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|