Built motion from commit 9e1399f3.|2.5.37
[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 _0x5b5a=['timeout','strategy','User','Agents','online','chatPause','getChatQueues','Request','name'];(function(_0xb48638,_0x53a18c){var _0x7af920=function(_0x17e401){while(--_0x17e401){_0xb48638['push'](_0xb48638['shift']());}};_0x7af920(++_0x53a18c);}(_0x5b5a,0xc3));var _0xa5b5=function(_0x27bd9b,_0x206238){_0x27bd9b=_0x27bd9b-0x0;var _0xbd6219=_0x5b5a[_0x27bd9b];return _0xbd6219;};'use strict';var client=require('../client');exports[_0xa5b5('0x0')]=function(){return function(){return client[_0xa5b5('0x1')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0xa5b5('0x2'),_0xa5b5('0x3'),_0xa5b5('0x4')],'include':[{'model':_0xa5b5('0x5'),'as':_0xa5b5('0x6'),'attributes':['id',_0xa5b5('0x2'),_0xa5b5('0x7'),_0xa5b5('0x8')]}]},'log':'getChatQueues'});};};