Built motion from commit (unavailable).|2.5.0
[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 _0x03bc=['name','../client','getTrunks','Request'];(function(_0x29d915,_0x54a040){var _0x160f86=function(_0x237dfa){while(--_0x237dfa){_0x29d915['push'](_0x29d915['shift']());}};_0x160f86(++_0x54a040);}(_0x03bc,0x189));var _0xc03b=function(_0x12cdaf,_0x50191d){_0x12cdaf=_0x12cdaf-0x0;var _0x2855ed=_0x03bc[_0x12cdaf];return _0x2855ed;};'use strict';var client=require(_0xc03b('0x0'));exports[_0xc03b('0x1')]=function(_0xde8965){return function(_0x42953d){return client[_0xc03b('0x2')]('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xc03b('0x3'),'registry']},'log':'GetTrunk'});};};