Built motion from commit (unavailable).|2.3.1
[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 _0xcdce=['registry','../client','getTrunks','Request','GetTrunk','name'];(function(_0x3d39cc,_0x28ad43){var _0x4bb0b6=function(_0x97c134){while(--_0x97c134){_0x3d39cc['push'](_0x3d39cc['shift']());}};_0x4bb0b6(++_0x28ad43);}(_0xcdce,0xb5));var _0xecdc=function(_0x3b7577,_0x5c92ed){_0x3b7577=_0x3b7577-0x0;var _0x69491b=_0xcdce[_0x3b7577];return _0x69491b;};'use strict';var client=require(_0xecdc('0x0'));exports[_0xecdc('0x1')]=function(_0x2df04b){return function(_0x46fa30){return client[_0xecdc('0x2')](_0xecdc('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xecdc('0x4'),_0xecdc('0x5')]},'log':_0xecdc('0x3')});};};