Built motion from commit (unavailable).|2.5.3
[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 _0x9266=['registry','../client','getTrunks','Request','GetTrunk','name'];(function(_0x37c22c,_0x28a70d){var _0x119d79=function(_0x243a13){while(--_0x243a13){_0x37c22c['push'](_0x37c22c['shift']());}};_0x119d79(++_0x28a70d);}(_0x9266,0x121));var _0x6926=function(_0x3899d1,_0x4aa04c){_0x3899d1=_0x3899d1-0x0;var _0xeb4a7d=_0x9266[_0x3899d1];return _0xeb4a7d;};'use strict';var client=require(_0x6926('0x0'));exports[_0x6926('0x1')]=function(_0x5f0b8a){return function(_0x13b301){return client[_0x6926('0x2')](_0x6926('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x6926('0x4'),_0x6926('0x5')]},'log':_0x6926('0x3')});};};