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 _0xac4e=['getTrunks','Request','registry','defaultuser','GetTrunk','../client'];(function(_0x48fa1b,_0x369aa5){var _0x6b81a5=function(_0x474653){while(--_0x474653){_0x48fa1b['push'](_0x48fa1b['shift']());}};_0x6b81a5(++_0x369aa5);}(_0xac4e,0x1d9));var _0xeac4=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xac4e[_0xa464c9];return _0x3d73c4;};'use strict';var client=require(_0xeac4('0x0'));exports[_0xeac4('0x1')]=function(_0xdbb5d4){return function(_0x1e139a){return client[_0xeac4('0x2')]('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name',_0xeac4('0x3'),_0xeac4('0x4')]},'log':_0xeac4('0x5')});};};