138e945c624fbaa1fc92ee3143e0875d0f08ff18
[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 _0xd5c5=['Request','GetOpenchannelQueue','timeout','strategy','User','Agents','name','online','openchannelPause','getOpenchannelQueues'];(function(_0x2e04ef,_0x31a596){var _0x5722b0=function(_0x386fbd){while(--_0x386fbd){_0x2e04ef['push'](_0x2e04ef['shift']());}};_0x5722b0(++_0x31a596);}(_0xd5c5,0x6d));var _0x5d5c=function(_0x576170,_0x1712ae){_0x576170=_0x576170-0x0;var _0x397c70=_0xd5c5[_0x576170];return _0x397c70;};'use strict';var client=require('../client');exports[_0x5d5c('0x0')]=function(){return function(){return client[_0x5d5c('0x1')](_0x5d5c('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x5d5c('0x3'),_0x5d5c('0x4')],'include':[{'model':_0x5d5c('0x5'),'as':_0x5d5c('0x6'),'attributes':['id',_0x5d5c('0x7'),_0x5d5c('0x8'),_0x5d5c('0x9')]}]},'log':_0x5d5c('0x0')});};};