@botpress/client 1.0.0 → 1.2.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 +44 -0
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -11682,6 +11682,28 @@ declare class Client$6 extends Client$7 {
|
|
|
11682
11682
|
};
|
|
11683
11683
|
createdAt: string;
|
|
11684
11684
|
}>;
|
|
11685
|
+
usageActivity: (props: {
|
|
11686
|
+
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";
|
|
11687
|
+
id: string;
|
|
11688
|
+
timestampFrom?: string | undefined;
|
|
11689
|
+
timestampUntil?: string | undefined;
|
|
11690
|
+
}) => AsyncCollection<{
|
|
11691
|
+
timestamp: string;
|
|
11692
|
+
value: number;
|
|
11693
|
+
period: string;
|
|
11694
|
+
metadata: {
|
|
11695
|
+
[k: string]: any | null;
|
|
11696
|
+
};
|
|
11697
|
+
}>;
|
|
11698
|
+
usageActivityDaily: (props: {
|
|
11699
|
+
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";
|
|
11700
|
+
id: string;
|
|
11701
|
+
dateFrom?: string | undefined;
|
|
11702
|
+
dateUntil?: string | undefined;
|
|
11703
|
+
}) => AsyncCollection<{
|
|
11704
|
+
date: string;
|
|
11705
|
+
value: number;
|
|
11706
|
+
}>;
|
|
11685
11707
|
};
|
|
11686
11708
|
}
|
|
11687
11709
|
|
|
@@ -30261,6 +30283,28 @@ declare class Client extends Client$1 implements IClient {
|
|
|
30261
30283
|
sourceUrl?: string;
|
|
30262
30284
|
};
|
|
30263
30285
|
}>;
|
|
30286
|
+
usageActivity: (props: {
|
|
30287
|
+
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";
|
|
30288
|
+
id: string;
|
|
30289
|
+
timestampFrom?: string | undefined;
|
|
30290
|
+
timestampUntil?: string | undefined;
|
|
30291
|
+
}) => AsyncCollection<{
|
|
30292
|
+
timestamp: string;
|
|
30293
|
+
value: number;
|
|
30294
|
+
period: string;
|
|
30295
|
+
metadata: {
|
|
30296
|
+
[k: string]: any | null;
|
|
30297
|
+
};
|
|
30298
|
+
}>;
|
|
30299
|
+
usageActivityDaily: (props: {
|
|
30300
|
+
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";
|
|
30301
|
+
id: string;
|
|
30302
|
+
dateFrom?: string | undefined;
|
|
30303
|
+
dateUntil?: string | undefined;
|
|
30304
|
+
}) => AsyncCollection<{
|
|
30305
|
+
date: string;
|
|
30306
|
+
value: number;
|
|
30307
|
+
}>;
|
|
30264
30308
|
};
|
|
30265
30309
|
/**
|
|
30266
30310
|
* Create/update and upload a file in a single step. Returns an object containing the file metadata and the URL to retrieve the file.
|