Object.defineProperty(exports, "__esModule", { value: true });
var basic_1 = require("./template/basic");
var connectionOnly_1 = require("./template/connectionOnly");
var Atem = require('atem-connection').Atem;
module.exports = function (Api) {
    //----- VIDEO/MIC -----
    Api.registerAction('zoomosc_video_on', 'Video on', basic_1.ZoomOSC_Basic.handleAction('videoOn'));
    Api.registerAction('zoomosc_video_off', 'Video off', basic_1.ZoomOSC_Basic.handleAction('videoOff'));
    Api.registerAction('zoomosc_video_toggle', 'Video toggle', basic_1.ZoomOSC_Basic.handleAction('toggleVideo'));
    Api.registerAction('zoomosc_mic_mute', 'Mic Mute', basic_1.ZoomOSC_Basic.handleAction('mute'));
    Api.registerAction('zoomosc_mic_unmute', 'Mic Unmute', basic_1.ZoomOSC_Basic.handleAction('unMute'));
    Api.registerAction('zoomosc_mic_unmute', 'Mic Toggle', basic_1.ZoomOSC_Basic.handleAction('toggleMute'));
    //----- HAND RAISE -----
    Api.registerAction('zoomosc_hand_raise', 'Hand Raise', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('raiseHand'));
    Api.registerAction('zoomosc_hand_lower', 'Hand Lower', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('lowerHand'));
    Api.registerAction('zoomosc_hand_toggle', 'Hand Toggle (WIN)', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('toggleHand'));
    //----- SPOTLIGHT -----
    Api.registerAction('zoomosc_spot_add', 'Add spotlight (PRO)', basic_1.ZoomOSC_Basic.handleAction('addSpot'));
    Api.registerAction('zoomosc_spot_un', 'Un-spotlight', basic_1.ZoomOSC_Basic.handleAction('unSpot'));
    Api.registerAction('zoomosc_spot_replace', 'Replace spotlight', basic_1.ZoomOSC_Basic.handleAction('spot'));
    Api.registerAction('zoomosc_spot_toggle', 'Toggle spotlight (PRO)', basic_1.ZoomOSC_Basic.handleAction('toggleSpot'));
    //----- PIN -----
    Api.registerAction('zoomosc_pin_add', 'Add pin (PRO)', basic_1.ZoomOSC_Basic.handleAction('addPin'));
    Api.registerAction('zoomosc_pin_replace', 'Replace pin', basic_1.ZoomOSC_Basic.handleAction('pin'));
    Api.registerAction('zoomosc_pin_un', 'Un-pin', basic_1.ZoomOSC_Basic.handleAction('unPin'));
    Api.registerAction('zoomosc_pin_toggle', 'Toggle pin (PRO)', basic_1.ZoomOSC_Basic.handleAction('togglePin'));
    Api.registerAction('zoomosc_pin_replace2', 'Replace second screen pin', basic_1.ZoomOSC_Basic.handleAction('pin2'));
    Api.registerAction('zoomosc_pin_un2', 'Un-pin second screen', basic_1.ZoomOSC_Basic.handleAction('unPin2'));
    Api.registerAction('zoomosc_pin_toggle2', 'Toggle pin second screen (PRO)', basic_1.ZoomOSC_Basic.handleAction('clearPin'));
    Api.registerAction('zoomosc_pin_clear', 'Clear all pins', basic_1.ZoomOSC_Basic.handleAction('togglePin2'));
    //----- VIEW -----
    Api.registerAction('zoomosc_view_gallery', 'Gallery view', basic_1.ZoomOSC_Basic.handleAction('setGalleryView'));
    Api.registerAction('zoomosc_view_speaker', 'Speaker view', basic_1.ZoomOSC_Basic.handleAction('setSpeakerView'));
    Api.registerAction('zoomosc_view_gallerynext', 'Gallery view next page', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('galleryPageNext'));
    Api.registerAction('zoomosc_view_galleryprevious', 'Gallery view previous page', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('galleryPagePrev'));
    //----- SETTINGS -----
    Api.registerAction('zoomosc_settings_showusernames', 'Display Usernames on Videos', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('showUserNames'));
    Api.registerAction('zoomosc_settings_hideusernames', 'Hide Usernames on Videos', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('hideUserNames'));
    Api.registerAction('zoomosc_settings_showusernames', 'Show Non-Video Participants', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('showNonVideoParticipants'));
    Api.registerAction('zoomosc_settings_showusernames', 'Show Non-Video Participants', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('showNonVideoParticipants'));
    Api.registerAction('zoomosc_settings_enableoriginalaudio', 'Enable “Original Sound”', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('enableOriginalSound'));
    Api.registerAction('zoomosc_settings_disableoriginalaudio', 'Disabled “Original Sound”', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('disableOriginalSound'));
    //----- GLOBAL -----
    Api.registerAction('zoomosc_global_muteall', 'Mute all', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('all/mute'));
    Api.registerAction('zoomosc_global_unmuteall', 'Unmute all', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('all/unMute'));
    Api.registerAction('zoomosc_global_lowerallhands', 'Lower All Raised Hands', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('lowerAllHands'));
    Api.registerAction('zoomosc_global_clearspotlight', 'Clear all spotlights from meeting (PRO)', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('clearSpot'));
    Api.registerAction('zoomosc_global_leavemeeting', 'Leave Meeting (PRO)', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('leaveMeeting'));
    Api.registerAction('zoomosc_global_endmeeting', 'End Meeting (PRO)', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('endMeeting'));
    Api.registerAction('zoomosc_global_startlocalrecording', 'Start Local Recording', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('startLocalRecording'));
    Api.registerAction('zoomosc_global_pauselocalrecording', 'Pause Local Recording', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('pauseLocalRecording'));
    Api.registerAction('zoomosc_global_resumelocalrecording', 'Resume Local Recording', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('resumeLocalRecording'));
    Api.registerAction('zoomosc_global_stoplocalrecording', 'Stop Local Recording', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('stopLocalRecording'));
    Api.registerAction('zoomosc_global_startcloudrecording', 'Start Cloud Recording', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('startCloudRecording'));
    Api.registerAction('zoomosc_global_pausecloudrecording', 'Pause Cloud Recording', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('pauseCloudRecording'));
    Api.registerAction('zoomosc_global_resumecloudrecording', 'Resume Cloud Recording', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('resumeCloudRecording'));
    Api.registerAction('zoomosc_global_stopcloudrecording', 'Stop Cloud Recording', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('stopCloudRecording'));
    //----- WAITING ROOMS -----
    Api.registerAction('zoomosc_waitingrooms_enable', 'Enable Waiting Room (PRO)', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('enableWaitingRoom'));
    Api.registerAction('zoomosc_waitingrooms_disable', 'Disable Waiting Room (PRO)', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('disableWaitingRoom'));
    Api.registerAction('zoomosc_waitingrooms_admitall', 'Admit All from Waiting Room', connectionOnly_1.ZoomOSC_ConnectionOnly.handleAction('admitAll'));
    Api.registerConnectionValidator('zoomosc', function (validatorAPI) {
        validatorAPI.callback(true);
    });
};
//# sourceMappingURL=main.js.map