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 _0xf916=['name','registry','defaultuser','GetTrunk'];(function(_0x16a6ab,_0x19b0b7){var _0x45fdca=function(_0x3520cf){while(--_0x3520cf){_0x16a6ab['push'](_0x16a6ab['shift']());}};_0x45fdca(++_0x19b0b7);}(_0xf916,0x16c));var _0x6f91=function(_0x48918f,_0xc04b98){_0x48918f=_0x48918f-0x0;var _0x4a62dd=_0xf916[_0x48918f];return _0x4a62dd;};'use strict';var client=require('../client');exports['getTrunks']=function(_0x5e1b32){return function(_0x10f653){return client['Request']('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x6f91('0x0'),_0x6f91('0x1'),_0x6f91('0x2')]},'log':_0x6f91('0x3')});};};