@botpress/client 1.22.0 → 1.23.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/bundle.cjs +1 -1
- package/dist/bundle.cjs.map +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +18 -0
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15533,6 +15533,20 @@ declare class Client$4 extends Client$5 implements IClient$2 {
|
|
|
15533
15533
|
sourceUrl?: string;
|
|
15534
15534
|
};
|
|
15535
15535
|
}>;
|
|
15536
|
+
fileTags: (props: {}) => AsyncCollection<string>;
|
|
15537
|
+
fileTagValues: (props: {
|
|
15538
|
+
tag: string;
|
|
15539
|
+
}) => AsyncCollection<string>;
|
|
15540
|
+
knowledgeBases: (props: {
|
|
15541
|
+
tags?: any;
|
|
15542
|
+
}) => AsyncCollection<{
|
|
15543
|
+
id: string;
|
|
15544
|
+
name: string;
|
|
15545
|
+
createdAt: string;
|
|
15546
|
+
tags: {
|
|
15547
|
+
[k: string]: string;
|
|
15548
|
+
};
|
|
15549
|
+
}>;
|
|
15536
15550
|
};
|
|
15537
15551
|
/**
|
|
15538
15552
|
* Create/update and upload a file in a single step. Returns an object containing the file metadata and the URL to retrieve the file.
|
|
@@ -36122,6 +36136,10 @@ declare class Client extends Client$1 implements IClient {
|
|
|
36122
36136
|
sourceUrl?: string;
|
|
36123
36137
|
};
|
|
36124
36138
|
}>;
|
|
36139
|
+
fileTags: (props: {}) => AsyncCollection<string>;
|
|
36140
|
+
fileTagValues: (props: {
|
|
36141
|
+
tag: string;
|
|
36142
|
+
}) => AsyncCollection<string>;
|
|
36125
36143
|
usageActivity: (props: {
|
|
36126
36144
|
type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
|
|
36127
36145
|
id: string;
|