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 _0x1b80=['registry','GetTrunk','../client','getTrunks','Request','name'];(function(_0x3d4ef1,_0x5a957c){var _0x409423=function(_0x1ab129){while(--_0x1ab129){_0x3d4ef1['push'](_0x3d4ef1['shift']());}};_0x409423(++_0x5a957c);}(_0x1b80,0x1be));var _0x01b8=function(_0x42e4d8,_0x3c2f58){_0x42e4d8=_0x42e4d8-0x0;var _0x26289e=_0x1b80[_0x42e4d8];return _0x26289e;};'use strict';var client=require(_0x01b8('0x0'));exports[_0x01b8('0x1')]=function(_0x36a2ba){return function(_0x27d009){return client[_0x01b8('0x2')]('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x01b8('0x3'),_0x01b8('0x4')]},'log':_0x01b8('0x5')});};};