Built motion from commit (unavailable).|2.5.6
[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 _0x4639=['getTrunks','Request','GetTrunk','name','registry','../client'];(function(_0x758c23,_0x387f5a){var _0x5db12b=function(_0x534722){while(--_0x534722){_0x758c23['push'](_0x758c23['shift']());}};_0x5db12b(++_0x387f5a);}(_0x4639,0xe3));var _0x9463=function(_0x31edbe,_0x34d231){_0x31edbe=_0x31edbe-0x0;var _0x37fcee=_0x4639[_0x31edbe];return _0x37fcee;};'use strict';var client=require(_0x9463('0x0'));exports[_0x9463('0x1')]=function(_0x356969){return function(_0x5de335){return client[_0x9463('0x2')](_0x9463('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x9463('0x4'),_0x9463('0x5')]},'log':'GetTrunk'});};};