Built motion from commit (unavailable).|2.5.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 _0xb30a=['registry','../client','getTrunks','Request','name'];(function(_0x4222e4,_0x25096f){var _0x4bfa29=function(_0x1fd1c1){while(--_0x1fd1c1){_0x4222e4['push'](_0x4222e4['shift']());}};_0x4bfa29(++_0x25096f);}(_0xb30a,0x88));var _0xab30=function(_0x366871,_0x3b4c4e){_0x366871=_0x366871-0x0;var _0x1a9f90=_0xb30a[_0x366871];return _0x1a9f90;};'use strict';var client=require(_0xab30('0x0'));exports[_0xab30('0x1')]=function(_0x30e412){return function(_0x2d9d12){return client[_0xab30('0x2')]('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xab30('0x3'),_0xab30('0x4')]},'log':'GetTrunk'});};};