Built motion from commit 47436d59.|2.6.7
[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 _0x4b99=['GetTrunk','name','defaultuser','../client','getTrunks'];(function(_0xf703ac,_0x16815e){var _0xb0631d=function(_0x2d9a20){while(--_0x2d9a20){_0xf703ac['push'](_0xf703ac['shift']());}};_0xb0631d(++_0x16815e);}(_0x4b99,0x107));var _0x94b9=function(_0x39950c,_0x79e312){_0x39950c=_0x39950c-0x0;var _0x1e83d2=_0x4b99[_0x39950c];return _0x1e83d2;};'use strict';var client=require(_0x94b9('0x0'));exports[_0x94b9('0x1')]=function(_0x8651ab){return function(_0x537f95){return client['Request'](_0x94b9('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x94b9('0x3'),'registry',_0x94b9('0x4')]},'log':'GetTrunk'});};};