22f1463d0d8ed657999b2e7ff4ab8fd88e7562dd
[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 _0x067d=['timeout','strategy','User','online','openchannelPause','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name'];(function(_0x13ca3f,_0xd24627){var _0x36ce52=function(_0x5c2f35){while(--_0x5c2f35){_0x13ca3f['push'](_0x13ca3f['shift']());}};_0x36ce52(++_0xd24627);}(_0x067d,0x1db));var _0xd067=function(_0x23e33d,_0x31c8c8){_0x23e33d=_0x23e33d-0x0;var _0x818fc=_0x067d[_0x23e33d];return _0x818fc;};'use strict';var client=require(_0xd067('0x0'));exports[_0xd067('0x1')]=function(){return function(){return client[_0xd067('0x2')](_0xd067('0x3'),{'options':{'raw':![],'attributes':['id',_0xd067('0x4'),_0xd067('0x5'),_0xd067('0x6')],'include':[{'model':_0xd067('0x7'),'as':'Agents','attributes':['id','name',_0xd067('0x8'),_0xd067('0x9')]}]},'log':_0xd067('0x1')});};};