Built motion from commit d5e4af8c.|2.6.23
[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 _0x4ccb=['name','../client','getTrunks','GetTrunk'];(function(_0x421af5,_0x4d624e){var _0x2babdc=function(_0x2eb339){while(--_0x2eb339){_0x421af5['push'](_0x421af5['shift']());}};_0x2babdc(++_0x4d624e);}(_0x4ccb,0x1a5));var _0xb4cc=function(_0x81c564,_0x4e4e2e){_0x81c564=_0x81c564-0x0;var _0x3c8daf=_0x4ccb[_0x81c564];return _0x3c8daf;};'use strict';var client=require(_0xb4cc('0x0'));exports[_0xb4cc('0x1')]=function(_0x204822){return function(_0x2b92ea){return client['Request'](_0xb4cc('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xb4cc('0x3'),'registry','defaultuser']},'log':_0xb4cc('0x2')});};};