4b0b547eb6094420dc57fc3d39628fd7771a4f3e
[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 _0xc73f=['getOpenchannelQueues','Request','name','strategy','User','Agents','online','openchannelPause'];(function(_0x1874ec,_0x599576){var _0x2e6308=function(_0x5a8d5f){while(--_0x5a8d5f){_0x1874ec['push'](_0x1874ec['shift']());}};_0x2e6308(++_0x599576);}(_0xc73f,0x170));var _0xfc73=function(_0x3606c2,_0x5db831){_0x3606c2=_0x3606c2-0x0;var _0x29931f=_0xc73f[_0x3606c2];return _0x29931f;};'use strict';var client=require('../client');exports[_0xfc73('0x0')]=function(){return function(){return client[_0xfc73('0x1')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0xfc73('0x2'),'timeout',_0xfc73('0x3')],'include':[{'model':_0xfc73('0x4'),'as':_0xfc73('0x5'),'attributes':['id','name',_0xfc73('0x6'),_0xfc73('0x7')]}]},'log':'getOpenchannelQueues'});};};