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 _0x925e=['name','registry','defaultuser','GetTrunk','Request'];(function(_0x550d96,_0x23aa01){var _0x45f43f=function(_0x1c7923){while(--_0x1c7923){_0x550d96['push'](_0x550d96['shift']());}};_0x45f43f(++_0x23aa01);}(_0x925e,0x199));var _0xe925=function(_0x48b6d3,_0x24f8c3){_0x48b6d3=_0x48b6d3-0x0;var _0x20daff=_0x925e[_0x48b6d3];return _0x20daff;};'use strict';var client=require('../client');exports['getTrunks']=function(_0x393167){return function(_0x28a99a){return client[_0xe925('0x0')]('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xe925('0x1'),_0xe925('0x2'),_0xe925('0x3')]},'log':_0xe925('0x4')});};};