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 _0x2492=['GetTrunk','name','registry','getTrunks'];(function(_0x983d26,_0x49c775){var _0x452a0c=function(_0xa4f62c){while(--_0xa4f62c){_0x983d26['push'](_0x983d26['shift']());}};_0x452a0c(++_0x49c775);}(_0x2492,0xcb));var _0x2249=function(_0x343f8c,_0x30b366){_0x343f8c=_0x343f8c-0x0;var _0x380ebf=_0x2492[_0x343f8c];return _0x380ebf;};'use strict';var client=require('../client');exports[_0x2249('0x0')]=function(_0xf9d79f){return function(_0x8dcf57){return client['Request'](_0x2249('0x1'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x2249('0x2'),_0x2249('0x3')]},'log':_0x2249('0x1')});};};