Built motion from commit (unavailable).|2.5.23
[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 _0xe879=['name','getTrunks','Request','GetTrunk'];(function(_0x4d838b,_0x1ffa63){var _0x1abdcc=function(_0x146afb){while(--_0x146afb){_0x4d838b['push'](_0x4d838b['shift']());}};_0x1abdcc(++_0x1ffa63);}(_0xe879,0x129));var _0x9e87=function(_0x3c8d6c,_0x51ae3a){_0x3c8d6c=_0x3c8d6c-0x0;var _0x146521=_0xe879[_0x3c8d6c];return _0x146521;};'use strict';var client=require('../client');exports[_0x9e87('0x0')]=function(_0x3daec2){return function(_0x4694cb){return client[_0x9e87('0x1')](_0x9e87('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x9e87('0x3'),'registry']},'log':_0x9e87('0x2')});};};