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 _0x66d4=['GetTrunk','name','registry','getTrunks','Request'];(function(_0x14bf4c,_0x55f009){var _0x26f8b8=function(_0xbd866f){while(--_0xbd866f){_0x14bf4c['push'](_0x14bf4c['shift']());}};_0x26f8b8(++_0x55f009);}(_0x66d4,0xf3));var _0x466d=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0x66d4[_0x19950b];return _0x3c6b41;};'use strict';var client=require('../client');exports[_0x466d('0x0')]=function(_0x5f3f59){return function(_0x2ed971){return client[_0x466d('0x1')](_0x466d('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x466d('0x3'),_0x466d('0x4')]},'log':'GetTrunk'});};};