mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Restart processing
This commit is contained in:
@@ -46,6 +46,8 @@ import type {
|
||||
V1TranscriptGetWebsocketEventsResponse,
|
||||
V1TranscriptRecordWebrtcData,
|
||||
V1TranscriptRecordWebrtcResponse,
|
||||
V1TranscriptProcessData,
|
||||
V1TranscriptProcessResponse,
|
||||
V1UserMeResponse,
|
||||
} from "./types.gen";
|
||||
|
||||
@@ -565,6 +567,28 @@ export class DefaultService {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Transcript Process
|
||||
* @param data The data for the request.
|
||||
* @param data.transcriptId
|
||||
* @returns unknown Successful Response
|
||||
* @throws ApiError
|
||||
*/
|
||||
public v1TranscriptProcess(
|
||||
data: V1TranscriptProcessData,
|
||||
): CancelablePromise<V1TranscriptProcessResponse> {
|
||||
return this.httpRequest.request({
|
||||
method: "POST",
|
||||
url: "/v1/transcripts/{transcript_id}/process",
|
||||
path: {
|
||||
transcript_id: data.transcriptId,
|
||||
},
|
||||
errors: {
|
||||
422: "Validation Error",
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* User Me
|
||||
* @returns unknown Successful Response
|
||||
|
||||
@@ -315,6 +315,12 @@ export type V1TranscriptRecordWebrtcData = {
|
||||
|
||||
export type V1TranscriptRecordWebrtcResponse = unknown;
|
||||
|
||||
export type V1TranscriptProcessData = {
|
||||
transcriptId: string;
|
||||
};
|
||||
|
||||
export type V1TranscriptProcessResponse = unknown;
|
||||
|
||||
export type V1UserMeResponse = UserInfo | null;
|
||||
|
||||
export type $OpenApiTs = {
|
||||
@@ -629,6 +635,21 @@ export type $OpenApiTs = {
|
||||
};
|
||||
};
|
||||
};
|
||||
"/v1/transcripts/{transcript_id}/process": {
|
||||
post: {
|
||||
req: V1TranscriptProcessData;
|
||||
res: {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
200: unknown;
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HTTPValidationError;
|
||||
};
|
||||
};
|
||||
};
|
||||
"/v1/me": {
|
||||
get: {
|
||||
res: {
|
||||
|
||||
Reference in New Issue
Block a user