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 _0xdc9f=['defaultuser','../client','Request','GetTrunk','name'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0xdc9f,0x8d));var _0xfdc9=function(_0x1cabe5,_0x16524b){_0x1cabe5=_0x1cabe5-0x0;var _0x28d6de=_0xdc9f[_0x1cabe5];return _0x28d6de;};'use strict';var client=require(_0xfdc9('0x0'));exports['getTrunks']=function(_0x31889f){return function(_0x305050){return client[_0xfdc9('0x1')](_0xfdc9('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xfdc9('0x3'),'registry',_0xfdc9('0x4')]},'log':_0xfdc9('0x2')});};};