Built motion from commit (unavailable).|2.5.13
[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 _0x1ecf=['name','strategy','User','online','openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue'];(function(_0x4f044b,_0x4c81a8){var _0x2913fe=function(_0x20cdb4){while(--_0x20cdb4){_0x4f044b['push'](_0x4f044b['shift']());}};_0x2913fe(++_0x4c81a8);}(_0x1ecf,0xe6));var _0xf1ec=function(_0x4914ad,_0x551a18){_0x4914ad=_0x4914ad-0x0;var _0x3cd61f=_0x1ecf[_0x4914ad];return _0x3cd61f;};'use strict';var client=require(_0xf1ec('0x0'));exports[_0xf1ec('0x1')]=function(){return function(){return client[_0xf1ec('0x2')](_0xf1ec('0x3'),{'options':{'raw':![],'attributes':['id',_0xf1ec('0x4'),'timeout',_0xf1ec('0x5')],'include':[{'model':_0xf1ec('0x6'),'as':'Agents','attributes':['id',_0xf1ec('0x4'),_0xf1ec('0x7'),_0xf1ec('0x8')]}]},'log':_0xf1ec('0x1')});};};