6500d8ae8d183e739980339367440811ef07071b
[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 _0x16cc=['getChatQueues','Request','GetChatQueue','name','timeout','strategy','User','online','chatPause'];(function(_0x9a87df,_0x216aa4){var _0x4f64b4=function(_0x7685d6){while(--_0x7685d6){_0x9a87df['push'](_0x9a87df['shift']());}};_0x4f64b4(++_0x216aa4);}(_0x16cc,0x120));var _0xc16c=function(_0x3e81f9,_0xbf7a4a){_0x3e81f9=_0x3e81f9-0x0;var _0x370c40=_0x16cc[_0x3e81f9];return _0x370c40;};'use strict';var client=require('../client');exports[_0xc16c('0x0')]=function(){return function(){return client[_0xc16c('0x1')](_0xc16c('0x2'),{'options':{'raw':![],'attributes':['id',_0xc16c('0x3'),_0xc16c('0x4'),_0xc16c('0x5')],'include':[{'model':_0xc16c('0x6'),'as':'Agents','attributes':['id',_0xc16c('0x3'),_0xc16c('0x7'),_0xc16c('0x8')]}]},'log':_0xc16c('0x0')});};};