mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 12:19:06 +00:00
## Frontend Implementation
### Meeting Selection & Management
- Created MeetingSelection component for choosing between multiple active meetings
- Shows both active meetings and upcoming calendar events (30 min ahead)
- Displays meeting metadata with privacy controls (owner-only details)
- Supports creation of unscheduled meetings alongside calendar meetings
### Waiting Room
- Added waiting page for users joining before scheduled start time
- Shows countdown timer until meeting begins
- Auto-transitions to meeting when calendar event becomes active
- Handles early joining with proper routing
### Meeting Info Panel
- Created collapsible info panel showing meeting details
- Displays calendar metadata (title, description, attendees)
- Shows participant count and duration
- Privacy-aware: sensitive info only visible to room owners
### ICS Configuration UI
- Integrated ICS settings into room configuration dialog
- Test connection functionality with immediate feedback
- Manual sync trigger with detailed results
- Shows last sync time and ETag for monitoring
- Configurable sync intervals (1 min to 1 hour)
### Routing & Navigation
- New /room/{roomName} route for meeting selection
- Waiting room at /room/{roomName}/wait?eventId={id}
- Classic room page at /{roomName} with meeting info
- Uses sessionStorage to pass selected meeting between pages
### API Integration
- Added new endpoints for active/upcoming meetings
- Regenerated TypeScript client with latest OpenAPI spec
- Proper error handling and loading states
- Auto-refresh every 30 seconds for live updates
### UI/UX Improvements
- Color-coded badges for meeting status
- Attendee status indicators (accepted/declined/tentative)
- Responsive design with Chakra UI components
- Clear visual hierarchy between active and upcoming meetings
- Smart truncation for long attendee lists
This completes the frontend implementation for calendar integration,
enabling users to seamlessly join scheduled meetings from their
calendar applications.
1044 lines
26 KiB
TypeScript
1044 lines
26 KiB
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import type { CancelablePromise } from "./core/CancelablePromise";
|
|
import type { BaseHttpRequest } from "./core/BaseHttpRequest";
|
|
import type {
|
|
MetricsResponse,
|
|
V1MeetingAudioConsentData,
|
|
V1MeetingAudioConsentResponse,
|
|
V1RoomsListData,
|
|
V1RoomsListResponse,
|
|
V1RoomsCreateData,
|
|
V1RoomsCreateResponse,
|
|
V1RoomsUpdateData,
|
|
V1RoomsUpdateResponse,
|
|
V1RoomsDeleteData,
|
|
V1RoomsDeleteResponse,
|
|
V1RoomsCreateMeetingData,
|
|
V1RoomsCreateMeetingResponse,
|
|
V1RoomsSyncIcsData,
|
|
V1RoomsSyncIcsResponse,
|
|
V1RoomsIcsStatusData,
|
|
V1RoomsIcsStatusResponse,
|
|
V1RoomsListMeetingsData,
|
|
V1RoomsListMeetingsResponse,
|
|
V1RoomsListUpcomingMeetingsData,
|
|
V1RoomsListUpcomingMeetingsResponse,
|
|
V1RoomsListActiveMeetingsData,
|
|
V1RoomsListActiveMeetingsResponse,
|
|
V1RoomsJoinMeetingData,
|
|
V1RoomsJoinMeetingResponse,
|
|
V1TranscriptsListData,
|
|
V1TranscriptsListResponse,
|
|
V1TranscriptsCreateData,
|
|
V1TranscriptsCreateResponse,
|
|
V1TranscriptsSearchData,
|
|
V1TranscriptsSearchResponse,
|
|
V1TranscriptGetData,
|
|
V1TranscriptGetResponse,
|
|
V1TranscriptUpdateData,
|
|
V1TranscriptUpdateResponse,
|
|
V1TranscriptDeleteData,
|
|
V1TranscriptDeleteResponse,
|
|
V1TranscriptGetTopicsData,
|
|
V1TranscriptGetTopicsResponse,
|
|
V1TranscriptGetTopicsWithWordsData,
|
|
V1TranscriptGetTopicsWithWordsResponse,
|
|
V1TranscriptGetTopicsWithWordsPerSpeakerData,
|
|
V1TranscriptGetTopicsWithWordsPerSpeakerResponse,
|
|
V1TranscriptPostToZulipData,
|
|
V1TranscriptPostToZulipResponse,
|
|
V1TranscriptHeadAudioMp3Data,
|
|
V1TranscriptHeadAudioMp3Response,
|
|
V1TranscriptGetAudioMp3Data,
|
|
V1TranscriptGetAudioMp3Response,
|
|
V1TranscriptGetAudioWaveformData,
|
|
V1TranscriptGetAudioWaveformResponse,
|
|
V1TranscriptGetParticipantsData,
|
|
V1TranscriptGetParticipantsResponse,
|
|
V1TranscriptAddParticipantData,
|
|
V1TranscriptAddParticipantResponse,
|
|
V1TranscriptGetParticipantData,
|
|
V1TranscriptGetParticipantResponse,
|
|
V1TranscriptUpdateParticipantData,
|
|
V1TranscriptUpdateParticipantResponse,
|
|
V1TranscriptDeleteParticipantData,
|
|
V1TranscriptDeleteParticipantResponse,
|
|
V1TranscriptAssignSpeakerData,
|
|
V1TranscriptAssignSpeakerResponse,
|
|
V1TranscriptMergeSpeakerData,
|
|
V1TranscriptMergeSpeakerResponse,
|
|
V1TranscriptRecordUploadData,
|
|
V1TranscriptRecordUploadResponse,
|
|
V1TranscriptGetWebsocketEventsData,
|
|
V1TranscriptGetWebsocketEventsResponse,
|
|
V1TranscriptRecordWebrtcData,
|
|
V1TranscriptRecordWebrtcResponse,
|
|
V1TranscriptProcessData,
|
|
V1TranscriptProcessResponse,
|
|
V1UserMeResponse,
|
|
V1ZulipGetStreamsResponse,
|
|
V1ZulipGetTopicsData,
|
|
V1ZulipGetTopicsResponse,
|
|
V1WherebyWebhookData,
|
|
V1WherebyWebhookResponse,
|
|
} from "./types.gen";
|
|
|
|
export class DefaultService {
|
|
constructor(public readonly httpRequest: BaseHttpRequest) {}
|
|
|
|
/**
|
|
* Metrics
|
|
* Endpoint that serves Prometheus metrics.
|
|
* @returns unknown Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public metrics(): CancelablePromise<MetricsResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/metrics",
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Meeting Audio Consent
|
|
* @param data The data for the request.
|
|
* @param data.meetingId
|
|
* @param data.requestBody
|
|
* @returns unknown Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1MeetingAudioConsent(
|
|
data: V1MeetingAudioConsentData,
|
|
): CancelablePromise<V1MeetingAudioConsentResponse> {
|
|
return this.httpRequest.request({
|
|
method: "POST",
|
|
url: "/v1/meetings/{meeting_id}/consent",
|
|
path: {
|
|
meeting_id: data.meetingId,
|
|
},
|
|
body: data.requestBody,
|
|
mediaType: "application/json",
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Rooms List
|
|
* @param data The data for the request.
|
|
* @param data.page Page number
|
|
* @param data.size Page size
|
|
* @returns Page_Room_ Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1RoomsList(
|
|
data: V1RoomsListData = {},
|
|
): CancelablePromise<V1RoomsListResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/rooms",
|
|
query: {
|
|
page: data.page,
|
|
size: data.size,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Rooms Create
|
|
* @param data The data for the request.
|
|
* @param data.requestBody
|
|
* @returns Room Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1RoomsCreate(
|
|
data: V1RoomsCreateData,
|
|
): CancelablePromise<V1RoomsCreateResponse> {
|
|
return this.httpRequest.request({
|
|
method: "POST",
|
|
url: "/v1/rooms",
|
|
body: data.requestBody,
|
|
mediaType: "application/json",
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Rooms Update
|
|
* @param data The data for the request.
|
|
* @param data.roomId
|
|
* @param data.requestBody
|
|
* @returns Room Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1RoomsUpdate(
|
|
data: V1RoomsUpdateData,
|
|
): CancelablePromise<V1RoomsUpdateResponse> {
|
|
return this.httpRequest.request({
|
|
method: "PATCH",
|
|
url: "/v1/rooms/{room_id}",
|
|
path: {
|
|
room_id: data.roomId,
|
|
},
|
|
body: data.requestBody,
|
|
mediaType: "application/json",
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Rooms Delete
|
|
* @param data The data for the request.
|
|
* @param data.roomId
|
|
* @returns DeletionStatus Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1RoomsDelete(
|
|
data: V1RoomsDeleteData,
|
|
): CancelablePromise<V1RoomsDeleteResponse> {
|
|
return this.httpRequest.request({
|
|
method: "DELETE",
|
|
url: "/v1/rooms/{room_id}",
|
|
path: {
|
|
room_id: data.roomId,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Rooms Create Meeting
|
|
* @param data The data for the request.
|
|
* @param data.roomName
|
|
* @returns Meeting Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1RoomsCreateMeeting(
|
|
data: V1RoomsCreateMeetingData,
|
|
): CancelablePromise<V1RoomsCreateMeetingResponse> {
|
|
return this.httpRequest.request({
|
|
method: "POST",
|
|
url: "/v1/rooms/{room_name}/meeting",
|
|
path: {
|
|
room_name: data.roomName,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Rooms Sync Ics
|
|
* @param data The data for the request.
|
|
* @param data.roomName
|
|
* @returns ICSSyncResult Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1RoomsSyncIcs(
|
|
data: V1RoomsSyncIcsData,
|
|
): CancelablePromise<V1RoomsSyncIcsResponse> {
|
|
return this.httpRequest.request({
|
|
method: "POST",
|
|
url: "/v1/rooms/{room_name}/ics/sync",
|
|
path: {
|
|
room_name: data.roomName,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Rooms Ics Status
|
|
* @param data The data for the request.
|
|
* @param data.roomName
|
|
* @returns ICSStatus Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1RoomsIcsStatus(
|
|
data: V1RoomsIcsStatusData,
|
|
): CancelablePromise<V1RoomsIcsStatusResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/rooms/{room_name}/ics/status",
|
|
path: {
|
|
room_name: data.roomName,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Rooms List Meetings
|
|
* @param data The data for the request.
|
|
* @param data.roomName
|
|
* @returns CalendarEventResponse Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1RoomsListMeetings(
|
|
data: V1RoomsListMeetingsData,
|
|
): CancelablePromise<V1RoomsListMeetingsResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/rooms/{room_name}/meetings",
|
|
path: {
|
|
room_name: data.roomName,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Rooms List Upcoming Meetings
|
|
* @param data The data for the request.
|
|
* @param data.roomName
|
|
* @param data.minutesAhead
|
|
* @returns CalendarEventResponse Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1RoomsListUpcomingMeetings(
|
|
data: V1RoomsListUpcomingMeetingsData,
|
|
): CancelablePromise<V1RoomsListUpcomingMeetingsResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/rooms/{room_name}/meetings/upcoming",
|
|
path: {
|
|
room_name: data.roomName,
|
|
},
|
|
query: {
|
|
minutes_ahead: data.minutesAhead,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Rooms List Active Meetings
|
|
* List all active meetings for a room (supports multiple active meetings)
|
|
* @param data The data for the request.
|
|
* @param data.roomName
|
|
* @returns Meeting Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1RoomsListActiveMeetings(
|
|
data: V1RoomsListActiveMeetingsData,
|
|
): CancelablePromise<V1RoomsListActiveMeetingsResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/rooms/{room_name}/meetings/active",
|
|
path: {
|
|
room_name: data.roomName,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Rooms Join Meeting
|
|
* Join a specific meeting by ID
|
|
* @param data The data for the request.
|
|
* @param data.roomName
|
|
* @param data.meetingId
|
|
* @returns Meeting Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1RoomsJoinMeeting(
|
|
data: V1RoomsJoinMeetingData,
|
|
): CancelablePromise<V1RoomsJoinMeetingResponse> {
|
|
return this.httpRequest.request({
|
|
method: "POST",
|
|
url: "/v1/rooms/{room_name}/meetings/{meeting_id}/join",
|
|
path: {
|
|
room_name: data.roomName,
|
|
meeting_id: data.meetingId,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcripts List
|
|
* @param data The data for the request.
|
|
* @param data.sourceKind
|
|
* @param data.roomId
|
|
* @param data.searchTerm
|
|
* @param data.page Page number
|
|
* @param data.size Page size
|
|
* @returns Page_GetTranscriptMinimal_ Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptsList(
|
|
data: V1TranscriptsListData = {},
|
|
): CancelablePromise<V1TranscriptsListResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/transcripts",
|
|
query: {
|
|
source_kind: data.sourceKind,
|
|
room_id: data.roomId,
|
|
search_term: data.searchTerm,
|
|
page: data.page,
|
|
size: data.size,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcripts Create
|
|
* @param data The data for the request.
|
|
* @param data.requestBody
|
|
* @returns GetTranscript Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptsCreate(
|
|
data: V1TranscriptsCreateData,
|
|
): CancelablePromise<V1TranscriptsCreateResponse> {
|
|
return this.httpRequest.request({
|
|
method: "POST",
|
|
url: "/v1/transcripts",
|
|
body: data.requestBody,
|
|
mediaType: "application/json",
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcripts Search
|
|
* Full-text search across transcript titles and content.
|
|
* @param data The data for the request.
|
|
* @param data.q Search query text
|
|
* @param data.limit Results per page
|
|
* @param data.offset Number of results to skip
|
|
* @param data.roomId
|
|
* @returns SearchResponse Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptsSearch(
|
|
data: V1TranscriptsSearchData,
|
|
): CancelablePromise<V1TranscriptsSearchResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/transcripts/search",
|
|
query: {
|
|
q: data.q,
|
|
limit: data.limit,
|
|
offset: data.offset,
|
|
room_id: data.roomId,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Get
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @returns GetTranscript Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptGet(
|
|
data: V1TranscriptGetData,
|
|
): CancelablePromise<V1TranscriptGetResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/transcripts/{transcript_id}",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Update
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @param data.requestBody
|
|
* @returns GetTranscript Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptUpdate(
|
|
data: V1TranscriptUpdateData,
|
|
): CancelablePromise<V1TranscriptUpdateResponse> {
|
|
return this.httpRequest.request({
|
|
method: "PATCH",
|
|
url: "/v1/transcripts/{transcript_id}",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
body: data.requestBody,
|
|
mediaType: "application/json",
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Delete
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @returns DeletionStatus Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptDelete(
|
|
data: V1TranscriptDeleteData,
|
|
): CancelablePromise<V1TranscriptDeleteResponse> {
|
|
return this.httpRequest.request({
|
|
method: "DELETE",
|
|
url: "/v1/transcripts/{transcript_id}",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Get Topics
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @returns GetTranscriptTopic Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptGetTopics(
|
|
data: V1TranscriptGetTopicsData,
|
|
): CancelablePromise<V1TranscriptGetTopicsResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/transcripts/{transcript_id}/topics",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Get Topics With Words
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @returns GetTranscriptTopicWithWords Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptGetTopicsWithWords(
|
|
data: V1TranscriptGetTopicsWithWordsData,
|
|
): CancelablePromise<V1TranscriptGetTopicsWithWordsResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/transcripts/{transcript_id}/topics/with-words",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Get Topics With Words Per Speaker
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @param data.topicId
|
|
* @returns GetTranscriptTopicWithWordsPerSpeaker Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptGetTopicsWithWordsPerSpeaker(
|
|
data: V1TranscriptGetTopicsWithWordsPerSpeakerData,
|
|
): CancelablePromise<V1TranscriptGetTopicsWithWordsPerSpeakerResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/transcripts/{transcript_id}/topics/{topic_id}/words-per-speaker",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
topic_id: data.topicId,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Post To Zulip
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @param data.stream
|
|
* @param data.topic
|
|
* @param data.includeTopics
|
|
* @returns unknown Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptPostToZulip(
|
|
data: V1TranscriptPostToZulipData,
|
|
): CancelablePromise<V1TranscriptPostToZulipResponse> {
|
|
return this.httpRequest.request({
|
|
method: "POST",
|
|
url: "/v1/transcripts/{transcript_id}/zulip",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
query: {
|
|
stream: data.stream,
|
|
topic: data.topic,
|
|
include_topics: data.includeTopics,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Get Audio Mp3
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @param data.token
|
|
* @returns unknown Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptHeadAudioMp3(
|
|
data: V1TranscriptHeadAudioMp3Data,
|
|
): CancelablePromise<V1TranscriptHeadAudioMp3Response> {
|
|
return this.httpRequest.request({
|
|
method: "HEAD",
|
|
url: "/v1/transcripts/{transcript_id}/audio/mp3",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
query: {
|
|
token: data.token,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Get Audio Mp3
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @param data.token
|
|
* @returns unknown Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptGetAudioMp3(
|
|
data: V1TranscriptGetAudioMp3Data,
|
|
): CancelablePromise<V1TranscriptGetAudioMp3Response> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/transcripts/{transcript_id}/audio/mp3",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
query: {
|
|
token: data.token,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Get Audio Waveform
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @returns AudioWaveform Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptGetAudioWaveform(
|
|
data: V1TranscriptGetAudioWaveformData,
|
|
): CancelablePromise<V1TranscriptGetAudioWaveformResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/transcripts/{transcript_id}/audio/waveform",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Get Participants
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @returns Participant Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptGetParticipants(
|
|
data: V1TranscriptGetParticipantsData,
|
|
): CancelablePromise<V1TranscriptGetParticipantsResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/transcripts/{transcript_id}/participants",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Add Participant
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @param data.requestBody
|
|
* @returns Participant Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptAddParticipant(
|
|
data: V1TranscriptAddParticipantData,
|
|
): CancelablePromise<V1TranscriptAddParticipantResponse> {
|
|
return this.httpRequest.request({
|
|
method: "POST",
|
|
url: "/v1/transcripts/{transcript_id}/participants",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
body: data.requestBody,
|
|
mediaType: "application/json",
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Get Participant
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @param data.participantId
|
|
* @returns Participant Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptGetParticipant(
|
|
data: V1TranscriptGetParticipantData,
|
|
): CancelablePromise<V1TranscriptGetParticipantResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/transcripts/{transcript_id}/participants/{participant_id}",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
participant_id: data.participantId,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Update Participant
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @param data.participantId
|
|
* @param data.requestBody
|
|
* @returns Participant Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptUpdateParticipant(
|
|
data: V1TranscriptUpdateParticipantData,
|
|
): CancelablePromise<V1TranscriptUpdateParticipantResponse> {
|
|
return this.httpRequest.request({
|
|
method: "PATCH",
|
|
url: "/v1/transcripts/{transcript_id}/participants/{participant_id}",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
participant_id: data.participantId,
|
|
},
|
|
body: data.requestBody,
|
|
mediaType: "application/json",
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Delete Participant
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @param data.participantId
|
|
* @returns DeletionStatus Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptDeleteParticipant(
|
|
data: V1TranscriptDeleteParticipantData,
|
|
): CancelablePromise<V1TranscriptDeleteParticipantResponse> {
|
|
return this.httpRequest.request({
|
|
method: "DELETE",
|
|
url: "/v1/transcripts/{transcript_id}/participants/{participant_id}",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
participant_id: data.participantId,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Assign Speaker
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @param data.requestBody
|
|
* @returns SpeakerAssignmentStatus Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptAssignSpeaker(
|
|
data: V1TranscriptAssignSpeakerData,
|
|
): CancelablePromise<V1TranscriptAssignSpeakerResponse> {
|
|
return this.httpRequest.request({
|
|
method: "PATCH",
|
|
url: "/v1/transcripts/{transcript_id}/speaker/assign",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
body: data.requestBody,
|
|
mediaType: "application/json",
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Merge Speaker
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @param data.requestBody
|
|
* @returns SpeakerAssignmentStatus Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptMergeSpeaker(
|
|
data: V1TranscriptMergeSpeakerData,
|
|
): CancelablePromise<V1TranscriptMergeSpeakerResponse> {
|
|
return this.httpRequest.request({
|
|
method: "PATCH",
|
|
url: "/v1/transcripts/{transcript_id}/speaker/merge",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
body: data.requestBody,
|
|
mediaType: "application/json",
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Record Upload
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @param data.chunkNumber
|
|
* @param data.totalChunks
|
|
* @param data.formData
|
|
* @returns unknown Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptRecordUpload(
|
|
data: V1TranscriptRecordUploadData,
|
|
): CancelablePromise<V1TranscriptRecordUploadResponse> {
|
|
return this.httpRequest.request({
|
|
method: "POST",
|
|
url: "/v1/transcripts/{transcript_id}/record/upload",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
query: {
|
|
chunk_number: data.chunkNumber,
|
|
total_chunks: data.totalChunks,
|
|
},
|
|
formData: data.formData,
|
|
mediaType: "multipart/form-data",
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Get Websocket Events
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @returns unknown Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptGetWebsocketEvents(
|
|
data: V1TranscriptGetWebsocketEventsData,
|
|
): CancelablePromise<V1TranscriptGetWebsocketEventsResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/transcripts/{transcript_id}/events",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Transcript Record Webrtc
|
|
* @param data The data for the request.
|
|
* @param data.transcriptId
|
|
* @param data.requestBody
|
|
* @returns unknown Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1TranscriptRecordWebrtc(
|
|
data: V1TranscriptRecordWebrtcData,
|
|
): CancelablePromise<V1TranscriptRecordWebrtcResponse> {
|
|
return this.httpRequest.request({
|
|
method: "POST",
|
|
url: "/v1/transcripts/{transcript_id}/record/webrtc",
|
|
path: {
|
|
transcript_id: data.transcriptId,
|
|
},
|
|
body: data.requestBody,
|
|
mediaType: "application/json",
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* 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
|
|
* @throws ApiError
|
|
*/
|
|
public v1UserMe(): CancelablePromise<V1UserMeResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/me",
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Zulip Get Streams
|
|
* Get all Zulip streams.
|
|
* @returns Stream Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1ZulipGetStreams(): CancelablePromise<V1ZulipGetStreamsResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/zulip/streams",
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Zulip Get Topics
|
|
* Get all topics for a specific Zulip stream.
|
|
* @param data The data for the request.
|
|
* @param data.streamId
|
|
* @returns Topic Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1ZulipGetTopics(
|
|
data: V1ZulipGetTopicsData,
|
|
): CancelablePromise<V1ZulipGetTopicsResponse> {
|
|
return this.httpRequest.request({
|
|
method: "GET",
|
|
url: "/v1/zulip/streams/{stream_id}/topics",
|
|
path: {
|
|
stream_id: data.streamId,
|
|
},
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Whereby Webhook
|
|
* @param data The data for the request.
|
|
* @param data.requestBody
|
|
* @returns unknown Successful Response
|
|
* @throws ApiError
|
|
*/
|
|
public v1WherebyWebhook(
|
|
data: V1WherebyWebhookData,
|
|
): CancelablePromise<V1WherebyWebhookResponse> {
|
|
return this.httpRequest.request({
|
|
method: "POST",
|
|
url: "/v1/whereby",
|
|
body: data.requestBody,
|
|
mediaType: "application/json",
|
|
errors: {
|
|
422: "Validation Error",
|
|
},
|
|
});
|
|
}
|
|
}
|