Built motion from commit (unavailable).|2.4.4
[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 _0x05b5=['getTrunks','Request','GetTrunk','../client'];(function(_0x101e1a,_0x20dfa8){var _0x422f69=function(_0x4ab7eb){while(--_0x4ab7eb){_0x101e1a['push'](_0x101e1a['shift']());}};_0x422f69(++_0x20dfa8);}(_0x05b5,0x13f));var _0x505b=function(_0x4c12ec,_0x2e9103){_0x4c12ec=_0x4c12ec-0x0;var _0x3ae42c=_0x05b5[_0x4c12ec];return _0x3ae42c;};'use strict';var client=require(_0x505b('0x0'));exports[_0x505b('0x1')]=function(_0x5a9b9a){return function(_0x26837c){return client[_0x505b('0x2')]('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id','name','registry']},'log':_0x505b('0x3')});};};