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 _0x4a3c=['GetTrunk','../client','getTrunks','Request','registry'];(function(_0x442f38,_0x181ea){var _0x308e4e=function(_0x551adb){while(--_0x551adb){_0x442f38['push'](_0x442f38['shift']());}};_0x308e4e(++_0x181ea);}(_0x4a3c,0x74));var _0xc4a3=function(_0xe10a7e,_0x5e8634){_0xe10a7e=_0xe10a7e-0x0;var _0x1e56cd=_0x4a3c[_0xe10a7e];return _0x1e56cd;};'use strict';var client=require(_0xc4a3('0x0'));exports[_0xc4a3('0x1')]=function(_0x165d43){return function(_0x34c5ce){return client[_0xc4a3('0x2')]('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name',_0xc4a3('0x3')]},'log':_0xc4a3('0x4')});};};