Built motion from commit (unavailable).|2.6.0
[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 _0x0bd4=['openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','timeout','strategy','User'];(function(_0x1ac595,_0x5d2081){var _0x455fff=function(_0x3043ee){while(--_0x3043ee){_0x1ac595['push'](_0x1ac595['shift']());}};_0x455fff(++_0x5d2081);}(_0x0bd4,0x169));var _0x40bd=function(_0x56fb33,_0x37be08){_0x56fb33=_0x56fb33-0x0;var _0x435ee4=_0x0bd4[_0x56fb33];return _0x435ee4;};'use strict';var client=require(_0x40bd('0x0'));exports[_0x40bd('0x1')]=function(){return function(){return client[_0x40bd('0x2')](_0x40bd('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x40bd('0x4'),_0x40bd('0x5')],'include':[{'model':_0x40bd('0x6'),'as':'Agents','attributes':['id','name','online',_0x40bd('0x7')]}]},'log':_0x40bd('0x1')});};};