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 _0x7ec0=['GetTrunk','../client','Request','registry'];(function(_0x2dd0d8,_0x46460f){var _0x46a8bb=function(_0x316f59){while(--_0x316f59){_0x2dd0d8['push'](_0x2dd0d8['shift']());}};_0x46a8bb(++_0x46460f);}(_0x7ec0,0x159));var _0x07ec=function(_0x59f57f,_0x4ba9dd){_0x59f57f=_0x59f57f-0x0;var _0x17acfc=_0x7ec0[_0x59f57f];return _0x17acfc;};'use strict';var client=require(_0x07ec('0x0'));exports['getTrunks']=function(_0x37c7c1){return function(_0x275a3d){return client[_0x07ec('0x1')]('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name',_0x07ec('0x2')]},'log':_0x07ec('0x3')});};};