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 _0xf6c1=['GetTrunk','Request','name','defaultuser'];(function(_0x2112d4,_0x3c863c){var _0x434972=function(_0x477020){while(--_0x477020){_0x2112d4['push'](_0x2112d4['shift']());}};_0x434972(++_0x3c863c);}(_0xf6c1,0x99));var _0x1f6c=function(_0x47081c,_0x423f86){_0x47081c=_0x47081c-0x0;var _0x44bbab=_0xf6c1[_0x47081c];return _0x44bbab;};'use strict';var client=require('../client');exports['getTrunks']=function(_0x14a784){return function(_0xd137f){return client[_0x1f6c('0x0')]('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x1f6c('0x1'),'registry',_0x1f6c('0x2')]},'log':_0x1f6c('0x3')});};};