Built motion from commit f6d7e26c.|2.6.14
[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 _0x167e=['registry','../client','getTrunks','Request','GetTrunk','name'];(function(_0x4147ff,_0x154530){var _0x1e71e6=function(_0x21f992){while(--_0x21f992){_0x4147ff['push'](_0x4147ff['shift']());}};_0x1e71e6(++_0x154530);}(_0x167e,0xa3));var _0xe167=function(_0x5e61b4,_0x2b5288){_0x5e61b4=_0x5e61b4-0x0;var _0x44fb23=_0x167e[_0x5e61b4];return _0x44fb23;};'use strict';var client=require(_0xe167('0x0'));exports[_0xe167('0x1')]=function(_0x2a44c5){return function(_0x38b912){return client[_0xe167('0x2')](_0xe167('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xe167('0x4'),_0xe167('0x5'),'defaultuser']},'log':_0xe167('0x3')});};};