Built motion from commit 06a208af.|2.6.26
[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 _0xa3cf=['../client','Request','GetOpenchannelQueue','name','timeout','strategy','Agents','online','getOpenchannelQueues'];(function(_0xdc4996,_0x15bedc){var _0x20fbb9=function(_0x47c811){while(--_0x47c811){_0xdc4996['push'](_0xdc4996['shift']());}};_0x20fbb9(++_0x15bedc);}(_0xa3cf,0x195));var _0xfa3c=function(_0x3ec383,_0x5d68df){_0x3ec383=_0x3ec383-0x0;var _0x14159a=_0xa3cf[_0x3ec383];return _0x14159a;};'use strict';var client=require(_0xfa3c('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0xfa3c('0x1')](_0xfa3c('0x2'),{'options':{'raw':![],'attributes':['id',_0xfa3c('0x3'),_0xfa3c('0x4'),_0xfa3c('0x5')],'include':[{'model':'User','as':_0xfa3c('0x6'),'attributes':['id','name',_0xfa3c('0x7'),'openchannelPause']}]},'log':_0xfa3c('0x8')});};};