Built motion from commit da617fac.|2.6.6
[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 _0x873a=['online','chatPause','../client','getChatQueues','Request','name','User','Agents'];(function(_0x145b3c,_0x31ea4a){var _0x1b6e36=function(_0xfccee6){while(--_0xfccee6){_0x145b3c['push'](_0x145b3c['shift']());}};_0x1b6e36(++_0x31ea4a);}(_0x873a,0x1c2));var _0xa873=function(_0x5ed25e,_0x86de4f){_0x5ed25e=_0x5ed25e-0x0;var _0x27335e=_0x873a[_0x5ed25e];return _0x27335e;};'use strict';var client=require(_0xa873('0x0'));exports[_0xa873('0x1')]=function(){return function(){return client[_0xa873('0x2')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0xa873('0x3'),'timeout','strategy'],'include':[{'model':_0xa873('0x4'),'as':_0xa873('0x5'),'attributes':['id','name',_0xa873('0x6'),_0xa873('0x7')]}]},'log':'getChatQueues'});};};