Built motion from commit b5996064.|2.6.21
[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 _0x0ad1=['../client','getTrunks','Request','GetTrunk','name','registry','defaultuser'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0x0ad1,0x149));var _0x10ad=function(_0x4b040c,_0x5e3383){_0x4b040c=_0x4b040c-0x0;var _0x2083f4=_0x0ad1[_0x4b040c];return _0x2083f4;};'use strict';var client=require(_0x10ad('0x0'));exports[_0x10ad('0x1')]=function(_0x470185){return function(_0x127d54){return client[_0x10ad('0x2')](_0x10ad('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x10ad('0x4'),_0x10ad('0x5'),_0x10ad('0x6')]},'log':'GetTrunk'});};};