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 _0xcc85=['getTrunks','Request','GetTrunk','registry'];(function(_0x8864dd,_0x120434){var _0x4c1074=function(_0x5c6bc7){while(--_0x5c6bc7){_0x8864dd['push'](_0x8864dd['shift']());}};_0x4c1074(++_0x120434);}(_0xcc85,0xc8));var _0x5cc8=function(_0x24392f,_0x15a3e5){_0x24392f=_0x24392f-0x0;var _0x591e33=_0xcc85[_0x24392f];return _0x591e33;};'use strict';var client=require('../client');exports[_0x5cc8('0x0')]=function(_0x2664b8){return function(_0x3afd11){return client[_0x5cc8('0x1')](_0x5cc8('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name',_0x5cc8('0x3')]},'log':'GetTrunk'});};};