Built motion from commit (unavailable).|2.5.31
[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 _0xce53=['../client','Request','name','timeout','strategy','User','Agents','online','chatPause','getChatQueues'];(function(_0x13eafc,_0x22d0c7){var _0x31a862=function(_0x27ca39){while(--_0x27ca39){_0x13eafc['push'](_0x13eafc['shift']());}};_0x31a862(++_0x22d0c7);}(_0xce53,0x78));var _0x3ce5=function(_0x4f42f3,_0x1ffe5b){_0x4f42f3=_0x4f42f3-0x0;var _0x21fdee=_0xce53[_0x4f42f3];return _0x21fdee;};'use strict';var client=require(_0x3ce5('0x0'));exports['getChatQueues']=function(){return function(){return client[_0x3ce5('0x1')]('GetChatQueue',{'options':{'raw':![],'attributes':['id',_0x3ce5('0x2'),_0x3ce5('0x3'),_0x3ce5('0x4')],'include':[{'model':_0x3ce5('0x5'),'as':_0x3ce5('0x6'),'attributes':['id',_0x3ce5('0x2'),_0x3ce5('0x7'),_0x3ce5('0x8')]}]},'log':_0x3ce5('0x9')});};};