@proteos/sdk 0.19.0 → 0.20.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/index.cjs +15 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +56 -8
- package/dist/index.d.ts +56 -8
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/conversation/index.ts +28 -0
- package/src/conversation/types.ts +49 -6
- package/src/index.ts +2 -0
package/dist/index.cjs
CHANGED
|
@@ -1140,6 +1140,8 @@ var ConversationClient = class {
|
|
|
1140
1140
|
messages;
|
|
1141
1141
|
agentListeners;
|
|
1142
1142
|
transcriptions;
|
|
1143
|
+
/** Meeting bots (Ava): dispatch into a meeting URL, remove from a meeting. */
|
|
1144
|
+
meetings;
|
|
1143
1145
|
/** Realtime speech-to-text (dictation) — moved here from agent-service. */
|
|
1144
1146
|
voice;
|
|
1145
1147
|
constructor(client) {
|
|
@@ -1148,9 +1150,22 @@ var ConversationClient = class {
|
|
|
1148
1150
|
this.messages = new MessageServiceImpl(client);
|
|
1149
1151
|
this.agentListeners = new AgentListenerServiceImpl(client);
|
|
1150
1152
|
this.transcriptions = new TranscriptionServiceImpl(client);
|
|
1153
|
+
this.meetings = new MeetingServiceImpl(client);
|
|
1151
1154
|
this.voice = new VoiceServiceImpl(client);
|
|
1152
1155
|
}
|
|
1153
1156
|
};
|
|
1157
|
+
var MeetingServiceImpl = class {
|
|
1158
|
+
constructor(client) {
|
|
1159
|
+
this.client = client;
|
|
1160
|
+
}
|
|
1161
|
+
client;
|
|
1162
|
+
dispatch(request) {
|
|
1163
|
+
return this.client.request("POST", `${CONVERSATION_BASE_PATH}/meetings`, request);
|
|
1164
|
+
}
|
|
1165
|
+
remove(conversationId) {
|
|
1166
|
+
return this.client.request("DELETE", `${CONVERSATION_BASE_PATH}/meetings/${encodeURIComponent(conversationId)}`);
|
|
1167
|
+
}
|
|
1168
|
+
};
|
|
1154
1169
|
var ConnectionServiceImpl = class {
|
|
1155
1170
|
constructor(client) {
|
|
1156
1171
|
this.client = client;
|