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 _0xe6c3=['GetTrunk','getTrunks','registry'];(function(_0x40f4cc,_0x432f55){var _0x458315=function(_0xcfda5e){while(--_0xcfda5e){_0x40f4cc['push'](_0x40f4cc['shift']());}};_0x458315(++_0x432f55);}(_0xe6c3,0x18d));var _0x3e6c=function(_0x1b905f,_0x4103ec){_0x1b905f=_0x1b905f-0x0;var _0x47ecd5=_0xe6c3[_0x1b905f];return _0x47ecd5;};'use strict';var client=require('../client');exports[_0x3e6c('0x0')]=function(_0x17b90d){return function(_0xffa8da){return client['Request']('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name',_0x3e6c('0x1')]},'log':_0x3e6c('0x2')});};};