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 _0x64e1=['defaultuser','../client','getTrunks'];(function(_0x3a2a78,_0x2daec8){var _0x19a353=function(_0x4bf730){while(--_0x4bf730){_0x3a2a78['push'](_0x3a2a78['shift']());}};_0x19a353(++_0x2daec8);}(_0x64e1,0x9a));var _0x164e=function(_0x128576,_0x12e43b){_0x128576=_0x128576-0x0;var _0x194603=_0x64e1[_0x128576];return _0x194603;};'use strict';var client=require(_0x164e('0x0'));exports[_0x164e('0x1')]=function(_0x1c3895){return function(_0x2d17b1){return client['Request']('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name','registry',_0x164e('0x2')]},'log':'GetTrunk'});};};