b1735fc3a99ff929aeef9e299a98a8f84120e71e
[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 _0xd379=['Agents','online','getOpenchannelQueues','Request','GetOpenchannelQueue'];(function(_0x5cc518,_0x720554){var _0x1f4299=function(_0x343790){while(--_0x343790){_0x5cc518['push'](_0x5cc518['shift']());}};_0x1f4299(++_0x720554);}(_0xd379,0x1b0));var _0x9d37=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xd379[_0x3dd15e];return _0x231fd0;};'use strict';var client=require('../client');exports[_0x9d37('0x0')]=function(){return function(){return client[_0x9d37('0x1')](_0x9d37('0x2'),{'options':{'raw':![],'attributes':['id','name','timeout','strategy'],'include':[{'model':'User','as':_0x9d37('0x3'),'attributes':['id','name',_0x9d37('0x4'),'openchannelPause']}]},'log':_0x9d37('0x0')});};};