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 _0xf056=['GetTrunk','registry','../client','getTrunks','Request'];(function(_0x179f44,_0x2cf9f7){var _0x1e6cd1=function(_0x4fc8dc){while(--_0x4fc8dc){_0x179f44['push'](_0x179f44['shift']());}};_0x1e6cd1(++_0x2cf9f7);}(_0xf056,0x66));var _0x6f05=function(_0x3210ee,_0x345bbd){_0x3210ee=_0x3210ee-0x0;var _0x5cba93=_0xf056[_0x3210ee];return _0x5cba93;};'use strict';var client=require(_0x6f05('0x0'));exports[_0x6f05('0x1')]=function(_0x397b50){return function(_0x1650d1){return client[_0x6f05('0x2')](_0x6f05('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name',_0x6f05('0x4')]},'log':_0x6f05('0x3')});};};