mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
fix: source kind for file processing (#601)
This commit is contained in:
@@ -133,6 +133,16 @@ export const $CreateTranscript = {
|
||||
title: "Target Language",
|
||||
default: "en",
|
||||
},
|
||||
source_kind: {
|
||||
anyOf: [
|
||||
{
|
||||
$ref: "#/components/schemas/SourceKind",
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
type: "object",
|
||||
required: ["name"],
|
||||
@@ -1031,11 +1041,25 @@ export const $RoomDetails = {
|
||||
title: "Is Shared",
|
||||
},
|
||||
webhook_url: {
|
||||
type: "string",
|
||||
anyOf: [
|
||||
{
|
||||
type: "string",
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
title: "Webhook Url",
|
||||
},
|
||||
webhook_secret: {
|
||||
type: "string",
|
||||
anyOf: [
|
||||
{
|
||||
type: "string",
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
title: "Webhook Secret",
|
||||
},
|
||||
},
|
||||
@@ -1091,10 +1115,17 @@ export const $SearchResponse = {
|
||||
description: "Total number of search results",
|
||||
},
|
||||
query: {
|
||||
type: "string",
|
||||
minLength: 0,
|
||||
anyOf: [
|
||||
{
|
||||
type: "string",
|
||||
minLength: 1,
|
||||
description: "Search query text",
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
title: "Query",
|
||||
description: "Search query text",
|
||||
},
|
||||
limit: {
|
||||
type: "integer",
|
||||
@@ -1111,7 +1142,7 @@ export const $SearchResponse = {
|
||||
},
|
||||
},
|
||||
type: "object",
|
||||
required: ["results", "total", "query", "limit", "offset"],
|
||||
required: ["results", "total", "limit", "offset"],
|
||||
title: "SearchResponse",
|
||||
} as const;
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ export type CreateTranscript = {
|
||||
name: string;
|
||||
source_language?: string;
|
||||
target_language?: string;
|
||||
source_kind?: SourceKind | null;
|
||||
};
|
||||
|
||||
export type DeletionStatus = {
|
||||
@@ -191,8 +192,8 @@ export type RoomDetails = {
|
||||
recording_type: string;
|
||||
recording_trigger: string;
|
||||
is_shared: boolean;
|
||||
webhook_url: string;
|
||||
webhook_secret: string;
|
||||
webhook_url: string | null;
|
||||
webhook_secret: string | null;
|
||||
};
|
||||
|
||||
export type RtcOffer = {
|
||||
@@ -206,10 +207,7 @@ export type SearchResponse = {
|
||||
* Total number of search results
|
||||
*/
|
||||
total: number;
|
||||
/**
|
||||
* Search query text
|
||||
*/
|
||||
query: string;
|
||||
query?: string | null;
|
||||
/**
|
||||
* Results per page
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user