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 _0xec3e=['../client','Request','GetTrunk','name'];(function(_0x1ca5db,_0x765150){var _0x1df88e=function(_0x1d8fd5){while(--_0x1d8fd5){_0x1ca5db['push'](_0x1ca5db['shift']());}};_0x1df88e(++_0x765150);}(_0xec3e,0x74));var _0xeec3=function(_0x1da9b2,_0x16f572){_0x1da9b2=_0x1da9b2-0x0;var _0x19f1a5=_0xec3e[_0x1da9b2];return _0x19f1a5;};'use strict';var client=require(_0xeec3('0x0'));exports['getTrunks']=function(_0x1be691){return function(_0xae4c1){return client[_0xeec3('0x1')](_0xeec3('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xeec3('0x3'),'registry']},'log':'GetTrunk'});};};