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 _0xee4d=['name','registry','../client','getTrunks','Request','GetTrunk'];(function(_0x2e6e5a,_0x109e8e){var _0x12f620=function(_0x40ff80){while(--_0x40ff80){_0x2e6e5a['push'](_0x2e6e5a['shift']());}};_0x12f620(++_0x109e8e);}(_0xee4d,0x158));var _0xdee4=function(_0x28aea5,_0x3bb12e){_0x28aea5=_0x28aea5-0x0;var _0x6a55f9=_0xee4d[_0x28aea5];return _0x6a55f9;};'use strict';var client=require(_0xdee4('0x0'));exports[_0xdee4('0x1')]=function(_0x51a715){return function(_0x223e98){return client[_0xdee4('0x2')](_0xdee4('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xdee4('0x4'),_0xdee4('0x5')]},'log':_0xdee4('0x3')});};};