Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / services / ami / rpc / trunk.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x07da=['Request','GetTrunk','name','../client','getTrunks'];(function(_0x53264c,_0x54ae61){var _0x436567=function(_0x34afb6){while(--_0x34afb6){_0x53264c['push'](_0x53264c['shift']());}};_0x436567(++_0x54ae61);}(_0x07da,0x116));var _0xa07d=function(_0x251e5d,_0x28fb57){_0x251e5d=_0x251e5d-0x0;var _0x8d6737=_0x07da[_0x251e5d];return _0x8d6737;};'use strict';var client=require(_0xa07d('0x0'));exports[_0xa07d('0x1')]=function(_0xe2f873){return function(_0x532045){return client[_0xa07d('0x2')](_0xa07d('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xa07d('0x4'),'registry']},'log':_0xa07d('0x3')});};};