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 _0xd943=['defaultuser','../client','getTrunks','Request','GetTrunk','name','registry'];(function(_0x4201bc,_0x277058){var _0x75842f=function(_0x587366){while(--_0x587366){_0x4201bc['push'](_0x4201bc['shift']());}};_0x75842f(++_0x277058);}(_0xd943,0x14a));var _0x3d94=function(_0x186337,_0x4d2cdc){_0x186337=_0x186337-0x0;var _0x2775e6=_0xd943[_0x186337];return _0x2775e6;};'use strict';var client=require(_0x3d94('0x0'));exports[_0x3d94('0x1')]=function(_0x206cef){return function(_0x296678){return client[_0x3d94('0x2')](_0x3d94('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x3d94('0x4'),_0x3d94('0x5'),_0x3d94('0x6')]},'log':_0x3d94('0x3')});};};