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 _0xa02e=['defaultuser','getTrunks','Request','GetTrunk','name','registry'];(function(_0xb8f98c,_0x21e9b8){var _0x1f8481=function(_0x2e1bcf){while(--_0x2e1bcf){_0xb8f98c['push'](_0xb8f98c['shift']());}};_0x1f8481(++_0x21e9b8);}(_0xa02e,0xa3));var _0xea02=function(_0x161c4c,_0x13b0de){_0x161c4c=_0x161c4c-0x0;var _0x439c85=_0xa02e[_0x161c4c];return _0x439c85;};'use strict';var client=require('../client');exports[_0xea02('0x0')]=function(_0x494f1a){return function(_0x25ba0c){return client[_0xea02('0x1')](_0xea02('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xea02('0x3'),_0xea02('0x4'),_0xea02('0x5')]},'log':_0xea02('0x2')});};};