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 _0x8e51=['Request','GetTrunk','registry','defaultuser','../client','getTrunks'];(function(_0x215eab,_0x3c3938){var _0x31d024=function(_0x1389a7){while(--_0x1389a7){_0x215eab['push'](_0x215eab['shift']());}};_0x31d024(++_0x3c3938);}(_0x8e51,0x1e4));var _0x18e5=function(_0x19eee6,_0x28d61c){_0x19eee6=_0x19eee6-0x0;var _0x46fd52=_0x8e51[_0x19eee6];return _0x46fd52;};'use strict';var client=require(_0x18e5('0x0'));exports[_0x18e5('0x1')]=function(_0x5461c7){return function(_0x335d4c){return client[_0x18e5('0x2')](_0x18e5('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name',_0x18e5('0x4'),_0x18e5('0x5')]},'log':_0x18e5('0x3')});};};