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 _0x53d5=['Request','GetTrunk','name','defaultuser','../client','getTrunks'];(function(_0x1cc8fe,_0x105328){var _0x230054=function(_0x1a1b56){while(--_0x1a1b56){_0x1cc8fe['push'](_0x1cc8fe['shift']());}};_0x230054(++_0x105328);}(_0x53d5,0x1cc));var _0x553d=function(_0xb2eb8,_0xeebbdf){_0xb2eb8=_0xb2eb8-0x0;var _0xd94a48=_0x53d5[_0xb2eb8];return _0xd94a48;};'use strict';var client=require(_0x553d('0x0'));exports[_0x553d('0x1')]=function(_0x217b81){return function(_0x619750){return client[_0x553d('0x2')](_0x553d('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x553d('0x4'),'registry',_0x553d('0x5')]},'log':_0x553d('0x3')});};};