Built motion from commit fe909640.|2.6.8
[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 _0x3f1c=['Agents','name','online','getChatQueues','../client','GetChatQueue','strategy','User'];(function(_0xd6aad,_0x3fd78e){var _0x1109e6=function(_0x37f59c){while(--_0x37f59c){_0xd6aad['push'](_0xd6aad['shift']());}};_0x1109e6(++_0x3fd78e);}(_0x3f1c,0xd4));var _0xc3f1=function(_0x8a7110,_0x352cbd){_0x8a7110=_0x8a7110-0x0;var _0x406e37=_0x3f1c[_0x8a7110];return _0x406e37;};'use strict';var client=require(_0xc3f1('0x0'));exports['getChatQueues']=function(){return function(){return client['Request'](_0xc3f1('0x1'),{'options':{'raw':![],'attributes':['id','name','timeout',_0xc3f1('0x2')],'include':[{'model':_0xc3f1('0x3'),'as':_0xc3f1('0x4'),'attributes':['id',_0xc3f1('0x5'),_0xc3f1('0x6'),'chatPause']}]},'log':_0xc3f1('0x7')});};};