Built motion from commit (unavailable).|2.4.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 _0x7ce5=['Request','GetTrunk','../client','getTrunks'];(function(_0x333fc8,_0x2b292c){var _0x432439=function(_0x5501b6){while(--_0x5501b6){_0x333fc8['push'](_0x333fc8['shift']());}};_0x432439(++_0x2b292c);}(_0x7ce5,0x132));var _0x57ce=function(_0x520e0b,_0xa7af38){_0x520e0b=_0x520e0b-0x0;var _0x23195a=_0x7ce5[_0x520e0b];return _0x23195a;};'use strict';var client=require(_0x57ce('0x0'));exports[_0x57ce('0x1')]=function(_0xcb0313){return function(_0x279801){return client[_0x57ce('0x2')]('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name','registry']},'log':_0x57ce('0x3')});};};