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 _0xecea=['Request','GetTrunk','name','registry','../client','getTrunks'];(function(_0x373472,_0x27e3d9){var _0xfdcf0d=function(_0x46b5a6){while(--_0x46b5a6){_0x373472['push'](_0x373472['shift']());}};_0xfdcf0d(++_0x27e3d9);}(_0xecea,0x1a2));var _0xaece=function(_0xeef70b,_0x53c1ce){_0xeef70b=_0xeef70b-0x0;var _0x323f69=_0xecea[_0xeef70b];return _0x323f69;};'use strict';var client=require(_0xaece('0x0'));exports[_0xaece('0x1')]=function(_0x1248c9){return function(_0x5386b9){return client[_0xaece('0x2')](_0xaece('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xaece('0x4'),_0xaece('0x5')]},'log':_0xaece('0x3')});};};