import invoker,{API_INVOKER_TYPE,PLATFORM_TYPE_ENUM}from"./invoker";function chooseContactHandler(o,e){var t=e.resolve,n=e.reject,i=e.context,l=e.containerType,a=e.appType,r=e.platformType;if(l){var s=function(o){invoker.handleBridgeResponse(o,t,n)},c=function(o){invoker.handleBridgeResponse(o,t,n)};a===API_INVOKER_TYPE.MINI_APP?i&&i({m:"taurus.common.bizCustomContactMultipleChooseExternal",args:o,onSuccess:s,onFail:c}):r===PLATFORM_TYPE_ENUM.ANDROID?i&&i(s,c,"taurus.common","bizCustomContactMultipleChooseExternal",o):r===PLATFORM_TYPE_ENUM.IOS&&i.callHandler("taurus.common.bizCustomContactMultipleChooseExternal",Object.assign({},o),(function(o){invoker.handleBridgeResponse(o,t,n)}))}else i&&i.call("bizCustomContactMultipleChooseExternal",o,(function(o){invoker.handleBridgeResponse(o,t,n)}))}invoker.registerAPI("bizCustomContactMultipleChooseExternal",{mini:chooseContactHandler,mobile:chooseContactHandler,pc:function(o,e){window.dingtalk.platform.invokeAPI(e.msgId,"biz.customContact.multipleChooseEx",o)}}),bizCustomContactMultipleChooseExternal.version={android:"3.0.3",ios:"3.0.3",pc:"3.0.3"};export default function bizCustomContactMultipleChooseExternal(o){return invoker.invoke("bizCustomContactMultipleChooseExternal",o)}