-
Notifications
You must be signed in to change notification settings - Fork 180
/
roomExpiredEvent.ts
41 lines (35 loc) · 995 Bytes
/
roomExpiredEvent.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import { EventType, MeetingType } from '../../enums';
/**
* Represents an event for a room expiration.
*
* @remarks
* The SDK does not have any functionality for process incoming webhook events.
* The types are provided here to help with code completion and TS Compiling
*/
export type RoomExpired = {
/**
* The type of event, which is 'room:expired'.
*/
event: EventType.ROOM_EXPIRED;
/**
* The unique identifier for the room.
*/
room_id: string;
/**
* The type of meeting associated with the room.
*/
room_type: MeetingType;
/**
* The date and time when the room will expire, expressed in ISO 8601 format.
* The value must be greater than 10 minutes from now.
*/
expires_at: string;
/**
* The date and time when the room was created, expressed in ISO 8601 format.
*/
created_at: string;
}
/**
* @deprecated Exported as interface in error. Please use RoomExpired
*/
export interface RoomExpiredInterface extends RoomExpired {}