plugnmeet-sdk-js 1.2.2 → 1.2.3
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.js +184 -137
- package/dist/PlugNmeet.js.map +1 -1
- package/dist/index.d.ts +280 -11
- package/dist/index.d.ts.map +1 -0
- package/dist/main.js +248 -0
- package/dist/main.js.map +1 -0
- package/dist/module.js +241 -0
- package/dist/module.js.map +1 -0
- package/package.json +28 -21
- 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
package/src/index.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export {
|
|
2
|
-
RooMetadata,
|
|
3
|
-
CreateRoomParams,
|
|
4
|
-
CreateRoomResponse,
|
|
5
|
-
CreateRoomResponseRoomInfo,
|
|
6
|
-
LockSettingsParams,
|
|
7
|
-
RoomFeaturesParams,
|
|
8
|
-
RecordingFeaturesParams,
|
|
9
|
-
ChatFeaturesParams,
|
|
10
|
-
SharedNotePadFeaturesParams,
|
|
11
|
-
WhiteboardFeaturesParams,
|
|
12
|
-
ExternalMediaPlayerFeatures,
|
|
13
|
-
WaitingRoomFeatures,
|
|
14
|
-
BreakoutRoomFeatures,
|
|
15
|
-
} from './types/createRoom';
|
|
16
|
-
export {
|
|
17
|
-
JoinTokenParams,
|
|
18
|
-
JoinTokenResponse,
|
|
19
|
-
JoinTokenUserMetadata,
|
|
20
|
-
JoinTokenUserInfo,
|
|
21
|
-
} from './types/joinToken';
|
|
22
|
-
export { IsRoomActiveParams, IsRoomActiveResponse } from './types/isRoomActive';
|
|
23
|
-
export {
|
|
24
|
-
Room,
|
|
25
|
-
ActiveRoomInfoParams,
|
|
26
|
-
ActiveRoomInfoResponse,
|
|
27
|
-
ParticipantInfo,
|
|
28
|
-
ActiveRoomInfo,
|
|
29
|
-
} from './types/activeRoomInfo';
|
|
30
|
-
export { ActiveRoomsInfoResponse } from './types/activeRoomsInfo';
|
|
31
|
-
export { EndRoomParams, EndRoomResponse } from './types/endRoom';
|
|
32
|
-
export {
|
|
33
|
-
FetchRecordingsParams,
|
|
34
|
-
FetchRecordingsResponse,
|
|
35
|
-
FetchRecordingsResult,
|
|
36
|
-
RecordingInfo,
|
|
37
|
-
} from './types/fetchRecordings';
|
|
38
|
-
export {
|
|
39
|
-
DeleteRecordingsParams,
|
|
40
|
-
DeleteRecordingsResponse,
|
|
41
|
-
} from './types/deleteRecordings';
|
|
42
|
-
export {
|
|
43
|
-
RecordingDownloadTokenParams,
|
|
44
|
-
RecordingDownloadTokenResponse,
|
|
45
|
-
} from './types/RecordingDownloadToken';
|
|
46
|
-
export { ClientFilesResponse } from './types/clientFiles';
|
|
47
|
-
|
|
48
|
-
export { PlugNmeet } from './PlugNmeet';
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export type ActiveRoomInfoParams = {
|
|
2
|
-
room_id: string;
|
|
3
|
-
};
|
|
4
|
-
|
|
5
|
-
export type ActiveRoomInfoResponse = {
|
|
6
|
-
status: boolean;
|
|
7
|
-
msg: string;
|
|
8
|
-
room?: Room;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export type Room = {
|
|
12
|
-
room_info: ActiveRoomInfo;
|
|
13
|
-
participants_info: Array<ParticipantInfo>;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export type ActiveRoomInfo = {
|
|
17
|
-
room_title: string;
|
|
18
|
-
room_id: string;
|
|
19
|
-
sid: string;
|
|
20
|
-
joined_participants: number;
|
|
21
|
-
is_running: boolean;
|
|
22
|
-
is_recording: boolean;
|
|
23
|
-
is_active_rtmp: boolean;
|
|
24
|
-
webhook_url: string;
|
|
25
|
-
creation_time: number;
|
|
26
|
-
metadata: string;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export type ParticipantInfo = {
|
|
30
|
-
sid: string;
|
|
31
|
-
identity: string;
|
|
32
|
-
state: string;
|
|
33
|
-
metadata: string;
|
|
34
|
-
joined_at: number;
|
|
35
|
-
name: string;
|
|
36
|
-
version: number;
|
|
37
|
-
permission: any;
|
|
38
|
-
};
|
package/src/types/clientFiles.ts
DELETED
package/src/types/createRoom.ts
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
export type CreateRoomParams = {
|
|
2
|
-
room_id: string;
|
|
3
|
-
max_participants?: number;
|
|
4
|
-
empty_timeout?: number;
|
|
5
|
-
metadata: RooMetadata;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export type RooMetadata = {
|
|
9
|
-
room_title: string;
|
|
10
|
-
welcome_message?: string;
|
|
11
|
-
webhook_url?: string;
|
|
12
|
-
logout_url?: string;
|
|
13
|
-
room_features: RoomFeaturesParams;
|
|
14
|
-
default_lock_settings?: LockSettingsParams;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export type RoomFeaturesParams = {
|
|
18
|
-
allow_webcams: boolean;
|
|
19
|
-
mute_on_start: boolean;
|
|
20
|
-
allow_screen_share: boolean;
|
|
21
|
-
allow_rtmp: boolean;
|
|
22
|
-
admin_only_webcams: boolean;
|
|
23
|
-
allow_view_other_webcams: boolean;
|
|
24
|
-
allow_view_other_users_list: boolean;
|
|
25
|
-
recording_features: RecordingFeaturesParams;
|
|
26
|
-
chat_features: ChatFeaturesParams;
|
|
27
|
-
shared_note_pad_features?: SharedNotePadFeaturesParams;
|
|
28
|
-
whiteboard_features?: WhiteboardFeaturesParams;
|
|
29
|
-
external_media_player_features?: ExternalMediaPlayerFeatures;
|
|
30
|
-
waiting_room_features?: WaitingRoomFeatures;
|
|
31
|
-
breakout_room_features?: BreakoutRoomFeatures;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export type RecordingFeaturesParams = {
|
|
35
|
-
is_allow: boolean;
|
|
36
|
-
is_allow_cloud: boolean;
|
|
37
|
-
is_allow_local: boolean;
|
|
38
|
-
enable_auto_cloud_recording: boolean;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export type ChatFeaturesParams = {
|
|
42
|
-
allow_chat: boolean;
|
|
43
|
-
allow_file_upload: boolean;
|
|
44
|
-
allowed_file_types: Array<string>;
|
|
45
|
-
max_file_size: number;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
export type SharedNotePadFeaturesParams = {
|
|
49
|
-
allowed_shared_note_pad: boolean;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export type WhiteboardFeaturesParams = {
|
|
53
|
-
allowed_whiteboard: boolean;
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
export type ExternalMediaPlayerFeatures = {
|
|
57
|
-
allowed_external_media_player: boolean;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
export type WaitingRoomFeatures = {
|
|
61
|
-
is_active: boolean;
|
|
62
|
-
waiting_room_msg?: string;
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
export type BreakoutRoomFeatures = {
|
|
66
|
-
is_allow: boolean;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
export type LockSettingsParams = {
|
|
70
|
-
lock_microphone?: boolean;
|
|
71
|
-
lock_webcam?: boolean;
|
|
72
|
-
lock_screen_sharing?: boolean;
|
|
73
|
-
lock_whiteboard?: boolean;
|
|
74
|
-
lock_shared_notepad?: boolean;
|
|
75
|
-
lock_chat?: boolean;
|
|
76
|
-
lock_chat_send_message?: boolean;
|
|
77
|
-
lock_chat_file_share?: boolean;
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
export type CreateRoomResponse = {
|
|
81
|
-
status: boolean;
|
|
82
|
-
msg: string;
|
|
83
|
-
roomInfo?: CreateRoomResponseRoomInfo;
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
export type CreateRoomResponseRoomInfo = {
|
|
87
|
-
sid: string;
|
|
88
|
-
name: string;
|
|
89
|
-
max_participants: number;
|
|
90
|
-
empty_timeout: number;
|
|
91
|
-
creation_time: number;
|
|
92
|
-
turn_password: string;
|
|
93
|
-
enabled_codecs: Array<any>;
|
|
94
|
-
metadata: string;
|
|
95
|
-
};
|
package/src/types/endRoom.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export type FetchRecordingsParams = {
|
|
2
|
-
room_ids: Array<string>;
|
|
3
|
-
from?: number;
|
|
4
|
-
limit?: number;
|
|
5
|
-
order_by?: 'ASC' | 'DESC';
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export type FetchRecordingsResponse = {
|
|
9
|
-
status: boolean;
|
|
10
|
-
msg: string;
|
|
11
|
-
result?: FetchRecordingsResult;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export type FetchRecordingsResult = {
|
|
15
|
-
total_recordings: number;
|
|
16
|
-
from: number;
|
|
17
|
-
limit: number;
|
|
18
|
-
order_by: string;
|
|
19
|
-
recordings_list: Array<RecordingInfo>;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export type RecordingInfo = {
|
|
23
|
-
record_id: string;
|
|
24
|
-
room_id: string;
|
|
25
|
-
room_sid: string;
|
|
26
|
-
file_path: string;
|
|
27
|
-
file_size: number;
|
|
28
|
-
creation_time: number;
|
|
29
|
-
room_creation_time: number;
|
|
30
|
-
};
|
package/src/types/joinToken.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { LockSettingsParams } from './createRoom';
|
|
2
|
-
|
|
3
|
-
export type JoinTokenParams = {
|
|
4
|
-
room_id: string;
|
|
5
|
-
user_info: JoinTokenUserInfo;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export type JoinTokenUserInfo = {
|
|
9
|
-
name: string;
|
|
10
|
-
user_id: string;
|
|
11
|
-
is_admin: boolean;
|
|
12
|
-
is_hidden: boolean;
|
|
13
|
-
user_metadata?: JoinTokenUserMetadata;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export type JoinTokenUserMetadata = {
|
|
17
|
-
profile_pic?: string;
|
|
18
|
-
lock_settings?: LockSettingsParams;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export type JoinTokenResponse = {
|
|
22
|
-
status: boolean;
|
|
23
|
-
msg: string;
|
|
24
|
-
token?: string;
|
|
25
|
-
};
|