Built motion from commit (unavailable).|2.5.30
[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 _0x1b02=['User','Agents','chatPause','getChatQueues','GetChatQueue','name','timeout','strategy'];(function(_0x34ca5a,_0x2f14b1){var _0x38c2be=function(_0x239f61){while(--_0x239f61){_0x34ca5a['push'](_0x34ca5a['shift']());}};_0x38c2be(++_0x2f14b1);}(_0x1b02,0x103));var _0x21b0=function(_0x255d5b,_0x4f6f35){_0x255d5b=_0x255d5b-0x0;var _0x3e141a=_0x1b02[_0x255d5b];return _0x3e141a;};'use strict';var client=require('../client');exports[_0x21b0('0x0')]=function(){return function(){return client['Request'](_0x21b0('0x1'),{'options':{'raw':![],'attributes':['id',_0x21b0('0x2'),_0x21b0('0x3'),_0x21b0('0x4')],'include':[{'model':_0x21b0('0x5'),'as':_0x21b0('0x6'),'attributes':['id',_0x21b0('0x2'),'online',_0x21b0('0x7')]}]},'log':'getChatQueues'});};};