Built motion from commit (unavailable).|2.5.26
[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 _0xa927=['GetTrunk','name','registry','../client','getTrunks','Request'];(function(_0xd6a2c,_0x42cb87){var _0x38c80c=function(_0x51b0de){while(--_0x51b0de){_0xd6a2c['push'](_0xd6a2c['shift']());}};_0x38c80c(++_0x42cb87);}(_0xa927,0xed));var _0x7a92=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0xa927[_0xfae23b];return _0x200640;};'use strict';var client=require(_0x7a92('0x0'));exports[_0x7a92('0x1')]=function(_0x541c31){return function(_0x58065c){return client[_0x7a92('0x2')](_0x7a92('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x7a92('0x4'),_0x7a92('0x5')]},'log':_0x7a92('0x3')});};};