Add transcript source kind

This commit is contained in:
2024-10-04 16:38:29 +02:00
parent ebb32ee613
commit 39d02ab265
9 changed files with 159 additions and 13 deletions

View File

@@ -285,6 +285,9 @@ export const $GetTranscript = {
],
title: "Room Name",
},
source_kind: {
$ref: "#/components/schemas/SourceKind",
},
},
type: "object",
required: [
@@ -305,6 +308,7 @@ export const $GetTranscript = {
"meeting_id",
"room_id",
"room_name",
"source_kind",
],
title: "GetTranscript",
} as const;
@@ -766,6 +770,12 @@ export const $RtcOffer = {
title: "RtcOffer",
} as const;
export const $SourceKind = {
type: "string",
enum: ["room", "live", "file"],
title: "SourceKind",
} as const;
export const $SpeakerAssignment = {
properties: {
speaker: {

View File

@@ -201,6 +201,7 @@ export class DefaultService {
* @param data The data for the request.
* @param data.roomId
* @param data.searchTerm
* @param data.sourceKind
* @param data.page Page number
* @param data.size Page size
* @returns Page_GetTranscript_ Successful Response
@@ -215,6 +216,7 @@ export class DefaultService {
query: {
room_id: data.roomId,
search_term: data.searchTerm,
source_kind: data.sourceKind,
page: data.page,
size: data.size,
},

View File

@@ -54,6 +54,7 @@ export type GetTranscript = {
meeting_id: string | null;
room_id: string | null;
room_name: string | null;
source_kind: SourceKind;
};
export type GetTranscriptSegmentTopic = {
@@ -149,6 +150,8 @@ export type RtcOffer = {
type: string;
};
export type SourceKind = "room" | "live" | "file";
export type SpeakerAssignment = {
speaker?: number | null;
participant?: string | null;
@@ -282,6 +285,7 @@ export type V1TranscriptsListData = {
* Page size
*/
size?: number;
sourceKind?: SourceKind | null;
};
export type V1TranscriptsListResponse = Page_GetTranscript_;