Built motion from commit 616d3211.|2.6.4
[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 _0xc078=['GetTrunk','name','defaultuser','getTrunks','Request'];(function(_0x1a65ee,_0x249675){var _0x5f23a1=function(_0x4cb0b){while(--_0x4cb0b){_0x1a65ee['push'](_0x1a65ee['shift']());}};_0x5f23a1(++_0x249675);}(_0xc078,0xfd));var _0x8c07=function(_0x2426d7,_0x515f06){_0x2426d7=_0x2426d7-0x0;var _0x236709=_0xc078[_0x2426d7];return _0x236709;};'use strict';var client=require('../client');exports[_0x8c07('0x0')]=function(_0x1472c6){return function(_0x41453c){return client[_0x8c07('0x1')](_0x8c07('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x8c07('0x3'),'registry',_0x8c07('0x4')]},'log':_0x8c07('0x2')});};};