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 _0x07da=['Request','GetTrunk','name','../client','getTrunks'];(function(_0x53264c,_0x54ae61){var _0x436567=function(_0x34afb6){while(--_0x34afb6){_0x53264c['push'](_0x53264c['shift']());}};_0x436567(++_0x54ae61);}(_0x07da,0x116));var _0xa07d=function(_0x251e5d,_0x28fb57){_0x251e5d=_0x251e5d-0x0;var _0x8d6737=_0x07da[_0x251e5d];return _0x8d6737;};'use strict';var client=require(_0xa07d('0x0'));exports[_0xa07d('0x1')]=function(_0xe2f873){return function(_0x532045){return client[_0xa07d('0x2')](_0xa07d('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xa07d('0x4'),'registry']},'log':_0xa07d('0x3')});};};