b617b8538498b270b975ca24ba6c3b47195ef2d9
[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 _0x98a7=['name','defaultuser','../client','getTrunks','Request','GetTrunk'];(function(_0x2a7204,_0x362309){var _0x441f89=function(_0x37fdc0){while(--_0x37fdc0){_0x2a7204['push'](_0x2a7204['shift']());}};_0x441f89(++_0x362309);}(_0x98a7,0x9e));var _0x798a=function(_0x5845d0,_0x5b28f3){_0x5845d0=_0x5845d0-0x0;var _0x234f3f=_0x98a7[_0x5845d0];return _0x234f3f;};'use strict';var client=require(_0x798a('0x0'));exports[_0x798a('0x1')]=function(_0x3b56ca){return function(_0x456654){return client[_0x798a('0x2')](_0x798a('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x798a('0x4'),'registry',_0x798a('0x5')]},'log':_0x798a('0x3')});};};