Built motion from commit 14588770.|2.5.38
[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 _0xe553=['GetTrunk','name','registry','../client','getTrunks','Request'];(function(_0x5b8909,_0x3ad67f){var _0xfd723c=function(_0x5ac53d){while(--_0x5ac53d){_0x5b8909['push'](_0x5b8909['shift']());}};_0xfd723c(++_0x3ad67f);}(_0xe553,0x1a1));var _0x3e55=function(_0x5aef12,_0x1edd9d){_0x5aef12=_0x5aef12-0x0;var _0x245089=_0xe553[_0x5aef12];return _0x245089;};'use strict';var client=require(_0x3e55('0x0'));exports[_0x3e55('0x1')]=function(_0x4df1ed){return function(_0x2bc01d){return client[_0x3e55('0x2')](_0x3e55('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x3e55('0x4'),_0x3e55('0x5'),'defaultuser']},'log':'GetTrunk'});};};