From 54bed2e7e5cda6e41b0004ec626d68be7a001090 Mon Sep 17 00:00:00 2001 From: CagriKarahan Date: Thu, 17 Mar 2022 14:33:31 +0300 Subject: [PATCH] add esm --- types/auto/JitsiConference.d.ts | 3 ++ types/auto/JitsiConferenceEvents.d.ts | 45 +++++++++++++++++++ .../auto/modules/recording/JibriSession.d.ts | 14 ++++++ .../modules/recording/recordingConstants.d.ts | 2 + types/auto/modules/xmpp/ChatRoom.d.ts | 23 ++++++++++ types/auto/service/xmpp/XMPPEvents.d.ts | 27 +++++++++++ 6 files changed, 114 insertions(+) diff --git a/types/auto/JitsiConference.d.ts b/types/auto/JitsiConference.d.ts index 8cafcbaa..1d955e5d 100644 --- a/types/auto/JitsiConference.d.ts +++ b/types/auto/JitsiConference.d.ts @@ -594,6 +594,9 @@ declare class JitsiConference { * @param {string} reason reason of the participant to kick */ kickParticipant(id: string, reason: string): void; + sendMicrophoneBroadcastPermissionIQ(value: any): void; + sendCameraBroadcastPermissionIQ(value: any): void; + sendRaiseHandBroadcastPermissionIQ(value: any): void; private _maybeClearSITimeout; _sessionInitiateTimeout: any; private _maybeSetSITimeout; diff --git a/types/auto/JitsiConferenceEvents.d.ts b/types/auto/JitsiConferenceEvents.d.ts index b37ddf75..1d3267d2 100644 --- a/types/auto/JitsiConferenceEvents.d.ts +++ b/types/auto/JitsiConferenceEvents.d.ts @@ -72,6 +72,30 @@ export declare enum JitsiConferenceEvents { * A user has changed it display name */ DISPLAY_NAME_CHANGED = "conference.displayNameChanged", + /** + * Videoaccess has been changed for participant. + */ + VIDEOACCESS_CHANGED_FOR_PARTICIPANT = "conference.videoAccessChangedForParticipant", + /** + * Videoaccess has been changed for all participants. + */ + VIDEO_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = "conference.videoAccessChangedForAllParticipants", + /** + * Raise hande access has been changed for all participants. + */ + RAISE_HAND_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = "conference.raiseHandAccessChangedForAllParticipants", + /** + * Microphone access has been changed for participant. + */ + MICROPHONE_ACCESS_CHANGED_FOR_PARTICIPANT = "conference.microphoneAccessChangedForParticipant", + /** + * Microphone access has been changed for all participants. + */ + MICROPHONE_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = "conference.microphoneAccessChangedForAllParticipants", + /** + * Screen share access has been changed for participant. + */ + SCREEN_SHARING_ACCESS_CHANGED_FOR_PARTICIPANT = "conference.screenShareAccessChangedForParticipant", /** * The dominant speaker was changed. */ @@ -141,6 +165,18 @@ export declare enum JitsiConferenceEvents { * Indicates that the room has been locked or unlocked. */ LOCK_STATE_CHANGED = "conference.lock_state_changed", + /** + * Indicates that the room is private, participant is host and password is retrieved. + */ + SEC_VALUE_CHANGED_FOR_SPECIAL_ROOM = "conference.sec_value_changed_for_special_room", + /** + * Indicates that the room is private or not, and participant is host or not. + */ + ROOM_VISIBILITY_CHANGED = "conference.room_visibility_changed", + /** + * Indicates that all features are changed. + */ + ROOM_ALL_FEATURES_CHANGED = "conference.room_all_features_changed", /** * Indicates that the region of the media server (jitsi-videobridge) that we * are connected to changed (or was initially set). @@ -408,6 +444,12 @@ export declare const CONNECTION_INTERRUPTED = JitsiConferenceEvents.CONNECTION_I export declare const CONNECTION_RESTORED = JitsiConferenceEvents.CONNECTION_RESTORED; export declare const DATA_CHANNEL_OPENED = JitsiConferenceEvents.DATA_CHANNEL_OPENED; export declare const DISPLAY_NAME_CHANGED = JitsiConferenceEvents.DISPLAY_NAME_CHANGED; +export declare const VIDEOACCESS_CHANGED_FOR_PARTICIPANT = JitsiConferenceEvents.VIDEOACCESS_CHANGED_FOR_PARTICIPANT; +export declare const VIDEO_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = JitsiConferenceEvents.VIDEO_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS; +export declare const RAISE_HAND_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = JitsiConferenceEvents.RAISE_HAND_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS; +export declare const MICROPHONE_ACCESS_CHANGED_FOR_PARTICIPANT = JitsiConferenceEvents.MICROPHONE_ACCESS_CHANGED_FOR_PARTICIPANT; +export declare const MICROPHONE_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = JitsiConferenceEvents.MICROPHONE_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS; +export declare const SCREEN_SHARING_ACCESS_CHANGED_FOR_PARTICIPANT = JitsiConferenceEvents.SCREEN_SHARING_ACCESS_CHANGED_FOR_PARTICIPANT; export declare const DOMINANT_SPEAKER_CHANGED = JitsiConferenceEvents.DOMINANT_SPEAKER_CHANGED; export declare const CONFERENCE_CREATED_TIMESTAMP = JitsiConferenceEvents.CONFERENCE_CREATED_TIMESTAMP; export declare const DTMF_SUPPORT_CHANGED = JitsiConferenceEvents.DTMF_SUPPORT_CHANGED; @@ -419,6 +461,9 @@ export declare const PARTICIPANT_KICKED = JitsiConferenceEvents.PARTICIPANT_KICK export declare const LAST_N_ENDPOINTS_CHANGED = JitsiConferenceEvents.LAST_N_ENDPOINTS_CHANGED; export declare const FORWARDED_SOURCES_CHANGED = JitsiConferenceEvents.FORWARDED_SOURCES_CHANGED; export declare const LOCK_STATE_CHANGED = JitsiConferenceEvents.LOCK_STATE_CHANGED; +export declare const SEC_VALUE_CHANGED_FOR_SPECIAL_ROOM = JitsiConferenceEvents.SEC_VALUE_CHANGED_FOR_SPECIAL_ROOM; +export declare const ROOM_VISIBILITY_CHANGED = JitsiConferenceEvents.ROOM_VISIBILITY_CHANGED; +export declare const ROOM_ALL_FEATURES_CHANGED = JitsiConferenceEvents.ROOM_ALL_FEATURES_CHANGED; export declare const SERVER_REGION_CHANGED = JitsiConferenceEvents.SERVER_REGION_CHANGED; export declare const _MEDIA_SESSION_STARTED = JitsiConferenceEvents._MEDIA_SESSION_STARTED; export declare const _MEDIA_SESSION_ACTIVE_CHANGED = JitsiConferenceEvents._MEDIA_SESSION_ACTIVE_CHANGED; diff --git a/types/auto/modules/recording/JibriSession.d.ts b/types/auto/modules/recording/JibriSession.d.ts index c2113c3a..236cbdd3 100644 --- a/types/auto/modules/recording/JibriSession.d.ts +++ b/types/auto/modules/recording/JibriSession.d.ts @@ -52,6 +52,20 @@ export default class JibriSession { * @returns {string} */ getMode(): string; + /** + * Returns the package type for current jibri user. + * + * @returns {string} + */ + getPackageType(): string; + /** + * Sets the last known error message related to the session. + * + * @param {string} packageType - Package type which is individual or corporate. + * @returns {void} + */ + setPackageType(packageType: string): void; + _packageType: string; /** * Sets the last known error message related to the session. * diff --git a/types/auto/modules/recording/recordingConstants.d.ts b/types/auto/modules/recording/recordingConstants.d.ts index 333bb5b0..b912ed70 100644 --- a/types/auto/modules/recording/recordingConstants.d.ts +++ b/types/auto/modules/recording/recordingConstants.d.ts @@ -2,6 +2,8 @@ declare namespace _default { namespace error { const BUSY: string; const ERROR: string; + const NOT_ALLOWED: string; + const POLICY_VIOLATION: string; const RESOURCE_CONSTRAINT: string; const UNEXPECTED_REQUEST: string; const SERVICE_UNAVAILABLE: string; diff --git a/types/auto/modules/xmpp/ChatRoom.d.ts b/types/auto/modules/xmpp/ChatRoom.d.ts index a0660730..19943c75 100644 --- a/types/auto/modules/xmpp/ChatRoom.d.ts +++ b/types/auto/modules/xmpp/ChatRoom.d.ts @@ -57,6 +57,9 @@ export default class ChatRoom extends Listenable { connectionTimes: {}; participantPropertyListener: any; locked: boolean; + everybodyHasMicAccess: string; + everybodyHasCameraAccess: string; + everybodyCanRaiseHand: string; transcriptionStatus: JitsiTranscriptionStatus.JitsiTranscriptionStatus; /** * @@ -195,6 +198,26 @@ export default class ChatRoom extends Listenable { * @param reason */ kick(jid: any, reason?: string): void; + /** + * Value for broadcast audio permission + * @param iqValue + */ + sendMicrophoneBroadcastPermissionIQ(iqValue: any): void; + /** + * Value for broadcast audio permission + * @param iqValue + */ + sendCameraBroadcastPermissionIQ(iqValue: any): void; + /** + * Value for broadcast raising hand permission + * @param iqValue + */ + sendRaiseHandBroadcastPermissionIQ(iqValue: any): void; + /** + * Value for broadcast audio permission + * @param iqValue + */ + sendBroadcastPermissionIQ(key: any, iqValue: any): void; /** * * @param key diff --git a/types/auto/service/xmpp/XMPPEvents.d.ts b/types/auto/service/xmpp/XMPPEvents.d.ts index 45b7023c..b431bc1f 100644 --- a/types/auto/service/xmpp/XMPPEvents.d.ts +++ b/types/auto/service/xmpp/XMPPEvents.d.ts @@ -30,6 +30,30 @@ export declare enum XMPPEvents { */ CONNECTION_STATUS_CHANGED = "xmpp.connection.status.changed", DISPLAY_NAME_CHANGED = "xmpp.display_name_changed", + /** + * Videoaccess prop has been changed for participant. + */ + VIDEOACCESS_CHANGED_FOR_PARTICIPANT = "xmpp.videoaccess_changed_for_participant", + /** + * Videoaccess prop has been changed for participant. + */ + VIDEO_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = "xmpp.videoaccess_changed_for_all_participants", + /** + * Videoaccess prop has been changed for participant. + */ + RAISE_HAND_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = "xmpp.raisehand_access_changed_for_all_participants", + /** + * Microphone prop has been changed for participant. + */ + MICROPHONE_ACCESS_CHANGED_FOR_PARTICIPANT = "xmpp.microphone_access_changed_for_participant", + /** + * Microphone prop has been changed for all participants. + */ + MICROPHONE_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = "xmpp.microphone_access_changed_for_all_participants", + /** + * Screen share prop has been changed for participant. + */ + SCREEN_SHARING_ACCESS_CHANGED_FOR_PARTICIPANT = "xmpp.screen_sharing_access_changed_for_participant", /** * Chat room instance have been added to Strophe.emuc plugin. */ @@ -83,6 +107,9 @@ export declare enum XMPPEvents { MUC_LEFT = "xmpp.muc_left", MUC_ROLE_CHANGED = "xmpp.muc_role_changed", MUC_LOCK_CHANGED = "xmpp.muc_lock_changed", + MUC_SEC_VALUE_CHANGED_FOR_SPECIAL_ROOM = "xmpp.muc_sec_value", + MUC_ROOM_VISIBILITY_CHANGED = "xmpp.muc_room_visibility_changed", + MUC_ROOM_ALL_FEATURES_CHANGED = "xmpp.muc_room_all_features_changed", MUC_MEMBERS_ONLY_CHANGED = "xmpp.muc_members_only_changed", PARTICIPANT_AUDIO_MUTED = "xmpp.audio_muted", PARTICIPANT_VIDEO_MUTED = "xmpp.video_muted",