Built motion from commit 1fa89557.|2.6.10
[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 _0x6a2a=['GetTrunk','defaultuser','getTrunks'];(function(_0x5f86db,_0x9ccb8f){var _0x23fb86=function(_0x31826e){while(--_0x31826e){_0x5f86db['push'](_0x5f86db['shift']());}};_0x23fb86(++_0x9ccb8f);}(_0x6a2a,0x1ee));var _0xa6a2=function(_0x36c0d1,_0x1d9948){_0x36c0d1=_0x36c0d1-0x0;var _0x59c859=_0x6a2a[_0x36c0d1];return _0x59c859;};'use strict';var client=require('../client');exports[_0xa6a2('0x0')]=function(_0x338e8c){return function(_0x585981){return client['Request'](_0xa6a2('0x1'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name','registry',_0xa6a2('0x2')]},'log':'GetTrunk'});};};