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 _0x18ea=['../client','getTrunks','Request','GetTrunk','registry'];(function(_0x1b19d6,_0x56ec99){var _0x21e1ef=function(_0x4279c9){while(--_0x4279c9){_0x1b19d6['push'](_0x1b19d6['shift']());}};_0x21e1ef(++_0x56ec99);}(_0x18ea,0xbe));var _0xa18e=function(_0x47f8fe,_0xe0505a){_0x47f8fe=_0x47f8fe-0x0;var _0x2723e3=_0x18ea[_0x47f8fe];return _0x2723e3;};'use strict';var client=require(_0xa18e('0x0'));exports[_0xa18e('0x1')]=function(_0x4b3cf6){return function(_0x5ea202){return client[_0xa18e('0x2')](_0xa18e('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name',_0xa18e('0x4'),'defaultuser']},'log':'GetTrunk'});};};