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 _0xc964=['registry','../client','getTrunks','Request','GetTrunk'];(function(_0x24f31b,_0x44b8f3){var _0x488401=function(_0x204caf){while(--_0x204caf){_0x24f31b['push'](_0x24f31b['shift']());}};_0x488401(++_0x44b8f3);}(_0xc964,0x7e));var _0x4c96=function(_0x2a1b16,_0x26178a){_0x2a1b16=_0x2a1b16-0x0;var _0x1236d8=_0xc964[_0x2a1b16];return _0x1236d8;};'use strict';var client=require(_0x4c96('0x0'));exports[_0x4c96('0x1')]=function(_0x5749a1){return function(_0x37968d){return client[_0x4c96('0x2')](_0x4c96('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name',_0x4c96('0x4'),'defaultuser']},'log':_0x4c96('0x3')});};};