Built motion from commit (unavailable).|2.5.18
[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 _0x9c8f=['name','timeout','User','Agents','online','getChatQueues','Request','GetChatQueue'];(function(_0x2c1ddd,_0x2a667f){var _0x49fa39=function(_0x581c2d){while(--_0x581c2d){_0x2c1ddd['push'](_0x2c1ddd['shift']());}};_0x49fa39(++_0x2a667f);}(_0x9c8f,0x1dd));var _0xf9c8=function(_0x2525f1,_0x47034f){_0x2525f1=_0x2525f1-0x0;var _0x13c1b5=_0x9c8f[_0x2525f1];return _0x13c1b5;};'use strict';var client=require('../client');exports[_0xf9c8('0x0')]=function(){return function(){return client[_0xf9c8('0x1')](_0xf9c8('0x2'),{'options':{'raw':![],'attributes':['id',_0xf9c8('0x3'),_0xf9c8('0x4'),'strategy'],'include':[{'model':_0xf9c8('0x5'),'as':_0xf9c8('0x6'),'attributes':['id','name',_0xf9c8('0x7'),'chatPause']}]},'log':_0xf9c8('0x0')});};};