b1b0e9e1d7874859c3c30e56a3c42031527cb880
[motion2.git] / server / services / routing / rpc / chatQueue.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 _0xd6c1=['User','Agents','name','online','chatPause','getChatQueues','GetChatQueue','strategy'];(function(_0x2df507,_0x553862){var _0x1f7167=function(_0x11319e){while(--_0x11319e){_0x2df507['push'](_0x2df507['shift']());}};_0x1f7167(++_0x553862);}(_0xd6c1,0x1ed));var _0x1d6c=function(_0x2be8c2,_0x14a4b5){_0x2be8c2=_0x2be8c2-0x0;var _0x97f531=_0xd6c1[_0x2be8c2];return _0x97f531;};'use strict';var client=require('../client');exports[_0x1d6c('0x0')]=function(){return function(){return client['Request'](_0x1d6c('0x1'),{'options':{'raw':![],'attributes':['id','name','timeout',_0x1d6c('0x2')],'include':[{'model':_0x1d6c('0x3'),'as':_0x1d6c('0x4'),'attributes':['id',_0x1d6c('0x5'),_0x1d6c('0x6'),_0x1d6c('0x7')]}]},'log':_0x1d6c('0x0')});};};