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 _0xd68a=['../client','getTrunks','name','registry','defaultuser','GetTrunk'];(function(_0x87a552,_0x53084e){var _0x4f878c=function(_0x4eba60){while(--_0x4eba60){_0x87a552['push'](_0x87a552['shift']());}};_0x4f878c(++_0x53084e);}(_0xd68a,0xc6));var _0xad68=function(_0x16d10f,_0x2ba2d5){_0x16d10f=_0x16d10f-0x0;var _0x50c823=_0xd68a[_0x16d10f];return _0x50c823;};'use strict';var client=require(_0xad68('0x0'));exports[_0xad68('0x1')]=function(_0xee641f){return function(_0x11a09c){return client['Request']('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xad68('0x2'),_0xad68('0x3'),_0xad68('0x4')]},'log':_0xad68('0x5')});};};