Built motion from commit (unavailable).|2.5.30
[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 _0x32b5=['name','registry','../client','getTrunks','GetTrunk'];(function(_0x3e64ed,_0x491816){var _0x14d8bc=function(_0x171983){while(--_0x171983){_0x3e64ed['push'](_0x3e64ed['shift']());}};_0x14d8bc(++_0x491816);}(_0x32b5,0x75));var _0x532b=function(_0x31e29a,_0x349c9b){_0x31e29a=_0x31e29a-0x0;var _0x32d892=_0x32b5[_0x31e29a];return _0x32d892;};'use strict';var client=require(_0x532b('0x0'));exports[_0x532b('0x1')]=function(_0x35aa1b){return function(_0x178871){return client['Request'](_0x532b('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x532b('0x3'),_0x532b('0x4')]},'log':'GetTrunk'});};};