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 _0xdf67=['name','registry','defaultuser','../client','getTrunks','GetTrunk'];(function(_0x13e418,_0x167abb){var _0x1f31d8=function(_0x1b84e1){while(--_0x1b84e1){_0x13e418['push'](_0x13e418['shift']());}};_0x1f31d8(++_0x167abb);}(_0xdf67,0x117));var _0x7df6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xdf67[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x7df6('0x0'));exports[_0x7df6('0x1')]=function(_0x815a7e){return function(_0x84acd7){return client['Request'](_0x7df6('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x7df6('0x3'),_0x7df6('0x4'),_0x7df6('0x5')]},'log':_0x7df6('0x2')});};};