@butterbase/sdk 2.6.0 → 2.7.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.
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
export type MeetingStatus = 'joining' | 'waiting_room' | 'in_call' | 'recording' | 'ended' | 'done' | 'fatal';
|
|
2
|
+
export interface AutomaticLeaveConfig {
|
|
3
|
+
/** Leave if the bot is still in the waiting room after N seconds. */
|
|
4
|
+
waitingRoomTimeoutSec?: number;
|
|
5
|
+
/** Leave if no participants joined within N seconds of the bot joining. */
|
|
6
|
+
noOneJoinedTimeoutSec?: number;
|
|
7
|
+
/** Leave N seconds after the last participant leaves. */
|
|
8
|
+
everyoneLeftTimeoutSec?: number;
|
|
9
|
+
/** Leave if the bot is in-call but not recording for N seconds. */
|
|
10
|
+
inCallNotRecordingTimeoutSec?: number;
|
|
11
|
+
}
|
|
2
12
|
export interface StartMeetingRequest {
|
|
3
13
|
meetingUrl: string;
|
|
4
14
|
transcript?: boolean;
|
|
@@ -6,6 +16,8 @@ export interface StartMeetingRequest {
|
|
|
6
16
|
metadata?: Record<string, string>;
|
|
7
17
|
/** Display name the bot uses when it joins. 1-64 chars. Defaults to 'Butterbase Notetaker'. */
|
|
8
18
|
botName?: string;
|
|
19
|
+
/** Per-bot overrides for vendor automatic-leave timers. Any field omitted uses the vendor default. */
|
|
20
|
+
automaticLeave?: AutomaticLeaveConfig;
|
|
9
21
|
}
|
|
10
22
|
export interface MeetingBot {
|
|
11
23
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meetings-types.d.ts","sourceRoot":"","sources":["../../src/ai/meetings-types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GACrB,SAAS,GAAG,cAAc,GAAG,SAAS,GAAG,WAAW,GACpD,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAE/B,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,MAAM,CA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M,GAAG,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC;2CACuC;IACvC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@butterbase/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Universal TypeScript SDK for Butterbase",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://butterbase.ai",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"storage"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@butterbase/shared": "^0.
|
|
41
|
+
"@butterbase/shared": "^0.3.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"typescript": "^5.7.0",
|