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 _0x7a61=['getTrunks','GetTrunk','name','registry'];(function(_0x11f0e3,_0x5170bc){var _0x2892e8=function(_0x3292b2){while(--_0x3292b2){_0x11f0e3['push'](_0x11f0e3['shift']());}};_0x2892e8(++_0x5170bc);}(_0x7a61,0x164));var _0x17a6=function(_0x16862b,_0x2639fb){_0x16862b=_0x16862b-0x0;var _0x172e4b=_0x7a61[_0x16862b];return _0x172e4b;};'use strict';var client=require('../client');exports[_0x17a6('0x0')]=function(_0x4e7031){return function(_0x4df3c0){return client['Request'](_0x17a6('0x1'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x17a6('0x2'),_0x17a6('0x3')]},'log':_0x17a6('0x1')});};};