plugnmeet-sdk-js 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/PlugNmeet.cjs +248 -0
- package/dist/PlugNmeet.cjs.map +1 -0
- package/dist/PlugNmeet.js +184 -137
- package/dist/PlugNmeet.js.map +1 -1
- package/dist/PlugNmeet.mjs +241 -0
- package/dist/PlugNmeet.mjs.map +1 -0
- package/dist/index.d.ts +280 -11
- package/dist/index.d.ts.map +1 -0
- package/package.json +30 -20
- package/dist/PlugNmeet.d.ts +0 -76
- package/dist/api.d.ts +0 -6
- package/dist/api.js +0 -67
- package/dist/api.js.map +0 -1
- package/dist/cjs/PlugNmeet.d.ts +0 -76
- package/dist/cjs/PlugNmeet.js +0 -231
- package/dist/cjs/PlugNmeet.js.map +0 -1
- package/dist/cjs/api.d.ts +0 -6
- package/dist/cjs/api.js +0 -85
- package/dist/cjs/api.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -11
- package/dist/cjs/index.js +0 -6
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/types/RecordingDownloadToken.d.ts +0 -8
- package/dist/cjs/types/RecordingDownloadToken.js +0 -3
- package/dist/cjs/types/RecordingDownloadToken.js.map +0 -1
- package/dist/cjs/types/activeRoomInfo.d.ts +0 -34
- package/dist/cjs/types/activeRoomInfo.js +0 -3
- package/dist/cjs/types/activeRoomInfo.js.map +0 -1
- package/dist/cjs/types/activeRoomsInfo.d.ts +0 -6
- package/dist/cjs/types/activeRoomsInfo.js +0 -3
- package/dist/cjs/types/activeRoomsInfo.js.map +0 -1
- package/dist/cjs/types/clientFiles.d.ts +0 -6
- package/dist/cjs/types/clientFiles.js +0 -3
- package/dist/cjs/types/clientFiles.js.map +0 -1
- package/dist/cjs/types/createRoom.d.ts +0 -83
- package/dist/cjs/types/createRoom.js +0 -3
- package/dist/cjs/types/createRoom.js.map +0 -1
- package/dist/cjs/types/deleteRecordings.d.ts +0 -7
- package/dist/cjs/types/deleteRecordings.js +0 -3
- package/dist/cjs/types/deleteRecordings.js.map +0 -1
- package/dist/cjs/types/endRoom.d.ts +0 -7
- package/dist/cjs/types/endRoom.js +0 -3
- package/dist/cjs/types/endRoom.js.map +0 -1
- package/dist/cjs/types/fetchRecordings.d.ts +0 -27
- package/dist/cjs/types/fetchRecordings.js +0 -3
- package/dist/cjs/types/fetchRecordings.js.map +0 -1
- package/dist/cjs/types/isRoomActive.d.ts +0 -7
- package/dist/cjs/types/isRoomActive.js +0 -3
- package/dist/cjs/types/isRoomActive.js.map +0 -1
- package/dist/cjs/types/joinToken.d.ts +0 -21
- package/dist/cjs/types/joinToken.js +0 -3
- package/dist/cjs/types/joinToken.js.map +0 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +0 -1
- package/dist/types/RecordingDownloadToken.d.ts +0 -8
- package/dist/types/RecordingDownloadToken.js +0 -2
- package/dist/types/RecordingDownloadToken.js.map +0 -1
- package/dist/types/activeRoomInfo.d.ts +0 -34
- package/dist/types/activeRoomInfo.js +0 -2
- package/dist/types/activeRoomInfo.js.map +0 -1
- package/dist/types/activeRoomsInfo.d.ts +0 -6
- package/dist/types/activeRoomsInfo.js +0 -2
- package/dist/types/activeRoomsInfo.js.map +0 -1
- package/dist/types/clientFiles.d.ts +0 -6
- package/dist/types/clientFiles.js +0 -2
- package/dist/types/clientFiles.js.map +0 -1
- package/dist/types/createRoom.d.ts +0 -83
- package/dist/types/createRoom.js +0 -2
- package/dist/types/createRoom.js.map +0 -1
- package/dist/types/deleteRecordings.d.ts +0 -7
- package/dist/types/deleteRecordings.js +0 -2
- package/dist/types/deleteRecordings.js.map +0 -1
- package/dist/types/endRoom.d.ts +0 -7
- package/dist/types/endRoom.js +0 -2
- package/dist/types/endRoom.js.map +0 -1
- package/dist/types/fetchRecordings.d.ts +0 -27
- package/dist/types/fetchRecordings.js +0 -2
- package/dist/types/fetchRecordings.js.map +0 -1
- package/dist/types/isRoomActive.d.ts +0 -7
- package/dist/types/isRoomActive.js +0 -2
- package/dist/types/isRoomActive.js.map +0 -1
- package/dist/types/joinToken.d.ts +0 -21
- package/dist/types/joinToken.js +0 -2
- package/dist/types/joinToken.js.map +0 -1
- package/src/PlugNmeet.ts +0 -255
- package/src/api.ts +0 -92
- package/src/index.ts +0 -48
- package/src/types/RecordingDownloadToken.ts +0 -9
- package/src/types/activeRoomInfo.ts +0 -38
- package/src/types/activeRoomsInfo.ts +0 -7
- package/src/types/clientFiles.ts +0 -6
- package/src/types/createRoom.ts +0 -95
- package/src/types/deleteRecordings.ts +0 -8
- package/src/types/endRoom.ts +0 -8
- package/src/types/fetchRecordings.ts +0 -30
- package/src/types/isRoomActive.ts +0 -8
- package/src/types/joinToken.ts +0 -25
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordingDownloadToken.js","sourceRoot":"","sources":["../../../src/types/RecordingDownloadToken.ts"],"names":[],"mappings":""}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export type ActiveRoomInfoParams = {
|
|
2
|
-
room_id: string;
|
|
3
|
-
};
|
|
4
|
-
export type ActiveRoomInfoResponse = {
|
|
5
|
-
status: boolean;
|
|
6
|
-
msg: string;
|
|
7
|
-
room?: Room;
|
|
8
|
-
};
|
|
9
|
-
export type Room = {
|
|
10
|
-
room_info: ActiveRoomInfo;
|
|
11
|
-
participants_info: Array<ParticipantInfo>;
|
|
12
|
-
};
|
|
13
|
-
export type ActiveRoomInfo = {
|
|
14
|
-
room_title: string;
|
|
15
|
-
room_id: string;
|
|
16
|
-
sid: string;
|
|
17
|
-
joined_participants: number;
|
|
18
|
-
is_running: boolean;
|
|
19
|
-
is_recording: boolean;
|
|
20
|
-
is_active_rtmp: boolean;
|
|
21
|
-
webhook_url: string;
|
|
22
|
-
creation_time: number;
|
|
23
|
-
metadata: string;
|
|
24
|
-
};
|
|
25
|
-
export type ParticipantInfo = {
|
|
26
|
-
sid: string;
|
|
27
|
-
identity: string;
|
|
28
|
-
state: string;
|
|
29
|
-
metadata: string;
|
|
30
|
-
joined_at: number;
|
|
31
|
-
name: string;
|
|
32
|
-
version: number;
|
|
33
|
-
permission: any;
|
|
34
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"activeRoomInfo.js","sourceRoot":"","sources":["../../../src/types/activeRoomInfo.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"activeRoomsInfo.js","sourceRoot":"","sources":["../../../src/types/activeRoomsInfo.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clientFiles.js","sourceRoot":"","sources":["../../../src/types/clientFiles.ts"],"names":[],"mappings":""}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
export type CreateRoomParams = {
|
|
2
|
-
room_id: string;
|
|
3
|
-
max_participants?: number;
|
|
4
|
-
empty_timeout?: number;
|
|
5
|
-
metadata: RooMetadata;
|
|
6
|
-
};
|
|
7
|
-
export type RooMetadata = {
|
|
8
|
-
room_title: string;
|
|
9
|
-
welcome_message?: string;
|
|
10
|
-
webhook_url?: string;
|
|
11
|
-
logout_url?: string;
|
|
12
|
-
room_features: RoomFeaturesParams;
|
|
13
|
-
default_lock_settings?: LockSettingsParams;
|
|
14
|
-
};
|
|
15
|
-
export type RoomFeaturesParams = {
|
|
16
|
-
allow_webcams: boolean;
|
|
17
|
-
mute_on_start: boolean;
|
|
18
|
-
allow_screen_share: boolean;
|
|
19
|
-
allow_rtmp: boolean;
|
|
20
|
-
admin_only_webcams: boolean;
|
|
21
|
-
allow_view_other_webcams: boolean;
|
|
22
|
-
allow_view_other_users_list: boolean;
|
|
23
|
-
recording_features: RecordingFeaturesParams;
|
|
24
|
-
chat_features: ChatFeaturesParams;
|
|
25
|
-
shared_note_pad_features?: SharedNotePadFeaturesParams;
|
|
26
|
-
whiteboard_features?: WhiteboardFeaturesParams;
|
|
27
|
-
external_media_player_features?: ExternalMediaPlayerFeatures;
|
|
28
|
-
waiting_room_features?: WaitingRoomFeatures;
|
|
29
|
-
breakout_room_features?: BreakoutRoomFeatures;
|
|
30
|
-
};
|
|
31
|
-
export type RecordingFeaturesParams = {
|
|
32
|
-
is_allow: boolean;
|
|
33
|
-
is_allow_cloud: boolean;
|
|
34
|
-
is_allow_local: boolean;
|
|
35
|
-
enable_auto_cloud_recording: boolean;
|
|
36
|
-
};
|
|
37
|
-
export type ChatFeaturesParams = {
|
|
38
|
-
allow_chat: boolean;
|
|
39
|
-
allow_file_upload: boolean;
|
|
40
|
-
allowed_file_types: Array<string>;
|
|
41
|
-
max_file_size: number;
|
|
42
|
-
};
|
|
43
|
-
export type SharedNotePadFeaturesParams = {
|
|
44
|
-
allowed_shared_note_pad: boolean;
|
|
45
|
-
};
|
|
46
|
-
export type WhiteboardFeaturesParams = {
|
|
47
|
-
allowed_whiteboard: boolean;
|
|
48
|
-
};
|
|
49
|
-
export type ExternalMediaPlayerFeatures = {
|
|
50
|
-
allowed_external_media_player: boolean;
|
|
51
|
-
};
|
|
52
|
-
export type WaitingRoomFeatures = {
|
|
53
|
-
is_active: boolean;
|
|
54
|
-
waiting_room_msg?: string;
|
|
55
|
-
};
|
|
56
|
-
export type BreakoutRoomFeatures = {
|
|
57
|
-
is_allow: boolean;
|
|
58
|
-
};
|
|
59
|
-
export type LockSettingsParams = {
|
|
60
|
-
lock_microphone?: boolean;
|
|
61
|
-
lock_webcam?: boolean;
|
|
62
|
-
lock_screen_sharing?: boolean;
|
|
63
|
-
lock_whiteboard?: boolean;
|
|
64
|
-
lock_shared_notepad?: boolean;
|
|
65
|
-
lock_chat?: boolean;
|
|
66
|
-
lock_chat_send_message?: boolean;
|
|
67
|
-
lock_chat_file_share?: boolean;
|
|
68
|
-
};
|
|
69
|
-
export type CreateRoomResponse = {
|
|
70
|
-
status: boolean;
|
|
71
|
-
msg: string;
|
|
72
|
-
roomInfo?: CreateRoomResponseRoomInfo;
|
|
73
|
-
};
|
|
74
|
-
export type CreateRoomResponseRoomInfo = {
|
|
75
|
-
sid: string;
|
|
76
|
-
name: string;
|
|
77
|
-
max_participants: number;
|
|
78
|
-
empty_timeout: number;
|
|
79
|
-
creation_time: number;
|
|
80
|
-
turn_password: string;
|
|
81
|
-
enabled_codecs: Array<any>;
|
|
82
|
-
metadata: string;
|
|
83
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createRoom.js","sourceRoot":"","sources":["../../../src/types/createRoom.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteRecordings.js","sourceRoot":"","sources":["../../../src/types/deleteRecordings.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endRoom.js","sourceRoot":"","sources":["../../../src/types/endRoom.ts"],"names":[],"mappings":""}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export type FetchRecordingsParams = {
|
|
2
|
-
room_ids: Array<string>;
|
|
3
|
-
from?: number;
|
|
4
|
-
limit?: number;
|
|
5
|
-
order_by?: 'ASC' | 'DESC';
|
|
6
|
-
};
|
|
7
|
-
export type FetchRecordingsResponse = {
|
|
8
|
-
status: boolean;
|
|
9
|
-
msg: string;
|
|
10
|
-
result?: FetchRecordingsResult;
|
|
11
|
-
};
|
|
12
|
-
export type FetchRecordingsResult = {
|
|
13
|
-
total_recordings: number;
|
|
14
|
-
from: number;
|
|
15
|
-
limit: number;
|
|
16
|
-
order_by: string;
|
|
17
|
-
recordings_list: Array<RecordingInfo>;
|
|
18
|
-
};
|
|
19
|
-
export type RecordingInfo = {
|
|
20
|
-
record_id: string;
|
|
21
|
-
room_id: string;
|
|
22
|
-
room_sid: string;
|
|
23
|
-
file_path: string;
|
|
24
|
-
file_size: number;
|
|
25
|
-
creation_time: number;
|
|
26
|
-
room_creation_time: number;
|
|
27
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetchRecordings.js","sourceRoot":"","sources":["../../../src/types/fetchRecordings.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isRoomActive.js","sourceRoot":"","sources":["../../../src/types/isRoomActive.ts"],"names":[],"mappings":""}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { LockSettingsParams } from './createRoom';
|
|
2
|
-
export type JoinTokenParams = {
|
|
3
|
-
room_id: string;
|
|
4
|
-
user_info: JoinTokenUserInfo;
|
|
5
|
-
};
|
|
6
|
-
export type JoinTokenUserInfo = {
|
|
7
|
-
name: string;
|
|
8
|
-
user_id: string;
|
|
9
|
-
is_admin: boolean;
|
|
10
|
-
is_hidden: boolean;
|
|
11
|
-
user_metadata?: JoinTokenUserMetadata;
|
|
12
|
-
};
|
|
13
|
-
export type JoinTokenUserMetadata = {
|
|
14
|
-
profile_pic?: string;
|
|
15
|
-
lock_settings?: LockSettingsParams;
|
|
16
|
-
};
|
|
17
|
-
export type JoinTokenResponse = {
|
|
18
|
-
status: boolean;
|
|
19
|
-
msg: string;
|
|
20
|
-
token?: string;
|
|
21
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"joinToken.js","sourceRoot":"","sources":["../../../src/types/joinToken.ts"],"names":[],"mappings":""}
|
package/dist/index.js
DELETED
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA+CA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordingDownloadToken.js","sourceRoot":"","sources":["../../src/types/RecordingDownloadToken.ts"],"names":[],"mappings":""}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export type ActiveRoomInfoParams = {
|
|
2
|
-
room_id: string;
|
|
3
|
-
};
|
|
4
|
-
export type ActiveRoomInfoResponse = {
|
|
5
|
-
status: boolean;
|
|
6
|
-
msg: string;
|
|
7
|
-
room?: Room;
|
|
8
|
-
};
|
|
9
|
-
export type Room = {
|
|
10
|
-
room_info: ActiveRoomInfo;
|
|
11
|
-
participants_info: Array<ParticipantInfo>;
|
|
12
|
-
};
|
|
13
|
-
export type ActiveRoomInfo = {
|
|
14
|
-
room_title: string;
|
|
15
|
-
room_id: string;
|
|
16
|
-
sid: string;
|
|
17
|
-
joined_participants: number;
|
|
18
|
-
is_running: boolean;
|
|
19
|
-
is_recording: boolean;
|
|
20
|
-
is_active_rtmp: boolean;
|
|
21
|
-
webhook_url: string;
|
|
22
|
-
creation_time: number;
|
|
23
|
-
metadata: string;
|
|
24
|
-
};
|
|
25
|
-
export type ParticipantInfo = {
|
|
26
|
-
sid: string;
|
|
27
|
-
identity: string;
|
|
28
|
-
state: string;
|
|
29
|
-
metadata: string;
|
|
30
|
-
joined_at: number;
|
|
31
|
-
name: string;
|
|
32
|
-
version: number;
|
|
33
|
-
permission: any;
|
|
34
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"activeRoomInfo.js","sourceRoot":"","sources":["../../src/types/activeRoomInfo.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"activeRoomsInfo.js","sourceRoot":"","sources":["../../src/types/activeRoomsInfo.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clientFiles.js","sourceRoot":"","sources":["../../src/types/clientFiles.ts"],"names":[],"mappings":""}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
export type CreateRoomParams = {
|
|
2
|
-
room_id: string;
|
|
3
|
-
max_participants?: number;
|
|
4
|
-
empty_timeout?: number;
|
|
5
|
-
metadata: RooMetadata;
|
|
6
|
-
};
|
|
7
|
-
export type RooMetadata = {
|
|
8
|
-
room_title: string;
|
|
9
|
-
welcome_message?: string;
|
|
10
|
-
webhook_url?: string;
|
|
11
|
-
logout_url?: string;
|
|
12
|
-
room_features: RoomFeaturesParams;
|
|
13
|
-
default_lock_settings?: LockSettingsParams;
|
|
14
|
-
};
|
|
15
|
-
export type RoomFeaturesParams = {
|
|
16
|
-
allow_webcams: boolean;
|
|
17
|
-
mute_on_start: boolean;
|
|
18
|
-
allow_screen_share: boolean;
|
|
19
|
-
allow_rtmp: boolean;
|
|
20
|
-
admin_only_webcams: boolean;
|
|
21
|
-
allow_view_other_webcams: boolean;
|
|
22
|
-
allow_view_other_users_list: boolean;
|
|
23
|
-
recording_features: RecordingFeaturesParams;
|
|
24
|
-
chat_features: ChatFeaturesParams;
|
|
25
|
-
shared_note_pad_features?: SharedNotePadFeaturesParams;
|
|
26
|
-
whiteboard_features?: WhiteboardFeaturesParams;
|
|
27
|
-
external_media_player_features?: ExternalMediaPlayerFeatures;
|
|
28
|
-
waiting_room_features?: WaitingRoomFeatures;
|
|
29
|
-
breakout_room_features?: BreakoutRoomFeatures;
|
|
30
|
-
};
|
|
31
|
-
export type RecordingFeaturesParams = {
|
|
32
|
-
is_allow: boolean;
|
|
33
|
-
is_allow_cloud: boolean;
|
|
34
|
-
is_allow_local: boolean;
|
|
35
|
-
enable_auto_cloud_recording: boolean;
|
|
36
|
-
};
|
|
37
|
-
export type ChatFeaturesParams = {
|
|
38
|
-
allow_chat: boolean;
|
|
39
|
-
allow_file_upload: boolean;
|
|
40
|
-
allowed_file_types: Array<string>;
|
|
41
|
-
max_file_size: number;
|
|
42
|
-
};
|
|
43
|
-
export type SharedNotePadFeaturesParams = {
|
|
44
|
-
allowed_shared_note_pad: boolean;
|
|
45
|
-
};
|
|
46
|
-
export type WhiteboardFeaturesParams = {
|
|
47
|
-
allowed_whiteboard: boolean;
|
|
48
|
-
};
|
|
49
|
-
export type ExternalMediaPlayerFeatures = {
|
|
50
|
-
allowed_external_media_player: boolean;
|
|
51
|
-
};
|
|
52
|
-
export type WaitingRoomFeatures = {
|
|
53
|
-
is_active: boolean;
|
|
54
|
-
waiting_room_msg?: string;
|
|
55
|
-
};
|
|
56
|
-
export type BreakoutRoomFeatures = {
|
|
57
|
-
is_allow: boolean;
|
|
58
|
-
};
|
|
59
|
-
export type LockSettingsParams = {
|
|
60
|
-
lock_microphone?: boolean;
|
|
61
|
-
lock_webcam?: boolean;
|
|
62
|
-
lock_screen_sharing?: boolean;
|
|
63
|
-
lock_whiteboard?: boolean;
|
|
64
|
-
lock_shared_notepad?: boolean;
|
|
65
|
-
lock_chat?: boolean;
|
|
66
|
-
lock_chat_send_message?: boolean;
|
|
67
|
-
lock_chat_file_share?: boolean;
|
|
68
|
-
};
|
|
69
|
-
export type CreateRoomResponse = {
|
|
70
|
-
status: boolean;
|
|
71
|
-
msg: string;
|
|
72
|
-
roomInfo?: CreateRoomResponseRoomInfo;
|
|
73
|
-
};
|
|
74
|
-
export type CreateRoomResponseRoomInfo = {
|
|
75
|
-
sid: string;
|
|
76
|
-
name: string;
|
|
77
|
-
max_participants: number;
|
|
78
|
-
empty_timeout: number;
|
|
79
|
-
creation_time: number;
|
|
80
|
-
turn_password: string;
|
|
81
|
-
enabled_codecs: Array<any>;
|
|
82
|
-
metadata: string;
|
|
83
|
-
};
|
package/dist/types/createRoom.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createRoom.js","sourceRoot":"","sources":["../../src/types/createRoom.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteRecordings.js","sourceRoot":"","sources":["../../src/types/deleteRecordings.ts"],"names":[],"mappings":""}
|
package/dist/types/endRoom.d.ts
DELETED
package/dist/types/endRoom.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endRoom.js","sourceRoot":"","sources":["../../src/types/endRoom.ts"],"names":[],"mappings":""}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export type FetchRecordingsParams = {
|
|
2
|
-
room_ids: Array<string>;
|
|
3
|
-
from?: number;
|
|
4
|
-
limit?: number;
|
|
5
|
-
order_by?: 'ASC' | 'DESC';
|
|
6
|
-
};
|
|
7
|
-
export type FetchRecordingsResponse = {
|
|
8
|
-
status: boolean;
|
|
9
|
-
msg: string;
|
|
10
|
-
result?: FetchRecordingsResult;
|
|
11
|
-
};
|
|
12
|
-
export type FetchRecordingsResult = {
|
|
13
|
-
total_recordings: number;
|
|
14
|
-
from: number;
|
|
15
|
-
limit: number;
|
|
16
|
-
order_by: string;
|
|
17
|
-
recordings_list: Array<RecordingInfo>;
|
|
18
|
-
};
|
|
19
|
-
export type RecordingInfo = {
|
|
20
|
-
record_id: string;
|
|
21
|
-
room_id: string;
|
|
22
|
-
room_sid: string;
|
|
23
|
-
file_path: string;
|
|
24
|
-
file_size: number;
|
|
25
|
-
creation_time: number;
|
|
26
|
-
room_creation_time: number;
|
|
27
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetchRecordings.js","sourceRoot":"","sources":["../../src/types/fetchRecordings.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isRoomActive.js","sourceRoot":"","sources":["../../src/types/isRoomActive.ts"],"names":[],"mappings":""}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { LockSettingsParams } from './createRoom';
|
|
2
|
-
export type JoinTokenParams = {
|
|
3
|
-
room_id: string;
|
|
4
|
-
user_info: JoinTokenUserInfo;
|
|
5
|
-
};
|
|
6
|
-
export type JoinTokenUserInfo = {
|
|
7
|
-
name: string;
|
|
8
|
-
user_id: string;
|
|
9
|
-
is_admin: boolean;
|
|
10
|
-
is_hidden: boolean;
|
|
11
|
-
user_metadata?: JoinTokenUserMetadata;
|
|
12
|
-
};
|
|
13
|
-
export type JoinTokenUserMetadata = {
|
|
14
|
-
profile_pic?: string;
|
|
15
|
-
lock_settings?: LockSettingsParams;
|
|
16
|
-
};
|
|
17
|
-
export type JoinTokenResponse = {
|
|
18
|
-
status: boolean;
|
|
19
|
-
msg: string;
|
|
20
|
-
token?: string;
|
|
21
|
-
};
|
package/dist/types/joinToken.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"joinToken.js","sourceRoot":"","sources":["../../src/types/joinToken.ts"],"names":[],"mappings":""}
|