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 _0x98d0=['registry','../client','getTrunks','Request','GetTrunk','name'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x98d0,0x1cf));var _0x098d=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x98d0[_0x14add3];return _0x4a174f;};'use strict';var client=require(_0x098d('0x0'));exports[_0x098d('0x1')]=function(_0x3dfe90){return function(_0xbe9356){return client[_0x098d('0x2')](_0x098d('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x098d('0x4'),_0x098d('0x5')]},'log':_0x098d('0x3')});};};