Built motion from commit (unavailable).|2.3.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 _0x472c=['GetTrunk','registry','../client','getTrunks','Request'];(function(_0x5e8e36,_0x46cace){var _0x308c60=function(_0xaf74f){while(--_0xaf74f){_0x5e8e36['push'](_0x5e8e36['shift']());}};_0x308c60(++_0x46cace);}(_0x472c,0x1a6));var _0xc472=function(_0x5691fd,_0x5ae45a){_0x5691fd=_0x5691fd-0x0;var _0x65ba8c=_0x472c[_0x5691fd];return _0x65ba8c;};'use strict';var client=require(_0xc472('0x0'));exports[_0xc472('0x1')]=function(_0x4b3ee8){return function(_0x2fc50c){return client[_0xc472('0x2')](_0xc472('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name',_0xc472('0x4')]},'log':_0xc472('0x3')});};};