Built motion from commit (unavailable).|2.4.4
[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 _0x776b=['Agents','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name','timeout'];(function(_0xad2a0e,_0x2bfe65){var _0x19786f=function(_0x53bb1a){while(--_0x53bb1a){_0xad2a0e['push'](_0xad2a0e['shift']());}};_0x19786f(++_0x2bfe65);}(_0x776b,0xb0));var _0xb776=function(_0x85082e,_0x32028e){_0x85082e=_0x85082e-0x0;var _0x2abd9e=_0x776b[_0x85082e];return _0x2abd9e;};'use strict';var client=require(_0xb776('0x0'));exports[_0xb776('0x1')]=function(){return function(){return client[_0xb776('0x2')](_0xb776('0x3'),{'options':{'raw':![],'attributes':['id',_0xb776('0x4'),_0xb776('0x5'),'strategy'],'include':[{'model':'User','as':_0xb776('0x6'),'attributes':['id','name','online','openchannelPause']}]},'log':_0xb776('0x1')});};};