import _extends from"@babel/runtime/helpers/extends";import invoker,{API_INVOKER_TYPE,PLATFORM_TYPE_ENUM}from"./invoker";function joinScheduleConfHandler(e,n){void 0===e&&(e={});var o=n.resolve,i=n.reject,r=n.context,c=n.containerType,l=n.appType,d=n.platformType;if(c){var f=function(e){invoker.handleBridgeResponse(e,o,i)},t=function(e){invoker.handleBridgeResponse(e,o,i)};l===API_INVOKER_TYPE.MINI_APP?r&&r({m:"biz.conference.joinScheduleConf",args:e,onSuccess:f,onFail:t}):d===PLATFORM_TYPE_ENUM.ANDROID?r&&r(f,t,"biz.conference","joinScheduleConf",e):d===PLATFORM_TYPE_ENUM.IOS&&r.callHandler("biz.conference.joinScheduleConf",Object.assign({},e),(function(e){invoker.handleBridgeResponse(e,o,i)}))}else r&&r.call("joinScheduleConf",e,(function(){o()}))}invoker.registerAPI("joinScheduleConf",{mini:joinScheduleConfHandler,mobile:joinScheduleConfHandler,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.conference.joinScheduleConf",_extends({},e))}}),joinScheduleConf.version={android:"3.7.5",ios:"3.7.5",pc:"3.7.5"};export default function joinScheduleConf(e){return invoker.invoke("joinScheduleConf",e)}