7ff45bb172e4ee7f690bc10e95b00a567ed06071
[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 _0xf4e2=['timeout','strategy','User','Agents','getOpenchannelQueues','Request','GetOpenchannelQueue','name'];(function(_0x22d598,_0x259d66){var _0x47477f=function(_0x517d4f){while(--_0x517d4f){_0x22d598['push'](_0x22d598['shift']());}};_0x47477f(++_0x259d66);}(_0xf4e2,0xb4));var _0x2f4e=function(_0x34eb0d,_0x43448b){_0x34eb0d=_0x34eb0d-0x0;var _0x309bb3=_0xf4e2[_0x34eb0d];return _0x309bb3;};'use strict';var client=require('../client');exports[_0x2f4e('0x0')]=function(){return function(){return client[_0x2f4e('0x1')](_0x2f4e('0x2'),{'options':{'raw':![],'attributes':['id',_0x2f4e('0x3'),_0x2f4e('0x4'),_0x2f4e('0x5')],'include':[{'model':_0x2f4e('0x6'),'as':_0x2f4e('0x7'),'attributes':['id','name','online','openchannelPause']}]},'log':'getOpenchannelQueues'});};};