Built motion from commit 497d3d92.|2.5.43
[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 _0x0f19=['User','openchannelPause','getOpenchannelQueues','Request','GetOpenchannelQueue','name','strategy'];(function(_0x41c610,_0x4f099a){var _0x54cd3a=function(_0x4e4371){while(--_0x4e4371){_0x41c610['push'](_0x41c610['shift']());}};_0x54cd3a(++_0x4f099a);}(_0x0f19,0x160));var _0x90f1=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0f19[_0x3dd15e];return _0x231fd0;};'use strict';var client=require('../client');exports[_0x90f1('0x0')]=function(){return function(){return client[_0x90f1('0x1')](_0x90f1('0x2'),{'options':{'raw':![],'attributes':['id',_0x90f1('0x3'),'timeout',_0x90f1('0x4')],'include':[{'model':_0x90f1('0x5'),'as':'Agents','attributes':['id','name','online',_0x90f1('0x6')]}]},'log':_0x90f1('0x0')});};};