Built motion from commit (unavailable).|2.5.24
[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 _0x3531=['Request','name','registry','GetTrunk','getTrunks'];(function(_0x4fa9c9,_0x4c1021){var _0x3af542=function(_0xab2135){while(--_0xab2135){_0x4fa9c9['push'](_0x4fa9c9['shift']());}};_0x3af542(++_0x4c1021);}(_0x3531,0x103));var _0x1353=function(_0x2160a9,_0x3cbd9e){_0x2160a9=_0x2160a9-0x0;var _0xa88cf7=_0x3531[_0x2160a9];return _0xa88cf7;};'use strict';var client=require('../client');exports[_0x1353('0x0')]=function(_0x46b102){return function(_0x53559b){return client[_0x1353('0x1')]('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x1353('0x2'),_0x1353('0x3')]},'log':_0x1353('0x4')});};};