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 _0x2de6=['../client','getTrunks','Request','GetTrunk','name'];(function(_0x1c1483,_0x344989){var _0x435d4d=function(_0x1ecc1a){while(--_0x1ecc1a){_0x1c1483['push'](_0x1c1483['shift']());}};_0x435d4d(++_0x344989);}(_0x2de6,0xfa));var _0x62de=function(_0x242df4,_0x27e37b){_0x242df4=_0x242df4-0x0;var _0x310f99=_0x2de6[_0x242df4];return _0x310f99;};'use strict';var client=require(_0x62de('0x0'));exports[_0x62de('0x1')]=function(_0x290c8d){return function(_0x271318){return client[_0x62de('0x2')](_0x62de('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x62de('0x4'),'registry']},'log':_0x62de('0x3')});};};