mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Add transcript source kind
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
|
||||
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user