1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xe739=['exten','../client','Request','GetVoiceExtension'];(function(_0x26e394,_0x2302b6){var _0x4f0848=function(_0x3945e){while(--_0x3945e){_0x26e394['push'](_0x26e394['shift']());}};_0x4f0848(++_0x2302b6);}(_0xe739,0x105));var _0x9e73=function(_0x4f4cf3,_0x3a52df){_0x4f4cf3=_0x4f4cf3-0x0;var _0x46ba3b=_0xe739[_0x4f4cf3];return _0x46ba3b;};'use strict';var client=require(_0x9e73('0x0'));exports['getVoiceExtensions']=function(){return function(){return client[_0x9e73('0x1')](_0x9e73('0x2'),{'options':{'raw':!![],'attributes':['id',_0x9e73('0x3'),'recordingFormat'],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};};