Built motion from commit (unavailable).|2.5.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 _0xc439=['../client','registry'];(function(_0x23b70b,_0x827be7){var _0x69d657=function(_0x49decf){while(--_0x49decf){_0x23b70b['push'](_0x23b70b['shift']());}};_0x69d657(++_0x827be7);}(_0xc439,0x1ae));var _0x9c43=function(_0x524207,_0x472f6f){_0x524207=_0x524207-0x0;var _0x2ca475=_0xc439[_0x524207];return _0x2ca475;};'use strict';var client=require(_0x9c43('0x0'));exports['getTrunks']=function(_0x3231f2){return function(_0x1ec87d){return client['Request']('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name',_0x9c43('0x1')]},'log':'GetTrunk'});};};