Built motion from commit (unavailable).|2.5.11
[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 _0x1070=['openchannelPause','getOpenchannelQueues','Request','GetOpenchannelQueue','name','strategy','User','Agents','online'];(function(_0x541260,_0x4c7f2e){var _0x1dd2b5=function(_0x4140de){while(--_0x4140de){_0x541260['push'](_0x541260['shift']());}};_0x1dd2b5(++_0x4c7f2e);}(_0x1070,0x197));var _0x0107=function(_0x2e9232,_0x50528a){_0x2e9232=_0x2e9232-0x0;var _0x377122=_0x1070[_0x2e9232];return _0x377122;};'use strict';var client=require('../client');exports['getOpenchannelQueues']=function(){return function(){return client[_0x0107('0x0')](_0x0107('0x1'),{'options':{'raw':![],'attributes':['id',_0x0107('0x2'),'timeout',_0x0107('0x3')],'include':[{'model':_0x0107('0x4'),'as':_0x0107('0x5'),'attributes':['id',_0x0107('0x2'),_0x0107('0x6'),_0x0107('0x7')]}]},'log':_0x0107('0x8')});};};