Built motion from commit fe909640.|2.6.8
[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 _0x14d8=['getTrunks','GetTrunk','name','registry','defaultuser','../client'];(function(_0x20c9b2,_0x55d7b1){var _0x2c6030=function(_0x10845f){while(--_0x10845f){_0x20c9b2['push'](_0x20c9b2['shift']());}};_0x2c6030(++_0x55d7b1);}(_0x14d8,0x19d));var _0x814d=function(_0x13d07a,_0x41efc3){_0x13d07a=_0x13d07a-0x0;var _0x5ee0ee=_0x14d8[_0x13d07a];return _0x5ee0ee;};'use strict';var client=require(_0x814d('0x0'));exports[_0x814d('0x1')]=function(_0x57f4d9){return function(_0x2d295b){return client['Request'](_0x814d('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x814d('0x3'),_0x814d('0x4'),_0x814d('0x5')]},'log':_0x814d('0x2')});};};