@proteos/sdk 0.26.1 → 0.26.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/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/conversation/index.ts +11 -0
package/package.json
CHANGED
|
@@ -82,6 +82,13 @@ export interface MeetingService {
|
|
|
82
82
|
dispatch(request: DispatchMeetingBotRequest): Promise<Conversation>
|
|
83
83
|
/** Make the bot leave the meeting and end the conversation (by conversation id). */
|
|
84
84
|
remove(conversationId: string): Promise<Conversation>
|
|
85
|
+
/**
|
|
86
|
+
* Regenerate this meeting conversation's markdown summary from its stored
|
|
87
|
+
* transcript, overwriting any existing one. Resolves with the updated
|
|
88
|
+
* conversation (its fresh `summary`). Rejects with `no_transcript` when the
|
|
89
|
+
* conversation has no completed transcript to summarize.
|
|
90
|
+
*/
|
|
91
|
+
summarize(conversationId: string): Promise<Conversation>
|
|
85
92
|
}
|
|
86
93
|
|
|
87
94
|
class MeetingServiceImpl implements MeetingService {
|
|
@@ -94,6 +101,10 @@ class MeetingServiceImpl implements MeetingService {
|
|
|
94
101
|
remove(conversationId: string): Promise<Conversation> {
|
|
95
102
|
return this.client.request('DELETE', `${CONVERSATION_BASE_PATH}/meetings/${encodeURIComponent(conversationId)}`)
|
|
96
103
|
}
|
|
104
|
+
|
|
105
|
+
summarize(conversationId: string): Promise<Conversation> {
|
|
106
|
+
return this.client.request('POST', `${CONVERSATION_BASE_PATH}/meetings/${encodeURIComponent(conversationId)}/summarize`)
|
|
107
|
+
}
|
|
97
108
|
}
|
|
98
109
|
|
|
99
110
|
/** Configured integration instances (Slack workspace, Gmail grant, …). */
|