Built motion from commit 14588770.|2.5.38
[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 _0x536e=['../client','getChatQueues','Request','GetChatQueue','name','timeout','strategy','User','Agents','online','chatPause'];(function(_0x30b092,_0x563933){var _0x1fc775=function(_0x200d17){while(--_0x200d17){_0x30b092['push'](_0x30b092['shift']());}};_0x1fc775(++_0x563933);}(_0x536e,0x155));var _0xe536=function(_0x5e0664,_0x4307dc){_0x5e0664=_0x5e0664-0x0;var _0x51ed02=_0x536e[_0x5e0664];return _0x51ed02;};'use strict';var client=require(_0xe536('0x0'));exports[_0xe536('0x1')]=function(){return function(){return client[_0xe536('0x2')](_0xe536('0x3'),{'options':{'raw':![],'attributes':['id',_0xe536('0x4'),_0xe536('0x5'),_0xe536('0x6')],'include':[{'model':_0xe536('0x7'),'as':_0xe536('0x8'),'attributes':['id',_0xe536('0x4'),_0xe536('0x9'),_0xe536('0xa')]}]},'log':_0xe536('0x1')});};};