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 _0x345e=['name','registry','defaultuser','getTrunks','GetTrunk'];(function(_0x1ca890,_0x21d0d3){var _0x3f8e01=function(_0x4ff2e2){while(--_0x4ff2e2){_0x1ca890['push'](_0x1ca890['shift']());}};_0x3f8e01(++_0x21d0d3);}(_0x345e,0x1b6));var _0xe345=function(_0x4276e1,_0x547409){_0x4276e1=_0x4276e1-0x0;var _0x55cc5c=_0x345e[_0x4276e1];return _0x55cc5c;};'use strict';var client=require('../client');exports[_0xe345('0x0')]=function(_0x457b08){return function(_0x1ee569){return client['Request'](_0xe345('0x1'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xe345('0x2'),_0xe345('0x3'),_0xe345('0x4')]},'log':_0xe345('0x1')});};};