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 _0xe2dd=['GetTrunk','../client','getTrunks'];(function(_0xe4854b,_0x414b50){var _0x1c3d72=function(_0x266317){while(--_0x266317){_0xe4854b['push'](_0xe4854b['shift']());}};_0x1c3d72(++_0x414b50);}(_0xe2dd,0x88));var _0xde2d=function(_0x40ac5e,_0x2de228){_0x40ac5e=_0x40ac5e-0x0;var _0x2839d6=_0xe2dd[_0x40ac5e];return _0x2839d6;};'use strict';var client=require(_0xde2d('0x0'));exports[_0xde2d('0x1')]=function(_0x1e74c1){return function(_0x4d7d45){return client['Request'](_0xde2d('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name','registry']},'log':_0xde2d('0x2')});};};