37 lines
907 B
TypeScript
37 lines
907 B
TypeScript
import { ParticipantPermissions, ParticipantRole } from './participant.js';
|
|
import { MeetRoomPreferences } from './room-preferences.js';
|
|
|
|
interface BaseRoomOptions {
|
|
autoDeletionDate?: number;
|
|
roomIdPrefix?: string;
|
|
preferences?: MeetRoomPreferences;
|
|
// maxParticipants?: number | null;
|
|
}
|
|
|
|
/**
|
|
* Options for creating or configuring a room.
|
|
*/
|
|
export type MeetRoomOptions = BaseRoomOptions;
|
|
|
|
/**
|
|
* Interface representing the response received when a room is created.
|
|
*/
|
|
export interface MeetRoom extends BaseRoomOptions {
|
|
roomId: string;
|
|
creationDate: number;
|
|
moderatorRoomUrl: string;
|
|
publisherRoomUrl: string;
|
|
markedForDeletion?: boolean;
|
|
}
|
|
|
|
export interface MeetRoomRoleAndPermissions {
|
|
role: ParticipantRole;
|
|
permissions: ParticipantPermissions;
|
|
}
|
|
|
|
export type MeetRoomFilters = {
|
|
maxItems?: number;
|
|
nextPageToken?: string;
|
|
fields?: string;
|
|
};
|