1697de752db0b019747935d7c895471949368721
[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 _0x439c=['name','timeout','strategy','User','online','openchannelPause','getOpenchannelQueues','Request'];(function(_0x46306f,_0x5aef14){var _0x16a27f=function(_0x5526fd){while(--_0x5526fd){_0x46306f['push'](_0x46306f['shift']());}};_0x16a27f(++_0x5aef14);}(_0x439c,0x117));var _0xc439=function(_0x524ee5,_0x42fc44){_0x524ee5=_0x524ee5-0x0;var _0x24cb96=_0x439c[_0x524ee5];return _0x24cb96;};'use strict';var client=require('../client');exports['getOpenchannelQueues']=function(){return function(){return client[_0xc439('0x0')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0xc439('0x1'),_0xc439('0x2'),_0xc439('0x3')],'include':[{'model':_0xc439('0x4'),'as':'Agents','attributes':['id',_0xc439('0x1'),_0xc439('0x5'),_0xc439('0x6')]}]},'log':_0xc439('0x7')});};};