-
Notifications
You must be signed in to change notification settings - Fork 180
/
recordingReadyEvent.ts
55 lines (46 loc) · 1.15 KB
/
recordingReadyEvent.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import { EventType } from '../../enums';
/**
* Represents an event type for recording readiness.
*
* @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 RecordingReady = {
/**
* The type of event, which is 'recording:ready'.
*/
event: EventType.RECORDING_READY;
/**
* The unique identifier for the recording.
*/
recording_id: string;
/**
* The unique identifier for the session associated with the recording.
*/
session_id: string;
/**
* The unique identifier for the room associated with the recording.
*/
room_id: string;
/**
* The date and time when the recording started.
*/
started_at: string;
/**
* The date and time when the recording ended.
*/
ended_at: string;
/**
* The duration of the recording in seconds.
*/
duration: number;
/**
* The URL where the recording can be accessed.
*/
url: string;
}
/**
* @deprecated Exported as interface in error. Please use RecordingReady
*/
export interface RecordingReadyInterface extends RecordingReady {}