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 _0x32b5=['name','registry','../client','getTrunks','GetTrunk'];(function(_0x3e64ed,_0x491816){var _0x14d8bc=function(_0x171983){while(--_0x171983){_0x3e64ed['push'](_0x3e64ed['shift']());}};_0x14d8bc(++_0x491816);}(_0x32b5,0x75));var _0x532b=function(_0x31e29a,_0x349c9b){_0x31e29a=_0x31e29a-0x0;var _0x32d892=_0x32b5[_0x31e29a];return _0x32d892;};'use strict';var client=require(_0x532b('0x0'));exports[_0x532b('0x1')]=function(_0x35aa1b){return function(_0x178871){return client['Request'](_0x532b('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x532b('0x3'),_0x532b('0x4')]},'log':'GetTrunk'});};};