Built motion from commit (unavailable).|2.5.14
[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 _0xa10d=['../client','getTrunks','GetTrunk','name'];(function(_0x4b7982,_0x5b0967){var _0x3239b6=function(_0x4c309f){while(--_0x4c309f){_0x4b7982['push'](_0x4b7982['shift']());}};_0x3239b6(++_0x5b0967);}(_0xa10d,0xac));var _0xda10=function(_0x344a3f,_0x579a22){_0x344a3f=_0x344a3f-0x0;var _0x264712=_0xa10d[_0x344a3f];return _0x264712;};'use strict';var client=require(_0xda10('0x0'));exports[_0xda10('0x1')]=function(_0x1f08e0){return function(_0x44fd4c){return client['Request'](_0xda10('0x2'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xda10('0x3'),'registry']},'log':_0xda10('0x2')});};};