a56fa2a29f3195312ab60328e9003270d2f58781
[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 _0x640c=['GetTrunk','getTrunks','Request','name','registry','defaultuser'];(function(_0x17149f,_0x3ed207){var _0x1cef36=function(_0x2d3320){while(--_0x2d3320){_0x17149f['push'](_0x17149f['shift']());}};_0x1cef36(++_0x3ed207);}(_0x640c,0x16f));var _0xc640=function(_0x3718b7,_0x2da677){_0x3718b7=_0x3718b7-0x0;var _0xf8c91e=_0x640c[_0x3718b7];return _0xf8c91e;};'use strict';var client=require('../client');exports[_0xc640('0x0')]=function(_0x3acd67){return function(_0x5df696){return client[_0xc640('0x1')]('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xc640('0x2'),_0xc640('0x3'),_0xc640('0x4')]},'log':_0xc640('0x5')});};};