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 _0xe186=['name','registry','../client','getTrunks','Request','GetTrunk'];(function(_0x42ff71,_0x520888){var _0x3d065b=function(_0x4bd452){while(--_0x4bd452){_0x42ff71['push'](_0x42ff71['shift']());}};_0x3d065b(++_0x520888);}(_0xe186,0x146));var _0x6e18=function(_0xbb49f8,_0x35ad4d){_0xbb49f8=_0xbb49f8-0x0;var _0x22a1ce=_0xe186[_0xbb49f8];return _0x22a1ce;};'use strict';var client=require(_0x6e18('0x0'));exports[_0x6e18('0x1')]=function(_0x5d1715){return function(_0x4334ea){return client[_0x6e18('0x2')](_0x6e18('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x6e18('0x4'),_0x6e18('0x5'),'defaultuser']},'log':_0x6e18('0x3')});};};