Built motion from commit (unavailable).|2.4.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 _0x53a5=['GetTrunk','name','registry','getTrunks','Request'];(function(_0x4bd950,_0x184ed5){var _0x5dc59a=function(_0x6ff30f){while(--_0x6ff30f){_0x4bd950['push'](_0x4bd950['shift']());}};_0x5dc59a(++_0x184ed5);}(_0x53a5,0x6c));var _0x553a=function(_0x6e5378,_0x19f5f9){_0x6e5378=_0x6e5378-0x0;var _0x55116b=_0x53a5[_0x6e5378];return _0x55116b;};'use strict';var client=require('../client');exports[_0x553a('0x0')]=function(_0x498f96){return function(_0x4ceb84){return client[_0x553a('0x1')](_0x553a('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x553a('0x3'),_0x553a('0x4')]},'log':'GetTrunk'});};};