Built motion from commit dc14b02d.|2.6.27
[motion2.git] / server / services / routing / rpc / openchannelQueue.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 _0xd332=['User','Agents','online','openchannelPause','getOpenchannelQueues','Request','name','timeout','strategy'];(function(_0x466f2e,_0x5e2a7f){var _0x22dfbb=function(_0x308bbf){while(--_0x308bbf){_0x466f2e['push'](_0x466f2e['shift']());}};_0x22dfbb(++_0x5e2a7f);}(_0xd332,0xaf));var _0x2d33=function(_0x29d915,_0x54a040){_0x29d915=_0x29d915-0x0;var _0x160f86=_0xd332[_0x29d915];return _0x160f86;};'use strict';var client=require('../client');exports[_0x2d33('0x0')]=function(){return function(){return client[_0x2d33('0x1')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0x2d33('0x2'),_0x2d33('0x3'),_0x2d33('0x4')],'include':[{'model':_0x2d33('0x5'),'as':_0x2d33('0x6'),'attributes':['id',_0x2d33('0x2'),_0x2d33('0x7'),_0x2d33('0x8')]}]},'log':_0x2d33('0x0')});};};