Built motion from commit e02f907f.|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 _0x575b=['../client','getTrunks','Request','name','registry','GetTrunk'];(function(_0x509e3a,_0x36d45f){var _0x1fb236=function(_0x54ed68){while(--_0x54ed68){_0x509e3a['push'](_0x509e3a['shift']());}};_0x1fb236(++_0x36d45f);}(_0x575b,0x1e0));var _0xb575=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0x575b[_0x59ee6f];return _0x4c0979;};'use strict';var client=require(_0xb575('0x0'));exports[_0xb575('0x1')]=function(_0x3106c3){return function(_0x38202a){return client[_0xb575('0x2')]('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xb575('0x3'),_0xb575('0x4'),'defaultuser']},'log':_0xb575('0x5')});};};