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 _0xccf2=['../client','getTrunks','GetTrunk'];(function(_0x569570,_0x3e0046){var _0x5804f8=function(_0x42c2de){while(--_0x42c2de){_0x569570['push'](_0x569570['shift']());}};_0x5804f8(++_0x3e0046);}(_0xccf2,0x1c5));var _0x2ccf=function(_0x596b1a,_0x54544a){_0x596b1a=_0x596b1a-0x0;var _0x2f40a9=_0xccf2[_0x596b1a];return _0x2f40a9;};'use strict';var client=require(_0x2ccf('0x0'));exports[_0x2ccf('0x1')]=function(_0x4b0951){return function(_0x372ec9){return client['Request'](_0x2ccf('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name','registry']},'log':'GetTrunk'});};};