Built motion from commit (unavailable).|2.4.18
[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 _0x89b8=['getTrunks','Request','GetTrunk','name','registry','../client'];(function(_0x371c58,_0xb9fc7){var _0x18852e=function(_0x319afc){while(--_0x319afc){_0x371c58['push'](_0x371c58['shift']());}};_0x18852e(++_0xb9fc7);}(_0x89b8,0xa7));var _0x889b=function(_0x146586,_0x5c0834){_0x146586=_0x146586-0x0;var _0x59f36f=_0x89b8[_0x146586];return _0x59f36f;};'use strict';var client=require(_0x889b('0x0'));exports[_0x889b('0x1')]=function(_0x2d3ebd){return function(_0x445e36){return client[_0x889b('0x2')](_0x889b('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x889b('0x4'),_0x889b('0x5')]},'log':_0x889b('0x3')});};};