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 _0xc9b6=['name','registry','../client','getTrunks','GetTrunk'];(function(_0x1dd82f,_0x52acb7){var _0x353ca4=function(_0x5ee4c9){while(--_0x5ee4c9){_0x1dd82f['push'](_0x1dd82f['shift']());}};_0x353ca4(++_0x52acb7);}(_0xc9b6,0x6b));var _0x6c9b=function(_0x1b1c43,_0x3e14aa){_0x1b1c43=_0x1b1c43-0x0;var _0x1f199f=_0xc9b6[_0x1b1c43];return _0x1f199f;};'use strict';var client=require(_0x6c9b('0x0'));exports[_0x6c9b('0x1')]=function(_0xb0ba12){return function(_0x39a721){return client['Request'](_0x6c9b('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x6c9b('0x3'),_0x6c9b('0x4')]},'log':_0x6c9b('0x2')});};};