Built motion from commit 953226e6.|2.6.32
[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 _0x5609=['strategy','Agents','online','getOpenchannelQueues','GetOpenchannelQueue','name','timeout'];(function(_0x3d84be,_0x34edd8){var _0x279c53=function(_0x1194cc){while(--_0x1194cc){_0x3d84be['push'](_0x3d84be['shift']());}};_0x279c53(++_0x34edd8);}(_0x5609,0x137));var _0x9560=function(_0x46e363,_0x45d7e2){_0x46e363=_0x46e363-0x0;var _0x3fb059=_0x5609[_0x46e363];return _0x3fb059;};'use strict';var client=require('../client');exports[_0x9560('0x0')]=function(){return function(){return client['Request'](_0x9560('0x1'),{'options':{'raw':![],'attributes':['id',_0x9560('0x2'),_0x9560('0x3'),_0x9560('0x4')],'include':[{'model':'User','as':_0x9560('0x5'),'attributes':['id','name',_0x9560('0x6'),'openchannelPause']}]},'log':_0x9560('0x0')});};};