Built motion from commit b0a9a629.|2.6.33
[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 _0x6da5=['registry','defaultuser','getTrunks','Request','GetTrunk','name'];(function(_0x3a0ebd,_0x47f368){var _0x51a660=function(_0x4023e6){while(--_0x4023e6){_0x3a0ebd['push'](_0x3a0ebd['shift']());}};_0x51a660(++_0x47f368);}(_0x6da5,0x104));var _0x56da=function(_0xaef77d,_0x411ccf){_0xaef77d=_0xaef77d-0x0;var _0x450a10=_0x6da5[_0xaef77d];return _0x450a10;};'use strict';var client=require('../client');exports[_0x56da('0x0')]=function(_0xa4f21a){return function(_0x2d2ffd){return client[_0x56da('0x1')](_0x56da('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x56da('0x3'),_0x56da('0x4'),_0x56da('0x5')]},'log':_0x56da('0x2')});};};