feat: generate transcription from recording and API endpoint (#15358)
* feat: generate transcription from recording * fix: api * chore: undo * tests: add unit tests * chore: refactor move zod type * fix: add more security check * chore: update test * chore: type err * chore: test * chore: fix tyoe * fix: build err * chore: add try .. catch * chore: update desc --------- Co-authored-by: Joe Au-Yeung <[email protected]>
This commit is contained in:
1 parent
68ce9524eb
commit
b66d36a98e
9 files changed
+451
-2
No files matched your search
Vendored
+13
@@ -1,3 +1,8 @@
|
||||
import type {
|
||||
TSubmitBatchProcessorJobRes,
|
||||
batchProcessorBody,
|
||||
TGetTranscriptAccessLink,
|
||||
} from "@calcom/app-store/dailyvideo/zod";
|
||||
import type { GetRecordingsResponseSchema, GetAccessLinkResponseSchema } from "@calcom/prisma/zod-utils";
|
||||
|
||||
import type { EventBusyDate } from "./Calendar";
|
||||
@@ -28,6 +33,14 @@ export type VideoApiAdapter =
|
||||
createInstantCalVideoRoom?(endTime: string): Promise<VideoCallData>;
|
||||
|
||||
getAllTranscriptsAccessLinkFromRoomName?(roomName: string): Promise<Array<string>>;
|
||||
|
||||
submitBatchProcessorJob?(body: batchProcessorBody): Promise<TSubmitBatchProcessorJobRes>;
|
||||
|
||||
getTranscriptsAccessLinkFromRecordingId?(
|
||||
recordingId: string
|
||||
): Promise<TGetTranscriptAccessLink["transcription"] | { message: string }>;
|
||||
|
||||
checkIfRoomNameMatchesInRecording?(roomName: string, recordingId: string): Promise<boolean>;
|
||||
}
|
||||
| undefined;
|
||||
|
||||
|
||||
Reference in new issue
Block a user