Built motion from commit (unavailable).|2.5.8
[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 _0x3a80=['GetOpenchannelQueue','timeout','strategy','User','online','../client','getOpenchannelQueues','Request'];(function(_0x30cfa5,_0x2e6e48){var _0x421d2d=function(_0x22833a){while(--_0x22833a){_0x30cfa5['push'](_0x30cfa5['shift']());}};_0x421d2d(++_0x2e6e48);}(_0x3a80,0x12d));var _0x03a8=function(_0x3ad1fa,_0x2c5756){_0x3ad1fa=_0x3ad1fa-0x0;var _0x25a4c9=_0x3a80[_0x3ad1fa];return _0x25a4c9;};'use strict';var client=require(_0x03a8('0x0'));exports[_0x03a8('0x1')]=function(){return function(){return client[_0x03a8('0x2')](_0x03a8('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x03a8('0x4'),_0x03a8('0x5')],'include':[{'model':_0x03a8('0x6'),'as':'Agents','attributes':['id','name',_0x03a8('0x7'),'openchannelPause']}]},'log':_0x03a8('0x1')});};};