@speakai/mcp-server 1.0.7 → 1.0.10
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.js +950 -54
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -67,10 +67,10 @@ async function authenticate() {
|
|
|
67
67
|
process.stderr.write("[speakai-mcp] Authenticated successfully\n");
|
|
68
68
|
}
|
|
69
69
|
} catch (err) {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
`
|
|
73
|
-
);
|
|
70
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
71
|
+
process.stderr.write(`[speakai-mcp] Authentication failed: ${message}
|
|
72
|
+
`);
|
|
73
|
+
throw new Error(`Authentication failed: ${message}`);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
async function refreshAccessToken() {
|
|
@@ -154,6 +154,9 @@ var init_client = __esm({
|
|
|
154
154
|
(response) => response,
|
|
155
155
|
async (error) => {
|
|
156
156
|
const originalRequest = error.config;
|
|
157
|
+
if (!originalRequest) {
|
|
158
|
+
return Promise.reject(error);
|
|
159
|
+
}
|
|
157
160
|
const retryCount = originalRequest._retryCount ?? 0;
|
|
158
161
|
if (error.response?.status === 401 && retryCount < 2) {
|
|
159
162
|
originalRequest._retryCount = retryCount + 1;
|
|
@@ -169,6 +172,899 @@ var init_client = __esm({
|
|
|
169
172
|
}
|
|
170
173
|
});
|
|
171
174
|
|
|
175
|
+
// node_modules/@speakai/shared/dist/enums/activities.js
|
|
176
|
+
var ActivityType;
|
|
177
|
+
var init_activities = __esm({
|
|
178
|
+
"node_modules/@speakai/shared/dist/enums/activities.js"() {
|
|
179
|
+
"use strict";
|
|
180
|
+
(function(ActivityType2) {
|
|
181
|
+
ActivityType2["MEDIA_ANALYSIS"] = "mediaAnalysis";
|
|
182
|
+
ActivityType2["MEDIA_TRANSCRIPTION"] = "mediaTranscription";
|
|
183
|
+
ActivityType2["TEXT_NOTE_ANALYZED"] = "textNoteAnalyzed";
|
|
184
|
+
ActivityType2["RECORDING_RECEIVED"] = "recordingReceived";
|
|
185
|
+
ActivityType2["RECORDER_CREATED"] = "recorderCreated";
|
|
186
|
+
ActivityType2["MEETING_ASSISTANT"] = "meetingAssistant";
|
|
187
|
+
})(ActivityType || (ActivityType = {}));
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
|
|
191
|
+
// node_modules/@speakai/shared/dist/enums/auth.js
|
|
192
|
+
var SSOType, DevicePlatform;
|
|
193
|
+
var init_auth = __esm({
|
|
194
|
+
"node_modules/@speakai/shared/dist/enums/auth.js"() {
|
|
195
|
+
"use strict";
|
|
196
|
+
(function(SSOType2) {
|
|
197
|
+
SSOType2["GOOGLE"] = "google";
|
|
198
|
+
SSOType2["MICROSOFT"] = "microsoft";
|
|
199
|
+
SSOType2["APPLE"] = "apple";
|
|
200
|
+
SSOType2["FACEBOOK"] = "facebook";
|
|
201
|
+
})(SSOType || (SSOType = {}));
|
|
202
|
+
(function(DevicePlatform2) {
|
|
203
|
+
DevicePlatform2["IOS"] = "ios";
|
|
204
|
+
DevicePlatform2["ANDROID"] = "android";
|
|
205
|
+
DevicePlatform2["WEB"] = "web";
|
|
206
|
+
DevicePlatform2["ELECTRON"] = "electron";
|
|
207
|
+
DevicePlatform2["API"] = "api";
|
|
208
|
+
})(DevicePlatform || (DevicePlatform = {}));
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
// node_modules/@speakai/shared/dist/enums/automation.js
|
|
213
|
+
var AutomationTrigger, AutomationAction, AutomationRunType, AutomationScheduleTimePeriod, AssistantType;
|
|
214
|
+
var init_automation = __esm({
|
|
215
|
+
"node_modules/@speakai/shared/dist/enums/automation.js"() {
|
|
216
|
+
"use strict";
|
|
217
|
+
(function(AutomationTrigger2) {
|
|
218
|
+
AutomationTrigger2["FOLDERS"] = "folders";
|
|
219
|
+
AutomationTrigger2["TAGS"] = "tags";
|
|
220
|
+
AutomationTrigger2["KEYWORDS"] = "keywords";
|
|
221
|
+
})(AutomationTrigger || (AutomationTrigger = {}));
|
|
222
|
+
(function(AutomationAction2) {
|
|
223
|
+
AutomationAction2["MAGIC_PROMPT"] = "magic-prompt";
|
|
224
|
+
AutomationAction2["TRANSLATION"] = "translation";
|
|
225
|
+
})(AutomationAction || (AutomationAction = {}));
|
|
226
|
+
(function(AutomationRunType2) {
|
|
227
|
+
AutomationRunType2["INSTANT"] = "instant";
|
|
228
|
+
AutomationRunType2["SCHEDULE"] = "schedule";
|
|
229
|
+
})(AutomationRunType || (AutomationRunType = {}));
|
|
230
|
+
(function(AutomationScheduleTimePeriod2) {
|
|
231
|
+
AutomationScheduleTimePeriod2["TODAY"] = "today";
|
|
232
|
+
AutomationScheduleTimePeriod2["YESTERDAY"] = "yesterday";
|
|
233
|
+
AutomationScheduleTimePeriod2["LAST_7_DAYS"] = "last7days";
|
|
234
|
+
AutomationScheduleTimePeriod2["LAST_14_DAYS"] = "last14days";
|
|
235
|
+
AutomationScheduleTimePeriod2["THIS_WEEK"] = "thisWeek";
|
|
236
|
+
})(AutomationScheduleTimePeriod || (AutomationScheduleTimePeriod = {}));
|
|
237
|
+
(function(AssistantType2) {
|
|
238
|
+
AssistantType2["RESEARCHER"] = "researcher";
|
|
239
|
+
AssistantType2["MARKETER"] = "marketer";
|
|
240
|
+
AssistantType2["SALES"] = "sales";
|
|
241
|
+
AssistantType2["GENERAL"] = "general";
|
|
242
|
+
AssistantType2["RECRUITER"] = "recruiter";
|
|
243
|
+
AssistantType2["CUSTOM"] = "custom";
|
|
244
|
+
})(AssistantType || (AssistantType = {}));
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
|
|
248
|
+
// node_modules/@speakai/shared/dist/enums/calendar.js
|
|
249
|
+
var CalendarType, EventStatus, AutoJoinStatus;
|
|
250
|
+
var init_calendar = __esm({
|
|
251
|
+
"node_modules/@speakai/shared/dist/enums/calendar.js"() {
|
|
252
|
+
"use strict";
|
|
253
|
+
(function(CalendarType2) {
|
|
254
|
+
CalendarType2["GOOGLE"] = "google";
|
|
255
|
+
CalendarType2["OUTLOOK"] = "outlook";
|
|
256
|
+
})(CalendarType || (CalendarType = {}));
|
|
257
|
+
(function(EventStatus2) {
|
|
258
|
+
EventStatus2["CONFIRMED"] = "confirmed";
|
|
259
|
+
EventStatus2["CANCELLED"] = "cancelled";
|
|
260
|
+
})(EventStatus || (EventStatus = {}));
|
|
261
|
+
(function(AutoJoinStatus2) {
|
|
262
|
+
AutoJoinStatus2["NONE"] = "none";
|
|
263
|
+
AutoJoinStatus2["INVITE_ASSISTANT"] = "inviteAssistant";
|
|
264
|
+
AutoJoinStatus2["ALL_MEETINGS"] = "allMeetings";
|
|
265
|
+
AutoJoinStatus2["HOST"] = "host";
|
|
266
|
+
AutoJoinStatus2["SPEAK_TEAM_MEMBERS_NOT_HOST"] = "speakTeamMembersNotHost";
|
|
267
|
+
})(AutoJoinStatus || (AutoJoinStatus = {}));
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
|
|
271
|
+
// node_modules/@speakai/shared/dist/enums/clip.js
|
|
272
|
+
var ClipState, ClipGenerationSource;
|
|
273
|
+
var init_clip = __esm({
|
|
274
|
+
"node_modules/@speakai/shared/dist/enums/clip.js"() {
|
|
275
|
+
"use strict";
|
|
276
|
+
(function(ClipState2) {
|
|
277
|
+
ClipState2["QUEUED"] = "queued";
|
|
278
|
+
ClipState2["PROCESSING"] = "processing";
|
|
279
|
+
ClipState2["COMPLETED"] = "completed";
|
|
280
|
+
ClipState2["FAILED"] = "failed";
|
|
281
|
+
})(ClipState || (ClipState = {}));
|
|
282
|
+
(function(ClipGenerationSource2) {
|
|
283
|
+
ClipGenerationSource2["MANUAL"] = "manual";
|
|
284
|
+
ClipGenerationSource2["CHAT"] = "chat";
|
|
285
|
+
ClipGenerationSource2["AI"] = "ai";
|
|
286
|
+
})(ClipGenerationSource || (ClipGenerationSource = {}));
|
|
287
|
+
}
|
|
288
|
+
});
|
|
289
|
+
|
|
290
|
+
// node_modules/@speakai/shared/dist/enums/domain.js
|
|
291
|
+
var ServiceType, VerificationStatus;
|
|
292
|
+
var init_domain = __esm({
|
|
293
|
+
"node_modules/@speakai/shared/dist/enums/domain.js"() {
|
|
294
|
+
"use strict";
|
|
295
|
+
(function(ServiceType2) {
|
|
296
|
+
ServiceType2["RECORDER"] = "recorder";
|
|
297
|
+
ServiceType2["PLAYER"] = "player";
|
|
298
|
+
ServiceType2["LIBRARY"] = "library";
|
|
299
|
+
})(ServiceType || (ServiceType = {}));
|
|
300
|
+
(function(VerificationStatus2) {
|
|
301
|
+
VerificationStatus2["PENDING"] = "pending";
|
|
302
|
+
VerificationStatus2["VERIFIED"] = "verified";
|
|
303
|
+
VerificationStatus2["FAILED"] = "failed";
|
|
304
|
+
VerificationStatus2["ACTIVE"] = "active";
|
|
305
|
+
})(VerificationStatus || (VerificationStatus = {}));
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
|
|
309
|
+
// node_modules/@speakai/shared/dist/enums/embed.js
|
|
310
|
+
var EmbedType, ImageSelectionType;
|
|
311
|
+
var init_embed = __esm({
|
|
312
|
+
"node_modules/@speakai/shared/dist/enums/embed.js"() {
|
|
313
|
+
"use strict";
|
|
314
|
+
(function(EmbedType2) {
|
|
315
|
+
EmbedType2["MEDIA_PLAYER"] = "mediaPlayer";
|
|
316
|
+
EmbedType2["REPOSITORY"] = "repository";
|
|
317
|
+
})(EmbedType || (EmbedType = {}));
|
|
318
|
+
(function(ImageSelectionType2) {
|
|
319
|
+
ImageSelectionType2["LOGO"] = "logo";
|
|
320
|
+
ImageSelectionType2["BACKGROUND_IMG"] = "backgroundImg";
|
|
321
|
+
ImageSelectionType2["MEETING_ASSISTANT"] = "meetingAssistant";
|
|
322
|
+
})(ImageSelectionType || (ImageSelectionType = {}));
|
|
323
|
+
}
|
|
324
|
+
});
|
|
325
|
+
|
|
326
|
+
// node_modules/@speakai/shared/dist/enums/export.js
|
|
327
|
+
var ExportFormatType;
|
|
328
|
+
var init_export = __esm({
|
|
329
|
+
"node_modules/@speakai/shared/dist/enums/export.js"() {
|
|
330
|
+
"use strict";
|
|
331
|
+
(function(ExportFormatType2) {
|
|
332
|
+
ExportFormatType2["CSV"] = "csv";
|
|
333
|
+
ExportFormatType2["CSV_INSIGHTS"] = "csv-insights";
|
|
334
|
+
ExportFormatType2["CSV_TRANSCRIPT"] = "csv-transcript";
|
|
335
|
+
ExportFormatType2["CSV_TRANSCRIPT_WITH_SENTIMENT"] = "csv-transcript-sentiment";
|
|
336
|
+
ExportFormatType2["CSV_TEXT_WITH_SENTIMENT"] = "csv-text-sentiment";
|
|
337
|
+
ExportFormatType2["DOCX"] = "docx";
|
|
338
|
+
ExportFormatType2["HTML"] = "html";
|
|
339
|
+
ExportFormatType2["JSON"] = "json";
|
|
340
|
+
ExportFormatType2["PDF"] = "pdf";
|
|
341
|
+
ExportFormatType2["SOURCEFILE"] = "sourceFile";
|
|
342
|
+
ExportFormatType2["SRT"] = "srt";
|
|
343
|
+
ExportFormatType2["TTML"] = "ttml";
|
|
344
|
+
ExportFormatType2["TXT"] = "txt";
|
|
345
|
+
ExportFormatType2["VTT"] = "vtt";
|
|
346
|
+
ExportFormatType2["MP4"] = "mp4";
|
|
347
|
+
})(ExportFormatType || (ExportFormatType = {}));
|
|
348
|
+
}
|
|
349
|
+
});
|
|
350
|
+
|
|
351
|
+
// node_modules/@speakai/shared/dist/enums/fields.js
|
|
352
|
+
var FieldType, AllowedValuesMode, DefaultViewColumn;
|
|
353
|
+
var init_fields = __esm({
|
|
354
|
+
"node_modules/@speakai/shared/dist/enums/fields.js"() {
|
|
355
|
+
"use strict";
|
|
356
|
+
(function(FieldType2) {
|
|
357
|
+
FieldType2["TEXT"] = "text";
|
|
358
|
+
FieldType2["URL"] = "url";
|
|
359
|
+
FieldType2["BOOLEAN"] = "boolean";
|
|
360
|
+
FieldType2["DATE"] = "date";
|
|
361
|
+
FieldType2["DATETIME"] = "datetime";
|
|
362
|
+
FieldType2["NUMBER"] = "number";
|
|
363
|
+
FieldType2["CURRENCY"] = "currency";
|
|
364
|
+
})(FieldType || (FieldType = {}));
|
|
365
|
+
(function(AllowedValuesMode2) {
|
|
366
|
+
AllowedValuesMode2["SINGLE"] = "single";
|
|
367
|
+
AllowedValuesMode2["MULTIPLE"] = "multiple";
|
|
368
|
+
})(AllowedValuesMode || (AllowedValuesMode = {}));
|
|
369
|
+
(function(DefaultViewColumn2) {
|
|
370
|
+
DefaultViewColumn2["NAME"] = "name";
|
|
371
|
+
DefaultViewColumn2["DURATION"] = "duration";
|
|
372
|
+
DefaultViewColumn2["TAGS"] = "tags";
|
|
373
|
+
DefaultViewColumn2["SENTIMENT"] = "sentiment";
|
|
374
|
+
DefaultViewColumn2["DATETIME"] = "datetime";
|
|
375
|
+
DefaultViewColumn2["SIZE"] = "size";
|
|
376
|
+
DefaultViewColumn2["MEDIA_TYPE"] = "mediaType";
|
|
377
|
+
DefaultViewColumn2["CREATED_AT"] = "createdAt";
|
|
378
|
+
DefaultViewColumn2["UPDATED_AT"] = "updatedAt";
|
|
379
|
+
})(DefaultViewColumn || (DefaultViewColumn = {}));
|
|
380
|
+
}
|
|
381
|
+
});
|
|
382
|
+
|
|
383
|
+
// node_modules/@speakai/shared/dist/enums/filter.js
|
|
384
|
+
var FilterFieldName, FilterOperator, FilterCondition;
|
|
385
|
+
var init_filter = __esm({
|
|
386
|
+
"node_modules/@speakai/shared/dist/enums/filter.js"() {
|
|
387
|
+
"use strict";
|
|
388
|
+
(function(FilterFieldName2) {
|
|
389
|
+
FilterFieldName2["CATEGORY"] = "category";
|
|
390
|
+
FilterFieldName2["FOLDER_ID"] = "folderId";
|
|
391
|
+
FilterFieldName2["MEDIA_ID"] = "mediaId";
|
|
392
|
+
FilterFieldName2["MEDIA_TYPE"] = "mediaType";
|
|
393
|
+
FilterFieldName2["SENTIMENT_NEGATIVE"] = "sentimentNegative";
|
|
394
|
+
FilterFieldName2["SENTIMENT_POSITIVE"] = "sentimentPositive";
|
|
395
|
+
FilterFieldName2["SPEAKER"] = "speaker";
|
|
396
|
+
FilterFieldName2["TAGS"] = "tags";
|
|
397
|
+
FilterFieldName2["RECORDER_ID"] = "recorderId";
|
|
398
|
+
FilterFieldName2["FIELDS"] = "fields";
|
|
399
|
+
})(FilterFieldName || (FilterFieldName = {}));
|
|
400
|
+
(function(FilterOperator2) {
|
|
401
|
+
FilterOperator2["INCLUDE"] = "include";
|
|
402
|
+
FilterOperator2["NOT_INCLUDE"] = "notInclude";
|
|
403
|
+
FilterOperator2["CONTAIN"] = "contain";
|
|
404
|
+
FilterOperator2["NOT_CONTAIN"] = "notContain";
|
|
405
|
+
FilterOperator2["GREATER_THAN"] = "greaterThan";
|
|
406
|
+
FilterOperator2["LESS_THAN"] = "lessThan";
|
|
407
|
+
})(FilterOperator || (FilterOperator = {}));
|
|
408
|
+
(function(FilterCondition2) {
|
|
409
|
+
FilterCondition2["AND"] = "and";
|
|
410
|
+
FilterCondition2["OR"] = "or";
|
|
411
|
+
})(FilterCondition || (FilterCondition = {}));
|
|
412
|
+
}
|
|
413
|
+
});
|
|
414
|
+
|
|
415
|
+
// node_modules/@speakai/shared/dist/enums/media.js
|
|
416
|
+
var MediaType, MediaState, MediaPrivacyMode, MediaInsightType, MediaInsightStatus, MediaProcessType;
|
|
417
|
+
var init_media = __esm({
|
|
418
|
+
"node_modules/@speakai/shared/dist/enums/media.js"() {
|
|
419
|
+
"use strict";
|
|
420
|
+
(function(MediaType2) {
|
|
421
|
+
MediaType2["AUDIO"] = "audio";
|
|
422
|
+
MediaType2["VIDEO"] = "video";
|
|
423
|
+
MediaType2["TEXT"] = "text";
|
|
424
|
+
MediaType2["MEDIA"] = "media";
|
|
425
|
+
MediaType2["CSV"] = "csv";
|
|
426
|
+
})(MediaType || (MediaType = {}));
|
|
427
|
+
(function(MediaState3) {
|
|
428
|
+
MediaState3["NOT_UPLOADED"] = "notUploaded";
|
|
429
|
+
MediaState3["UPLOADED"] = "uploaded";
|
|
430
|
+
MediaState3["QUEUED"] = "queued";
|
|
431
|
+
MediaState3["PENDING_PAYMENT"] = "pendingPayment";
|
|
432
|
+
MediaState3["PREPARING"] = "preparing";
|
|
433
|
+
MediaState3["PREPARING_TRANSCRIPTION"] = "preparingTranscription";
|
|
434
|
+
MediaState3["PROCESSING"] = "processing";
|
|
435
|
+
MediaState3["TRANSLATION"] = "translation";
|
|
436
|
+
MediaState3["PREPARING_ANALYSIS"] = "preparingAnalysis";
|
|
437
|
+
MediaState3["PROCESSED"] = "processed";
|
|
438
|
+
MediaState3["DUBBING"] = "dubbing";
|
|
439
|
+
MediaState3["FAILED"] = "failed";
|
|
440
|
+
MediaState3["COMPLETE"] = "complete";
|
|
441
|
+
MediaState3["LIVE_TRANSCRIPT"] = "liveTranscript";
|
|
442
|
+
})(MediaState || (MediaState = {}));
|
|
443
|
+
(function(MediaPrivacyMode2) {
|
|
444
|
+
MediaPrivacyMode2["PUBLIC"] = "public";
|
|
445
|
+
MediaPrivacyMode2["PRIVATE"] = "private";
|
|
446
|
+
})(MediaPrivacyMode || (MediaPrivacyMode = {}));
|
|
447
|
+
(function(MediaInsightType2) {
|
|
448
|
+
MediaInsightType2["Arts"] = "arts";
|
|
449
|
+
MediaInsightType2["Brands"] = "brands";
|
|
450
|
+
MediaInsightType2["Cardinals"] = "cardinals";
|
|
451
|
+
MediaInsightType2["Dates"] = "dates";
|
|
452
|
+
MediaInsightType2["Events"] = "events";
|
|
453
|
+
MediaInsightType2["Geopolitical"] = "geopolitical";
|
|
454
|
+
MediaInsightType2["Keywords"] = "keywords";
|
|
455
|
+
MediaInsightType2["Languages"] = "languages";
|
|
456
|
+
MediaInsightType2["Laws"] = "laws";
|
|
457
|
+
MediaInsightType2["Locations"] = "locations";
|
|
458
|
+
MediaInsightType2["Money"] = "money";
|
|
459
|
+
MediaInsightType2["Nationalities"] = "nationalities";
|
|
460
|
+
MediaInsightType2["Ordinals"] = "ordinals";
|
|
461
|
+
MediaInsightType2["People"] = "people";
|
|
462
|
+
MediaInsightType2["Percentages"] = "percentages";
|
|
463
|
+
MediaInsightType2["Products"] = "products";
|
|
464
|
+
MediaInsightType2["Quantities"] = "quantities";
|
|
465
|
+
MediaInsightType2["Times"] = "times";
|
|
466
|
+
MediaInsightType2["Topics"] = "topics";
|
|
467
|
+
MediaInsightType2["Transcript"] = "transcript";
|
|
468
|
+
MediaInsightType2["Addresses"] = "addresses";
|
|
469
|
+
})(MediaInsightType || (MediaInsightType = {}));
|
|
470
|
+
(function(MediaInsightStatus2) {
|
|
471
|
+
MediaInsightStatus2["PENDING"] = "pending";
|
|
472
|
+
MediaInsightStatus2["PROCESSING"] = "processing";
|
|
473
|
+
MediaInsightStatus2["COMPLETED"] = "completed";
|
|
474
|
+
MediaInsightStatus2["FAILED"] = "failed";
|
|
475
|
+
MediaInsightStatus2["KILLED"] = "killed";
|
|
476
|
+
})(MediaInsightStatus || (MediaInsightStatus = {}));
|
|
477
|
+
(function(MediaProcessType2) {
|
|
478
|
+
MediaProcessType2["TRANSCRIPTION"] = "transcription";
|
|
479
|
+
MediaProcessType2["DUBBING"] = "dubbing";
|
|
480
|
+
MediaProcessType2["TRANSLATION"] = "translation";
|
|
481
|
+
})(MediaProcessType || (MediaProcessType = {}));
|
|
482
|
+
}
|
|
483
|
+
});
|
|
484
|
+
|
|
485
|
+
// node_modules/@speakai/shared/dist/enums/meeting.js
|
|
486
|
+
var MeetingPlatform, MeetingStatus, MeetingRecordingMode, ScreenShareRecordingMode, MeetingSummarySettings, MediaPlayerSettings, MeetingFilterEventCondition, MeetingAttendeeType, MeetingAssistantEventSource;
|
|
487
|
+
var init_meeting = __esm({
|
|
488
|
+
"node_modules/@speakai/shared/dist/enums/meeting.js"() {
|
|
489
|
+
"use strict";
|
|
490
|
+
(function(MeetingPlatform2) {
|
|
491
|
+
MeetingPlatform2["GOOGLE_MEET"] = "googleMeet";
|
|
492
|
+
MeetingPlatform2["ZOOM"] = "zoom";
|
|
493
|
+
MeetingPlatform2["MICROSOFT_TEAMS"] = "microsoftTeams";
|
|
494
|
+
MeetingPlatform2["WEBEX"] = "webex";
|
|
495
|
+
})(MeetingPlatform || (MeetingPlatform = {}));
|
|
496
|
+
(function(MeetingStatus2) {
|
|
497
|
+
MeetingStatus2["WILL_JOIN"] = "willJoin";
|
|
498
|
+
MeetingStatus2["SCHEDULED"] = "scheduled";
|
|
499
|
+
MeetingStatus2["READY"] = "ready";
|
|
500
|
+
MeetingStatus2["JOINING_CALL"] = "joiningCall";
|
|
501
|
+
MeetingStatus2["IN_WAITING_ROOM"] = "inWaitingRoom";
|
|
502
|
+
MeetingStatus2["IN_CALL_NOT_RECORDING"] = "inCallNotRecording";
|
|
503
|
+
MeetingStatus2["RECORDING_PERMISSION_DENIED"] = "recordingPermissionDenied";
|
|
504
|
+
MeetingStatus2["IN_CALL_RECORDING"] = "inCallRecording";
|
|
505
|
+
MeetingStatus2["CALL_ENDED"] = "callEnded";
|
|
506
|
+
MeetingStatus2["DONE"] = "done";
|
|
507
|
+
MeetingStatus2["FATAL"] = "fatal";
|
|
508
|
+
MeetingStatus2["ANALYSIS_DONE"] = "analysisDone";
|
|
509
|
+
MeetingStatus2["PAUSED"] = "paused";
|
|
510
|
+
MeetingStatus2["RESUMED"] = "resumed";
|
|
511
|
+
MeetingStatus2["CANCELLED"] = "cancelled";
|
|
512
|
+
MeetingStatus2["NOT_INVITED"] = "notInvited";
|
|
513
|
+
})(MeetingStatus || (MeetingStatus = {}));
|
|
514
|
+
(function(MeetingRecordingMode2) {
|
|
515
|
+
MeetingRecordingMode2["SPEAKER_VIEW"] = "speakerView";
|
|
516
|
+
MeetingRecordingMode2["GALLERY_VIEW"] = "galleryView";
|
|
517
|
+
MeetingRecordingMode2["GALLERY_VIEW_V2"] = "galleryViewV2";
|
|
518
|
+
MeetingRecordingMode2["AUDIO_ONLY"] = "audioOnly";
|
|
519
|
+
})(MeetingRecordingMode || (MeetingRecordingMode = {}));
|
|
520
|
+
(function(ScreenShareRecordingMode2) {
|
|
521
|
+
ScreenShareRecordingMode2["HIDE"] = "hide";
|
|
522
|
+
ScreenShareRecordingMode2["BESIDE"] = "beside";
|
|
523
|
+
ScreenShareRecordingMode2["OVERLAP"] = "overlap";
|
|
524
|
+
})(ScreenShareRecordingMode || (ScreenShareRecordingMode = {}));
|
|
525
|
+
(function(MeetingSummarySettings2) {
|
|
526
|
+
MeetingSummarySettings2["SELF"] = "self";
|
|
527
|
+
MeetingSummarySettings2["ALL_ATTENDEES"] = "allAttendees";
|
|
528
|
+
MeetingSummarySettings2["NONE"] = "none";
|
|
529
|
+
})(MeetingSummarySettings || (MeetingSummarySettings = {}));
|
|
530
|
+
(function(MediaPlayerSettings2) {
|
|
531
|
+
MediaPlayerSettings2["ALL_ATTENDEES"] = "allAttendees";
|
|
532
|
+
MediaPlayerSettings2["TEAM_MEMBERS"] = "teamMembers";
|
|
533
|
+
MediaPlayerSettings2["FOLDER_TEAM_MEMBERS"] = "folderTeamMembers";
|
|
534
|
+
MediaPlayerSettings2["SELF"] = "self";
|
|
535
|
+
MediaPlayerSettings2["NONE"] = "none";
|
|
536
|
+
})(MediaPlayerSettings || (MediaPlayerSettings = {}));
|
|
537
|
+
(function(MeetingFilterEventCondition2) {
|
|
538
|
+
MeetingFilterEventCondition2["CONTAINS"] = "contains";
|
|
539
|
+
MeetingFilterEventCondition2["EQUALS"] = "equals";
|
|
540
|
+
})(MeetingFilterEventCondition || (MeetingFilterEventCondition = {}));
|
|
541
|
+
(function(MeetingAttendeeType2) {
|
|
542
|
+
MeetingAttendeeType2["HOST"] = "host";
|
|
543
|
+
MeetingAttendeeType2["ASSISTANT"] = "assistant";
|
|
544
|
+
MeetingAttendeeType2["SELF"] = "self";
|
|
545
|
+
MeetingAttendeeType2["GUEST"] = "guest";
|
|
546
|
+
})(MeetingAttendeeType || (MeetingAttendeeType = {}));
|
|
547
|
+
(function(MeetingAssistantEventSource2) {
|
|
548
|
+
MeetingAssistantEventSource2["INSTANT"] = "instant";
|
|
549
|
+
MeetingAssistantEventSource2["ASSISTANT"] = "assistant";
|
|
550
|
+
})(MeetingAssistantEventSource || (MeetingAssistantEventSource = {}));
|
|
551
|
+
}
|
|
552
|
+
});
|
|
553
|
+
|
|
554
|
+
// node_modules/@speakai/shared/dist/enums/notification.js
|
|
555
|
+
var NotificationType, NotificationAction;
|
|
556
|
+
var init_notification = __esm({
|
|
557
|
+
"node_modules/@speakai/shared/dist/enums/notification.js"() {
|
|
558
|
+
"use strict";
|
|
559
|
+
(function(NotificationType2) {
|
|
560
|
+
NotificationType2["CLIP"] = "clip";
|
|
561
|
+
NotificationType2["AUDIO"] = "audio";
|
|
562
|
+
NotificationType2["ACCOUNT"] = "account";
|
|
563
|
+
NotificationType2["AUTOMATION"] = "automation";
|
|
564
|
+
NotificationType2["EMBED"] = "embed";
|
|
565
|
+
NotificationType2["INTEGRATION"] = "integration";
|
|
566
|
+
NotificationType2["MAGIC_PROMPT"] = "magic prompt";
|
|
567
|
+
NotificationType2["MEDIA"] = "media";
|
|
568
|
+
NotificationType2["PAYMENT"] = "payment";
|
|
569
|
+
NotificationType2["PRESENTATION"] = "presentation";
|
|
570
|
+
NotificationType2["RECORDER"] = "recorder";
|
|
571
|
+
NotificationType2["SURVEY"] = "survey";
|
|
572
|
+
NotificationType2["SUBSCRIPTION"] = "subscription";
|
|
573
|
+
NotificationType2["TEAM"] = "team";
|
|
574
|
+
NotificationType2["TEXT"] = "text";
|
|
575
|
+
NotificationType2["TRANSCRIPTION"] = "transcription";
|
|
576
|
+
NotificationType2["TRANSLATE"] = "translate";
|
|
577
|
+
NotificationType2["VIDEO"] = "video";
|
|
578
|
+
NotificationType2["ZAPIER"] = "zapier";
|
|
579
|
+
NotificationType2["MEETING_ASSISTANT"] = "meeting assistant";
|
|
580
|
+
NotificationType2["GOOGLE_CALENDAR"] = "google calendar";
|
|
581
|
+
NotificationType2["OUTLOOK_CALENDAR"] = "outlook calendar";
|
|
582
|
+
NotificationType2["AUTO_RELOAD"] = "auto reload";
|
|
583
|
+
NotificationType2["FOLDER"] = "folder";
|
|
584
|
+
NotificationType2["FIELDS"] = "fields";
|
|
585
|
+
NotificationType2["ASSISTANT_TEMPLATE"] = "assistant template";
|
|
586
|
+
})(NotificationType || (NotificationType = {}));
|
|
587
|
+
(function(NotificationAction2) {
|
|
588
|
+
NotificationAction2["ANALYZED"] = "analyzed";
|
|
589
|
+
NotificationAction2["CREATED"] = "created";
|
|
590
|
+
NotificationAction2["CREDIT"] = "credit";
|
|
591
|
+
NotificationAction2["DEBIT"] = "debit";
|
|
592
|
+
NotificationAction2["DELETED"] = "deleted";
|
|
593
|
+
NotificationAction2["EXPORT"] = "export";
|
|
594
|
+
NotificationAction2["PAID"] = "paid";
|
|
595
|
+
NotificationAction2["UPDATED"] = "updated";
|
|
596
|
+
NotificationAction2["UPLOADED"] = "uploaded";
|
|
597
|
+
NotificationAction2["ERROR"] = "error";
|
|
598
|
+
NotificationAction2["FAILED"] = "failed";
|
|
599
|
+
NotificationAction2["CLONED"] = "cloned";
|
|
600
|
+
})(NotificationAction || (NotificationAction = {}));
|
|
601
|
+
}
|
|
602
|
+
});
|
|
603
|
+
|
|
604
|
+
// node_modules/@speakai/shared/dist/enums/prompt.js
|
|
605
|
+
var PromptState, MessageRole, PromptSource, ToolName, FileType;
|
|
606
|
+
var init_prompt = __esm({
|
|
607
|
+
"node_modules/@speakai/shared/dist/enums/prompt.js"() {
|
|
608
|
+
"use strict";
|
|
609
|
+
(function(PromptState2) {
|
|
610
|
+
PromptState2["INITIATED"] = "initiated";
|
|
611
|
+
PromptState2["PREPARING"] = "preparing";
|
|
612
|
+
PromptState2["PROCESSING"] = "processing";
|
|
613
|
+
PromptState2["FAILED"] = "failed";
|
|
614
|
+
PromptState2["PENDING_PAYMENT"] = "pendingPayment";
|
|
615
|
+
PromptState2["COMPLETED"] = "completed";
|
|
616
|
+
PromptState2["CANCELLED"] = "cancelled";
|
|
617
|
+
PromptState2["EXPIRED"] = "expired";
|
|
618
|
+
PromptState2["IN_PROGRESS"] = "inProgress";
|
|
619
|
+
PromptState2["STREAMING"] = "streaming";
|
|
620
|
+
})(PromptState || (PromptState = {}));
|
|
621
|
+
(function(MessageRole2) {
|
|
622
|
+
MessageRole2["SYSTEM"] = "system";
|
|
623
|
+
MessageRole2["USER"] = "user";
|
|
624
|
+
MessageRole2["ASSISTANT"] = "assistant";
|
|
625
|
+
})(MessageRole || (MessageRole = {}));
|
|
626
|
+
(function(PromptSource2) {
|
|
627
|
+
PromptSource2["FOLDER"] = "folder";
|
|
628
|
+
PromptSource2["MEDIA_FILES"] = "mediaFiles";
|
|
629
|
+
PromptSource2["CSV_FILE"] = "csvFile";
|
|
630
|
+
PromptSource2["KNOWLEDGE_BASE"] = "knowledgeBase";
|
|
631
|
+
PromptSource2["EXPLORE_ANALYTICS"] = "exploreAnalytics";
|
|
632
|
+
})(PromptSource || (PromptSource = {}));
|
|
633
|
+
(function(ToolName2) {
|
|
634
|
+
ToolName2["OPEN_SUPPORT"] = "open_support";
|
|
635
|
+
ToolName2["CREATE_CLIP"] = "create_clip";
|
|
636
|
+
ToolName2["UPDATE_SPEAKERS"] = "update_speakers";
|
|
637
|
+
ToolName2["UPDATE_TRANSCRIPTION"] = "update_transcription";
|
|
638
|
+
ToolName2["SEARCH_MEDIA"] = "search_media";
|
|
639
|
+
ToolName2["GENERATE_CHART"] = "generate_chart";
|
|
640
|
+
ToolName2["EXPORT_TRANSCRIPTION"] = "export_transcription";
|
|
641
|
+
ToolName2["COMPARE_MEDIA"] = "compare_media";
|
|
642
|
+
})(ToolName || (ToolName = {}));
|
|
643
|
+
(function(FileType2) {
|
|
644
|
+
FileType2["IMAGE"] = "image";
|
|
645
|
+
FileType2["CSV"] = "csv";
|
|
646
|
+
FileType2["PDF"] = "pdf";
|
|
647
|
+
FileType2["DOCX"] = "docx";
|
|
648
|
+
FileType2["TXT"] = "txt";
|
|
649
|
+
FileType2["ZIP"] = "zip";
|
|
650
|
+
})(FileType || (FileType = {}));
|
|
651
|
+
}
|
|
652
|
+
});
|
|
653
|
+
|
|
654
|
+
// node_modules/@speakai/shared/dist/enums/recorder.js
|
|
655
|
+
var RecorderAnswerType, RecorderUploadType, RecordingFeedbackRating;
|
|
656
|
+
var init_recorder = __esm({
|
|
657
|
+
"node_modules/@speakai/shared/dist/enums/recorder.js"() {
|
|
658
|
+
"use strict";
|
|
659
|
+
(function(RecorderAnswerType2) {
|
|
660
|
+
RecorderAnswerType2["Single"] = "single";
|
|
661
|
+
RecorderAnswerType2["Multiple"] = "multiple";
|
|
662
|
+
RecorderAnswerType2["Checkbox"] = "checkbox";
|
|
663
|
+
RecorderAnswerType2["Radiobutton"] = "radiobutton";
|
|
664
|
+
RecorderAnswerType2["Dropdownlist"] = "dropdownlist";
|
|
665
|
+
RecorderAnswerType2["Date"] = "date";
|
|
666
|
+
RecorderAnswerType2["Time"] = "time";
|
|
667
|
+
RecorderAnswerType2["Datetime"] = "datetime";
|
|
668
|
+
})(RecorderAnswerType || (RecorderAnswerType = {}));
|
|
669
|
+
(function(RecorderUploadType2) {
|
|
670
|
+
RecorderUploadType2["RECORD"] = "record";
|
|
671
|
+
RecorderUploadType2["FILE"] = "file";
|
|
672
|
+
RecorderUploadType2["YOUTUBE"] = "youtube";
|
|
673
|
+
RecorderUploadType2["LIVE_RECORD"] = "live-record";
|
|
674
|
+
})(RecorderUploadType || (RecorderUploadType = {}));
|
|
675
|
+
(function(RecordingFeedbackRating2) {
|
|
676
|
+
RecordingFeedbackRating2["POSITIVE"] = "positive";
|
|
677
|
+
RecordingFeedbackRating2["NEGATIVE"] = "negative";
|
|
678
|
+
})(RecordingFeedbackRating || (RecordingFeedbackRating = {}));
|
|
679
|
+
}
|
|
680
|
+
});
|
|
681
|
+
|
|
682
|
+
// node_modules/@speakai/shared/dist/enums/subscription.js
|
|
683
|
+
var SubscriptionStatus, SubscriptionDuration;
|
|
684
|
+
var init_subscription = __esm({
|
|
685
|
+
"node_modules/@speakai/shared/dist/enums/subscription.js"() {
|
|
686
|
+
"use strict";
|
|
687
|
+
(function(SubscriptionStatus2) {
|
|
688
|
+
SubscriptionStatus2["Active"] = "active";
|
|
689
|
+
SubscriptionStatus2["Paused"] = "paused";
|
|
690
|
+
SubscriptionStatus2["PendingReview"] = "pendingReview";
|
|
691
|
+
SubscriptionStatus2["PendingCancellation"] = "pendingCancellation";
|
|
692
|
+
SubscriptionStatus2["Cancelled"] = "cancelled";
|
|
693
|
+
SubscriptionStatus2["PendingPayment"] = "pendingPayment";
|
|
694
|
+
})(SubscriptionStatus || (SubscriptionStatus = {}));
|
|
695
|
+
(function(SubscriptionDuration2) {
|
|
696
|
+
SubscriptionDuration2["Monthly"] = "monthly";
|
|
697
|
+
SubscriptionDuration2["2Months"] = "2months";
|
|
698
|
+
SubscriptionDuration2["3Months"] = "3months";
|
|
699
|
+
SubscriptionDuration2["6Months"] = "6months";
|
|
700
|
+
SubscriptionDuration2["9Months"] = "9months";
|
|
701
|
+
SubscriptionDuration2["Yearly"] = "yearly";
|
|
702
|
+
})(SubscriptionDuration || (SubscriptionDuration = {}));
|
|
703
|
+
}
|
|
704
|
+
});
|
|
705
|
+
|
|
706
|
+
// node_modules/@speakai/shared/dist/enums/team.js
|
|
707
|
+
var TeamInviteStatus;
|
|
708
|
+
var init_team = __esm({
|
|
709
|
+
"node_modules/@speakai/shared/dist/enums/team.js"() {
|
|
710
|
+
"use strict";
|
|
711
|
+
(function(TeamInviteStatus2) {
|
|
712
|
+
TeamInviteStatus2["ACTIVE"] = "active";
|
|
713
|
+
TeamInviteStatus2["EXPIRED"] = "expired";
|
|
714
|
+
TeamInviteStatus2["REVOKED"] = "revoked";
|
|
715
|
+
TeamInviteStatus2["EXHAUSTED"] = "exhausted";
|
|
716
|
+
})(TeamInviteStatus || (TeamInviteStatus = {}));
|
|
717
|
+
}
|
|
718
|
+
});
|
|
719
|
+
|
|
720
|
+
// node_modules/@speakai/shared/dist/enums/transcription.js
|
|
721
|
+
var TranscriptionEngine, TranscriptionJobState, TranscriptionJobRevisionState;
|
|
722
|
+
var init_transcription = __esm({
|
|
723
|
+
"node_modules/@speakai/shared/dist/enums/transcription.js"() {
|
|
724
|
+
"use strict";
|
|
725
|
+
(function(TranscriptionEngine2) {
|
|
726
|
+
TranscriptionEngine2["AZURE"] = "azure";
|
|
727
|
+
TranscriptionEngine2["ASSEMBLY"] = "assembly";
|
|
728
|
+
TranscriptionEngine2["DEEPGRAM"] = "deepgram";
|
|
729
|
+
TranscriptionEngine2["AWS"] = "aws";
|
|
730
|
+
})(TranscriptionEngine || (TranscriptionEngine = {}));
|
|
731
|
+
(function(TranscriptionJobState2) {
|
|
732
|
+
TranscriptionJobState2["Initiate"] = "initiate";
|
|
733
|
+
TranscriptionJobState2["PendingPayment"] = "pendingPayment";
|
|
734
|
+
TranscriptionJobState2["InQueue"] = "inQueue";
|
|
735
|
+
TranscriptionJobState2["PendingEdition"] = "pendingEdition";
|
|
736
|
+
TranscriptionJobState2["PendingQAReview"] = "pendingQAReview";
|
|
737
|
+
TranscriptionJobState2["PendingUserReview"] = "pendingUserReview";
|
|
738
|
+
TranscriptionJobState2["Complete"] = "complete";
|
|
739
|
+
TranscriptionJobState2["Failed"] = "failed";
|
|
740
|
+
})(TranscriptionJobState || (TranscriptionJobState = {}));
|
|
741
|
+
(function(TranscriptionJobRevisionState2) {
|
|
742
|
+
TranscriptionJobRevisionState2["Approved"] = "approved";
|
|
743
|
+
TranscriptionJobRevisionState2["BeingEdited"] = "beingEdited";
|
|
744
|
+
TranscriptionJobRevisionState2["BeingQAReviewed"] = "beingQAReviewed";
|
|
745
|
+
TranscriptionJobRevisionState2["PendingQAReview"] = "pendingQAReview";
|
|
746
|
+
TranscriptionJobRevisionState2["PendingUserReview"] = "pendingUserReview";
|
|
747
|
+
TranscriptionJobRevisionState2["Rejected"] = "rejected";
|
|
748
|
+
})(TranscriptionJobRevisionState || (TranscriptionJobRevisionState = {}));
|
|
749
|
+
}
|
|
750
|
+
});
|
|
751
|
+
|
|
752
|
+
// node_modules/@speakai/shared/dist/enums/transaction.js
|
|
753
|
+
var TransactionSource, TransactionType, TransactionStatus;
|
|
754
|
+
var init_transaction = __esm({
|
|
755
|
+
"node_modules/@speakai/shared/dist/enums/transaction.js"() {
|
|
756
|
+
"use strict";
|
|
757
|
+
(function(TransactionSource2) {
|
|
758
|
+
TransactionSource2["STRIPE"] = "stripe";
|
|
759
|
+
TransactionSource2["PADDLE"] = "paddle";
|
|
760
|
+
TransactionSource2["REVENUECAT_IOS"] = "ios";
|
|
761
|
+
TransactionSource2["REVENUECAT_ANDROID"] = "android";
|
|
762
|
+
TransactionSource2["REVENUECAT_STRIPE"] = "revenuecat_stripe";
|
|
763
|
+
TransactionSource2["BALANCE"] = "balance";
|
|
764
|
+
TransactionSource2["MANUAL"] = "manual";
|
|
765
|
+
})(TransactionSource || (TransactionSource = {}));
|
|
766
|
+
(function(TransactionType2) {
|
|
767
|
+
TransactionType2["SUBSCRIPTION"] = "subscription";
|
|
768
|
+
TransactionType2["ONE_TIME"] = "one_time";
|
|
769
|
+
TransactionType2["USAGE"] = "usage";
|
|
770
|
+
TransactionType2["REFUND"] = "refund";
|
|
771
|
+
TransactionType2["BALANCE_ADD"] = "balance_add";
|
|
772
|
+
TransactionType2["AUTO_RELOAD"] = "auto_reload";
|
|
773
|
+
})(TransactionType || (TransactionType = {}));
|
|
774
|
+
(function(TransactionStatus2) {
|
|
775
|
+
TransactionStatus2["PENDING"] = "pending";
|
|
776
|
+
TransactionStatus2["PROCESSING"] = "processing";
|
|
777
|
+
TransactionStatus2["SUCCEEDED"] = "succeeded";
|
|
778
|
+
TransactionStatus2["FAILED"] = "failed";
|
|
779
|
+
TransactionStatus2["REFUNDED"] = "refunded";
|
|
780
|
+
TransactionStatus2["CANCELLED"] = "cancelled";
|
|
781
|
+
})(TransactionStatus || (TransactionStatus = {}));
|
|
782
|
+
}
|
|
783
|
+
});
|
|
784
|
+
|
|
785
|
+
// node_modules/@speakai/shared/dist/enums/translation.js
|
|
786
|
+
var TranslationState, DubbingState;
|
|
787
|
+
var init_translation = __esm({
|
|
788
|
+
"node_modules/@speakai/shared/dist/enums/translation.js"() {
|
|
789
|
+
"use strict";
|
|
790
|
+
(function(TranslationState2) {
|
|
791
|
+
TranslationState2["NOTFOUND"] = "notFound";
|
|
792
|
+
TranslationState2["INITIATE"] = "initiate";
|
|
793
|
+
TranslationState2["PENDING_TRANSCRIPTION"] = "pendingTranscription";
|
|
794
|
+
TranslationState2["PENDING_PAYMENT"] = "pendingPayment";
|
|
795
|
+
TranslationState2["PROCESSING"] = "processing";
|
|
796
|
+
TranslationState2["DUBBING"] = "dubbing";
|
|
797
|
+
TranslationState2["COMPLETE"] = "complete";
|
|
798
|
+
TranslationState2["FAILED"] = "failed";
|
|
799
|
+
})(TranslationState || (TranslationState = {}));
|
|
800
|
+
(function(DubbingState2) {
|
|
801
|
+
DubbingState2["DUBBING"] = "dubbing";
|
|
802
|
+
DubbingState2["UPLOADING"] = "uploading";
|
|
803
|
+
DubbingState2["COMPLETE"] = "complete";
|
|
804
|
+
DubbingState2["FAILED"] = "failed";
|
|
805
|
+
})(DubbingState || (DubbingState = {}));
|
|
806
|
+
}
|
|
807
|
+
});
|
|
808
|
+
|
|
809
|
+
// node_modules/@speakai/shared/dist/enums/user.js
|
|
810
|
+
var UserRole, UserPermissionType, UserActionType;
|
|
811
|
+
var init_user = __esm({
|
|
812
|
+
"node_modules/@speakai/shared/dist/enums/user.js"() {
|
|
813
|
+
"use strict";
|
|
814
|
+
(function(UserRole2) {
|
|
815
|
+
UserRole2["ADMIN"] = "admin";
|
|
816
|
+
UserRole2["OWNER"] = "owner";
|
|
817
|
+
UserRole2["MEMBER"] = "member";
|
|
818
|
+
})(UserRole || (UserRole = {}));
|
|
819
|
+
(function(UserPermissionType2) {
|
|
820
|
+
UserPermissionType2["FOLDER"] = "folder";
|
|
821
|
+
UserPermissionType2["RECORDER"] = "recorder";
|
|
822
|
+
UserPermissionType2["MEDIA"] = "media";
|
|
823
|
+
UserPermissionType2["PAYMENT"] = "payment";
|
|
824
|
+
UserPermissionType2["TEAM_MANAGEMENT"] = "teamManagement";
|
|
825
|
+
UserPermissionType2["DEVELOPER"] = "developer";
|
|
826
|
+
UserPermissionType2["PROFILE_SETTINGS"] = "profileSettings";
|
|
827
|
+
UserPermissionType2["MEETING_ASSISTANT"] = "meetingAssistant";
|
|
828
|
+
})(UserPermissionType || (UserPermissionType = {}));
|
|
829
|
+
(function(UserActionType2) {
|
|
830
|
+
UserActionType2["CREATE"] = "create";
|
|
831
|
+
UserActionType2["DOWNLOAD"] = "download";
|
|
832
|
+
UserActionType2["UPDATE"] = "update";
|
|
833
|
+
UserActionType2["EDIT"] = "edit";
|
|
834
|
+
UserActionType2["DELETE"] = "delete";
|
|
835
|
+
UserActionType2["SHARE"] = "share";
|
|
836
|
+
UserActionType2["ASSIGN"] = "assign";
|
|
837
|
+
UserActionType2["MANAGE_CARDS"] = "manageCards";
|
|
838
|
+
UserActionType2["MANAGE_INVOICES"] = "manageInvoices";
|
|
839
|
+
UserActionType2["MANAGE_MEMBERS"] = "manageMembers";
|
|
840
|
+
UserActionType2["MANAGE_GROUPS"] = "manageGroups";
|
|
841
|
+
UserActionType2["ACCESS_KEYS"] = "accessKeys";
|
|
842
|
+
UserActionType2["ACCOUNT_PREFERENCES"] = "accountPreferences";
|
|
843
|
+
UserActionType2["ACCOUNT_CUSTOMIZATION"] = "accountCustomization";
|
|
844
|
+
UserActionType2["DATA_MANAGEMENT"] = "dataManagement";
|
|
845
|
+
UserActionType2["CUSTOMIZE_ASSISTANT"] = "customizeAssistant";
|
|
846
|
+
UserActionType2["SHARE_MEETINGS"] = "shareMeetings";
|
|
847
|
+
UserActionType2["ROUTE_MEETINGS"] = "routeMeetings";
|
|
848
|
+
UserActionType2["EXCLUDE_MEETINGS"] = "excludeMeetings";
|
|
849
|
+
UserActionType2["GLOBAL_SETTINGS"] = "globalSettings";
|
|
850
|
+
UserActionType2["ACCESS_ALL"] = "accessAll";
|
|
851
|
+
})(UserActionType || (UserActionType = {}));
|
|
852
|
+
}
|
|
853
|
+
});
|
|
854
|
+
|
|
855
|
+
// node_modules/@speakai/shared/dist/enums/webhook.js
|
|
856
|
+
var WebhookEvent, WebhookEventSource;
|
|
857
|
+
var init_webhook = __esm({
|
|
858
|
+
"node_modules/@speakai/shared/dist/enums/webhook.js"() {
|
|
859
|
+
"use strict";
|
|
860
|
+
(function(WebhookEvent2) {
|
|
861
|
+
WebhookEvent2["embed_recorder.created"] = "embed_recorder.created";
|
|
862
|
+
WebhookEvent2["embed_recorder.deleted"] = "embed_recorder.deleted";
|
|
863
|
+
WebhookEvent2["embed_recorder.recording_received"] = "embed_recorder.recording_received";
|
|
864
|
+
WebhookEvent2["media.analyzed"] = "media.analyzed";
|
|
865
|
+
WebhookEvent2["media.created"] = "media.created";
|
|
866
|
+
WebhookEvent2["media.deleted"] = "media.deleted";
|
|
867
|
+
WebhookEvent2["media.failed"] = "media.failed";
|
|
868
|
+
WebhookEvent2["media.reanalyzed"] = "media.reanalyzed";
|
|
869
|
+
WebhookEvent2["media.updated"] = "media.updated";
|
|
870
|
+
WebhookEvent2["text.analyzed"] = "text.analyzed";
|
|
871
|
+
WebhookEvent2["text.created"] = "text.created";
|
|
872
|
+
WebhookEvent2["text.deleted"] = "text.deleted";
|
|
873
|
+
WebhookEvent2["text.failed"] = "text.failed";
|
|
874
|
+
WebhookEvent2["text.reanalyzed"] = "text.reanalyzed";
|
|
875
|
+
WebhookEvent2["meeting_assistant.status"] = "meeting_assistant.status";
|
|
876
|
+
WebhookEvent2["chat.status"] = "chat.status";
|
|
877
|
+
WebhookEvent2["csv.uploaded"] = "csv.uploaded";
|
|
878
|
+
WebhookEvent2["csv.failed"] = "csv.failed";
|
|
879
|
+
})(WebhookEvent || (WebhookEvent = {}));
|
|
880
|
+
(function(WebhookEventSource2) {
|
|
881
|
+
WebhookEventSource2["SPEAK"] = "speak";
|
|
882
|
+
WebhookEventSource2["ZAPIER"] = "zapier";
|
|
883
|
+
})(WebhookEventSource || (WebhookEventSource = {}));
|
|
884
|
+
}
|
|
885
|
+
});
|
|
886
|
+
|
|
887
|
+
// node_modules/@speakai/shared/dist/enums/index.js
|
|
888
|
+
var init_enums = __esm({
|
|
889
|
+
"node_modules/@speakai/shared/dist/enums/index.js"() {
|
|
890
|
+
"use strict";
|
|
891
|
+
init_activities();
|
|
892
|
+
init_auth();
|
|
893
|
+
init_automation();
|
|
894
|
+
init_calendar();
|
|
895
|
+
init_clip();
|
|
896
|
+
init_domain();
|
|
897
|
+
init_embed();
|
|
898
|
+
init_export();
|
|
899
|
+
init_fields();
|
|
900
|
+
init_filter();
|
|
901
|
+
init_media();
|
|
902
|
+
init_meeting();
|
|
903
|
+
init_notification();
|
|
904
|
+
init_prompt();
|
|
905
|
+
init_recorder();
|
|
906
|
+
init_subscription();
|
|
907
|
+
init_team();
|
|
908
|
+
init_transcription();
|
|
909
|
+
init_transaction();
|
|
910
|
+
init_translation();
|
|
911
|
+
init_user();
|
|
912
|
+
init_webhook();
|
|
913
|
+
}
|
|
914
|
+
});
|
|
915
|
+
|
|
916
|
+
// node_modules/@speakai/shared/dist/interfaces/api.js
|
|
917
|
+
var init_api = __esm({
|
|
918
|
+
"node_modules/@speakai/shared/dist/interfaces/api.js"() {
|
|
919
|
+
"use strict";
|
|
920
|
+
}
|
|
921
|
+
});
|
|
922
|
+
|
|
923
|
+
// node_modules/@speakai/shared/dist/interfaces/media.js
|
|
924
|
+
var init_media2 = __esm({
|
|
925
|
+
"node_modules/@speakai/shared/dist/interfaces/media.js"() {
|
|
926
|
+
"use strict";
|
|
927
|
+
}
|
|
928
|
+
});
|
|
929
|
+
|
|
930
|
+
// node_modules/@speakai/shared/dist/interfaces/transcript.js
|
|
931
|
+
var init_transcript = __esm({
|
|
932
|
+
"node_modules/@speakai/shared/dist/interfaces/transcript.js"() {
|
|
933
|
+
"use strict";
|
|
934
|
+
}
|
|
935
|
+
});
|
|
936
|
+
|
|
937
|
+
// node_modules/@speakai/shared/dist/interfaces/text.js
|
|
938
|
+
var init_text = __esm({
|
|
939
|
+
"node_modules/@speakai/shared/dist/interfaces/text.js"() {
|
|
940
|
+
"use strict";
|
|
941
|
+
}
|
|
942
|
+
});
|
|
943
|
+
|
|
944
|
+
// node_modules/@speakai/shared/dist/interfaces/folder.js
|
|
945
|
+
var init_folder = __esm({
|
|
946
|
+
"node_modules/@speakai/shared/dist/interfaces/folder.js"() {
|
|
947
|
+
"use strict";
|
|
948
|
+
}
|
|
949
|
+
});
|
|
950
|
+
|
|
951
|
+
// node_modules/@speakai/shared/dist/interfaces/recorder.js
|
|
952
|
+
var init_recorder2 = __esm({
|
|
953
|
+
"node_modules/@speakai/shared/dist/interfaces/recorder.js"() {
|
|
954
|
+
"use strict";
|
|
955
|
+
}
|
|
956
|
+
});
|
|
957
|
+
|
|
958
|
+
// node_modules/@speakai/shared/dist/interfaces/embed.js
|
|
959
|
+
var init_embed2 = __esm({
|
|
960
|
+
"node_modules/@speakai/shared/dist/interfaces/embed.js"() {
|
|
961
|
+
"use strict";
|
|
962
|
+
}
|
|
963
|
+
});
|
|
964
|
+
|
|
965
|
+
// node_modules/@speakai/shared/dist/interfaces/automation.js
|
|
966
|
+
var init_automation2 = __esm({
|
|
967
|
+
"node_modules/@speakai/shared/dist/interfaces/automation.js"() {
|
|
968
|
+
"use strict";
|
|
969
|
+
}
|
|
970
|
+
});
|
|
971
|
+
|
|
972
|
+
// node_modules/@speakai/shared/dist/interfaces/webhook.js
|
|
973
|
+
var init_webhook2 = __esm({
|
|
974
|
+
"node_modules/@speakai/shared/dist/interfaces/webhook.js"() {
|
|
975
|
+
"use strict";
|
|
976
|
+
}
|
|
977
|
+
});
|
|
978
|
+
|
|
979
|
+
// node_modules/@speakai/shared/dist/interfaces/field.js
|
|
980
|
+
var init_field = __esm({
|
|
981
|
+
"node_modules/@speakai/shared/dist/interfaces/field.js"() {
|
|
982
|
+
"use strict";
|
|
983
|
+
}
|
|
984
|
+
});
|
|
985
|
+
|
|
986
|
+
// node_modules/@speakai/shared/dist/interfaces/meeting.js
|
|
987
|
+
var init_meeting2 = __esm({
|
|
988
|
+
"node_modules/@speakai/shared/dist/interfaces/meeting.js"() {
|
|
989
|
+
"use strict";
|
|
990
|
+
}
|
|
991
|
+
});
|
|
992
|
+
|
|
993
|
+
// node_modules/@speakai/shared/dist/interfaces/export.js
|
|
994
|
+
var init_export2 = __esm({
|
|
995
|
+
"node_modules/@speakai/shared/dist/interfaces/export.js"() {
|
|
996
|
+
"use strict";
|
|
997
|
+
}
|
|
998
|
+
});
|
|
999
|
+
|
|
1000
|
+
// node_modules/@speakai/shared/dist/interfaces/prompt.js
|
|
1001
|
+
var init_prompt2 = __esm({
|
|
1002
|
+
"node_modules/@speakai/shared/dist/interfaces/prompt.js"() {
|
|
1003
|
+
"use strict";
|
|
1004
|
+
}
|
|
1005
|
+
});
|
|
1006
|
+
|
|
1007
|
+
// node_modules/@speakai/shared/dist/interfaces/user.js
|
|
1008
|
+
var init_user2 = __esm({
|
|
1009
|
+
"node_modules/@speakai/shared/dist/interfaces/user.js"() {
|
|
1010
|
+
"use strict";
|
|
1011
|
+
}
|
|
1012
|
+
});
|
|
1013
|
+
|
|
1014
|
+
// node_modules/@speakai/shared/dist/interfaces/subscription.js
|
|
1015
|
+
var init_subscription2 = __esm({
|
|
1016
|
+
"node_modules/@speakai/shared/dist/interfaces/subscription.js"() {
|
|
1017
|
+
"use strict";
|
|
1018
|
+
}
|
|
1019
|
+
});
|
|
1020
|
+
|
|
1021
|
+
// node_modules/@speakai/shared/dist/interfaces/calendar.js
|
|
1022
|
+
var init_calendar2 = __esm({
|
|
1023
|
+
"node_modules/@speakai/shared/dist/interfaces/calendar.js"() {
|
|
1024
|
+
"use strict";
|
|
1025
|
+
}
|
|
1026
|
+
});
|
|
1027
|
+
|
|
1028
|
+
// node_modules/@speakai/shared/dist/interfaces/category.js
|
|
1029
|
+
var init_category = __esm({
|
|
1030
|
+
"node_modules/@speakai/shared/dist/interfaces/category.js"() {
|
|
1031
|
+
"use strict";
|
|
1032
|
+
}
|
|
1033
|
+
});
|
|
1034
|
+
|
|
1035
|
+
// node_modules/@speakai/shared/dist/interfaces/index.js
|
|
1036
|
+
var init_interfaces = __esm({
|
|
1037
|
+
"node_modules/@speakai/shared/dist/interfaces/index.js"() {
|
|
1038
|
+
"use strict";
|
|
1039
|
+
init_api();
|
|
1040
|
+
init_media2();
|
|
1041
|
+
init_transcript();
|
|
1042
|
+
init_text();
|
|
1043
|
+
init_folder();
|
|
1044
|
+
init_recorder2();
|
|
1045
|
+
init_embed2();
|
|
1046
|
+
init_automation2();
|
|
1047
|
+
init_webhook2();
|
|
1048
|
+
init_field();
|
|
1049
|
+
init_meeting2();
|
|
1050
|
+
init_export2();
|
|
1051
|
+
init_prompt2();
|
|
1052
|
+
init_user2();
|
|
1053
|
+
init_subscription2();
|
|
1054
|
+
init_calendar2();
|
|
1055
|
+
init_category();
|
|
1056
|
+
}
|
|
1057
|
+
});
|
|
1058
|
+
|
|
1059
|
+
// node_modules/@speakai/shared/dist/index.js
|
|
1060
|
+
var init_dist = __esm({
|
|
1061
|
+
"node_modules/@speakai/shared/dist/index.js"() {
|
|
1062
|
+
"use strict";
|
|
1063
|
+
init_enums();
|
|
1064
|
+
init_interfaces();
|
|
1065
|
+
}
|
|
1066
|
+
});
|
|
1067
|
+
|
|
172
1068
|
// src/tools/media.ts
|
|
173
1069
|
var media_exports = {};
|
|
174
1070
|
__export(media_exports, {
|
|
@@ -208,7 +1104,7 @@ function register(server, client) {
|
|
|
208
1104
|
{
|
|
209
1105
|
name: import_zod.z.string().min(1).describe("Display name for the media file"),
|
|
210
1106
|
url: import_zod.z.string().describe("Publicly accessible URL of the media file (or pre-signed S3 URL)"),
|
|
211
|
-
mediaType: import_zod.z.enum([
|
|
1107
|
+
mediaType: import_zod.z.enum([MediaType.AUDIO, MediaType.VIDEO]).describe('Type of media: "audio" or "video"'),
|
|
212
1108
|
description: import_zod.z.string().optional().describe("Description of the media file"),
|
|
213
1109
|
sourceLanguage: import_zod.z.string().optional().describe('BCP-47 language code for transcription, e.g. "en-US" or "he-IL"'),
|
|
214
1110
|
tags: import_zod.z.string().optional().describe("Comma-separated tags for the media"),
|
|
@@ -241,9 +1137,9 @@ function register(server, client) {
|
|
|
241
1137
|
"list_media",
|
|
242
1138
|
"List and search media files in the workspace with filtering, pagination, and sorting. Use filterName for text search, mediaType to filter by audio/video/text, folderId for folder-specific results, and from/to for date ranges. Returns mediaIds you can pass to get_transcript, get_media_insights, or ask_magic_prompt. For deep full-text search across transcripts, use search_media instead.",
|
|
243
1139
|
{
|
|
244
|
-
mediaType: import_zod.z.enum([
|
|
245
|
-
page: import_zod.z.number().int().
|
|
246
|
-
pageSize: import_zod.z.number().int().
|
|
1140
|
+
mediaType: import_zod.z.enum([MediaType.AUDIO, MediaType.VIDEO, MediaType.TEXT]).optional().describe('Filter by media type: "audio", "video", or "text"'),
|
|
1141
|
+
page: import_zod.z.number().int().min(0).optional().describe("Page number for pagination (0-based, default: 0)"),
|
|
1142
|
+
pageSize: import_zod.z.number().int().min(1).max(500).optional().describe("Number of results per page (default: 20, max: 500)"),
|
|
247
1143
|
sortBy: import_zod.z.string().optional().describe('Sort field and direction, e.g. "createdAt:desc" or "name:asc"'),
|
|
248
1144
|
filterMedia: import_zod.z.number().int().optional().describe("Filter: 0=Uploaded, 1=Assigned, 2=Both (default: 2)"),
|
|
249
1145
|
filterName: import_zod.z.string().optional().describe("Filter media by partial name match"),
|
|
@@ -328,7 +1224,7 @@ function register(server, client) {
|
|
|
328
1224
|
try {
|
|
329
1225
|
const result = await api.put(
|
|
330
1226
|
`/v1/media/speakers/${mediaId}`,
|
|
331
|
-
speakers
|
|
1227
|
+
{ speakers }
|
|
332
1228
|
);
|
|
333
1229
|
return {
|
|
334
1230
|
content: [
|
|
@@ -508,7 +1404,7 @@ function register(server, client) {
|
|
|
508
1404
|
},
|
|
509
1405
|
async ({ mediaId }) => {
|
|
510
1406
|
try {
|
|
511
|
-
const result = await api.
|
|
1407
|
+
const result = await api.post(`/v1/media/reanalyze/${mediaId}`, {});
|
|
512
1408
|
return {
|
|
513
1409
|
content: [
|
|
514
1410
|
{ type: "text", text: JSON.stringify(result.data, null, 2) }
|
|
@@ -523,13 +1419,13 @@ function register(server, client) {
|
|
|
523
1419
|
}
|
|
524
1420
|
);
|
|
525
1421
|
}
|
|
526
|
-
var import_zod
|
|
527
|
-
var
|
|
1422
|
+
var import_zod;
|
|
1423
|
+
var init_media3 = __esm({
|
|
528
1424
|
"src/tools/media.ts"() {
|
|
529
1425
|
"use strict";
|
|
530
1426
|
import_zod = require("zod");
|
|
531
1427
|
init_client();
|
|
532
|
-
|
|
1428
|
+
init_dist();
|
|
533
1429
|
}
|
|
534
1430
|
});
|
|
535
1431
|
|
|
@@ -649,7 +1545,7 @@ function register2(server, client) {
|
|
|
649
1545
|
);
|
|
650
1546
|
}
|
|
651
1547
|
var import_zod2;
|
|
652
|
-
var
|
|
1548
|
+
var init_text2 = __esm({
|
|
653
1549
|
"src/tools/text.ts"() {
|
|
654
1550
|
"use strict";
|
|
655
1551
|
import_zod2 = require("zod");
|
|
@@ -870,8 +1766,8 @@ function register4(server, client) {
|
|
|
870
1766
|
"list_folders",
|
|
871
1767
|
"List all folders in the workspace with pagination and sorting.",
|
|
872
1768
|
{
|
|
873
|
-
page: import_zod4.z.number().int().optional().describe("Page number (0-based)"),
|
|
874
|
-
pageSize: import_zod4.z.number().int().optional().describe("Results per page"),
|
|
1769
|
+
page: import_zod4.z.number().int().min(0).optional().describe("Page number (0-based, default: 0)"),
|
|
1770
|
+
pageSize: import_zod4.z.number().int().min(1).max(500).optional().describe("Results per page (default: 20, max: 500)"),
|
|
875
1771
|
sortBy: import_zod4.z.string().optional().describe('Sort field and direction, e.g. "createdAt:desc"')
|
|
876
1772
|
},
|
|
877
1773
|
async (params) => {
|
|
@@ -1065,8 +1961,8 @@ function register5(server, client) {
|
|
|
1065
1961
|
"list_recorders",
|
|
1066
1962
|
"List all recorders/surveys in the workspace.",
|
|
1067
1963
|
{
|
|
1068
|
-
page: import_zod5.z.number().int().optional().describe("Page number (0-based)"),
|
|
1069
|
-
pageSize: import_zod5.z.number().int().optional().describe("Results per page"),
|
|
1964
|
+
page: import_zod5.z.number().int().min(0).optional().describe("Page number (0-based, default: 0)"),
|
|
1965
|
+
pageSize: import_zod5.z.number().int().min(1).max(500).optional().describe("Results per page (default: 20, max: 500)"),
|
|
1070
1966
|
sortBy: import_zod5.z.string().optional().describe('Sort field, e.g. "createdAt:desc"')
|
|
1071
1967
|
},
|
|
1072
1968
|
async (params) => {
|
|
@@ -1227,7 +2123,7 @@ function register5(server, client) {
|
|
|
1227
2123
|
);
|
|
1228
2124
|
}
|
|
1229
2125
|
var import_zod5;
|
|
1230
|
-
var
|
|
2126
|
+
var init_recorder3 = __esm({
|
|
1231
2127
|
"src/tools/recorder.ts"() {
|
|
1232
2128
|
"use strict";
|
|
1233
2129
|
import_zod5 = require("zod");
|
|
@@ -1328,7 +2224,7 @@ function register6(server, client) {
|
|
|
1328
2224
|
);
|
|
1329
2225
|
}
|
|
1330
2226
|
var import_zod6;
|
|
1331
|
-
var
|
|
2227
|
+
var init_embed3 = __esm({
|
|
1332
2228
|
"src/tools/embed.ts"() {
|
|
1333
2229
|
"use strict";
|
|
1334
2230
|
import_zod6 = require("zod");
|
|
@@ -1358,7 +2254,7 @@ function register7(server, client) {
|
|
|
1358
2254
|
mediaIds: import_zod7.z.array(import_zod7.z.string()).optional().describe("Array of media IDs to query. Omit along with folderIds to search across all media in your workspace."),
|
|
1359
2255
|
folderIds: import_zod7.z.array(import_zod7.z.string()).optional().describe("Array of folder IDs to scope the query to. Omit along with mediaIds to search across all media."),
|
|
1360
2256
|
folderId: import_zod7.z.string().optional().describe("Single folder ID to scope the query to. Use folderIds for multiple folders."),
|
|
1361
|
-
assistantType: import_zod7.z.enum(Object.values(
|
|
2257
|
+
assistantType: import_zod7.z.enum(Object.values(AssistantType)).optional().describe("Assistant persona: 'general' (default), 'researcher' (academic), 'marketer' (content), 'sales' (deals), 'recruiter' (hiring). Use 'custom' with assistantTemplateId."),
|
|
1362
2258
|
assistantTemplateId: import_zod7.z.string().optional().describe("Required when assistantType is 'custom'. ID of a custom assistant template from list_prompts."),
|
|
1363
2259
|
promptId: import_zod7.z.string().optional().describe("ID of an existing conversation to continue. Pass this to maintain chat context across multiple questions."),
|
|
1364
2260
|
speakers: import_zod7.z.array(import_zod7.z.string()).optional().describe("Filter to specific speaker IDs from the transcript"),
|
|
@@ -1432,8 +2328,8 @@ function register7(server, client) {
|
|
|
1432
2328
|
folderId: import_zod7.z.string().optional().describe("Filter messages by folder ID"),
|
|
1433
2329
|
mediaIds: import_zod7.z.string().optional().describe("Filter by media IDs (comma-separated)"),
|
|
1434
2330
|
query: import_zod7.z.string().optional().describe("Search text in prompts and answers"),
|
|
1435
|
-
page: import_zod7.z.number().int().optional().describe("Page number for pagination (default: 0)"),
|
|
1436
|
-
pageSize: import_zod7.z.number().int().optional().describe("Results per page (default: 25)")
|
|
2331
|
+
page: import_zod7.z.number().int().min(0).optional().describe("Page number for pagination (0-based, default: 0)"),
|
|
2332
|
+
pageSize: import_zod7.z.number().int().min(1).max(500).optional().describe("Results per page (default: 25, max: 500)")
|
|
1437
2333
|
},
|
|
1438
2334
|
async (params) => {
|
|
1439
2335
|
try {
|
|
@@ -1613,13 +2509,13 @@ function register7(server, client) {
|
|
|
1613
2509
|
}
|
|
1614
2510
|
);
|
|
1615
2511
|
}
|
|
1616
|
-
var import_zod7
|
|
1617
|
-
var
|
|
2512
|
+
var import_zod7;
|
|
2513
|
+
var init_prompt3 = __esm({
|
|
1618
2514
|
"src/tools/prompt.ts"() {
|
|
1619
2515
|
"use strict";
|
|
1620
2516
|
import_zod7 = require("zod");
|
|
1621
2517
|
init_client();
|
|
1622
|
-
|
|
2518
|
+
init_dist();
|
|
1623
2519
|
}
|
|
1624
2520
|
});
|
|
1625
2521
|
|
|
@@ -1636,8 +2532,8 @@ function register8(server, client) {
|
|
|
1636
2532
|
{
|
|
1637
2533
|
platformType: import_zod8.z.string().optional().describe("Filter by platform (e.g. zoom, teams, meet)"),
|
|
1638
2534
|
meetingStatus: import_zod8.z.string().optional().describe("Filter by status (e.g. scheduled, completed, cancelled)"),
|
|
1639
|
-
page: import_zod8.z.number().int().optional().describe("Page number (0-based)"),
|
|
1640
|
-
pageSize: import_zod8.z.number().int().optional().describe("Results per page")
|
|
2535
|
+
page: import_zod8.z.number().int().min(0).optional().describe("Page number (0-based, default: 0)"),
|
|
2536
|
+
pageSize: import_zod8.z.number().int().min(1).max(500).optional().describe("Results per page (default: 20, max: 500)")
|
|
1641
2537
|
},
|
|
1642
2538
|
async (params) => {
|
|
1643
2539
|
try {
|
|
@@ -1729,7 +2625,7 @@ function register8(server, client) {
|
|
|
1729
2625
|
);
|
|
1730
2626
|
}
|
|
1731
2627
|
var import_zod8;
|
|
1732
|
-
var
|
|
2628
|
+
var init_meeting3 = __esm({
|
|
1733
2629
|
"src/tools/meeting.ts"() {
|
|
1734
2630
|
"use strict";
|
|
1735
2631
|
import_zod8 = require("zod");
|
|
@@ -1829,7 +2725,7 @@ function register9(server, client) {
|
|
|
1829
2725
|
);
|
|
1830
2726
|
}
|
|
1831
2727
|
var import_zod9;
|
|
1832
|
-
var
|
|
2728
|
+
var init_fields2 = __esm({
|
|
1833
2729
|
"src/tools/fields.ts"() {
|
|
1834
2730
|
"use strict";
|
|
1835
2731
|
import_zod9 = require("zod");
|
|
@@ -2086,10 +2982,10 @@ function register12(server, client) {
|
|
|
2086
2982
|
endDate: import_zod12.z.string().optional().describe("End date for search range (ISO 8601). Defaults to now."),
|
|
2087
2983
|
filterList: import_zod12.z.array(
|
|
2088
2984
|
import_zod12.z.object({
|
|
2089
|
-
fieldName: import_zod12.z.enum(Object.values(
|
|
2090
|
-
fieldOperator: import_zod12.z.enum(Object.values(
|
|
2985
|
+
fieldName: import_zod12.z.enum(Object.values(FilterFieldName)).describe("Field to filter on"),
|
|
2986
|
+
fieldOperator: import_zod12.z.enum(Object.values(FilterOperator)).describe("Filter operator"),
|
|
2091
2987
|
fieldValue: import_zod12.z.array(import_zod12.z.string()).describe("Values to filter by"),
|
|
2092
|
-
fieldCondition: import_zod12.z.enum(Object.values(
|
|
2988
|
+
fieldCondition: import_zod12.z.enum(Object.values(FilterCondition)).describe("Condition linking multiple filters")
|
|
2093
2989
|
})
|
|
2094
2990
|
).optional().describe("Advanced filters for narrowing search results by tags, speakers, media type, sentiment, folder, etc.")
|
|
2095
2991
|
},
|
|
@@ -2108,13 +3004,13 @@ function register12(server, client) {
|
|
|
2108
3004
|
}
|
|
2109
3005
|
);
|
|
2110
3006
|
}
|
|
2111
|
-
var import_zod12
|
|
3007
|
+
var import_zod12;
|
|
2112
3008
|
var init_analytics = __esm({
|
|
2113
3009
|
"src/tools/analytics.ts"() {
|
|
2114
3010
|
"use strict";
|
|
2115
3011
|
import_zod12 = require("zod");
|
|
2116
3012
|
init_client();
|
|
2117
|
-
|
|
3013
|
+
init_dist();
|
|
2118
3014
|
}
|
|
2119
3015
|
});
|
|
2120
3016
|
|
|
@@ -2129,18 +3025,18 @@ function register13(server, client) {
|
|
|
2129
3025
|
"create_clip",
|
|
2130
3026
|
[
|
|
2131
3027
|
"Create a highlight clip from one or more media files by specifying time ranges.",
|
|
2132
|
-
`Clips are processed asynchronously (states: ${Object.values(
|
|
3028
|
+
`Clips are processed asynchronously (states: ${Object.values(ClipState).join(", ")}) \u2014 use get_clips to check status.`,
|
|
2133
3029
|
"Maximum total clip duration is 30 minutes.",
|
|
2134
3030
|
"Use multiple timeRanges to stitch segments from different media files together."
|
|
2135
3031
|
].join(" "),
|
|
2136
3032
|
{
|
|
2137
3033
|
title: import_zod13.z.string().min(1).describe("Title for the clip"),
|
|
2138
|
-
mediaType: import_zod13.z.enum([
|
|
3034
|
+
mediaType: import_zod13.z.enum([MediaType.AUDIO, MediaType.VIDEO]).describe("Output media type"),
|
|
2139
3035
|
timeRanges: import_zod13.z.array(
|
|
2140
3036
|
import_zod13.z.object({
|
|
2141
3037
|
mediaId: import_zod13.z.string().min(1).describe("Source media file ID"),
|
|
2142
3038
|
startTime: import_zod13.z.number().min(0).describe("Start time in seconds"),
|
|
2143
|
-
endTime: import_zod13.z.number().describe("End time in seconds (must be > startTime)")
|
|
3039
|
+
endTime: import_zod13.z.number().min(0).describe("End time in seconds (must be > startTime)")
|
|
2144
3040
|
})
|
|
2145
3041
|
).min(1).describe("Array of time ranges to include in the clip. Each specifies a source media and start/end times."),
|
|
2146
3042
|
description: import_zod13.z.string().optional().describe("Description of the clip"),
|
|
@@ -2228,13 +3124,13 @@ function register13(server, client) {
|
|
|
2228
3124
|
}
|
|
2229
3125
|
);
|
|
2230
3126
|
}
|
|
2231
|
-
var import_zod13
|
|
3127
|
+
var import_zod13;
|
|
2232
3128
|
var init_clips = __esm({
|
|
2233
3129
|
"src/tools/clips.ts"() {
|
|
2234
3130
|
"use strict";
|
|
2235
3131
|
import_zod13 = require("zod");
|
|
2236
3132
|
init_client();
|
|
2237
|
-
|
|
3133
|
+
init_dist();
|
|
2238
3134
|
}
|
|
2239
3135
|
});
|
|
2240
3136
|
|
|
@@ -2290,7 +3186,7 @@ function register14(server, client) {
|
|
|
2290
3186
|
{
|
|
2291
3187
|
url: import_zod14.z.string().describe("Publicly accessible URL of the media file"),
|
|
2292
3188
|
name: import_zod14.z.string().optional().describe("Display name for the media (defaults to filename from URL)"),
|
|
2293
|
-
mediaType: import_zod14.z.enum([
|
|
3189
|
+
mediaType: import_zod14.z.enum([MediaType.AUDIO, MediaType.VIDEO]).optional().describe("Media type (default: audio)"),
|
|
2294
3190
|
sourceLanguage: import_zod14.z.string().optional().describe("BCP-47 language code (e.g., 'en-US', 'he-IL')"),
|
|
2295
3191
|
folderId: import_zod14.z.string().optional().describe("Folder ID to place the media in"),
|
|
2296
3192
|
tags: import_zod14.z.string().optional().describe("Comma-separated tags")
|
|
@@ -2316,19 +3212,19 @@ ${JSON.stringify(uploadRes.data, null, 2)}` }],
|
|
|
2316
3212
|
}
|
|
2317
3213
|
let state = uploadRes.data?.data?.state;
|
|
2318
3214
|
let attempts = 0;
|
|
2319
|
-
while (state !==
|
|
3215
|
+
while (state !== MediaState.PROCESSED && state !== MediaState.FAILED && attempts < MAX_POLL_ATTEMPTS) {
|
|
2320
3216
|
await new Promise((r) => setTimeout(r, POLL_INTERVAL_MS));
|
|
2321
3217
|
const statusRes = await api.get(`/v1/media/status/${mediaId}`);
|
|
2322
3218
|
state = statusRes.data?.data?.state;
|
|
2323
3219
|
attempts++;
|
|
2324
3220
|
}
|
|
2325
|
-
if (state ===
|
|
3221
|
+
if (state === MediaState.FAILED) {
|
|
2326
3222
|
return {
|
|
2327
3223
|
content: [{ type: "text", text: `Error: Processing failed for media ${mediaId}` }],
|
|
2328
3224
|
isError: true
|
|
2329
3225
|
};
|
|
2330
3226
|
}
|
|
2331
|
-
if (state !==
|
|
3227
|
+
if (state !== MediaState.PROCESSED) {
|
|
2332
3228
|
return {
|
|
2333
3229
|
content: [{ type: "text", text: `Timeout: Media ${mediaId} is still processing (state: ${state}). Use get_media_status to check later.` }],
|
|
2334
3230
|
isError: true
|
|
@@ -2366,7 +3262,7 @@ ${JSON.stringify(uploadRes.data, null, 2)}` }],
|
|
|
2366
3262
|
{
|
|
2367
3263
|
filePath: import_zod14.z.string().describe("Absolute path to the local audio or video file"),
|
|
2368
3264
|
name: import_zod14.z.string().optional().describe("Display name (defaults to filename)"),
|
|
2369
|
-
mediaType: import_zod14.z.enum([
|
|
3265
|
+
mediaType: import_zod14.z.enum([MediaType.AUDIO, MediaType.VIDEO]).optional().describe("Media type (auto-detected from extension if omitted)"),
|
|
2370
3266
|
sourceLanguage: import_zod14.z.string().optional().describe("BCP-47 language code (e.g., 'en-US')"),
|
|
2371
3267
|
folderId: import_zod14.z.string().optional().describe("Folder ID to place the media in"),
|
|
2372
3268
|
tags: import_zod14.z.string().optional().describe("Comma-separated tags")
|
|
@@ -2443,13 +3339,13 @@ ${JSON.stringify(signedRes.data, null, 2)}` }],
|
|
|
2443
3339
|
}
|
|
2444
3340
|
);
|
|
2445
3341
|
}
|
|
2446
|
-
var import_zod14,
|
|
3342
|
+
var import_zod14, fs, path2, POLL_INTERVAL_MS, MAX_POLL_ATTEMPTS;
|
|
2447
3343
|
var init_workflows = __esm({
|
|
2448
3344
|
"src/tools/workflows.ts"() {
|
|
2449
3345
|
"use strict";
|
|
2450
3346
|
import_zod14 = require("zod");
|
|
2451
3347
|
init_client();
|
|
2452
|
-
|
|
3348
|
+
init_dist();
|
|
2453
3349
|
fs = __toESM(require("fs"));
|
|
2454
3350
|
path2 = __toESM(require("path"));
|
|
2455
3351
|
init_media_utils();
|
|
@@ -2472,15 +3368,15 @@ var modules;
|
|
|
2472
3368
|
var init_tools = __esm({
|
|
2473
3369
|
"src/tools/index.ts"() {
|
|
2474
3370
|
"use strict";
|
|
2475
|
-
|
|
2476
|
-
|
|
3371
|
+
init_media3();
|
|
3372
|
+
init_text2();
|
|
2477
3373
|
init_exports();
|
|
2478
3374
|
init_folders();
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
3375
|
+
init_recorder3();
|
|
3376
|
+
init_embed3();
|
|
3377
|
+
init_prompt3();
|
|
3378
|
+
init_meeting3();
|
|
3379
|
+
init_fields2();
|
|
2484
3380
|
init_automations();
|
|
2485
3381
|
init_webhooks();
|
|
2486
3382
|
init_analytics();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speakai/mcp-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "Official Speak AI MCP Server — connect Claude and other AI assistants to Speak AI's transcription, insights, and media management API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"speakai-mcp": "dist/index.js"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
|
-
"build": "tsup
|
|
11
|
+
"build": "tsup && cp src/types.d.ts dist/index.d.ts",
|
|
12
12
|
"start": "node dist/index.js",
|
|
13
13
|
"dev": "tsx src/index.ts",
|
|
14
14
|
"prepare": "npm run build",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
36
|
-
"@speakai/shared": "^1.3.1",
|
|
37
36
|
"axios": "^1.6.0",
|
|
38
37
|
"chalk-template": "^1.1.2",
|
|
39
38
|
"commander": "^14.0.3",
|
|
40
39
|
"zod": "^3.22.0"
|
|
41
40
|
},
|
|
42
41
|
"devDependencies": {
|
|
42
|
+
"@speakai/shared": "^1.5.1",
|
|
43
43
|
"@types/node": "^20.0.0",
|
|
44
44
|
"tsup": "^8.5.1",
|
|
45
45
|
"tsx": "^4.0.0",
|