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 _0x4a7f=['../client','getTrunks','Request','GetTrunk','registry'];(function(_0x53666a,_0x7c9d81){var _0x304a0c=function(_0x1f2d9b){while(--_0x1f2d9b){_0x53666a['push'](_0x53666a['shift']());}};_0x304a0c(++_0x7c9d81);}(_0x4a7f,0x1d6));var _0xf4a7=function(_0xccd4cb,_0x294db6){_0xccd4cb=_0xccd4cb-0x0;var _0x2fad4c=_0x4a7f[_0xccd4cb];return _0x2fad4c;};'use strict';var client=require(_0xf4a7('0x0'));exports[_0xf4a7('0x1')]=function(_0x22240c){return function(_0x4a11ae){return client[_0xf4a7('0x2')](_0xf4a7('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name',_0xf4a7('0x4')]},'log':'GetTrunk'});};};